ac03e65cf4
Fix GitHub release assets URL validation ( #35287 ) ( #35290 )
...
Backport #35287 by @alexblackie
GitHub changed where the attachments on releases are stored, which means
repo migrations with releases now fail because the redirect URLs don't
match the base URL validation. We need to update the base URL check to
check for the `release-assets` subdomain as well.
Co-authored-by: Alex Blackie <alex@blackie.ca >
2025-08-15 19:43:59 -07:00
f3e6672c09
Fix token lifetime, closes #35230 ( #35271 ) ( #35281 )
...
Backport #35271 by @TimB87
This is an attempt to fix #35230 as discussed in the ticket.
Co-authored-by: Tim Biermann <tbier@posteo.de >
2025-08-14 14:52:09 -07:00
Lunny Xiao and GitHub
136ec9ef81
Add changelog for 1.24.5 ( #35261 )
v1.24.5
2025-08-13 08:58:05 -07:00
79018ae726
modules/setting/actions.go: fixed typo: ì->i ( #35253 ) ( #35254 )
...
Backport #35253 by @TimB87
Hello,
I spotted this minor typo.
Co-authored-by: Tim Biermann <tbier@posteo.de >
2025-08-12 11:21:56 +00:00
e11176192a
Fix a bug where lfs gc never worked. ( #35198 ) ( #35255 )
...
Backport #35198 by @lunny
Fix #31113
After #22385 introduced LFS GC, it never worked due to a bug in the INI
library: fields in structs embedded more than one level deep are not
populated from the INI file.
This PR fixes the issue by replacing the multi-level embedded struct
with a single-level struct for parsing the cron.gc_lfs configuration.
Added a new test for retrieving cron settings to demonstrate the bug in
the INI package.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-08-12 10:57:50 +03:00
4e0269e890
Reload issue when sending webhook to make num comments is right. ( #35243 ) ( #35248 )
...
Backport #35243 by @lunny
Fix #35229
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-08-11 10:12:47 -07:00
Lunny Xiao and GitHub
04114c637a
Fix bug when review pull request commits ( #35192 ) ( #35246 )
...
The commit range in the UI follows a half-open, half-closed convention:
(,]. When reviewing a range of commits, the beforeCommitID should be set
to the commit immediately preceding the first selected commit. For
single-commit reviews, we must identify and use the previous commit of
that specific commit.
The endpoint ViewPullFilesStartingFromCommit is currently unused and can
be safely removed.
Fix #35157
Replace #35184
Partially extract from #35077
Backport #35192
2025-08-11 13:18:03 +02:00
6543 and GitHub
e5540bfa81
Nix flake build static with sqlite support ( #35149 ) ( #35225 )
...
Backport #35149
with `nix develop -c $SHELL` you can enter the dev environment. now with
`make clean-all generate build -j1` you will get a static linked binary
that has sqlite support
outside of an nix dev shell if you set `STATIC=true` you also will get a
static binary
2025-08-07 23:37:46 +03:00
d22d6ca0d8
Vertically center "Show Resolved" ( #35211 ) ( #35218 )
...
Backport #35211 by @silverwind
Before, "Show Resolved" slightly off-center:
<img width="174" height="60" alt="Screenshot 2025-08-04 at 15 07 13"
src="https://github.com/user-attachments/assets/a165f721-4749-4ea3-bde0-141ad43a6142 "
/>
After: centered:
<img width="176" height="63" alt="Screenshot 2025-08-04 at 15 07 22"
src="https://github.com/user-attachments/assets/f87e16bc-d067-4040-b940-9adb4cf182c1 "
/>
Co-authored-by: silverwind <me@silverwind.io >
2025-08-06 10:55:48 +02:00
Lunny Xiao and GitHub
d49feab428
release notes for 1.24.4 ( #35208 )
v1.24.4
2025-08-04 11:13:27 -07:00
wxiaoguang and GitHub
9162f4403a
Fix various bugs (1.24) ( #35186 )
...
Backport #35177 , #35183
2025-07-31 12:04:47 +08:00
d05cf08fad
Fix migrate input box bug ( #35166 ) ( #35171 )
...
Backport #35166 by @lunny
Fix #35162
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-07-27 19:57:47 -07:00
f4b4b0bf98
Only hide dropzone when no files have been uploaded ( #35156 ) ( #35167 )
...
Backport #35156 by @bartvdbraak
Instead of always hiding the dropzone when it's not active:
- hide it when when there are no uploaded files and it becomes inactive
- don't hide it when there are uploaded files
Fixes #35125
Co-authored-by: Bart van der Braak <bartvdbraak@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-27 11:20:48 +03:00
wxiaoguang and GitHub
99596044d7
Don't use full-file highlight when there is a git diff textconv ( #35114 ) ( #35119 )
...
Fix #35106
2025-07-18 13:52:41 +00:00
693d26914f
Fix submodule parsing when the gitmodules is missing ( #35109 ) ( #35118 )
...
Backport #35109
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-18 20:22:18 +08:00
315f197790
Increase gap on latest commit ( #35104 ) ( #35113 )
...
Backport #35104 by @silverwind
Before:
<img width="964" height="101" alt="Screenshot 2025-07-17 at 02 31 05"
src="https://github.com/user-attachments/assets/e02181f3-f730-40bb-8cfa-ecfea4ed4aec "
/>
After:
<img width="967" height="104" alt="Screenshot 2025-07-17 at 02 42 13"
src="https://github.com/user-attachments/assets/7ca7b9a8-1f59-4dc0-9bb0-c72346fd792a "
/>
Co-authored-by: silverwind <me@silverwind.io >
2025-07-18 08:25:51 +03:00
Giteabot and GitHub
76b8f0c3a7
Fix review comment/dimiss comment x reference can be refereced back ( #35094 ) ( #35099 )
2025-07-17 00:04:05 +08:00
f99bbd7f3f
Fix submodule nil check ( #35096 ) ( #35098 )
...
Backport #35096 by wxiaoguang
Fix #35095
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-16 13:02:18 +00:00
f7ef657b5a
nix flake update ( #35085 ) ( #35090 )
...
Backport #35085 by @techknowlogick
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
2025-07-15 14:37:44 -07:00
486d274be6
Add missing changelog ( #35079 )
...
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
v1.24.3
2025-07-15 12:08:13 +08:00
ab3d2a944c
Fix form property assignment edge case ( #35073 ) ( #35078 )
...
Backport #35073 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-15 09:40:50 +08:00
wxiaoguang and GitHub
12bfa9e83d
Improve submodule relative path handling ( #35056 ) ( #35075 )
...
Backport #35056
2025-07-14 17:26:16 +00:00
dd661e92df
Fix incorrect comment diff hunk parsing, fix github asset ID nil panic ( #35046 ) ( #35055 )
...
Backport #35046 by lunny
* Fix missing the first char when parsing diff hunk header
* Fix #35040
* Fix #35049
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-12 15:12:02 +08:00
0b31272c7e
Fix updating user visibility ( #35036 ) ( #35044 )
...
Backport #35036 by @lunny
Fix #35030
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-11 02:44:06 +00:00
ec0c418719
Support base64-encoded agit push options ( #35037 ) ( #35041 )
...
Backport #35037 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 18:56:43 +00:00
6dc19fc29a
Make submodule link work with relative path ( #35034 ) ( #35038 )
...
Backport #35034 by wxiaoguang
Fix #35033
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 18:20:14 +00:00
9f1baa7d18
Fix bug when displaying git user avatar in commits list ( #35006 )
...
A quick fix for #34991
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 08:46:44 -07:00
e13deb7a16
Fix API response for swagger spec ( #35029 )
...
Co-authored-by: Scion <scion@studiowhy.net >
2025-07-10 15:27:34 +08:00
Lunny Xiao and GitHub
e5c1b8b632
Add changelog for 1.24.3 ( #34975 )
2025-07-10 03:21:01 +00:00
e931b62f33
Start automerge check again after the conflict check and the schedule ( #35002 )
...
Fix #34988
Backport #34989
Co-authored-by: posativ
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 02:37:15 +00:00
wxiaoguang and GitHub
81ee93e5bc
Fix repo settings and protocol log problems ( #35012 ) ( #35013 )
...
Backport #35012
2025-07-09 17:20:15 +00:00
053f9186bc
Fix the response format for actions/workflows. ( #35009 ) ( #35016 )
...
Backport #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.
Co-authored-by: Scion <Filiecs2@gmail.com >
2025-07-09 18:18:40 +02:00
wxiaoguang and GitHub
68fcdb6122
Fix project images scroll ( #34971 ) ( #34972 )
2025-07-07 00:30:43 +08:00
14ca309c39
Mark old reviews as stale on agit pr updates ( #34933 ) ( #34965 )
...
Backport #34933 by @dcermak
Fixes: https://github.com/go-gitea/gitea/issues/34134
Co-authored-by: Dan Čermák <dan.cermak@posteo.net >
2025-07-05 20:33:26 -07:00
wxiaoguang and GitHub
4aba42519d
Fix git graph page ( #34948 ) ( #34949 )
2025-07-04 15:33:17 +00:00
9adf175df0
Don't send trigger for a pending review's comment create/update/delete ( #34928 ) ( #34939 )
...
Backport #34928 by lunny
Fix #18846
Fix #34924
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-03 03:01:17 +00:00
wxiaoguang and GitHub
c3fa2a8729
Fix issue filter ( #34914 ) ( #34915 )
...
Backport #34914
2025-07-03 09:45:17 +08:00
89dfed32e0
support the open-icon of folder ( #34168 ) ( #34896 )
...
Backport #34168 by @kerwin612
Co-authored-by: Kerwin Bryant <kerwin612@qq.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-30 13:55:24 +02:00
d5062d0c27
docs: fix typo in pull request merge warning message text ( #34899 ) ( #34903 )
...
Backport #34899 by @Pavanipogula
### Description
This PR fixes two typos in the pull request merge command warning
message.
- "can not" → "cannot"
- "was not enable" → "is not enabled."
### File Updated
- `options/locale/locale_en-US.ini` (line 1972)
### Related Discussion
https://github.com/go-gitea/gitea/issues/34893
Co-authored-by: Pavanipogula <51442511+Pavanipogula@users.noreply.github.com >
2025-06-29 18:26:15 -07:00
90e9e79232
Optimize flex layout of release attachment area ( #34885 ) ( #34886 )
...
Backport #34885 by kerwin612
Co-authored-by: Kerwin Bryant <kerwin612@qq.com >
2025-06-28 09:10:41 +08:00
c6467edcb1
Fix the issue of abnormal interface when there is no issue-item on the project page ( #34791 ) ( #34880 )
...
Backport #34791 by @kerwin612
Co-authored-by: Kerwin Bryant <kerwin612@qq.com >
2025-06-26 23:18:02 -07:00
wxiaoguang and GitHub
5d5b695527
Skip updating timestamp when sync branch ( #34875 )
2025-06-26 17:59:06 -07:00
0af7a7b79f
Fix some log and UI problems ( #34863 ) ( #34868 )
...
Backport #34863 by @wxiaoguang
Remove the misleading error log, fix #34738
Make the "search" input auto-focused, fix #34807
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-25 22:08:30 +03:00
9339661078
Fix archive API ( #34853 ) ( #34857 )
...
Backport #34853 by wxiaoguang
Fix #34852
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-25 07:20:42 +00:00
1e69f085d6
Ignore force pushes for changed files in a PR review ( #34837 ) ( #34843 )
...
Backport #34837 by delvh
Fixes #34832
Co-authored-by: delvh <dev.lh@web.de >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-24 16:41:07 +00:00
0bfccd8ecf
Fix SSH LFS timeout ( #34838 ) ( #34842 )
...
Backport #34838 by wxiaoguang
Fix #34834
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-24 16:15:03 +00:00
534b9b35dd
Fix job status aggregation logic ( #34823 ) ( #34835 )
...
Backport #34823 by nienjiuntai
Co-authored-by: JIUN-TAI NIEN <44364165+nienjiuntai@users.noreply.github.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-24 23:23:16 +08:00
dbadc59b56
Fix team permissions ( #34827 ) ( #34836 )
...
Backport #34827 by wxiaoguang
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-24 14:17:14 +00:00
Zettat123 and GitHub
a57e2c4bc3
Fix required contexts and commit status matching bug ( #34815 ) ( #34829 )
...
Backport #34815
Fix #34504
Since one required context can match more than one commit statuses, we
should not directly compare the lengths of `requiredCommitStatuses` and
`requiredContexts`
2025-06-24 07:15:25 +08:00
Lunny Xiao and GitHub
acd4e10990
release of 1.24.2 ( #34800 )
v1.24.2
2025-06-20 12:41:59 -07:00