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