summaryrefslogtreecommitdiffstats
path: root/options
Commit message (Collapse)AuthorAgeFilesLines
* 🐛 Fixe a keystring misuse and refactor duplicates keystrings (#32668) ↵Lunny Xiao2024-12-111-2/+0
| | | | | | | | | | | | | | | (#32792) Backport #32668 - Fixes a translation keystring misuse where the string 'open milestones' is used in place of 'closed milestones'. - De-duplicates the use of 'open milesones' and 'closed milestones' keystrings on the sidebar of an issue, reusing the ones on the issues filter and action bars. - Closes #32667 Co-authored-by: Simon Pistache <105607989+SimonPistache@users.noreply.github.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Refactor CSRF protector (#32057) (#32069)wxiaoguang2024-09-181-2/+0
| | | #32057 improves the CSRF handling and is worth to backport
* Replace v-html with v-text in search inputbox (#31966) (#31973) (#31975)Lunny Xiao2024-09-0525-44/+45
| | | | | | | | | | Backport #31966, #31973 Cherry-pick 30da734f37f0bd60d13044374c1d5af54f2eb416, 74b1c589c6c1a4261556e1a1a868bbcb2964a5d3 Replace #31972 --------- Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com>
* bug fix for translation in ru (#31892)Lunny Xiao2024-08-211-1/+1
| | | Fix #31891
* Fixes for unreachable project issues when transfer repository from ↵Giteabot2024-08-141-0/+1
| | | | | | | | | | | | | | | | | organization (#31770) (#31828) Backport #31770 by @emrebdr When transferring repositories that have issues linked to a project board to another organization, the issues remain associated with the original project board. This causes the columns in the project board to become bugged, making it difficult to move other issues in or out of the affected columns. As a solution, I removed the issue relations since the other organization does not have this project table. Fix for #31538 Co-authored-by: Edip Emre Bodur <emrebdr29@gmail.com> Co-authored-by: Jason Song <i@wolfogre.com>
* Fix the display of project type for deleted projects (#31732) (#31734)Giteabot2024-07-301-0/+1
| | | | | | | | | | Backport #31732 by @yp05327 Fix: #31727 After: ![image](https://github.com/user-attachments/assets/1dfb4b31-3bd6-47f7-b126-650f33f453e2) Co-authored-by: yp05327 <576951401@qq.com>
* Add permission check when creating PR (#31033) (#31720)yp053272024-07-291-0/+1
| | | | | Backport #31033 user should be a collaborator of the base repo to create a PR
* Swap word order in Comment and Close (#31148) (#31165)Giteabot2024-05-301-2/+2
| | | | | | | | | | | | | | | Backport #31148 by @techknowlogick Reduce accident closing of tickets only to re-open them right away. This aligns the text on these buttons with what GitHub has. Commit is authored by @LazyDodo, and was committed to the Blender fork by @brechtvl Background details: https://projects.blender.org/infrastructure/gitea-custom/pulls/7 Co-authored-by: techknowlogick <techknowlogick@gitea.com> Co-authored-by: Ray Molenkamp <github@lazydodo.com>
* Fix possible ui 500 if workflow's job is nil (#31092) (#31098)Giteabot2024-05-271-0/+1
| | | | | | | Backport #31092 by @lunny Fix #31087 Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
* Avoid 500 panic error when uploading invalid maven package file (#31014) ↵Giteabot2024-05-201-0/+1
| | | | | | | (#31027) Backport #31014 by wxiaoguang Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Remove unnecessary double quotes on language file (#30977) (#30979)Giteabot2024-05-151-1/+1
| | | | | | | | Backport #30977 by @lunny The double quotes and the prefix/suffix space are unnecessary. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
* Check if reverse proxy is correctly configured (#30890) (#30935)Giteabot2024-05-101-0/+1
| | | | | | | | | Backport #30890 by wxiaoguang Follow #27011 Follow #30885 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: silverwind <me@silverwind.io>
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-271-0/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-261-8/+8
|
* Improve oauth2 client "preferred username field" logic and the error ↵wxiaoguang2024-04-251-0/+1
| | | | | | | | | | | | | handling (#30622) Follow #30454 And fix #24957 When using "preferred_username", if no such field, `extractUserNameFromOAuth2` (old `getUserName`) shouldn't return an error. All other USERNAME options do not return such error. And fine tune some logic and error messages, make code more stable and more friendly to end users.
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-251-0/+2
|
* Initial support for colorblindness-friendly themes (#30625)wxiaoguang2024-04-241-0/+2
| | | | | | | Initial support for #25680 This PR only adds some simple styles from GitHub, it is big enough and it focuses on adding the necessary framework-level supports. More styles could be fine-tuned later.
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-2327-27/+0
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-222-0/+42
|
* Fix repo home UI when there is no repo description (#30552)wxiaoguang2024-04-211-1/+0
| | | | | | Fix #30502 by a new approach. ![image](https://github.com/go-gitea/gitea/assets/2114189/22f48bca-82d1-45cc-b1b7-ee2344b81a76)
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-211-10/+21
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-194-0/+165
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-1825-88/+0
|
* Expose fuzzy search for issues/pulls (#29701)65432024-04-181-2/+4
| | | | | | | | close #29685 --------- Signed-off-by: 6543 <6543@obermui.de> Co-authored-by: silverwind <me@silverwind.io>
* Allow everyone to read or write a wiki by a repo unit setting (#30495)wxiaoguang2024-04-171-0/+2
| | | | | Replace #6312 Help #5833 Wiki solution for #639
* Correct locale string rendering (#30522)wxiaoguang2024-04-171-4/+4
| | | | | | | | Since #29165, the translations are rendered as HTML in templates, so: 1. if the translation does contain `<>`, use `TrString` 2. use `{dummy}` instead of `<dummy>` as much as possible Co-authored-by: Giteabot <teabot@gitea.io>
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-171-0/+41
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-161-0/+20
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-153-0/+47
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-111-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-091-3/+44
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-0811-63/+64
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-071-10/+10
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-052-2/+116
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-041-0/+2
|
* Render embedded code preview by permlink in markdown (#30234)wxiaoguang2024-04-021-0/+2
| | | | | The permlink in markdown will be rendered as a code preview block, like GitHub Co-authored-by: silverwind <me@silverwind.io>
* [skip ci] Updated translations via CrowdinGiteaBot2024-04-0222-22/+3
|
* [skip ci] Updated licenses and gitignoresGiteaBot2024-04-013-0/+35
|
* Do not allow different storage configurations to point to the same directory ↵wxiaoguang2024-03-311-1/+3
| | | | | (#30169) Replace #29171
* [skip ci] Updated translations via CrowdinGiteaBot2024-03-311-1/+1
|
* [skip ci] Updated translations via CrowdinGiteaBot2024-03-3027-1049/+888
|
* Add default board to new projects, remove uncategorized pseudo-board (#29874)Denys Konovalov2024-03-271-4/+1
| | | | | | | | | | | | | | | | | | On creation of an empty project (no template) a default board will be created instead of falling back to the uneditable pseudo-board. Every project now has to have exactly one default boards. As a consequence, you cannot unset a board as default, instead you have to set another board as default. Existing projects will be modified using a cron job, additionally this check will run every midnight by default. Deleting the default board is not allowed, you have to set another board as default to do it. Fixes #29873 Fixes #14679 along the way Fixes #29853 Co-authored-by: delvh <dev.lh@web.de>
* Support repo code search without setting up an indexer (#29998)wxiaoguang2024-03-241-0/+1
| | | | | | | | | | | | | | | | | By using git's ability, end users (especially small instance users) do not need to enable the indexer, they could also benefit from the code searching feature. Fix #29996 ![image](https://github.com/go-gitea/gitea/assets/2114189/11b7e458-88a4-480d-b4d7-72ee59406dd1) ![image](https://github.com/go-gitea/gitea/assets/2114189/0fe777d5-c95c-4288-a818-0427680805b6) --------- Co-authored-by: silverwind <me@silverwind.io>
* Fix bugs in rerunning jobs (#29955)Zettat1232024-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #28761 Fix #27884 Fix #28093 ## Changes ### Rerun all jobs When rerun all jobs, status of the jobs with `needs` will be set to `blocked` instead of `waiting`. Therefore, these jobs will not run until the required jobs are completed. ### Rerun a single job When a single job is rerun, its dependents should also be rerun, just like GitHub does (https://github.com/go-gitea/gitea/issues/28761#issuecomment-2008620820). In this case, only the specified job will be set to `waiting`, its dependents will be set to `blocked` to wait the job. ### Show warning if every job has `needs` If every job in a workflow has `needs`, all jobs will be blocked and no job can be run. So I add a warning message. <img src="https://github.com/go-gitea/gitea/assets/15528715/88f43511-2360-465d-be96-ee92b57ff67b" width="480px" />
* Refactor repo header/list (#29969)wxiaoguang2024-03-211-3/+1
| | | | 1. Use general "mobile-only" and "not-mobile" CSS styles, remove some`@media (max-width: 767.98px)` tricks 2. Use `CountFmt` for repo list, just like the repo header (and it matches GitHub, to avoid big numbers bloat the page)
* Update register application URL for GitLab (#29959)yp053272024-03-211-1/+1
| | | | | | Fix #26593 The old URL was updated 7 years ago. Maybe no need to hold it any more. ![image](https://github.com/go-gitea/gitea/assets/18380374/95a0b364-832b-4f10-800e-21845d64df1a)
* Refactor StringsToInt64s (#29967)wxiaoguang2024-03-211-0/+1
| | | And close #27176
* Editor error message misleading due to re-used key. (#29859)buckybytes2024-03-181-0/+2
| | | | | | | | | | | | | | | The error message: `editor.file_changed_while_editing = The file contents have changed since you started editing. <a target="_blank" rel="noopener noreferrer" href="%s">Click here</a> to see them or <strong>Commit Changes again</strong> to overwrite them.` Is re-used in inappropriate contexts. The link in the key goes to a 404 when the key is used in a situation where the file contents have not changed. Added two new keys to differentiate commit id mismatch and push out of date conditions.
* [skip ci] Updated licenses and gitignoresGiteaBot2024-03-181-0/+3
|
* Improve branch select list ui in go templates (#29729)HEREYUA2024-03-151-1/+2
| | | | | | | | | | | | | | | | | | Relate:[#27417](https://github.com/go-gitea/gitea/issues/27471) Reference: [#26631](https://github.com/go-gitea/gitea/pull/26631) Before ![image](https://github.com/go-gitea/gitea/assets/37935145/88ca8da5-25dd-4f60-bea8-a80107f19cc5) After ![image](https://github.com/go-gitea/gitea/assets/37935145/3cb180dc-1331-43e9-8633-be5e288401e8) --------- Co-authored-by: silverwind <me@silverwind.io>