7 Commits

Author SHA1 Message Date
Joe Chen
d9ecdcaef0
all: unwrap database.UsersStore interface (#7708) 2024-03-27 23:18:59 -04:00
Joe Chen
4d05804729
all: unwrap database.RepositoriesStore interface (#7706) 2024-03-26 23:34:31 -04:00
Joe Chen
3650b32ec5
chore: rename internal/db to internal/database (#7665) 2024-02-18 19:39:41 -05:00
Joe Chen
1df62fafb9
db: use context and go-mockgen for ReposStore (#7046) 2022-06-11 12:43:56 +08:00
Joe Chen
f837ea6346
db: use context and go-mockgen for UsersStore (#7042) 2022-06-11 09:42:17 +08:00
ᴜɴᴋɴᴡᴏɴ
cb439a126a
db: add tests for two factors (#6099)
* Rename to TwoFactors.Create

* Use GORM to execute queries

* TwoFactor.GetByUserID

* Add tests

* Fix failing tests

* Add MD5 tests

* Add tests for RandomChars
2020-04-14 09:41:54 +08:00
ᴜɴᴋɴᴡᴏɴ
e79aebb3e1
route: bypass require signin check for trigger repo tasks (#6079)
* route: bypass require signin check for trigger repo tasks

* CHANGELOG

* Fix lint errors
2020-04-08 20:55:15 +08:00