12f4ea03a8
refactor: add /v3 suffix to module path for proper Go semver
...
Build and Release / Create Release (push) Successful in 0s
Trigger Vault Plugin Rebuild / Trigger Vault Rebuild (push) Successful in 0s
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 2m48s
Build and Release / Lint (push) Failing after 5m2s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Has been skipped
Build and Release / Build Binaries (amd64, darwin, linux-latest) (push) Has been skipped
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Has been skipped
Build and Release / Build Binaries (arm64, darwin, linux-latest) (push) Has been skipped
Build and Release / Build Binaries (arm64, linux, linux-latest) (push) Has been skipped
Build and Release / Unit Tests (push) Successful in 5m37s
Go's semantic import versioning requires v2+ modules to include the
major version in the module path. This enables using proper version
tags (v3.x.x) instead of pseudo-versions.
Updated module path: code.gitcaddy.com/server/v3
2026-01-17 17:53:59 -05:00
af6d4addd4
code.caddy rename
Build and Release / Create Release (push) Successful in 0s
Build and Release / Integration Tests (PostgreSQL) (push) Successful in 3m7s
Build and Release / Lint (push) Successful in 5m21s
Build and Release / Unit Tests (push) Successful in 5m46s
Build and Release / Build Binaries (amd64, linux, linux-latest) (push) Successful in 3m44s
Build and Release / Build Binaries (amd64, darwin, linux-latest) (push) Successful in 4m4s
Build and Release / Build Binaries (arm64, darwin, linux-latest) (push) Successful in 3m23s
Build and Release / Build Binaries (arm64, linux, linux-latest) (push) Successful in 3m47s
Build and Release / Build Binaries (amd64, windows, windows-latest) (push) Successful in 8h6m28s
2026-01-17 09:02:21 -05:00
junoberryferry
4c7da7312f
use experimental go json v2 library ( #35392 )
...
details: https://pkg.go.dev/encoding/json/v2
---------
Co-authored-by: techknowlogick <matti@mdranta.net >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-09-28 08:03:36 +00:00
Lunny Xiao
738e3ed759
Fix updating user visibility ( #35036 )
...
Fix #35030
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-07-10 16:17:28 -07:00
TheFox0x7
ddcfde36f8
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
wxiaoguang
60972313f7
Refactor some file edit related code ( #34744 )
...
Follow up #34350
---------
Co-authored-by: delvh <dev.lh@web.de >
2025-06-18 01:18:07 +00:00
TheFox0x7
8292e6bd5b
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
Lunny Xiao
33bbb26a76
Move ParseBool to optional ( #33979 )
2025-03-24 03:53:30 +00:00
Chongyi Zheng
7c761651d3
Resolve lint for unused parameter and unnecessary type arguments ( #30750 )
...
Resolve all cases for `unused parameter` and `unnecessary type
arguments`
Related: #30729
---------
Co-authored-by: Giteabot <teabot@gitea.io >
2024-04-29 08:47:56 +00:00
silverwind
33f45a874e
Add interface{} to any replacement to make fmt, exclude *.pb.go ( #30461 )
...
Since https://github.com/go-gitea/gitea/pull/25686 , a few `interface{}`
have sneaked into the codebase. Add this replacement to `make fmt` to
prevent this from happening again.
Ideally a linter would do this, but I haven't found any suitable.
2024-04-13 17:32:15 +00:00
6543
902fe510b7
migrate some more "OptionalBool" to "Option[bool]" ( #29479 )
...
just some refactoring bits towards replacing **util.OptionalBool** with
**optional.Option[bool]**
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
2024-02-29 18:52:49 +00:00
6543
356509123c
Make optional.Option[T] type serializable ( #29282 )
...
make the generic `Option` type de-/serializable for json and yaml
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
2024-02-23 21:51:46 +00:00
6543
af2da14915
Start to migrate from util.OptionalBool to optional.Option[bool] ( #29329 )
...
just create transition helper and migrate two structs
2024-02-23 02:18:33 +00:00
KN4CK3R
34b21b3ae7
Unify user update methods ( #28733 )
...
Fixes #28660
Fixes an admin api bug related to `user.LoginSource`
Fixed `/user/emails` response not identical to GitHub api
This PR unifies the user update methods. The goal is to keep the logic
only at one place (having audit logs in mind). For example, do the
password checks only in one method not everywhere a password is updated.
After that PR is merged, the user creation should be next.
2024-02-04 13:29:09 +00:00