Commit Graph

19755 Commits

Author SHA1 Message Date
Lunny Xiao
0295c7bf01 improve the comment 2025-07-19 11:13:25 -07:00
Lunny Xiao
c89d939b54 Fix test 2025-07-19 11:00:56 -07:00
Lunny Xiao
804022bdb5 Fix test 2025-07-18 21:13:10 -07:00
Lunny Xiao
0379d4b971 Fix test 2025-07-18 19:07:21 -07:00
Lunny Xiao
27c83deb6d improvements 2025-07-18 18:16:14 -07:00
Lunny Xiao
e00c7d32af improvements 2025-07-18 18:12:42 -07:00
Lunny Xiao
488e6581af improvements 2025-07-18 18:09:03 -07:00
Lunny Xiao
b89b277218 improvements 2025-07-18 17:56:51 -07:00
Lunny Xiao
97556a88de Improve attachments deletions 2025-07-18 17:44:27 -07:00
Lunny Xiao
f868da0afa Rename 2025-07-18 17:44:26 -07:00
Lunny Xiao
85e6668c25 Rename the function for post database transaction 2025-07-18 17:44:26 -07:00
Lunny Xiao
cdb6147f38 revert unnecessary change 2025-07-18 17:44:26 -07:00
Lunny Xiao
6b66c30fc3 revert unnecessary change 2025-07-18 17:44:26 -07:00
Lunny Xiao
63173a6b31 fix test 2025-07-18 17:44:19 -07:00
Lunny Xiao
17424891fa improvements 2025-07-18 17:44:18 -07:00
Lunny Xiao
8f97a2d0b1 improvements 2025-07-18 17:44:18 -07:00
Lunny Xiao
3abb7571a8 improvements 2025-07-18 17:44:18 -07:00
Lunny Xiao
2d423dc78c Fix bug 2025-07-18 17:44:17 -07:00
Lunny Xiao
5cc338897c Remove AfterDelete function in comment 2025-07-18 17:44:17 -07:00
Lunny Xiao
012b4e504f improve the test 2025-07-18 17:44:16 -07:00
Lunny Xiao
000d87efe1 Fix deleting code comment bug 2025-07-18 17:44:15 -07:00
silverwind
3531e9dbfd Replace setup-python with setup-uv (#35116) 2025-07-18 14:02:57 +00:00
wxiaoguang
c4f5b2b531 Don't use full-file highlight when there is a git diff textconv (#35114)
Fix #35106
2025-07-18 19:16:27 +08:00
wxiaoguang
8f91bfe9d8 Fix submodule parsing when the gitmodules is missing (#35109)
Follow up #35096, fix #35095, fix #35115 and add more tests

The old code used some fragile behaviors which depend on the "nil"
receiver. This PR should be a complete fix for more edge cases.
2025-07-18 09:42:44 +00:00
silverwind
13b9659952 Align issue-title-buttons with list-header (#35018)
This change concerns the "Edit" and "New Issue" button on top right.
With this change, switching from the issue list into an issue, the "New
Issue" button will no longer "shift" from the postion on the previous
page.

<img width="1299" alt="Screenshot 2025-07-09 at 17 37 31"
src="https://github.com/user-attachments/assets/1ea55d8a-2abd-49b0-951a-ccc6466a74ee"
/>

<img width="1300" alt="Screenshot 2025-07-09 at 17 37 19"
src="https://github.com/user-attachments/assets/05997d9d-25eb-4786-803d-00c575f78bef"
/>

---------

Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-18 09:13:32 +00:00
GiteaBot
3e8aa52446 [skip ci] Updated translations via Crowdin 2025-07-18 00:38:45 +00:00
silverwind
2f138f7a03 Increase gap on latest commit (#35104) 2025-07-17 20:53:03 +00:00
NorthRealm
39f145ae72 Fix job status aggregation logic (#35000)
For a run (assume 2 jobs) that has a failed job and a waiting job, the
run status should be waiting, **as the run is not done yet.**

Related #34823
2025-07-17 21:12:02 +03:00
Lunny Xiao
8ee96039aa Fix some missed GitHeadRefName when renaming (#35102) 2025-07-17 14:01:11 +00:00
wxiaoguang
de1114b4e8 Fix error logs and improve some comments/messages (#35105) 2025-07-17 19:09:54 +08:00
pvgoran
891a827158 Support Basic Authentication for archive downloads (#35087)
Resolves #35083
2025-07-16 10:53:57 -07:00
silverwind
639ac0026c Run uv run with --frozen (#35097) 2025-07-16 16:53:35 +00:00
wxiaoguang
f0da1de7e3 Improve package API log handling (#35100)
Simplify code and fix log processing logic
2025-07-16 12:25:49 -04:00
Lunny Xiao
37958e486a Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 2025-07-16 21:33:33 +08:00
Lunny Xiao
bc78a9a38a Fix review comment/dimiss comment x reference can be refereced back (#35094)
Fix #15977
2025-07-16 12:36:37 +00:00
wxiaoguang
fc4cb07beb Fix submodule nil check (#35096)
Fix  #35095
2025-07-16 12:07:38 +00:00
Risu
e1e4815a1c Redirect to a presigned URL of HEAD for HEAD requests (#35088)
Resolves https://github.com/go-gitea/gitea/issues/35086.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-16 11:22:45 +00:00
NorthRealm
0d00ec7eed Send email on Workflow Run Success/Failure (#34982)
Closes #23725 

![1](https://github.com/user-attachments/assets/9bfa76ea-8c45-4155-a5d4-dc2f0667faa8)

![2](https://github.com/user-attachments/assets/49be7402-e5d5-486e-a1c2-8d3222540b13)

/claim #23725

---------

Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2025-07-15 18:54:31 -07:00
GiteaBot
cd3fb95d4c [skip ci] Updated translations via Crowdin 2025-07-16 00:38:59 +00:00
silverwind
7413e8583d Replace poetry with uv (#35084) 2025-07-15 21:19:39 +00:00
techknowlogick
a301079626 nix flake update (#35085) 2025-07-15 20:43:14 +02:00
silverwind
558005a5ea Use monospace font in PR command line instructions (#35074)
Before:

<img width="878" height="426" alt="Screenshot 2025-07-14 at 17 17 11"
src="https://github.com/user-attachments/assets/6e27acb9-bad5-4811-b7b1-5418f0ef12eb"
/>

After:

<img width="878" height="429" alt="Screenshot 2025-07-14 at 17 17 22"
src="https://github.com/user-attachments/assets/b0bd2bfa-e4e2-492a-9c08-66607343a459"
/>

Co-authored-by: Giteabot <teabot@gitea.io>
2025-07-15 09:48:14 +02:00
techknowlogick
990ae2bfa8 Add gitignore rules to exclude LLM instruction files (#35076)
Similar to how we have ignores for other tooling (eg vscode & IntelliJ)
we shouldn’t include these files in our repo. If they get added then
we’d have to maintain them and keep them up to date, and personally
there are too many tools to do that for.
2025-07-14 21:26:16 -07:00
GiteaBot
4bad298cd7 [skip ci] Updated translations via Crowdin 2025-07-15 00:40:54 +00:00
wxiaoguang
692c90ea1d Fix form property assignment edge case (#35073)
"form" has an edge case: its `<input name=action>` element overwrites
the `action` property, we can only set attribute.

This PR makes `assignElementProperty` can handle such case, and add more
tests
2025-07-14 15:20:17 -07:00
wxiaoguang
d08459820d Improve submodule relative path handling (#35056)
Fix #35054

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2025-07-14 23:28:34 +08:00
Joshdike
b861d86f80 Fixed all grammatical errors in locale_en-US.ini (#35053)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-14 13:31:05 +00:00
Gary Wang
ece0ce6854 UI: add hover background to table rows in user and repo admin page (#35072) 2025-07-14 08:29:35 -04:00
wxiaoguang
7cc47da78c Refactor view issue & comment list styles (#35061)
Fix #35060
2025-07-13 22:52:35 +08:00
wxiaoguang
6599efb3b1 Fix user's sign email check (#35045)
Fix #21692
2025-07-12 15:13:01 +08:00