gogs/internal/conf
ᴜɴᴋɴᴡᴏɴ 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
..
testdata lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
computed.go conf: add unit tests (#5954) 2020-02-29 22:24:20 +08:00
computed_test.go conf: add unit tests (#5954) 2020-02-29 22:24:20 +08:00
conf.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
conf_test.go github: use Actions for CI (#6022) 2020-03-27 22:06:29 +08:00
log.go cmd/serv: improve hookMode handling (#5960) 2020-03-02 22:25:28 +08:00
log_test.go log: fix tests 2020-03-02 01:14:26 +08:00
static.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
static_minwinsvc.go conf: overhaul server settings (#5928) 2020-02-22 09:05:26 +08:00
static_test.go conf: add unit tests (#5954) 2020-02-29 22:24:20 +08:00
utils.go conf: add unit tests (#5954) 2020-02-29 22:24:20 +08:00
utils_test.go conf: add unit tests (#5954) 2020-02-29 22:24:20 +08:00