silverwind
8abda62312
test: consolidate Go tests ( #39962 )
...
Consolidate all Go tests. Coverage is identical to before. Go tests are
around 5% faster while being 7% smaller. No non-test code is touched.
2026-10-24 13:48:19 +00:00
Lunny Xiao
61b1a39efe
chore: Move import path from code.gitea.io/gitea to gitea.dev ( #37873 )
2026-05-26 15:49:31 -07:00
silverwind
45ee571693
Update to go 1.26.0 and golangci-lint 2.9.0 ( #36588 )
2026-02-11 18:37:13 +01:00
wxiaoguang
0cbaa0b662
Remove incorrect "db.DefaultContext" usages ( #35366 )
2025-08-28 03:52:43 +00:00
Lunny Xiao
58c124cc4f
Move commits signature and verify functions to service layers ( #33605 )
...
No logic change, just move functions.
2025-02-16 12:24:07 +00:00
wxiaoguang
517a367abe
Use ProtonMail/go-crypto to replace keybase/go-crypto ( #33402 )
...
Fix #33400
The keybase/go-crypto is no longer maintained and it generates malformed
signatures, ProtonMail/go-crypto is the actively maintained fork.
2025-01-27 09:14:08 +08:00
TheFox0x7
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
KN4CK3R
eb505b128c
Fix missing 0 prefix of GPG key id ( #30245 )
...
Fixes #30235
If the key id "front" byte has a single digit, `%X` is missing the 0
prefix.
` 38D1A3EADDBEA9C` instead of
`038D1A3EADDBEA9C`
When using the `IssuerFingerprint` slice `%X` is enough but I changed it
to `%016X` too to be consistent.
2024-04-02 17:50:57 +02:00
JakobDev and KN4CK3R
7047df36d4
Another round of db.DefaultContext refactor ( #27103 )
...
Part of #27065
---------
Co-authored-by: KN4CK3R <admin@oldschoolhack.me >
2023-09-25 13:17:37 +00:00
e81ccc406b
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
Lunny Xiao and zeripath
86c85c19b6
Refactor AssertExistsAndLoadBean to use generics ( #20797 )
...
* Refactor AssertExistsAndLoadBean to use generics
* Fix tests
Co-authored-by: zeripath <art27@cantab.net >
2022-08-16 10:22:25 +08:00
Lunny Xiao
3ca5dc7e32
Move keys to models/asymkey ( #17917 )
...
* Move keys to models/keys
* Rename models/keys -> models/asymkey
* change the missed package name
* Fix package alias
* Fix test
* Fix docs
* Fix test
* Fix test
* merge
2021-12-10 16:14:24 +08:00