0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-23 19:39:59 +01:00

4515 Commits

Author SHA1 Message Date
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
Lunny Xiao
efd5dd4f0b
Fix bug when creating pull request (#36166)
Extract from #36105 

Fix #36116
Fix #35912
Fix #20906
2025-12-17 21:21:04 +00:00
silverwind
1e22bd712f
Bump golangci-lint to 2.7.2, enable modernize stringsbuilder (#36180)
Fixes were done automatically by `make lint-go-fix`. These modernize
fixes are very readable.

Co-authored-by: Giteabot <teabot@gitea.io>
2025-12-17 20:50:53 +00:00
Excellencedev
249794c92c
Merge branch 'main' into fix-24635 2025-12-17 12:24:50 +01:00
Excellencedev
3a10e8f4f5 feat: Add configurable permissions for Actions automatic tokens 2025-12-17 07:13:59 +01:00
Dawid Góra
0e916c67cc
Automatic generation of release notes (#35977)
Similar to GitHub, release notes can now be generated automatically.
The generator is server-side and gathers the merged PRs and contributors
and returns the corresponding Markdown text.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-12-17 02:01:19 +00:00
junoberryferry
bfbc38f40c
Add sorting/filtering to admin user search API endpoint (#36112) 2025-12-12 05:12:06 +01:00
Lunny Xiao
24b81ac8b9
Use gitrepo's clone and push when possible (#36093)
1 Move `IsRepositoryModelOrDirExist` and `CheckCreateRepository` to
service layer
2 Use `gitrepo.Pushxxx` instead of `git.Push` when possible
3 use `gitrepo.Clonexxx` instead of `gitrepo.Clone` when possible
2025-12-10 09:41:01 -08:00
a1012112796
98ef79d73a
allow action user have read permission in public repo like other user (#36095)
related #28187

---------

Signed-off-by: a1012112796 <1012112796@qq.com>
2025-12-07 10:07:04 -08:00
6543
ca4b21c305 Revert "adopt changes" (was intendet for #33356)
This reverts commit a04a16dc2b3d4ebc7c56fa3cf40c6321516c22b4.
2025-12-02 21:51:00 +01:00
6543
a04a16dc2b adopt changes 2025-12-02 21:37:14 +01:00