Commit Graph

19949 Commits (620153abf22c5eaa9a4adb95e23ecd687c143c49)

Author SHA1 Message Date
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
badhezi 5ad8708ddd
Merge branch 'go-gitea:main' into main 2025-07-15 10:10:12 +03: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
GiteaBot 6090d70915 [skip ci] Updated translations via Crowdin 2025-07-12 00:38:42 +00:00
Lunny Xiao 1352080ef7
Fix incorrect comment diff hunk parsing, fix github asset ID nil panic (#35046)
* Fix missing the first char when parsing diff hunk header
* Fix #35040
* Fix #35049

----

Introduced in
https://github.com/go-gitea/gitea/pull/12047/files#diff-de48c2f70e24ff5603180acf8b5ce9d0356ede8a45bfbf2a485707282ace6d6aR268

Before:

<img width="487" height="167" alt="image"
src="https://github.com/user-attachments/assets/17524c76-a296-4b4b-a4f9-c5150c41bae5"
/>

After:

<img width="749" height="144" alt="image"
src="https://github.com/user-attachments/assets/bcb12c76-c1ae-40f1-81b7-183d15f891db"
/>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-11 15:18:41 -07:00
NorthRealm 56eccb4995
Add Notifications section in User Settings (#35008)
Related: #34982

---------

Signed-off-by: NorthRealm <155140859+NorthRealm@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-11 10:17:52 +08:00
Lunny Xiao b46623f6a5
Fix updating user visibility (#35036)
Fix #35030

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 16:17:28 -07:00
Lunny Xiao 7a15334656
Fix git commit committer parsing and add some tests (#35007)
* Fix #34991
* Fix #34882

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 19:03:36 +00:00
wxiaoguang a5a3d9b101
Refactor OpenIDConnect to support SSH/FullName sync (#34978)
* Fix #26585
* Fix #28327
* Fix #34932
2025-07-10 18:35:59 +00:00
wxiaoguang 6ab6d4e17f
Support base64-encoded agit push options (#35037) 2025-07-10 18:08:40 +00:00
Naxdy 32152a0ac0
Also display "recently pushed branch" alert on PR view (#35001)
This commit adds the "You recently pushed to branch X" alert also to PR
overview, as opposed to only the repository's home page.

GitHub also shows this alert on the PR list, as well as the home page.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2025-07-10 17:17:56 +00:00
wxiaoguang f35dcfd489
Make submodule link work with relative path (#35034)
Fix #35033
2025-07-10 16:38:42 +00:00
silverwind 36a19f2569
Update to go 1.24.5 (#35031)
https://go.dev/doc/devel/release#go1.24.5
2025-07-10 11:48:36 -04:00
TheFox0x7 4b174e44a8
Improve CLI commands (#34973)
Improve help related commands and flags and add tests

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-07-10 19:36:55 +08:00
silverwind 091b3e696d
Tweak eslint config, fix new issues (#35019)
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.
2025-07-10 08:28:25 +00:00
Scion af0196c145
Fix ListWorkflowRuns OpenAPI response model. (#35026)
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>
2025-07-10 05:58:07 +00:00
Anbraten ea809a5220
Partially refresh notifications list (#35010)
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>
2025-07-10 04:15:14 +00:00
GiteaBot b6d6402a1b [skip ci] Updated translations via Crowdin 2025-07-10 00:38:31 +00:00
Peter Udeh 4321747342
Docs/fix typo and grammar in CONTRIBUTING.md (#35024) 2025-07-10 06:11:42 +08:00
Neha Prasad 4669c64164
fix: improve english grammar and readability in locale_en-US.ini (#35017) 2025-07-09 17:33:18 -04:00
silverwind 1e86b7dad0
Add labeler config for `topic/code-linting` (#35020)
So that we don't have to manually set this label anymore.
2025-07-09 17:20:44 +00:00
wxiaoguang 211135b4bb
Fix various problems (#35012)
* Fix #35011
* Fix incorrect log message for "Protocol"
* Remove unnecessary styles, fix "comment-header" wrap, fix label height
2025-07-09 16:46:51 +00:00
Scion bb0c84e8c3
Fix the response format for `actions/workflows`. (#35009)
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.
2025-07-09 22:32:02 +08:00
wxiaoguang 55f350542c
Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +08:00
GiteaBot 2cc3368610 [skip ci] Updated translations via Crowdin 2025-07-09 00:38:25 +00:00
Lunny Xiao f1b78f3cdd
Fix bug when displaying git user avatar in commits list (#35003)
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.
2025-07-08 22:49:30 +00:00
silverwind d3d357a4a4
Tweak placement of diff file menu (#34999)
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.
2025-07-09 00:44:14 +03:00