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
silverwind
2d62d45449
Mock external service in hcaptcha TestCaptcha ( #35604 )
...
The test calls out to a web service which may be down or unreachable as
seen in the linked issue. It's better for tests to not have such
external dependencies to make them absolutely stable.
Fixes: https://github.com/go-gitea/gitea/issues/35571
2025-10-10 06:21:45 +02:00
John Olheiser
ed0fa51a38
Consume hcaptcha and pwn deps ( #22610 )
...
This PR just consumes the
[hcaptcha](https://gitea.com/jolheiser/hcaptcha ) and
[haveibeenpwned](https://gitea.com/jolheiser/pwn ) modules directly into
Gitea.
Also let this serve as a notice that I'm fine with transferring my
license (which was already MIT) from my own name to "The Gitea Authors".
Signed-off-by: jolheiser <john.olheiser@gmail.com >
2023-01-29 09:49:51 -06:00
flynnnnnnnnnn
487cb6a411
Implement FSFE REUSE for golang files ( #21840 )
...
Change all license headers to comply with REUSE specification.
Fix #16132
Co-authored-by: flynnnnnnnnnn <flynnnnnnnnnn@github>
Co-authored-by: John Olheiser <john.olheiser@gmail.com >
2022-11-27 18:20:29 +00:00
John Olheiser
44e2ccb5f4
hCaptcha Support ( #12594 )
...
* Initial work on hCaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Use module
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Format
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* At least return and debug log a captcha error
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Pass context to hCaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Add context to recaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* fix lint
Signed-off-by: Andrew Thornton <art27@cantab.net >
* Finish hcaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Update example config
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Apply error fix for recaptcha
Signed-off-by: jolheiser <john.olheiser@gmail.com >
* Change recaptcha ChallengeTS to string
Signed-off-by: jolheiser <john.olheiser@gmail.com >
Co-authored-by: Andrew Thornton <art27@cantab.net >
2020-10-02 23:37:53 -04:00