08a7e65c84
Fix LFS range size header response ( #35277 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Fix #35276
Signed-off-by: LePau <101608950+LePau@users.noreply.github.com >
2025-08-16 16:51:45 +00:00
621f2fcadb
Skip "parentsigned" check when the repo is empty ( #35292 )
...
Fix #35280
2025-08-16 19:24:30 +03:00
04017f259b
[skip ci] Updated translations via Crowdin
2025-08-16 00:35:49 +00:00
9549c6641a
Fix GitHub release assets URL validation ( #35287 )
...
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.
2025-08-15 17:50:05 -04:00
5cca69517d
nix flake use go1.25 ( #35288 )
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-08-16 02:47:39 +08:00
1740d36581
go1.25.0 ( #35262 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-08-15 18:13:24 +08:00
d9a2dfd95e
fix nix dev shell on darwin ( #35278 )
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-docker-rootless (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
2025-08-14 14:39:38 -04:00
4ff8cdf826
Fix token lifetime, closes #35230 ( #35271 )
...
release-nightly / nightly-docker-rootless (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
This is an attempt to fix #35230 as discussed in the ticket.
2025-08-14 06:57:05 +00:00
ee4459488a
OneDev migration: fix broken migration caused by various REST API changes in OneDev 7.8.0 and later ( #35216 )
...
OneDev migration: fix broken migration caused by various REST API
changes in OneDev 7.8.0 and later
- in REST urls use `~api` instead of `api`
- check minimum required OneDev version before starting migration
- required OneDev version is now 12.0.1
(older versions do not offer necessary API:
https://code.onedev.io/onedev/server/~issues/2491 )
- support migrating OneDev subprojects (e.g.
http:/onedev.host/projectA/subProjectB)
- set milestone closed state if milestone is closed in OneDev
- moved memory allocation for milestone JSON decoding into for loop
(which gets 100 milestones per iteration) to fix wrong due dates when
having more than 100 milestones
2025-08-13 23:30:35 -07:00
a2e8bf5261
[skip ci] Updated translations via Crowdin
2025-08-14 00:37:39 +00:00
e02b47d2f3
Fix font-size in inline code comment preview ( #35209 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been skipped
Previously, when writing a inline code comment, the markup preview would
have incorrect font size of 16px. This fixes it to 14px and also
combines similar CSS rules into one.
I'm not a fan of this selector complexity, but it seems like a necessity
because standalone markup files render at 16px while comments render at
14px.
---------
Signed-off-by: silverwind <me@silverwind.io >
2025-08-12 08:06:45 +00:00
90a48e96c7
Fix a bug where lfs gc never worked. ( #35198 )
...
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.
2025-08-12 05:38:17 +00:00
345045888d
modules/setting/actions.go: fixed typo: ì->i ( #35253 )
2025-08-11 22:57:44 -04:00
87b28b3e83
Reload issue when sending webhook to make num comments is right. ( #35243 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Fix #35229
---------
Co-authored-by: Giteabot <teabot@gitea.io >
2025-08-11 11:27:22 +00:00
9b5a3e9c9c
Update chroma to v2.20.0 ( #35220 )
...
https://github.com/alecthomas/chroma/releases/tag/v2.20.0
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-08-11 13:00:20 +02:00
d328e00775
[skip ci] Updated translations via Crowdin
2025-08-11 00:41:48 +00:00
a8349c4dc3
[skip ci] Updated translations via Crowdin
2025-08-10 00:43:29 +00:00
c4c1a4bd18
Update stylelint, enable report*
options ( #35236 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been skipped
- Update stylelint
- Enable three [`report*`
directives](https://stylelint.io/user-guide/configure/#report )
- Fix discovered issues
2025-08-08 16:52:49 +00:00
ef613ee760
Add has_code
to repository REST API ( #35214 )
...
similar to how we can enable/disable repos or issues on a repo add the
code unit as option to it.
affects
```
PATCH /repos/{owner}/{repo}
```
---
*Sponsored by Kithara Software GmbH*
2025-08-08 18:18:30 +02:00
793815adf7
Upgrade go to 1.24.6 ( #35235 )
2025-08-08 13:03:30 +00:00
ee9cd03f17
[skip ci] Updated translations via Crowdin
2025-08-08 00:40:27 +00:00
28a7cc4621
Nix flake build static with sqlite support ( #35149 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
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
2025-08-07 04:22:08 +08:00
de4ab41728
Vertically center "Show Resolved" ( #35211 )
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
2025-08-06 07:31:38 +00:00
93cf656974
[skip ci] Updated translations via Crowdin
2025-08-06 00:40:29 +00:00
becd15f743
Fix Actions API ( #35204 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Fixed a nil pointer error.
Related #34337
2025-08-04 23:41:30 -04:00
920d62c0a7
Add webhook test for push event ( #34442 )
...
Confirm #9243 has been fixed.
2025-08-05 02:05:13 +00:00
de570b7dde
Remove unneeded if statements for update repo
API ( #35140 )
...
just try to make the update func more redable and be more KISS
---
_Sponsored by Kithara Software GmbH_
2025-08-05 01:38:35 +00:00
1692652d65
[skip ci] Updated translations via Crowdin
2025-08-05 00:41:30 +00:00
25ed31e220
Step down as maintainer (justusbunsi) ( #35212 )
...
Since I barely contributed to the Gitea code base, this is just a PR for
completing https://gitea.com/gitea/helm-gitea/pulls/917 (details there).
2025-08-04 16:55:36 -07:00
c760e3b2b5
Display pull request in merged commit view ( #35202 )
...
Fixes #34634
---
I am not a Web dev so I'm open to any change on the design. The
important thing for me is to have the feature implemented.
Here are screenshots on a test instance:
<img width="2758" height="420" alt="Capture d'écran 2025-08-02 161710"
src="https://github.com/user-attachments/assets/30abbeb5-6139-4a91-9348-36e78f1646e6 "
/>
<img width="2769" height="520" alt="Capture d'écran 2025-08-02 161725"
src="https://github.com/user-attachments/assets/29871f05-f0b5-4a31-9ada-812780269c7d "
/>
2025-08-04 23:30:12 +00:00
67d623580b
Step down as maintainer (pat-s) ( #35213 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Follow up to https://gitea.com/gitea/helm-gitea/pulls/918 , even though I
didn't contrib a lot to the core repo anyhow.
Signed-off-by: Patrick Schratz <patrick.schratz@gmail.com >
2025-08-04 16:03:52 -07:00
8125633aa3
[skip ci] Updated translations via Crowdin
2025-08-04 00:44:07 +00:00
be2a6b4414
Fix bug when review pull request commits ( #35192 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
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
2025-08-03 10:23:10 -07:00
1f676b36b1
[skip ci] Updated translations via Crowdin
2025-08-03 00:44:31 +00:00
5050976de7
[skip ci] Updated translations via Crowdin
2025-08-02 00:38:38 +00:00
5b1ab35ced
Fixed typo in oauth2_full_name_claim_name string ( #35199 )
...
Fixes : #35197
- Replaced ';' with '-' in oauth2_full_name_claim_name string to fix
parsing issue.
Signed-off-by: satnam72 <125819218+satnam72@users.noreply.github.com >
2025-08-01 16:26:43 -07:00
5d94c9dd21
Fixed typo in locale_en-US.ini ( #35196 )
...
Fixes : #35195
- Removed word "the" from the string 'reinstall_confirm_check_1' in
locale_en-US.ini
Signed-off-by: satnam72 <125819218+satnam72@users.noreply.github.com >
2025-08-01 17:41:31 -04:00
e7d6f74450
Update JS and PY deps ( #35191 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been skipped
- Updated all dependencies
- Fixed new CSS lint errors, specifically tested the
RepoActivityTopAuthors.vue change
- Regenerated SVGs
2025-08-01 07:24:26 +00:00
e01c921ee4
[skip ci] Updated translations via Crowdin
2025-08-01 00:45:25 +00:00
f4d7701189
Change function description comments to tsdoc style ( #35185 )
...
1. change function comments to the minimal [tsdoc](https://tsdoc.org/ )
style. This has the benefit of making editors show the doc string in
tooltips when the function is hovered:
<img width="521" height="110" alt="image"
src="https://github.com/user-attachments/assets/b966f4f1-8239-433a-a456-5bd5c05d69ef "
/>
2. disable eslint `multiline-comment-style` as it conflicts with tsdoc.
---------
Signed-off-by: silverwind <me@silverwind.io >
2025-07-31 15:59:34 -07:00
84d31bc842
A small refactor to use context in the service layer ( #35179 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been skipped
2025-07-31 03:43:54 +00:00
c3f5ea3b1f
Fix repo file list partial reloading for submodules ( #35183 )
...
Fix the TODO and add more tests
2025-07-31 09:34:51 +08:00
2e8a4a09d5
Update gopls to 0.20.0 ( #35180 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Ran `make lint-go-gopls fix` and it did not find any new issues or
introduce any changes.
Release notes: https://go.dev/gopls/release/v0.20.0
2025-07-30 18:31:33 +02:00
85b5877bb0
Fix various bugs ( #35177 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
* Fix #35144
* Fix #35117
* Fix https://github.com/go-gitea/gitea/issues/35054#issuecomment-3131793977
* Fix #35136
2025-07-30 07:08:59 +00:00
b7d8fade72
[skip ci] Updated translations via Crowdin
2025-07-30 00:39:54 +00:00
3778538a1c
[skip ci] Updated translations via Crowdin
2025-07-29 00:43:36 +00:00
1b4d0800b4
[skip ci] Updated translations via Crowdin
2025-07-28 00:42:51 +00:00
5fd7fd3edb
Fix migrate input box bug ( #35166 )
...
release-nightly / nightly-docker-rootless (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been skipped
Fix #35162
2025-07-27 11:16:52 +03:00
2a8ecfb002
[skip ci] Updated translations via Crowdin
2025-07-27 00:44:03 +00:00
82c9589faa
Only hide dropzone when no files have been uploaded ( #35156 )
...
cron-translations / crowdin-pull (push) Has been skipped
release-nightly / nightly-docker-rootless (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
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: wxiaoguang <wxiaoguang@gmail.com >
2025-07-26 11:06:21 -07:00