Joe Chen
|
13099a7e4f
|
refactor(db): add `Users.Update` (#7263)
|
2022-11-27 15:19:44 +08:00 |
Joe Chen
|
083c3ee659
|
db: refactor "action" table to use GORM (#7054)
Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
|
2022-06-25 18:07:39 +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 |
ᴜɴᴋɴᴡᴏɴ
|
34145c990d
|
lfs: implement HTTP routes (#6035)
* Bootstrap with GORM
* Fix lint error
* Set conn max lifetime to one minute
* Fallback to use gorm v1
* Define HTTP routes
* Finish authentication
* Save token updated
* Add docstring
* Finish authorization
* serveBatch rundown
* Define types in lfsutil
* Finish Batch
* authutil
* Finish basic
* Formalize response error
* Fix lint errors
* authutil: add tests
* dbutil: add tests
* lfsutil: add tests
* strutil: add tests
* Formalize 401 response
|
2020-04-04 21:14:15 +08:00 |