0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-24 10:46:02 +01:00

20268 Commits

Author SHA1 Message Date
Excellencedev
43931dc5a1 refactor the parser 2026-01-07 12:10:53 +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
dcf43af234 fix ui issues 2026-01-06 20:16:01 +01:00
Excellencedev
3fb03fbe51 lint 2026-01-06 16:13:23 +01:00
Excellencedev
b4a17dffa5 lints 2026-01-06 16:04:30 +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
Daniel Mach
1d01286f4c
Add 'allow_maintainer_edit' API option for creating a pull request (#36283)
WebUI has a checkbox for enabling maintainer edits you can check right
away when creating a new pull request.
Also, it is possible to set `allow_maintainer_edit` in an existing pull
request via API.
This change enables the option while creating a new pull request via
API.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-06 01:00:26 +08:00
Joakim Olsson
1ee7f8e966
fix: prevent panic when GitLab release has more links than sources (#36295)
The code incorrectly assumed rel.Assets.Links and rel.Assets.Sources
arrays have equal length. This causes index out of bounds panic when
migrating GitLab releases with more links than sources, which is common
with GoReleaser-generated releases.

Fixes #36292

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-05 21:48:12 +08:00
Excellencedev
350bcab165 fix bug 2026-01-05 06:25:08 +01:00
Excellencedev
15c19f6b67 ... 2026-01-05 05:39:14 +01:00
Excellencedev
b37a967d37 logs 2026-01-05 05:25:03 +01:00
Excellencedev
012c9e05ed ... 2026-01-05 04:56:43 +01:00
Excellencedev
f5d4ce621b compile errors 2026-01-05 04:45:57 +01:00
Excellencedev
a2583d02ff Merge branch 'fix-24635' of https://github.com/Excellencedev/gitea into fix-24635 2026-01-05 04:28:50 +01:00
Excellencedev
b92e2ebe3f adding action permissions test case to tests/integration/actions_job_test.go 2026-01-05 04:28:25 +01:00
Excellencedev
494f467c81
Merge branch 'main' into fix-24635 2026-01-05 03:39:27 +01:00
Lunny Xiao
426bb491c0
Move assign project when creating pull request to the same database transaction (#36244) 2026-01-04 16:45:36 +00:00
Excellencedev
766b7428a9
Merge branch 'main' into fix-24635 2026-01-04 09:17:28 +01:00
GiteaBot
78ad28d052 [skip ci] Updated translations via Crowdin 2026-01-04 00:45:02 +00:00
Lunny Xiao
af95cbc0de
Fix stats bug when syncing release (#36285) 2026-01-03 10:55:37 -08:00
Excellencedev
942ea3d021 ui fix 2026-01-03 13:45:46 +01:00
Excellencedev
13660f202d cleanup 2026-01-03 13:39:01 +01:00
Excellencedev
9faf677652
Merge branch 'main' into fix-24635 2026-01-03 10:32:01 +01:00
Excellencedev
3e95499bcf green up ci 2026-01-03 10:31:44 +01:00
wxiaoguang
b79dbfa990
Fix link/origin referrer and login redirect (#36279)
Fix #35998

1. Fix `<a rel>` :
    * "_blank" already means "noopener"
* "noreferrer" is already provided by page's `<meta name="referrer">`
2. Fix "redirect_to" mechisam
* Use "referer" header to determine the redirect link for a successful
login
3. Simplify code and merge duplicate logic
2026-01-03 11:43:04 +08:00
wxiaoguang
6fb3547417
Always honor user's choice for "delete branch after merge" (#36281)
Fix #36280
2026-01-03 10:36:21 +08:00
Excellencedev
be52d4a338 ... 2026-01-02 10:42:18 +01:00
Excellencedev
285f366f22 ... 2026-01-02 10:12:47 +01:00
Excellencedev
91f8298828 comile errors 2026-01-02 09:42:39 +01:00
Excellencedev
a944be1bf2 improve test 2026-01-02 09:28:56 +01:00
luo jiyin
d2baa8103f
refactor(pprof): use explicit mux instead of DefaultServeMux (#36276)
- Replace blank import of `net/http/pprof` with explicit import
- Create dedicated `http.ServeMux` for pprof server
- Register pprof handlers explicitly

---------

Signed-off-by: luojiyin <luojiyin@hotmail.com>
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-02 08:06:06 +00:00
Excellencedev
cdbed1d80f
Merge branch 'main' into fix-24635 2026-01-02 08:42:22 +01:00
Lunny Xiao
8373f7deb3
improve the compare page (#36261)
- The compare page head title should be `compare` but not `new pull
request`.
- Use `UnstableGuessRefByShortName` instead of duplicated functions
calls.
- Direct-compare, tags, commits compare will not display `New Pull
Request` button any more.

The new screenshot
<img width="1459" height="391" alt="image"
src="https://github.com/user-attachments/assets/64e9b070-9c0b-41d1-b4b8-233b96270e1b"
/>

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-01 10:32:19 -08:00
Excellencedev
3af786ccee
Merge branch 'main' into fix-24635 2026-01-01 06:39:03 +01:00
luo jiyin
98981eb749
mailer: pass request context to generateAdditionalHeadersForIssue (#36274)
Fixes #36273

Use the caller-provided context when building X-Gitea-Issue-Link,
instead of `context.TODO()`.
2026-01-01 04:28:25 +00:00
Max P.
91d871611e
feat(debian): use explicit, stronger defaults for newly generated repo signing keys (#36236)
Make Debian repository signing key generation use explicit stronger defaults
and embed the creation time in the OpenPGP comment for newly created keys.

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-01 02:36:14 +00:00
wxiaoguang
094104bc91
Make "commit statuses" API accept slashes in "ref" (#36264)
Fix #36253

Support slashes in `{ref}` (follow GitHub's behavior)
2026-01-01 09:56:07 +08: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
f367039e78 make lint fixes 2025-12-30 11:09:41 +01:00
Excellencedev
dcfe19c11b fmt 2025-12-30 06:13:07 +01:00
Excellencedev
4a9a54e2df ... 2025-12-30 05:47:22 +01:00
Excellencedev
de0d8da7b6 Make sure pre-receive hook can properly check Actions token permissions based on your repository configuration 2025-12-30 05:18:54 +01:00
Excellencedev
efb93b5da1 Fixes 2025-12-30 04:38:04 +01:00
Excellencedev
4fb498987d
Merge branch 'main' into fix-24635 2025-12-30 03:55:07 +01:00