aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Tweak eslint config, fix new issues (#35019)silverwind2025-07-103-3/+4
| | | | | | | 1. Enable [`@typescript-eslint/no-unnecessary-type-conversion`](https://typescript-eslint.io/rules/no-unnecessary-type-conversion/), I think the two cases that were hit are safe cases. 2. Disable `no-new-func`, `@typescript-eslint/no-implied-eval` does the same but better.
* Fix ListWorkflowRuns OpenAPI response model. (#35026)Scion2025-07-104-5/+5
| | | | | | | | | Change the OpenAPI response of `ListWorkflowRuns` to `WorkflowRunsList` like it is supposed to be. --------- Signed-off-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Partially refresh notifications list (#35010)Anbraten2025-07-105-196/+120
| | | | | | | | | This PR prevents full reloads for the notifications list when changing a notifications status (read, unread, pinned). --------- Co-authored-by: Anton Bracke <anton.bracke@fastleansmart.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-1026-143/+0
|
* Docs/fix typo and grammar in CONTRIBUTING.md (#35024)Peter Udeh2025-07-101-1/+1
|
* fix: improve english grammar and readability in locale_en-US.ini (#35017)Neha Prasad2025-07-091-10/+10
|
* Add labeler config for `topic/code-linting` (#35020)silverwind2025-07-091-0/+10
| | | So that we don't have to manually set this label anymore.
* Fix various problems (#35012)wxiaoguang2025-07-0914-62/+55
| | | | | * Fix #35011 * Fix incorrect log message for "Protocol" * Remove unnecessary styles, fix "comment-header" wrap, fix label height
* Fix the response format for `actions/workflows`. (#35009)Scion2025-07-092-5/+21
| | | | | | | | This PR fixes the response format for the OpenAPI Spec of `ActionsListRepositoryWorkflows`. It was specified in the OpenAPI spec as returning a `[]*ActionWorkflow`, but it actually should return a `api.ActionWorkflowResponse`. The test already expects an `api.ActionWorkflowResponse` like expected.
* Refactor mail template and support preview (#34990)wxiaoguang2025-07-0914-49/+156
|
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-091-7/+13
|
* Fix bug when displaying git user avatar in commits list (#35003)Lunny Xiao2025-07-081-1/+1
| | | | | | | A quick fix for #34991 `ValidateCommitsWithEmails` will create a fake user for a git commit user with a related Gitea user. The UI should not display a link for such users.
* Tweak placement of diff file menu (#34999)silverwind2025-07-091-1/+8
| | | | | | | | | | | | | | | Small tweak for better visual placement. Before: <img width="175" alt="Screenshot 2025-07-08 at 18 16 51" src="https://github.com/user-attachments/assets/766cfc82-1382-4aaa-8e99-c254665a0480" /> After: <img width="134" alt="Screenshot 2025-07-08 at 18 16 34" src="https://github.com/user-attachments/assets/2653dfcc-29be-4922-a4de-3257db7b66fd" /> Placement matches the "..." button above.
* Start automerge check again after the conflict check and the schedule (#34989)wxiaoguang2025-07-088-68/+187
| | | | | Fix #34988 Co-authored-by: posativ
* Refactor time tracker UI (#34983)wxiaoguang2025-07-086-58/+54
| | | | | | | | | | Although we decided to "reduce the button amount" on the side bar, not only one user reported that the "time tracker dropdown" is not easy to use. So the best we can do at the moment is: move the buttons to the sidebar again. Fix #34979
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-082-0/+2
|
* Improve NuGet API Parity (#21291) (#34940)Scion2025-07-074-58/+183
| | | | | | | | | | Fixes #21291, allowing icons and other missing attributes to appear for NuGet packages from inside Visual Studio like they do with GitHub Nuget packages. Adds additional NuGet package information, particularly `IconURL`, to bring the Gitea NuGet API more in-line with GitHub's NuGet API. ref: https://learn.microsoft.com/en-us/nuget/api/search-query-service-resource
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-071-0/+2
|
* Rerun job only when run is done (#34970)NorthRealm2025-07-061-4/+4
| | | For consistency, limit rerunning Job(s) to only when Run is in Done status.
* Enable gocritic `equalFold` and fix issues (#34952)silverwind2025-07-0616-22/+21
| | | | | | | Continuation of https://github.com/go-gitea/gitea/pull/34678. --------- Signed-off-by: silverwind <me@silverwind.io>
* Fixed minor typos in two files #HSFDPMUW (#34944)MrMars982025-07-062-4/+4
| | | | | | | | | Fixed minor typos in CODE_OF_CONDUCT.md and README.md I use the hashtag for a project at my university --------- Signed-off-by: MrMars98 <Marcel.Lang98@googlemail.com>
* Improve project & label color picker and image scroll (#34971)wxiaoguang2025-07-068-57/+76
| | | | Fix #34609 Fix #34967
* Refactor webhook and fix feishu/lark secret (#34961)wxiaoguang2025-07-0622-78/+96
|
* Improve OAuth2 provider (correct Issuer, respect ENABLED) (#34966)wxiaoguang2025-07-0610-41/+80
| | | | | | | | 1. Make "Issuer" strictly follow the spec (see comment) 2. Make "/.well-known/openid-configuration" respond 404 if the OAuth2 provider is not enabled. Then by the way, remove the JSEscape template helper because it is not needed any more.
* Merge index.js (#34963)wxiaoguang2025-07-069-210/+212
| | | Fix #34960
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-0626-48/+0
|
* Mark old reviews as stale on agit pr updates (#34933)Dan Čermák2025-07-052-0/+129
| | | Fixes: https://github.com/go-gitea/gitea/issues/34134
* Refactor "delete-button" to "link-action" (#34962)wxiaoguang2025-07-0611-96/+61
|
* Refactor frontend unique id & comment (#34958)wxiaoguang2025-07-057-35/+30
| | | | | | | * there is no bug of the "unique element id", but duplicate code, this PR just merges the duplicate "element id" logic and move the function from "fomaintic" to "dom" * improve comments * make "git commit graph" page update pagination links correctly
* Refactor some trivial problems (#34959)wxiaoguang2025-07-058-20/+39
| | | | | | | 1. make our "route group pattern match" also update chi's RoutePattern 2. fix incorrect "NotFound" call in conda package 3. make ".flex-item .flex-item-main" has a general gap, then no need to use `tw` tricks 4. improve the "test webhook" UI
* Upgrade security public key (#34956)Lunny Xiao2025-07-051-27/+27
|
* Fix git graph page (#34948)wxiaoguang2025-07-0410-208/+88
| | | fix #34946
* Update JS dependencies (#34951)silverwind2025-07-0420-1095/+1006
| | | Ran `make update-js svg` and adapted to svgo v4.
* Refactor head navbar icons (#34922)wxiaoguang2025-07-049-113/+83
| | | | Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: Giteabot <teabot@gitea.io>
* Fix http auth header parsing (#34936)wxiaoguang2025-07-039-78/+136
| | | Using `strings.EqualFold` is wrong in many cases.
* Don't send trigger for a pending review's comment create/update/delete (#34928)Lunny Xiao2025-07-032-7/+26
| | | | | | | | Fix #18846 Fix #34924 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Support getting last commit message using contents-ext API (#34904)RickyMa2025-07-0311-150/+141
| | | | | | | | Fix #34870 Fix #34929 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-033-0/+7
|
* Exclude devtest.ts from tailwindcss (#34935)silverwind2025-07-021-1/+1
| | | Fix this leftover from the typescript migration.
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-022-2/+5
|
* Improve html escape (#34911)wxiaoguang2025-07-0125-68/+103
| | | drop "escape-goat"
* Adds tooltip on branch commit counts (#34869)Aaron Meese2025-07-012-3/+11
| | | | | | | | | | | Adds a tooltip to the commit counts when comparing branches, making it easier for novice users to understand what the numbers mean. Fixes #34867. --------- Signed-off-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix PR toggle WIP (#34920)wxiaoguang2025-07-014-15/+15
| | | | | | | Fix #34919 --------- Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix modal + form abuse (#34921)wxiaoguang2025-07-013-16/+41
| | | | | | | See the comment. And due to the abuse, there is a regression: when the modal is hidden, the form will be reset and it can't submit. This PR fixes all problems: keep the modal with form open, and add "loading" indicator.
* [skip ci] Updated translations via CrowdinGiteaBot2025-07-012-14/+53
|
* Follow file symlinks in the UI to their target (#28835)delvh2025-07-0122-193/+230
| | | | | | | | | | Symlinks are followed when you click on a link next to an entry, either until a file has been found or until we know that the link is dead. When the link cannot be accessed, we fall back to the current behavior of showing the document containing the target. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Fix issue filter (#34914)wxiaoguang2025-07-012-2/+2
| | | | | `0` is zero value and won't be put into query parameter by QueryBuild Fix #34913
* Fix: RPM package download routing & missing package version count (#34909)Exploding Dragon2025-06-303-6/+14
| | | | | | | | | * Fix RPM package download routing * Fix missing package version count --------- Signed-off-by: Exploding Dragon <explodingfkl@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Add support for 3D/CAD file formats preview (#34794)Kerwin Bryant2025-06-3029-410/+628
| | | | | | | Fix #34775 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
* Add a `login`/`login-name`/`username` disambiguation to affected endpoint ↵AlexMaryW2025-06-2927-112/+131
| | | | | | | | | | | | parameters and response/request models (#34901) Issue: [link](https://github.com/go-gitea/gitea/issues/9637) Changes introduced: I have clarified the problematic terms (`login`, `login_name`, and `username`) in all affected endpoints. The changes were made to relevant: - HTTP endpoint parameters' descriptions - response/request models' fields