0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-19 08:30:49 +02:00

19727 Commits

Author SHA1 Message Date
TheFox0x7
ce032d9573
Merge f23be74c868f84607a9a1bce6332f1576cc78bf3 into 56eccb49954dbb561f4360481c3e52de92080f20 2025-07-11 14:46:54 +02: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
TheFox0x7
f23be74c86
add login and webhook counters 2025-07-09 23:35:07 +02:00
Neha Prasad
4669c64164
fix: improve english grammar and readability in locale_en-US.ini (#35017) 2025-07-09 17:33:18 -04:00
TheFox0x7
9d7283ae3c
add system notice counter 2025-07-09 23:07:06 +02:00
TheFox0x7
c4a81c56f0
fix formatting 2025-07-09 21:16:49 +02: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
TheFox0x7
25eee166c4
add cron inflight metric 2025-07-08 23:22:00 +02:00
TheFox0x7
96246b93aa
modernize 2025-07-08 17:26:02 +02:00
TheFox0x7
c02ac93968
add copyright info and unit 2025-07-08 17:14:28 +02:00
TheFox0x7
0e501fee11
fix linting issues and failing test 2025-07-08 16:56:57 +02:00
wxiaoguang
4e10adc871
Start automerge check again after the conflict check and the schedule (#34989)
Fix #34988

Co-authored-by: posativ
2025-07-08 14:51:16 +00:00
TheFox0x7
ac9d6afe00
Merge branch 'main' into prometheus-reorganization 2025-07-08 13:53:52 +02:00
TheFox0x7
fb08fa6909
fix formatting 2025-07-08 13:52:58 +02:00
TheFox0x7
93116f5d47
add database histogram 2025-07-08 13:46:09 +02:00
TheFox0x7
d310cd08f8
drop label
to be reintroduced later, for now it would require figuring out which
arg is the actual command
2025-07-08 11:08:16 +02:00
wxiaoguang
3763c2ae28
Refactor time tracker UI (#34983)
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
2025-07-08 08:59:31 +00:00
GiteaBot
08682212ab [skip ci] Updated translations via Crowdin 2025-07-08 00:37:29 +00:00
Scion
f88800d545
Improve NuGet API Parity (#21291) (#34940)
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
2025-07-07 10:43:58 +00:00
GiteaBot
ddfa2e4a3e [skip ci] Updated translations via Crowdin 2025-07-07 00:41:20 +00:00
TheFox0x7
6e64232f42
drop deprecated validation setting 2025-07-07 00:42:44 +02:00
TheFox0x7
734c2da3ac
add inflight and duration to git commands
still kind of buggy as it doesn't properly encode commands
2025-07-07 00:36:28 +02:00
TheFox0x7
206eb3e16f
test out non default buckets 2025-07-07 00:33:52 +02:00
NorthRealm
6b42ea1e54
Rerun job only when run is done (#34970)
For consistency, limit rerunning Job(s) to only when Run is in Done status.
2025-07-06 10:47:02 -07:00
silverwind
95a935aca0
Enable gocritic equalFold and fix issues (#34952)
Continuation of https://github.com/go-gitea/gitea/pull/34678.

---------

Signed-off-by: silverwind <me@silverwind.io>
2025-07-06 16:53:34 +00:00
MrMars98
ba943fb773
Fixed minor typos in two files #HSFDPMUW (#34944)
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>
2025-07-06 09:27:26 -07:00
wxiaoguang
9dafcc5c9e
Improve project & label color picker and image scroll (#34971)
Fix #34609
Fix #34967
2025-07-06 23:37:26 +08:00
wxiaoguang
e0745eb14d
Refactor webhook and fix feishu/lark secret (#34961) 2025-07-06 06:04:08 +00:00
wxiaoguang
3533263ced
Improve OAuth2 provider (correct Issuer, respect ENABLED) (#34966)
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.
2025-07-06 13:36:45 +08:00
wxiaoguang
429efc8b4f
Merge index.js (#34963)
Fix #34960
2025-07-06 04:55:16 +00:00
GiteaBot
479757f61b [skip ci] Updated translations via Crowdin 2025-07-06 00:42:18 +00:00