summaryrefslogtreecommitdiffstats
path: root/templates (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ldap: default domain name (#3414)Baptiste Daroussin2024-04-272-0/+8
| | | | | | | | | | | | | When the ldap synchronizer is look for an email address and fails at finding one, it falls back at creating one using "localhost.local" domain. This new field makes this domain name configurable. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3414 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org> Co-authored-by: Baptiste Daroussin <bapt@FreeBSD.org> Co-committed-by: Baptiste Daroussin <bapt@FreeBSD.org>
* fix(lfs): gogit /settings/lfs/find 500 error (#3472)Earl Warren2024-04-261-2/+2
| | | | | | | | | | Refs: https://codeberg.org/forgejo/forgejo/pulls/3448 Refs: https://codeberg.org/forgejo/forgejo/issues/3438 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3472 Reviewed-by: oliverpool <oliverpool@noreply.codeberg.org> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
* Merge pull request 'Fix Repository icon, name and label not centered ↵Earl Warren2024-04-251-1/+1
|\ | | | | | | | | | | | | vertically' (#3433) from Beowulf/forgejo:fix-repo-header-vertically-center into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3433 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
| * Fix Repository icon, name and label not centered verticallyBeowulf2024-04-251-1/+1
| | | | | | | | | | | | | | | | Readded correct tailwind class for vertical centering Regression introduced by 65e190ae8b Fixes #3428.
* | fix(ui): /settings/lfs/find 500 errorEarl Warren2024-04-251-2/+2
|/ | | | | | | | | | | | | | | | | | | When in the repository settings, visiting - `LFS` to `/{owner}/{repo}/settings/lfs` - `Find pointer files` to `/{owner}/{repo}/settings/lfs/pointers` - `Find commits` to `/{owner}/{repo}/settings/lfs/find?oid=...` failed with an error 500 because of an incorrect evaluation of the template. Regression introduced by https://codeberg.org/forgejo/forgejo/commit/cbf923e87bca0f50c2c01a60ccf544b63c365e98 A test is added to visit the page and guard against future regressions. Refs: https://codeberg.org/forgejo/forgejo/issues/3438
* [FEAT]Add Option to hide Release Archive links (#3139)JakobDev2024-04-243-40/+64
| | | | | | | | | | | | | | | | This adds a new options to releases to hide the links to the automatically generated archives. This is useful, when the automatically generated Archives are broken e.g. because of Submodules. ![grafik](/attachments/5686edf6-f318-4175-8459-89c33973b181) ![grafik](/attachments/74a8bf92-2abb-47a0-876d-d41024770d0b) Note: This juts hides the Archives from the UI. Users can still download 5the Archive if they know t correct URL. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3139 Reviewed-by: Otto <otto@codeberg.org> Reviewed-by: 0ko <0ko@noreply.codeberg.org> Co-authored-by: JakobDev <jakobdev@gmx.de> Co-committed-by: JakobDev <jakobdev@gmx.de>
* Fix the WIP prefix toggling on the sidebarGergely Nagy2024-04-231-1/+1
| | | | | | | | | | | | | | | | | | | | The WIP prefix toggling link on the sidebar only supported toggling the *first* prefix specified in `[repository.pullrequest].WORK_IN_PROGRESS_PREFIXES`. If the pull request had a title with any other prefix, the first prefix listed in the config was added (and then removed on toggling it off). This little change makes all of the prefixes available for the JavaScript function that does the toggling, and changes said function to find the used prefix first, and toggle that. When adding the prefix, it will still default to adding the first one listed in the configuration, but it will happily remove any others if those are present. Fixes #3377. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
* Fix dropdown text ellipsis (#30628)wxiaoguang2024-04-221-4/+4
| | | | | | | | | | | | | | | Follow https://github.com/go-gitea/gitea/pull/30547#discussion_r1573866519 Fix #30624 The Fomantic UI Dropdown wasn't designed to work that way, its "text" element might contain images. So the "overflow" shouldn't be added to any general dropdown text. ![image](https://github.com/go-gitea/gitea/assets/2114189/f6ceaabd-bc89-4bf2-baa2-a6f0324c1962) (cherry picked from commit 1e4867730b261352d63098b85cf53ca05867c8c2)
* Merge pull request '[gitea] week 2024-17 cherry pick (gitea/main -> ↵Earl Warren2024-04-2213-61/+165
|\ | | | | | | | | | | | | forgejo)' (#3350) from algernon/wcp/2024-17 into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3350 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
| * Improve "Reference in new issue" modal (#30547)silverwind2024-04-211-18/+16
| | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/go-gitea/gitea/issues/29994 Also some misc enhancements done to the form in the modal. <img width="840" alt="Screenshot 2024-04-17 at 23 02 55" src="https://github.com/go-gitea/gitea/assets/115237/e71fba55-55cd-4e48-a497-6b1025c36a43"> (cherry picked from commit dd8e6ae270b4b5e91a152a145978029dacb938ff)
| * Fix border-radius on view, blame and code search (#30545)silverwind2024-04-213-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/go-gitea/gitea/issues/30540 1. Fix all these boxes by adding `bottom attached` and removing a problematic CSS rule: <img width="1319" alt="Screenshot 2024-04-17 at 22 25 31" src="https://github.com/go-gitea/gitea/assets/115237/346445a4-4944-4003-a1ef-6f5b0eda624e"> <img width="643" alt="Screenshot 2024-04-17 at 22 21 18" src="https://github.com/go-gitea/gitea/assets/115237/10f17ed3-9ad6-48de-92fa-bac6621815b9"> 2. Change the "last commit" box to `ui segment` which has correct border-radius. Also included is a tiny tweak to make author name ellipse instead of wrap. <img width="1331" alt="Screenshot 2024-04-17 at 22 23 23" src="https://github.com/go-gitea/gitea/assets/115237/285fbd45-ced0-4d33-abe3-7384ffa03188"> Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 31538133c32009532897989ad623067bd224f924)
| * Fix and tweak pull request commit list (#30528)silverwind2024-04-211-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/go-gitea/gitea/issues/30493, regression from https://github.com/go-gitea/gitea/pull/30374. Also did the flexbox convertion as suggested by the existing comment. <img width="850" alt="Screenshot 2024-04-16 at 22 28 48" src="https://github.com/go-gitea/gitea/assets/115237/e8905944-620a-4211-b5c5-53ed3b3ee23e"> Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 311f5261cdb23b46d3f510e40fd4e2ac06e376c0)
| * Update API to return 'source_id' for users (#29718)Tobias Balle-Petersen2024-04-211-0/+6
| | | | | | | | | | | | | | | | | | | | Using the API, a user's _source_id_ can be set in the _CreateUserOption_ model, but the field is not returned in the _User_ model. This PR updates the _User_ model to include the field _source_id_ (The ID of the Authentication Source). (cherry picked from commit 58b204b813cd3a97db904d889d552e64a7e398ff)
| * feat(api): implement branch/commit comparison API (#30349)Bo-Yi Wu2024-04-211-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add new `Compare` struct to represent comparison between two commits - Introduce new API endpoint `/compare/*` to get commit comparison information - Create new file `repo_compare.go` with the `Compare` struct definition - Add new file `compare.go` in `routers/api/v1/repo` to handle comparison logic - Add new file `compare.go` in `routers/common` to define `CompareInfo` struct - Refactor `ParseCompareInfo` function to use `common.CompareInfo` struct - Update Swagger documentation to include the new API endpoint for commit comparison - Remove duplicate `CompareInfo` struct from `routers/web/repo/compare.go` - Adjust base path in Swagger template to be relative (`/api/v1`) GitHub API https://docs.github.com/en/rest/commits/commits?apiVersion=2022-11-28#compare-two-commits --------- Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> (cherry picked from commit c70e442ce4b99e2a1f1bf216afcfa1ad78d1925a) Conflicts: - routers/api/v1/swagger/repo.go Conflict resolved by manually adding the lines from the Gitea PR.
| * Fix various overflows on actions view (#30344)silverwind2024-04-211-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a number of text overflow issues in actions view and run list. Also improve mobile view of run list. Fixes: https://github.com/go-gitea/gitea/issues/30328 <img width="782" alt="Screenshot 2024-04-08 at 23 10 16" src="https://github.com/go-gitea/gitea/assets/115237/3d9f9f88-3eab-44a0-8144-30c2b58b24cb"> <img width="935" alt="Screenshot 2024-04-08 at 23 17 46" src="https://github.com/go-gitea/gitea/assets/115237/581d73ea-a31d-416b-be3a-47313b879b12"> <img width="1008" alt="Screenshot 2024-04-08 at 23 49 05" src="https://github.com/go-gitea/gitea/assets/115237/c5d10565-f285-477f-8659-1caf94797647"> <img width="397" alt="Screenshot 2024-04-08 at 23 55 30" src="https://github.com/go-gitea/gitea/assets/115237/368aaa75-1903-4058-9d75-d1fe91c564d6"> (cherry picked from commit b9f69b4a4d1d6b5b1f94852f6dfcae41b30658ff)
| * Convert max file name length to 255 (#30489)yp053272024-04-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quick/Partly fix #29907 In Linux and MacOS, by default the max file name length is 255. In windows, it depends on the version and settings, and has no file name length limitation, but has path length limitation. By default it is 260, considering path length is longer than filename, so I think it is ok to do this. For Windows, see https://learn.microsoft.com/windows/win32/fileio/maximum-file-path-limitation?tabs=registry For Linux, see https://github.com/torvalds/linux/blob/master/include/uapi/linux/limits.h#L12-L13 For MacOS, see https://discussions.apple.com/thread/254788848?sortBy=best (cherry picked from commit 2c80421243ed1fd6f53c3e1a84c06648524f7c66)
| * Revert 100% label max-width (#30481)silverwind2024-04-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Partial revert of https://github.com/go-gitea/gitea/pull/30479 It's causing problems at least here: https://github.com/go-gitea/gitea/pull/30344#discussion_r1564895591 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> (cherry picked from commit ef3941f2ebe9d8353f9546e7df00b24092c71cb7)
| * Improve flex ellipsis (#30479)wxiaoguang2024-04-211-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ![image](https://github.com/go-gitea/gitea/assets/2114189/857794d8-2170-42be-a5bf-47ebacbafebd) --------- Co-authored-by: silverwind <me@silverwind.io> (cherry picked from commit b84baf21fa19521e1ab303a60918c74f85fcad1c) Conflicts: - web_src/css/base.css Trivial commit resolved by removing the conflicting part. (it conflicted because we did not pick a previous PR)
| * Use `flex-container` for dashboard layout (#30214)silverwind2024-04-212-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added new class `flex-container-sidebar` to cover the dashboard sidebar. Previously this was 37.5% with more padding. Now there is less empty space between the two columns and this matches other pages like repo or admin settings page. Desktop: <img width="1345" alt="Screenshot 2024-03-31 at 15 11 36" src="https://github.com/go-gitea/gitea/assets/115237/717389d9-d42c-466e-a8fe-e968f79447fd"> Mobile: <img width="444" alt="Screenshot 2024-03-31 at 15 11 44" src="https://github.com/go-gitea/gitea/assets/115237/7faa840b-513a-411b-bf2d-26d52b9b71a0"> --------- Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 044cc169e75dccbf1d846f8774ef2feccd0da1fd)
| * Pulse page improvements (#30149)silverwind2024-04-211-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. add border-radius and spacing to bars 2. use tailwind background classes 3. Add more space around activity list headers <img width="983" alt="Screenshot 2024-03-27 at 23 40 54" src="https://github.com/go-gitea/gitea/assets/115237/70f72c30-e69f-4ecb-882f-32b8bc94d638"> <img width="1020" alt="Screenshot 2024-03-27 at 23 41 02" src="https://github.com/go-gitea/gitea/assets/115237/a35dbbda-515c-40b0-938a-d759f9686b8e"> (cherry picked from commit 6999a88fd9bef6baa0a8cc5f63e419079611fc9b)
* | Merge pull request 'Accessibility improvements to code review' (#3293) from ↵Earl Warren2024-04-221-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | fnetx/codereview-accessibility into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3293 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Reviewed-by: crystal <crystal@noreply.codeberg.org>
| * | Fix unlabelled button in code reviewOtto Richter2024-04-181-1/+1
| | |
* | | Add form field id generation, remove duplicated ids (#30546)silverwind2024-04-221-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/go-gitea/gitea/issues/30384 On repo settings page, there id `repo_name` was used 5 times on the same page, some in modal and such. I think we are better off just auto-generating these IDs in the future so that labels link up with their form element. Ideally this id generation would be done in backend in a subtemplate, but seeing that we already have similar JS patches for checkboxes, I took the easy path for now. I also checked that these `#repo_name` were not in use in JS and the only case where this id appears in JS is on the migration page where it's still there. --------- Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit d4ec6b3d16496ce3b479d5a08f79823122dc2b7b) Conflicts: - templates/repo/settings/options.tmpl Conflict resolved by manually removing all `id` and `for` attributes from elements that had `repo_name` as their id.
* | | [UI] Refactor display of milestone issue list header0ko2024-04-201-4/+4
| | |
* | | [UI] Fix milestone header inconsistencies with issues/PRs0ko2024-04-201-2/+4
| |/ |/|
* | Merge pull request 'Various improvements to pages: notifications and ↵0ko2024-04-203-23/+33
|\ \ | | | | | | | | | | | | | | | | | | subscriptions' (#3175) from 0ko/forgejo:meet-your-subscribtions into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3175 Reviewed-by: Otto <otto@codeberg.org>
| * | Various improvements to pages: notifications and subscriptions0ko2024-04-163-23/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | - fix rounding on /notifications/subscriptions - add navigation interconnectivity between notifications and subscriptions - use modern style for tabs - clearing notificatons: hide the whole form instead of div. It doesn't seem like its changed via JS? - replace issue-title-buttons and edit-buttons with universal top-right-buttons, get rid of tw-mr-0 helpers - repo issues: fix misalignments on mobile view
* | | Merge pull request 'Remove EasyMDE from various areas' (#2916) from ↵0ko2024-04-193-1/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 0ko/forgejo:easymde into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2916 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
| * | Remove EasyMDE from various areas0ko2024-04-156-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ref https://codeberg.org/forgejo/forgejo/issues/2831 Removed from: - form for creating comment - form for updating comment - popup reviewing form - line reviewing form - I did not check the use of textarea.tmpl but I belive its used for issue templates, so also removed - I did not check the use of box.tmpl, could not get any comments on compare EasyMDE is left for these pages: - release notes editor - wiki editor
| * | Make display of EasyMDE in UI optional to template0ko2024-04-159-1/+12
| | | | | | | | | | | | This commit adds EasyMDE field to combomarkdowneditor, as well as to all its calls.
* | | Merge pull request 'Do not require login_name & source_id for ↵Earl Warren2024-04-171-4/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | /admin/user/{username}' (#3278) from algernon/forgejo:leave-your-name-at-the-door into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3278 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
| * | | Do not require login_name & source_id for /admin/user/{username}Gergely Nagy2024-04-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When editing a user via the API, do not require setting `login_name` or `source_id`: for local accounts, these do not matter. However, when editing a non-local account, require *both*, as before. Fixes #1861. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
* | | | Merge pull request 'webhook: improve UX for sourcehut and matrix' (#3156) ↵Earl Warren2024-04-1714-24/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from oliverpool/forgejo:webhook_sourcehut_polish into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3156 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
| * | | | webhook: matrix access_token helper textoliverpool2024-04-162-7/+12
| | | | |
| * | | | webhook: sourcehut_builds: ask for access_token instead of authorization_headeroliverpool2024-04-162-8/+17
| | | | |
| * | | | webhook: sourcehut_builds: prefill sr.ht as defaultsoliverpool2024-04-161-3/+3
| | | | |
| * | | | move webhook/settings file aroundoliverpool2024-04-1614-13/+13
| | |_|/ | |/| |
* | | | Allow changing global wiki editability via the APIGergely Nagy2024-04-161-0/+9
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The global wiki editability can be set via the web UI, this patch makes it possible to set the same thing via the API too. This is accomplished by adjusting the GET and PATCH handlers of the `/api/v1/repos/{owner}/{repo}` route. The first will include the property when checking the repo's settings, the second allows a repo admin to change the setting too. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
* | | [BUG] Escape editor.add_tmpl translationGusted2024-04-161-1/+1
|/ / | | | | | | | | | | | | | | | | - Previously translations were escaped, but now translations are accepted as-is and will be rendered as HTML. Use `TrString` to escape the translation value. - Adds integration test. - Regression of 65248945c9b7bc54d41e7b7dcc5df42b51b3bcd6. - Resolves #3260
* | Merge pull request '[PORT] gitea#30396: Fix author name alignment in commits ↵Earl Warren2024-04-161-10/+12
|\ \ | | | | | | | | | | | | | | | | | | table' (#3243) from gusted/forgejo-gt-30396 into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3243 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
| * | [PORT] gitea#30396: Fix author name alignment in commits tablesilverwind2024-04-151-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/go-gitea/gitea/issues/30129 by introducing a wrapper div with flexbox that collapses any inter-tag whitespace within. View diff with whitespace hidden. Author names aligned: <img width="172" alt="Screenshot 2024-04-10 at 19 41 27" src="https://github.com/go-gitea/gitea/assets/115237/d761e8f2-0e67-4f84-8d37-9ed73850470a"> Vertically centered on expand: <img width="466" alt="Screenshot 2024-04-10 at 19 43 02" src="https://github.com/go-gitea/gitea/assets/115237/decd68b3-19b5-4cfa-a505-b358e4a0715b"> Ellipsis works: <img width="344" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/6f8624a2-f8b6-4f3e-ac98-c44dd0cdfca5"> --- Conflict resolution: Trivial (cherry picked from commit 50dbed652738182eb42af51967ec7bd10e84ede9)
* | | Merge pull request 'Some NuGet package enhancements' (#3246) from ↵Earl Warren2024-04-161-5/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | viceice/forgejo:feat/nuget/improvements into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3246 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
| * | | Some NuGet package enhancementsMichael Kriese2024-04-151-5/+4
| |/ / | | | | | | | | | - https://github.com/go-gitea/gitea/pull/30280
* | | Avoid losing token when updating mirror settings (#30429)Jason Song2024-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #30416. Before (it shows as "Unset" while there's a token): <img width="980" alt="image" src="https://github.com/go-gitea/gitea/assets/9418365/d7148e3e-62c9-4d2e-942d-3d795b79515a"> After: <img width="977" alt="image" src="https://github.com/go-gitea/gitea/assets/9418365/24aaa1db-5baa-4204-9081-470b15ea72b5"> The username shows as "oauth2" because of https://github.com/go-gitea/gitea/blob/f9fdac9809335729b2ac3227b2a5f71a62fc64ad/services/migrations/dump.go#L99 I have checked that all usage of `MirrorRemoteAddress` has been updated. <img width="1806" alt="image" src="https://github.com/go-gitea/gitea/assets/9418365/2f042501-2824-4511-9203-c84a6731a02d"> However, it needs to be checked again when backporting. --------- Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit fd59cd9450cbd511ad4a0790bf51f8d5d2c18aa3)
* | | Fix admin notice view-detail (#30450)silverwind2024-04-151-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix https://github.com/go-gitea/gitea/issues/30434, regression from https://github.com/go-gitea/gitea/pull/30115. I also removed the date insertion into the modal which was also broken since that date was switched to `absolute-date` because I see no real purpose to putting that date into the modal. Result: <img width="1038" alt="image" src="https://github.com/go-gitea/gitea/assets/115237/aa2eb8b4-73dc-4d98-9b80-3f276f89d9e5"> (cherry picked from commit 8fd8978b4934865c2b041216e84e923ad574a4c7)
* | | Fix the spacing issue in the Project view (#30415)HEREYUA2024-04-155-18/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **fix**: [#30388](https://github.com/go-gitea/gitea/issues/30388) **before** ![image](https://github.com/go-gitea/gitea/assets/37935145/52ca7311-dca4-4430-9a37-3c45b08fe3dd) **after** ![image](https://github.com/go-gitea/gitea/assets/37935145/6b75ce69-4423-4ea4-99a1-d7234287c5c0) (cherry picked from commit e8a99c8f92c5b36382abb38a1471c94245457560)
* | | Various improvements for long file and commit names (#30374)silverwind2024-04-155-33/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/go-gitea/gitea/issues/29438 This contains numerous enhancements for how large commit messages and large filenames render. Another notable change is that the file path is no longer cut off by backend at 30 chars, but rendered in full with wrapping. <img width="1329" alt="Screenshot 2024-04-09 at 21 53 57" src="https://github.com/go-gitea/gitea/assets/115237/5ccbb3d6-643a-4f60-ba79-3572b36d5182"> <hr> <img width="711" alt="Screenshot 2024-04-09 at 21 44 24" src="https://github.com/go-gitea/gitea/assets/115237/6ffe8fbb-407c-4aa7-b591-3d80daea7d57"> <hr> <img width="439" alt="Screenshot 2024-04-09 at 21 19 03" src="https://github.com/go-gitea/gitea/assets/115237/1ec7f6e9-2fd8-4841-87eb-6ca02ab9cd61"> <hr> <img width="444" alt="Screenshot 2024-04-09 at 21 18 52" src="https://github.com/go-gitea/gitea/assets/115237/70931b9e-5841-477e-b3bc-98f8d2662964"> --------- Co-authored-by: Giteabot <teabot@gitea.io> (cherry picked from commit 50099d7af436785daf66a3a9f27bd5c009f90684) Conflicts: - templates/repo/diff/box.tmpl Picked Gitea's version, because it appears we missed a gt-gap-1 => tw-gap-1 conversion - web_src/css/repo.css Conflict due to tag signature highlighting, resolved by adding the Gitea changes on top of ours manually.
* | | Add `--page-spacing` variable, fix admin dashboard notice (#30302)silverwind2024-04-151-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/go-gitea/gitea/issues/30293 and introduce the `--page-spacing` variable which holds the spacing between the elements on the page. This is working vertically for all pages, including ones that have fomantic grid, and horizontally for all that use `flex-container`. The `.page-content > :first-child:not(.secondary-nav)` selector uses margin which in some cases enables to adjacent margins to overlap, which is nice. <img width="1320" alt="Screenshot 2024-04-06 at 01 35 19" src="https://github.com/go-gitea/gitea/assets/115237/3e81e707-e9ff-4b7f-a211-3d98f4f85353"> --- <img width="1327" alt="Screenshot 2024-04-06 at 01 35 45" src="https://github.com/go-gitea/gitea/assets/115237/aad196c0-9e21-4c06-ae59-7e33a76c61e1"> --- <img width="1321" alt="Screenshot 2024-04-06 at 01 35 31" src="https://github.com/go-gitea/gitea/assets/115237/785f6c5d-08b6-4e66-aa16-aeca7cfed3ad"> (cherry picked from commit 019857a7015cae32c12b5eac0b895c05f0264b77)
* | Merge pull request 'Improve English locale' (#2941) from ↵0ko2024-04-151-3/+3
|\ \ | |/ |/| | | | | | | | | 0ko/forgejo:english20240401 into forgejo Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2941 Reviewed-by: Otto <otto@codeberg.org>
| * [I18N] Improve English locale0ko2024-04-061-3/+3
| | | | | | | | - user settings/profile: renamed Description fild of biography to Biography