Joe Chen
|
8350daf505
|
refactor(db): merge relation stores into entity stores (#7341)
|
2023-02-08 13:55:54 +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 |
Joe Chen
|
94059f291d
|
db: use `context` and go-mockgen for `LFSStore` (#7038)
|
2022-06-10 11:27:06 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
519e59b577
|
db: migrate to GORM v2 (#6309)
|
2020-09-06 10:11:08 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
76bb647d24
|
db: add tests for permissions (#6088)
* Add flag to print SQLs
* Add tests for perms
* Make results stable
* codecov: only show diff
* Once again, stable find results
|
2020-04-11 05:39:45 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
62dda96159
|
access_token: migrate to GORM and add tests (#6086)
* access_token: migrate to GORM
* Add tests
* Fix tests
* Fix test clock
|
2020-04-11 01:25:19 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
9a5b227f3e
|
lfsutil: add `Storager` interface and local storage (#6083)
* Add Storager interface
* Add tests
* Add back note
* Add tests for basic protocol routes
* Fix lint errors
|
2020-04-10 22:13:42 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
bae1d6ccd8
|
lfs: only remove file on io error (#6062)
|
2020-04-05 01:29:51 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
3a5c93eeff
|
db: use gorm function to check `ErrRecordNotFound` (#6060)
|
2020-04-05 00:56:31 +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 |