d76a974b24
feat(ssh): auto generate additional ssh keys ( #33974 )
...
adds capabilities for gitea to generate ecdsa and ed25519 keys by
default
adds cli for built-in ssh key generation helpers
closes: https://github.com/go-gitea/gitea/issues/33783
---------
Co-authored-by: Nicolas <bircni@icloud.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
2026-06-08 18:18:58 +00:00
TheFox0x7 and GitHub
735e940a61
fix(oauth2): not respecting claims before second login ( #37874 )
...
fixes defect where claims where only applies on login but not during
account linking making only the second login take them into account
fixes: https://github.com/go-gitea/gitea/issues/32566
2026-06-03 16:50:47 +00:00
9155a81b9d
docs: mark openapi3 as autogenerated in attributes ( #37963 )
...
Change from Co-Authored by trailer to Assisted-By and explicitly forbid
LLMs from signing off on commits.
---------
Signed-off-by: bircni <bircni@icloud.com >
Signed-off-by: silverwind <me@silverwind.io >
Co-authored-by: bircni <bircni@icloud.com >
Co-authored-by: silverwind <me@silverwind.io >
2026-06-01 16:22:17 +00:00
c78c84c3ca
test(e2e): run playwright via container ( #37300 )
...
Enable running playwright tests on unsupported platforms as well
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Signed-off-by: silverwind <me@silverwind.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: silverwind <me@silverwind.io >
Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com >
2026-05-10 09:16:02 +00:00
TheFox0x7 and GitHub
3e0b99da3b
remove excessive quote from terraform instructions ( #37424 )
...
fixes: https://github.com/go-gitea/gitea/issues/37423
2026-04-26 00:59:58 +02:00
ff777cd2ad
Add terraform state registry ( #36710 )
...
Adds terraform/opentofu state registry with locking. Implements: https://github.com/go-gitea/gitea/issues/33644 . I also checked [encrypted state](https://opentofu.org/docs/language/state/encryption ), it works out of the box.
Docs PR: https://gitea.com/gitea/docs/pulls/357
---------
Co-authored-by: Andras Elso <elso.andras@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-04-06 13:41:17 -07:00
ca51b4f875
Move package settings to package instead of being tied to version ( #37026 )
...
Unties settings page from package version and adds button to delete the
package version
Settings page now allows for deletion of entire package and it's
versions as opposed to a single version
Adds an API endpoint to delete the entire package with all versions from
registry
fixes: https://github.com/go-gitea/gitea/issues/36904
Co-Authored-By: gemini-3-flash
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
2026-04-06 03:51:51 +08:00
TheFox0x7 and GitHub
74c40d46ee
add missing cron tasks to example ini ( #37012 )
...
closes: https://github.com/go-gitea/gitea/issues/37009
docs PR: https://gitea.com/gitea/docs/pulls/371
2026-03-27 16:38:40 -07:00
TheFox0x7 and GitHub
cfd9008891
add valid github scopes ( #36977 )
...
test for github supported scopes with test to ensure all of them work
and don't panic
fixes: https://github.com/go-gitea/gitea/issues/36967
2026-03-24 19:16:23 +00:00
TheFox0x7 and GitHub
eb59b1a24a
various fixes ( #36697 )
...
fixes bad address concat causing malformed address
Introduces new config options to for release attachments and number of
files to avoid sharing limits for PR/issue attachments and release ones
Fixes: https://github.com/go-gitea/gitea/issues/31638
Fixes: https://github.com/go-gitea/gitea/issues/35812
Doc update: https://gitea.com/gitea/docs/pulls/348
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-02-22 08:01:43 +01:00
TheFox0x7 and GitHub
08d9845635
use proper subaddress ( #36639 )
2026-02-16 01:42:22 +00:00
4805151f56
use user id in noreply emails ( #36550 )
...
This implements id based hidden emails in format of
`user+id@NoReplyAddress`
resolves: https://github.com/go-gitea/gitea/issues/33471
---
The change is not breaking however it is recommended for users to move
to this newer type of no reply address
---------
Co-authored-by: Lauris B <lauris@nix.lv >
2026-02-14 17:51:03 +01:00
403a73dca0
Add paging headers ( #36521 )
...
Adds support for paging in admin/hooks api endpoint
fixes: https://github.com/go-gitea/gitea/issues/36516
---------
Co-authored-by: techknowlogick <techknowlogick@gitea.com >
Co-authored-by: techknowlogick <matti@mdranta.net >
2026-02-06 13:12:05 +00:00
906ad802cf
add support for archive-upload rpc ( #36391 )
...
Add support for fetching archives with `git archive --remote <repo-url>`
closes: https://github.com/go-gitea/gitea/issues/23425
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-01-17 15:17:00 +00:00
69c5921d71
Add ability to download subpath archive ( #36371 )
...
closes: https://github.com/go-gitea/gitea/issues/4478
---------
Signed-off-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2026-01-16 09:31:12 +00:00
040fc93046
fill missing has_code in repository api ( #36338 )
...
fixes: https://github.com/go-gitea/gitea/issues/36332
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
2026-01-12 22:52:44 +00:00
TheFox0x7 and GitHub
3bb0770160
fix nilnil in onedev downloader ( #36154 )
...
onedev migration never used the migration transport, it now uses it the
same way gogs one does
---
cuts 3 nilnils for https://github.com/go-gitea/gitea/issues/36152
2025-12-16 02:16:58 +00:00
685c8c314f
Add cache to container build ( #35697 )
...
add mount cache directives to container builds, which speeds up local
builds bypassing node and go package download entirely on second build
and caching go compilation.
drop job level split on regular/rootless, which allows to reuse the
previously made stage for rootless, skipping duplicate builds in CI.
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com >
2025-11-02 09:42:25 +00:00
TheFox0x7 and GitHub
664522ec6b
apply as maintainer ( #35424 )
...
Applying as suggested some time ago by techknowlogick.
[List of all merged PRs so
far](https://github.com/go-gitea/gitea/pulls?q=is%3Apr+author%3ATheFox0x7 )
2025-09-06 09:56:18 -07:00
4b174e44a8
Improve CLI commands ( #34973 )
...
Improve help related commands and flags and add tests
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 19:36:55 +08:00
aa9d86745a
enforce explanation for necessary nolints and fix bugs ( #34883 )
...
Follows up https://github.com/go-gitea/gitea/pull/34851
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-27 21:48:03 +08:00
eb36a4554e
enforce nolint scope ( #34851 )
...
enable nolintlint scope requirement
add comments to new directives so it's more obvious why they are in
place
---
I can also toggle the mandatory comments on if that's something of
interest.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
Co-authored-by: Giteabot <teabot@gitea.io >
2025-06-27 07:59:55 +02:00
TheFox0x7 and GitHub
840ee8bd54
correct migration tab name ( #34826 )
...
Previous version reads like we're migrating some kind of status instead
of what it is - status of the migration.
2025-06-24 02:21:45 +08:00
e9f5105e95
Migrate to urfave v3 ( #34510 )
...
migrate cli to urfave v3
add more cli tests
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-06-10 12:35:12 +00:00
TheFox0x7 and GitHub
b38f2d31fd
add codecommit to supported services in api docs ( #34626 )
2025-06-07 03:31:34 +00:00
TheFox0x7 and GitHub
74a0178c6a
add openssh-keygen to rootless image ( #34625 )
2025-06-06 20:45:15 -04:00
8a6df00c53
fix github migration error when using multiple tokens ( #34144 )
...
Git authorization was not taking into account multiple token feature,
leading to auth failures
Closes: https://github.com/go-gitea/gitea/issues/34141
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-13 23:20:14 +00:00
ee3c82f874
Enable addtional linters ( #34085 )
...
enable mirror, usestdlibbars and perfsprint
part of: https://github.com/go-gitea/gitea/issues/34083
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-04-01 10:14:01 +00:00
TheFox0x7 and GitHub
4d2323183d
fix users being able bypass limits with repo transfers ( #34031 )
...
prevent user from being able to transfer repo to user who cannot have
more repositories
2025-03-31 20:19:32 +00:00
TheFox0x7 and GitHub
0fde8ecd55
Enable testifylint rules ( #34075 )
...
enable testifylint rules disabled in:
https://github.com/go-gitea/gitea/pull/34054
2025-03-31 01:53:48 -04:00
TheFox0x7 and GitHub
2a59dfbd47
enable staticcheck QFxxxx rules ( #34064 )
2025-03-29 17:32:28 -04:00
TheFox0x7 and GitHub
5564c39105
update to golangci-lint v2 ( #34054 )
...
updates config to v2.
config was generated with migrate command.
disable all newly exposed issues because there are too many.
2025-03-29 22:01:06 +08:00
053592d847
fix org repo creation being limited by user limits ( #34030 )
...
fixes an issue where user is unable to create new repository in
organization via UI if repository limits are in place and user has
exhausted them for their own namespace.
closes: https://github.com/go-gitea/gitea/issues/15504
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-03-27 13:16:17 +00:00
TheFox0x7 and GitHub
189873719b
update jwt and redis packages ( #33984 )
2025-03-23 10:13:16 -04:00
TheFox0x7 and GitHub
5407382b43
Add cli flags LDAP group configuration ( #33933 )
...
Add 7 new flags to ldap subcommands corresponding to UI options
Closes CLI part of https://github.com/go-gitea/gitea/issues/20716
2025-03-19 17:29:37 -07:00
TheFox0x7 and GitHub
5d65b9060b
remove context from retry downloader ( #33871 )
...
follow up to https://github.com/go-gitea/gitea/pull/33399 as I
apparently missed this one.
2025-03-14 00:28:57 +00:00
TheFox0x7 and GitHub
4c4c56c7cd
Decouple context from repository related structs ( #33823 )
...
Calls that required context implicitly are made to pass it as argument
2025-03-08 13:12:46 -08:00
TheFox0x7 and GitHub
e7cf62f2f7
remove context from mail struct ( #33811 )
...
it can be passed by argument instead
2025-03-06 20:57:00 +00:00
TheFox0x7 and GitHub
ae3a18e01a
Remove context from git struct ( #33793 )
...
Argument is moved from struct init in command run, which lets us remove
context from struct.
2025-03-04 11:56:11 -08:00
cc1fdc84ca
Use test context in tests and new loop system in benchmarks ( #33648 )
...
Replace all contexts in tests with go1.24 t.Context()
---------
Co-authored-by: Giteabot <teabot@gitea.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-02-20 09:57:40 +00:00
1ec8d80fa3
refactor: decouple context from migration structs ( #33399 )
...
Use context as much as possible.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-02-07 05:37:32 +00:00
6ca91f555a
User facing messages for AGit errors ( #33012 )
...
Adds user facing messages to errors when submitting agit pull request
Tries to highlight the returned error more and fixes agit suggestion to
create PR on first submission.
Closes: https://github.com/go-gitea/gitea/issues/32965
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-01-27 02:33:39 +00:00
TheFox0x7 and GitHub
8c6d7076b7
fix(cache): cache test triggered by non memory cache ( #33220 )
...
Change SlowCacheThreshold to 30 milliseconds so it doesn't trigger on
non memory cache
Closes: https://github.com/go-gitea/gitea/issues/33190
Closes: https://github.com/go-gitea/gitea/issues/32657
2025-01-12 04:33:43 +08:00
TheFox0x7 and GitHub
68ca73b716
Fix pam auth test regression ( #33169 )
...
fixes: https://github.com/go-gitea/gitea/issues/33168
2025-01-09 21:09:11 +08:00
TheFox0x7 and GitHub
2a02734f93
Refactor older tests to use testify ( #33140 )
...
Refactor checks to use assert/require
Use require.Eventually for waiting in elastic and meilisearch tests
Use require to exit early instead of assert
2025-01-09 09:21:47 +08:00
TheFox0x7 and GitHub
4a18c72262
Remove extended glob pattern from branch protection UI ( #33125 )
...
Underlying go library has no support for it
Fixes: https://github.com/go-gitea/gitea/issues/33121
---
I never touched frontend tests so pointers how to write them are
welcome.
This can be either fix or workaround, depending if this is something
gitea should support in the future or not. The golang side is unlikely
to get updates though.
2025-01-07 01:23:50 +02:00
TheFox0x7 and GitHub
ff96873e3e
Fix templating in pull request comparison ( #33025 )
...
Adds test for expected behavior
Closes: https://github.com/go-gitea/gitea/issues/33013
2024-12-29 01:32:19 +00:00
TheFox0x7 and GitHub
b945742293
Change pprof labels to be prometheus compatible ( #32865 )
...
Enables scrapping pprof endpoint for continuous profiling
Closes: https://github.com/go-gitea/gitea/issues/32854
2024-12-18 11:08:04 +08:00
TheFox0x7 and GitHub
33e8e82c4b
Enable tenv and testifylint rules ( #32852 )
...
Enables tenv and testifylint linters
closes: https://github.com/go-gitea/gitea/issues/32842
2024-12-15 10:41:29 +00:00