0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-27 08:35:23 +02:00

20282 Commits

Author SHA1 Message Date
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
Sebastian Ertz
8319d8f381
Update chroma to v2.22.0 (#36342)
https://github.com/alecthomas/chroma/releases/tag/v2.22.0
2026-01-10 20:12:59 +00:00
Sebastian Ertz
18c393419f
Update goldmark to v1.7.16 (#36343)
https://github.com/yuin/goldmark/releases/tag/v1.7.16
2026-01-10 11:42:02 -08:00
wxiaoguang
eec8ee056c
Fix some trivial problems (#36336)
1. correctly parse git protocol's "OldCommit NewCommit RefName" line, it
should be explicitly split by space
2. add missing "return" in CreatePullRequest
3. add comments for "/user.keys" and "/user.gpg" outputs
4. trim space for the "commit status context name" to follow the same
behavior of git_model.NewCommitStatus
2026-01-09 20:58:21 +02:00
wxiaoguang
f6d3c70818
Fix diff view style handling (#36324)
Fix #36323
2026-01-09 04:37:16 +00:00
wxiaoguang
e226720cff
Refactor cat-file batch operations and support --batch-command approach (#35775)
Replace #34651 and address more problems including fix framework bugs and changing to QueryInfo and QueryContent calls.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2026-01-08 13:37:36 -08:00
bytedream
ee9d8893a7
Fix file-tree ui error when adding files to repo without commits (#36312)
When visiting the new file & upload file pages on a repo that has no
commits, the request for file-tree files fails.

---

<img width="1173" height="728" alt="Screenshot_20260106_175938"
src="https://github.com/user-attachments/assets/69e0ee0d-24af-4f5f-be7e-d64c03b5a5cb"
/>
<img width="349" height="95" alt="image"
src="https://github.com/user-attachments/assets/6e0b5252-95f2-4094-8d11-e0c5262f525b"
/>

---------

Signed-off-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-01-08 12:04:51 -08:00
Excellencedev
4e524d3887 improve comments 2026-01-08 03:33:37 +01:00
Excellencedev
73649530af ... 2026-01-07 20:32:15 +01:00
Excellencedev
1840f0a7a1 formatting issues 2026-01-07 20:21:45 +01:00
Excellencedev
1dfc172534 fixes 2026-01-07 19:58:10 +01:00
Excellencedev
f8a0b2522e resolve todo 2026-01-07 19:23:19 +01:00
Excellencedev
a5debd9327 add releases and projects units 2026-01-07 18:45:07 +01:00
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