0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-17 07:51:32 +01:00

4525 Commits

Author SHA1 Message Date
Excellencedev
2480c30847 CrossRepoMode 2026-01-17 15:57:50 +01:00
Excellencedev
c770087902 fix formatting 2026-01-17 15:30:52 +01:00
Excellencedev
493d51d3f5 fix test 2026-01-17 14:51:22 +01:00
Excellencedev
2317080cdd logs 2026-01-16 18:59:47 +01:00
Excellencedev
27a405571b fix 2026-01-16 18:13:18 +01:00
Excellencedev
01a328bed0 fixes 2026-01-16 17:09:41 +01:00
Excellencedev
87d9f86391
Merge branch 'main' into fix-24635 2026-01-16 16:34:50 +01:00
Excellencedev
7cccb84fdb fixes 2026-01-16 16:16:53 +01:00
Gregorius Bima Kharisma Wicaksana
65422fde4d
Fix CODEOWNERS review request attribution using comment metadata (#36348)
Fixes #36333

## Problem

When CODEOWNERS automatically assigns reviewers to a pull request, the
timeline incorrectly shows the PR author as the one who requested the
review (e.g., "PR_AUTHOR requested review from CODE_OWNER"). This is
misleading since the action was triggered automatically by CODEOWNERS
rules, not by the PR author.

## Solution

Store CODEOWNERS attribution in comment metadata instead of changing the
doer user:
- Add `SpecialDoerName` field to `CommentMetaData` struct (value:
`"CODEOWNERS"` for CODEOWNERS-triggered requests)
- Pass `isCodeOwners=true` to `AddReviewRequest` and
`AddTeamReviewRequest` functions
- Template can check this metadata to show appropriate attribution
message

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-16 14:52:57 +00:00
Excellencedev
feb791cccf feedback fixes 2026-01-16 15:38:11 +01:00
Excellencedev
f7fc8792d5
Merge branch 'main' into fix-24635
Signed-off-by: Excellencedev <ademiluyisuccessandexcellence@gmail.com>
2026-01-16 14:55:05 +01:00
Lunny Xiao
14e8c9b767
Release attachments must belong to the intended repo (#36347) 2026-01-14 11:37:53 -08:00
Lunny Xiao
7b5de594cd
Fix permission check on org project operations (#36318) 2026-01-14 17:29:33 +00:00
Lunny Xiao
8a98ac2213
clean watches when make a repository private and check permission when send release emails (#36319) 2026-01-14 16:11:22 +00:00
Lunny Xiao
95ea2df00a
Add more check for stopwatch read or list (#36340) 2026-01-13 13:13:39 +00:00
Lunny Xiao
ed5720af2a
Fix openid setting check (#36346) 2026-01-13 12:44:29 +00:00
Excellencedev
79c38fe9a7
Merge branch 'main' into fix-24635 2026-01-11 17:49:03 +01:00
Lunny Xiao
da036f3f35
LFS locks must belong to the intended repo (#36344) 2026-01-11 12:57:58 +02:00
Excellencedev
4e524d3887 improve comments 2026-01-08 03:33:37 +01:00
Excellencedev
a5debd9327 add releases and projects units 2026-01-07 18:45:07 +01:00
Excellencedev
28dff2a372 update parser 2026-01-07 06:26:40 +01:00
Excellencedev
655733eb38 fix 2026-01-07 05:32:37 +01:00
Excellencedev
ba3a3a7086 Feedback 2026-01-07 04:49:51 +01:00
Excellencedev
9610d7f27a Implement all requested changes 2026-01-06 15:49:34 +01:00
Excellencedev
d26294839e
Merge branch 'main' into fix-24635 2026-01-06 15:07:03 +01:00
Gregorius Bima Kharisma Wicaksana
f9d3983de2
fix: generate IDs for HTML headings without id attribute (#36233)
This PR fixes #27383 where HTML headings like `<h1>Title</h1>` in
markdown files would have empty permalink anchors

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-06 05:09:44 +00:00
Excellencedev
13660f202d cleanup 2026-01-03 13:39:01 +01:00
Excellencedev
f3b14570f2 Feedback 2025-12-31 19:14:10 +01:00
Excellencedev
2e7bd47be6 chore: fix ci 2025-12-31 06:00:05 +01:00
Excellencedev
1ff75aa822 Implement Workflow Level Permissions 2025-12-31 05:11:28 +01:00
Excellencedev
4fb498987d
Merge branch 'main' into fix-24635 2025-12-30 03:55:07 +01:00
Lunny Xiao
1771569300
Some refactor for repo path (#36251)
- Use `gitrepo.IsRepositoryExist` instead of `util.IsExit` or
`util.IsDir`
- Use `gitrepo.OpenRepository` instead of `git.OpenRepository`
- Use `gitrepo.DeleteRepository` instead of `util.RemoveAll`
- Use `gitrepo.RenameRepository` instead of `util.Rename`
2025-12-29 18:49:54 +00:00
Ivan Tkatchev
19e1997ee2
Add an option to automatically verify SSH keys from LDAP (#35927)
This pull request adds an option to automatically verify SSH keys from
LDAP authentication sources.

This allows a correct authentication and verification workflow for
LDAP-enabled organizations; under normal circumstances SSH keys in LDAP
are not managed by users manually.
2025-12-27 12:33:08 +00:00
Excellencedev
4ccb766bf2 Re-implement changes for feedback 2025-12-26 09:18:59 +01:00
Excellencedev
9bd8b8109d Review comment fixes 2025-12-24 02:49:37 +01:00
Excellencedev
34d13de7e5
Merge branch 'main' into fix-24635 2025-12-20 19:28:37 +01:00
Scion
495fee4555
Closed milestones with no issues now show as 100% completed (#36220)
Closed milestones with 0 issues currently display as having 0%
completion. This makes sense if the milestone is still open, but if the
milestone is closed it seems like that it should show 100% completeness
instead.

Before:
<img width="1708" height="252" alt="image"
src="https://github.com/user-attachments/assets/0b58c78f-0609-44ee-8d58-bd67534c6164"
/>
After:
<img width="1716" height="263" alt="image"
src="https://github.com/user-attachments/assets/3fb0044f-d76c-4888-9d60-640f2ca5fec6"
/>
2025-12-20 16:16:20 +00:00
Excellencedev
663d9b28f8 empty commit 2025-12-20 14:13:52 +01:00
Excellencedev
6d947234e2 regression 2025-12-20 13:08:06 +01:00
Excellencedev
d25de6fb86 test fix 2025-12-20 11:13:47 +01:00
Excellencedev
9c5b278622 Fix all bugs I found in the code 2025-12-20 05:46:33 +01:00
Excellencedev
a5163fa5f2 minor nitpick 2025-12-20 05:16:53 +01:00
Excellencedev
04a66583d1 Merge remote-tracking branch 'origin/main' into fix-24635 2025-12-20 04:48:22 +01:00
Peter Verraedt
b4c9057f92
Fix regression in writing authorized principals (#36213)
Add additional logic with tests to restore the
previous behaviour when writing the principals file.

Fixes: #36212

---------

Signed-off-by: Peter Verraedt <peter.verraedt@kuleuven.be>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-12-20 01:24:59 +00:00
Excellencedev
8daef631cf Adress all reviewer feedback 2025-12-19 05:39:06 +01:00
Excellencedev
5317bb0e95 Fix lints 2025-12-18 14:06:24 +01:00
Excellencedev
297ecef8da Final core implementation changes 2025-12-18 13:37:15 +01:00
Excellencedev
2a204e36a7 WIP 2025-12-18 12:00:47 +01:00
Excellencedev
43e96d5ead WIP 2025-12-18 09:17:07 +01:00
Excellencedev
e20d12e8a7
Merge branch 'main' into fix-24635 2025-12-18 02:39:42 +01:00