Lunny Xiao
25dafca5a1
Upgrade security public key ( #34956 )
2025-07-05 10:11:41 -04:00
wxiaoguang
fc7ae0ae81
Fix git graph page ( #34948 )
...
fix #34946
2025-07-04 15:41:19 +00:00
silverwind
5d9174eca1
Update JS dependencies ( #34951 )
...
Ran `make update-js svg` and adapted to svgo v4.
2025-07-04 17:02:32 +02:00
wxiaoguang
c1ffcf9980
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
wxiaoguang
775a10efcc
Fix http auth header parsing ( #34936 )
...
Using `strings.EqualFold` is wrong in many cases.
2025-07-03 03:02:38 +00:00
Lunny Xiao
dc83f4f26c
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
RickyMa
8285d53e21
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
GiteaBot
f09a313b04
[skip ci] Updated translations via Crowdin
2025-07-03 00:37:58 +00:00
silverwind
d9f18f07bc
Exclude devtest.ts from tailwindcss ( #34935 )
...
Fix this leftover from the typescript migration.
2025-07-02 18:00:16 -04:00
GiteaBot
8daa5579a6
[skip ci] Updated translations via Crowdin
2025-07-02 00:37:55 +00:00
wxiaoguang
49dae953bd
Improve html escape ( #34911 )
...
drop "escape-goat"
2025-07-01 21:44:05 +08:00
Aaron Meese
f91f127e92
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
wxiaoguang
991c47c1e2
Fix PR toggle WIP ( #34920 )
...
Fix #34919
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-01 16:32:39 +08:00
wxiaoguang
76612b02cf
Fix modal + form abuse ( #34921 )
...
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
GiteaBot
2088286a96
[skip ci] Updated translations via Crowdin
2025-07-01 00:43:26 +00:00
delvh
3c6fd45400
Follow file symlinks in the UI to their target ( #28835 )
...
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
wxiaoguang
63650ed62b
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
Exploding Dragon
d101c2a39c
Fix: RPM package download routing & missing package version count ( #34909 )
...
* 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
Kerwin Bryant
02e23527d2
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
AlexMaryW
08b3e0caa6
Add a login/login-name/username disambiguation to affected endpoint 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
2025-06-29 21:17:45 -07:00
wxiaoguang
6335bfb430
Improve tags list page ( #34898 )
2025-06-30 02:15:39 +00:00
GiteaBot
82780353b9
[skip ci] Updated translations via Crowdin
2025-06-30 00:40:57 +00:00
Pavanipogula
9fbce44e4d
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
wxiaoguang
7a00caf37c
Refactor container package ( #34877 )
...
Use standard db.WithTx and introduce db.WithTx2
2025-06-29 09:20:38 +08:00
GiteaBot
19b9b03090
[skip ci] Updated translations via Crowdin
2025-06-29 00:42:09 +00:00
wxiaoguang
8ba2338b88
Fix project column edit ( #34890 )
...
Fix #34888
2025-06-28 16:15:51 +08:00
Yarden Shoham
5b4d452a7b
Upgrade htmx to 2.0.6 ( #34887 )
...
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
Kerwin Bryant
c3bbd16b99
Optimize flex layout of release attachment area ( #34885 )
...
before:

after:

2025-06-27 16:45:39 +00:00
silverwind
e427c8f6e5
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
TheFox0x7
ddcfde36f8
enforce explanation for necessary nolints and fix bugs ( #34883 )
...
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
Lunny Xiao
70f47583a3
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
TheFox0x7
d506b4ec2e
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
GiteaBot
f2fef88bad
[skip ci] Updated translations via Crowdin
2025-06-27 00:38:08 +00:00
Lunny Xiao
9772a03330
Use standalone function to update repository cols ( #34811 )
...
Extract `UpdateRepository`
Follow up #34762
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-26 17:23:21 +00:00
GiteaBot
9de1056ad2
[skip ci] Updated translations via Crowdin
2025-06-26 00:37:51 +00:00
badhezi
92ed3fc0c8
Add issue delete notifier ( #34592 )
...
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
wxiaoguang
ee2efed481
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
wxiaoguang
763a2543ce
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
silverwind
8763032728
Update go tool dependencies ( #34845 )
...
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
wxiaoguang
d4690ee4b8
Fix archive API ( #34853 )
...
Fix #34852
2025-06-25 14:55:19 +08:00
silverwind
bbb2fe5bda
Update uint8-to-base64, remove type stub ( #34844 )
...
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
wxiaoguang
24ba3b36a2
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
GiteaBot
0e6eb3ed6c
[skip ci] Updated translations via Crowdin
2025-06-25 00:38:18 +00:00
Junsik Kong
e51b1debdc
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
silverwind
76d6385149
Remove unused variable HUGO_VERSION ( #34840 )
...
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
wxiaoguang
aec7f77085
Fix SSH LFS timeout ( #34838 )
...
Fix #34834
2025-06-24 15:49:31 +00:00
delvh
cd37affdf7
Ignore force pushes for changed files in a PR review ( #34837 )
...
Fixes #34832
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-24 23:22:32 +08:00
Lunny Xiao
253218359d
Fix log fmt ( #34810 )
2025-06-24 13:51:04 +00:00
wxiaoguang
fca38bad0f
Fix team permissions ( #34827 )
...
* Fix #34793
* Fix #33456
2025-06-24 21:24:09 +08:00
JIUN-TAI NIEN
1db195ceb6
Fix job status aggregation logic ( #34823 )
2025-06-24 16:35:03 +08:00