Lunny Xiao
507c6de07e
Merge branch 'main' into lunny/project_workflow
2025-10-31 21:57:33 -07:00
Lunny Xiao
b148bef471
Remove unnecessary function parameter ( #35765 )
2025-10-31 21:56:08 -07:00
Lunny Xiao
4c4a16ccb5
Merge branch 'main' into lunny/project_workflow
2025-10-31 21:32:51 -07:00
wxiaoguang
de70cd3853
Fix cli "Before" handling ( #35797 )
...
Regression of #34973
Fix #35796
2025-10-31 18:12:03 +00:00
Mithilesh Gupta
ef90befef1
Add test for ExtendCommentTreePathLength migration and fix bugs ( #35791 )
...
Co-authored-by: Mithilesh Gupta <guptamithilesh@protonmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-31 08:49:26 +08:00
silverwind
c3472dd395
Fix file extension on gogs.png ( #35793 )
...
During https://github.com/go-gitea/gitea/issues/35790 , it was noticed
that this PNG image had the wrong file extension. I also verified
`dingtalk.ico` and that one is actually an `.ico`.
2025-10-30 18:25:53 +01:00
silverwind
8b290b87e9
Improve and fix markup code preview rendering ( #35777 )
...
1. Add the color on the link to the referenced file, which is the more
likely thing the user wants to click
2. Use monospace font on the SHA
3. Tweak text colors
4. Change SHA link to go to the commit instead of the repo root with
commit filter set
5. Added the repo name to the file link text
6. Fix broken line numbering rendering
2025-10-30 05:15:42 +00:00
Zettat123
3ab8ae5807
Fix actions rerun bug ( #35783 )
...
Related issues: #35780 , #35782
Rerunning a job or a run is only allowed when the job is done and the
run is done.
Related PR: #34970
2025-10-30 01:08:59 +00:00
GiteaBot
73e229eb42
[skip ci] Updated translations via Crowdin
2025-10-30 00:37:08 +00:00
techknowlogick
98ff7d0773
add pnpm to Snapcraft ( #35778 )
2025-10-29 19:34:40 +01:00
Zettat123
8aa1179ce4
Fix actions schedule update issue ( #35767 )
...
Fix #34472
Add integration tests for actions schedule update.
2025-10-29 16:04:40 +00:00
bytedream
39c08ce4c1
Update tab title when navigating file tree ( #35757 )
...
Fix #35749 .
---------
Signed-off-by: silverwind <me@silverwind.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2025-10-29 13:38:09 +00:00
silverwind
fe25997157
Enable vue/require-typed-ref eslint rule ( #35764 )
...
Enable https://eslint.vuejs.org/rules/require-typed-ref
and fix discovered issues.
2025-10-29 17:42:06 +08:00
Lunny Xiao
984d4b0a3b
Fix lint
2025-10-28 12:15:59 -07:00
Lunny Xiao
0b41bfa135
Add valid when saving project workflow event
2025-10-28 11:52:37 -07:00
Lunny Xiao
df50690df7
Merge branch 'main' into lunny/project_workflow
2025-10-28 11:41:39 -07:00
Lunny Xiao
e21fb903e3
Fix migration
2025-10-28 11:41:34 -07:00
Lunny Xiao
95b18eb781
Remove unnecessary code and fix comments ( #35761 )
...
Follow #35459 , #32562
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-28 18:03:57 +00:00
silverwind
d69eede59b
Update JS dependencies ( #35759 )
...
- Update all JS dependencies
- Added new unicorn rules
- `updates` now also supports updating `packageManager` and `engines`,
and I see no reason not to do that, so I think we can try keeping these
updated as well. If something in the build breaks because of this, I
will revert and exclude `pnpm` from updating further, but as far as I
understand, only corepack respects this field and pnpm itself does not
care about it.
- Regenerate SVGs.
2025-10-28 17:32:11 +00:00
silverwind
91839ca01a
Move codeformat folder to tools ( #35758 )
...
Followup to https://github.com/go-gitea/gitea/pull/35734 .
- Move `codeformat` folder to `tools`
- Add `tools` to `GO_DIRS`
- Move `misspellings.csv` to `assets` so we can lint the whole `tools`
directory without filter shenanigans.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-28 11:23:50 +00:00
wxiaoguang
6b5563c54a
Support selecting theme on the footer ( #35741 )
...
Fixes: https://github.com/go-gitea/gitea/pull/27576
2025-10-28 18:25:00 +08:00
Lunny Xiao
b4ebf1b6d5
Fix lint
2025-10-27 11:15:07 -07:00
Lunny Xiao
3f9f725bd1
revert label component change
2025-10-27 10:22:44 -07:00
Lunny Xiao
b840641fdc
revert label component change
2025-10-27 10:19:36 -07:00
Lunny Xiao
b04d42b00f
Merge branch 'main' into lunny/project_workflow
2025-10-27 09:30:40 -07:00
wxiaoguang
cddff73bbd
Fix "ref-issue" handling in markup ( #35739 )
...
This is a follow up for #35662 , and also fix #31181 , help #30275 , fix #31161
2025-10-27 22:45:07 +08:00
Lunny Xiao
418a7bb07e
Add tests for project workflow execution
2025-10-26 22:51:35 -07:00
GiteaBot
87d670c96b
[skip ci] Updated translations via Crowdin
2025-10-27 00:39:11 +00:00
wxiaoguang
2f309b844c
Revert #18491 , fix oauth2 client link account ( #35745 )
...
Fix #35744 by reverting #18491
* "OpenID" options don't mean "OAuth2Client" options
* "OAuth2(server)" options don't mean "OAuth2Client" options
2025-10-26 21:26:38 +00:00
Lunny Xiao
bc50431e8b
Upgrade go mail to 0.7.2 ( #35748 )
2025-10-26 09:52:01 -04:00
Lunny Xiao
fdd3bf04cb
remove unused code
2025-10-25 20:28:16 -07:00
Lunny Xiao
4a2734aaa2
remove unused code
2025-10-25 20:17:03 -07:00
Lunny Xiao
045945d518
Fix label menu
2025-10-25 20:14:20 -07:00
Lunny Xiao
3d636fcbd4
fix bug and add label selector
2025-10-25 19:07:08 -07:00
GiteaBot
2a6af15448
[skip ci] Updated translations via Crowdin
2025-10-26 00:38:59 +00:00
Lunny Xiao
4efc69cbf3
Fix dark theme
2025-10-25 17:16:28 -07:00
Lunny Xiao
3aef130379
improvements
2025-10-25 16:59:28 -07:00
Lunny Xiao
37196261a6
improvements
2025-10-25 16:46:18 -07:00
Lunny Xiao
ae282397be
Fix lint and fix wrong migrations
2025-10-25 16:30:27 -07:00
Lunny Xiao
65dbaa528c
Remove log
2025-10-25 16:08:30 -07:00
Lunny Xiao
1bffdfe2fb
Merge branch 'main' into lunny/project_workflow
2025-10-25 16:06:12 -07:00
Lunny Xiao
12feb0ee26
Add unit test and integration test
2025-10-25 16:03:53 -07:00
Lunny Xiao
d6958c50d5
Fix lint
2025-10-25 14:37:46 -07:00
Lunny Xiao
e1d2cf47fd
Fix bug
2025-10-25 13:02:38 -07:00
Lunny Xiao
f68eee55a1
Fix translations
2025-10-25 11:55:28 -07:00
Zettat123
c9beb0b01f
Support actions and reusable workflows from private repos ( #32562 )
...
Resolve https://gitea.com/gitea/act_runner/issues/102
This PR allows administrators of a private repository to specify some
collaborative owners. The repositories of collaborative owners will be
allowed to access this repository's actions and workflows.
Settings for private repos:

---
This PR also moves "Enable Actions" setting to `Actions > General` page
<img width="960" alt="image"
src="https://github.com/user-attachments/assets/49337ec2-afb1-4a67-8516-5c9ef0ce05d4 "
/>
<img width="960" alt="image"
src="https://github.com/user-attachments/assets/f58ee6d5-17f9-4180-8760-a78e859f1c37 "
/>
---------
Signed-off-by: Zettat123 <zettat123@gmail.com>
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2025-10-25 17:37:33 +00:00
Lunny Xiao
5454fdacd4
Use git model to detect whether branch exist instead of gitrepo method ( #35459 )
2025-10-25 10:08:25 -07:00
Lunny Xiao
304d836a61
Fix shutdown waitgroup panic ( #35676 )
...
This PR fixes a panic issue in the WaitGroup that occurs when Gitea is
shut down using Ctrl+C.
It ensures that all active connection pointers in the server are
properly tracked and forcibly closed when the hammer shutdown is
invoked.
The process remains graceful — the normal shutdown sequence runs before
the hammer is triggered, and existing connections are given a timeout
period to complete gracefully.
This PR also fixes `no logger writer` problem. Now the log close will
only be invoked when the command exit.
- Fixes #35468
- Fixes #35551
- Fixes #35559
- Replace #35578
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-25 00:02:58 -07:00
Lunny Xiao
635649d3bd
add translations
2025-10-24 23:59:13 -07:00
Lunny Xiao
3d081b300f
Fix bug
2025-10-24 21:35:11 -07:00