479757f61b
[skip ci] Updated translations via Crowdin
2025-07-06 00:42:18 +00:00
58759aeca0
Mark old reviews as stale on agit pr updates ( #34933 )
...
Fixes: https://github.com/go-gitea/gitea/issues/34134
2025-07-05 11:30:06 -07:00
63ee6783b8
Refactor "delete-button" to "link-action" ( #34962 )
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-07-06 00:01:53 +08:00
c05082669b
Refactor frontend unique id & comment ( #34958 )
...
* 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
2025-07-05 15:21:53 +00:00
6033c67a1a
Refactor some trivial problems ( #34959 )
...
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
2025-07-05 23:19:33 +08:00
555735936f
Upgrade security public key ( #34956 )
2025-07-05 10:11:41 -04:00
70685a9489
Fix git graph page ( #34948 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
fix #34946
2025-07-04 15:41:19 +00:00
41678e1a57
Update JS dependencies ( #34951 )
...
Ran `make update-js svg` and adapted to svgo v4.
2025-07-04 17:02:32 +02:00
71e151cc22
Refactor head navbar icons ( #34922 )
...
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Giteabot <teabot@gitea.io >
2025-07-04 13:03:22 +02:00
d6d643fe86
Fix http auth header parsing ( #34936 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Using `strings.EqualFold` is wrong in many cases.
2025-07-03 03:02:38 +00:00
8cbec63cc7
Don't send trigger for a pending review's comment create/update/delete ( #34928 )
...
Fix #18846
Fix #34924
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-03 10:35:45 +08:00
6455c8202b
Support getting last commit message using contents-ext API ( #34904 )
...
Fix #34870
Fix #34929
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-03 09:45:42 +08:00
97fc87af89
[skip ci] Updated translations via Crowdin
2025-07-03 00:37:58 +00:00
6fe5c4c4d9
Exclude devtest.ts from tailwindcss ( #34935 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Fix this leftover from the typescript migration.
2025-07-02 18:00:16 -04:00
dd1fd89185
[skip ci] Updated translations via Crowdin
2025-07-02 00:37:55 +00:00
1d4ad5aa2b
Improve html escape ( #34911 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been skipped
drop "escape-goat"
2025-07-01 21:44:05 +08:00
35f0b5a3ec
Adds tooltip on branch commit counts ( #34869 )
...
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 >
2025-07-01 19:14:32 +08:00
90f96c301e
Fix PR toggle WIP ( #34920 )
...
Fix #34919
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-01 16:32:39 +08:00
6596b92140
Fix modal + form abuse ( #34921 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
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.
2025-07-01 15:19:03 +08:00
f3364ec57f
[skip ci] Updated translations via Crowdin
2025-07-01 00:43:26 +00:00
8dbf13b1cb
Follow file symlinks in the UI to their target ( #28835 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
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 >
2025-07-01 06:55:36 +08:00
a94e472788
Fix issue filter ( #34914 )
...
`0` is zero value and won't be put into query parameter by QueryBuild
Fix #34913
2025-07-01 00:33:53 +08:00
09bb19ad01
Fix: RPM package download routing & missing package version count ( #34909 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
* 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 >
2025-06-30 23:02:30 +08:00
176962c03e
Add support for 3D/CAD file formats preview ( #34794 )
...
Fix #34775
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-30 16:12:25 +08:00
f74a13610d
Add a login
/login-name
/username
disambiguation to affected endpoint parameters and response/request models ( #34901 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
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
2025-06-29 21:17:45 -07:00
662db4a69c
Improve tags list page ( #34898 )
2025-06-30 02:15:39 +00:00
95964dd2ca
[skip ci] Updated translations via Crowdin
2025-06-30 00:40:57 +00:00
c077b71647
docs: fix typo in pull request merge warning message text ( #34899 )
...
### Description
This PR fixes two typos in the pull request merge command warning
message.
- "can not" → "cannot"
- "was not enable" → "is not enabled."
### File Updated
- `options/locale/locale_en-US.ini` (line 1972)
### Related Discussion
https://github.com/go-gitea/gitea/issues/34893
2025-06-29 17:26:36 -07:00
10cf2023bf
Refactor container package ( #34877 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
Use standard db.WithTx and introduce db.WithTx2
2025-06-29 09:20:38 +08:00
26491caf8c
[skip ci] Updated translations via Crowdin
2025-06-29 00:42:09 +00:00
8df59fa11c
Fix project column edit ( #34890 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
Fix #34888
2025-06-28 16:15:51 +08:00
e17dfce61b
Upgrade htmx to 2.0.6 ( #34887 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
Release notes:
https://github.com/bigskysoftware/htmx/releases/tag/v2.0.6
Tested Star, Watch, and the admin dashboard page. All functionality
remains unchanged.
Signed-off-by: Yarden Shoham <git@yardenshoham.com >
2025-06-27 15:21:52 -04:00
69fc5619c4
Optimize flex layout of release attachment area ( #34885 )
...
before:

after:

2025-06-27 16:45:39 +00:00
1e50cec0b3
Improve labels-list
rendering ( #34846 )
...
Make labels list use consistent gap
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-27 23:12:25 +08:00
aa9d86745a
enforce explanation for necessary nolints and fix bugs ( #34883 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Follows up https://github.com/go-gitea/gitea/pull/34851
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-27 21:48:03 +08:00
9854df3e87
Fix a regression when refactoring fork list ( #34879 )
...
Fix a regression when refactoring fork list from #34784
2025-06-27 06:45:21 +00:00
eb36a4554e
enforce nolint scope ( #34851 )
...
enable nolintlint scope requirement
add comments to new directives so it's more obvious why they are in
place
---
I can also toggle the mandatory comments on if that's something of
interest.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
2025-06-27 07:59:55 +02:00
376bf01769
[skip ci] Updated translations via Crowdin
2025-06-27 00:38:08 +00:00
0771a79bf0
Use standalone function to update repository cols ( #34811 )
...
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
release-nightly / nightly-binary (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
Extract `UpdateRepository`
Follow up #34762
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-26 17:23:21 +00:00
750af1c981
[skip ci] Updated translations via Crowdin
2025-06-26 00:37:51 +00:00
c67a8397ff
Add issue delete notifier ( #34592 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
Fixes https://github.com/go-gitea/gitea/issues/34591
A reference regarding the deletion of issue webhooks on GitHub:
https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=deleted#issues
2025-06-25 18:53:02 +00:00
75aa23a665
Refactor "change file" API ( #34855 )
...
Follow up the "editor" refactor, use the same approach to simplify code,
and fix some docs & comments
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: delvh <dev.lh@web.de >
2025-06-25 11:25:20 -07:00
1839110ea6
Fix some log and UI problems ( #34863 )
...
Remove the misleading error log, fix #34738
Make the "search" input auto-focused, fix #34807
2025-06-26 00:32:50 +08:00
35a8e6f8e9
Update go tool dependencies ( #34845 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
Tested a few things, everything seems to work.
`editorconfig-checker` is now pinned at v3 to avoid having to maintain
its minor releases.
2025-06-25 09:48:24 +00:00
d23c911997
Fix archive API ( #34853 )
...
Fix #34852
2025-06-25 14:55:19 +08:00
04783f548d
Update uint8-to-base64
, remove type stub ( #34844 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
The module now ships type definitions so remove our type stub.
Ref: https://github.com/WebReflection/uint8-to-base64/pull/4
2025-06-25 03:06:33 +00:00
dbd9c69909
Refactor repo contents API and add "contents-ext" API ( #34822 )
...
See the updated swagger document for details.
2025-06-25 02:34:21 +00:00
7be1a5e585
[skip ci] Updated translations via Crowdin
2025-06-25 00:38:18 +00:00
0e629c545a
fix(issue): Replace stopwatch toggle with explicit start/stop actions ( #34818 )
...
This PR fixes a state de-synchronization bug with the issue stopwatch,
it resolves the issue by replacing the ambiguous `/toggle` endpoint
with two explicit endpoints: `/start` and `/stop`.
- The "Start timer" button now exclusively calls the `/start` endpoint.
- The "Stop timer" button now exclusively calls the `/stop` endpoint.
This ensures the user's intent is clearly communicated to the server,
eliminating the state inconsistency and fixing the bug.
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-25 07:22:58 +08:00
63fb25382b
Remove unused variable HUGO_VERSION ( #34840 )
...
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
cron-translations / crowdin-pull (push) Has been skipped
This variable is unused, occurs nowhere in the codebase. I can't
pinpoint the exact commit when it was last used, but I think it's unused
since the docs were moved out.
2025-06-24 16:54:35 +00:00