gogs/internal/gitutil
ᴜɴᴋɴᴡᴏɴ 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
..
diff.go
diff_test.go commit: fix unexpected truncation in title 2020-03-09 02:08:53 +08:00
error.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
error_test.go util: add tests (#5989) 2020-03-16 01:54:08 +08:00
mock_test.go gitutil: simplify mock with `t.Cleanup` (#6033) 2020-03-29 20:15:42 +08:00
module.go lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
pull_request.go gitutil: refactor the way to mock (#6032) 2020-03-29 19:37:28 +08:00
pull_request_test.go gitutil: simplify mock with `t.Cleanup` (#6033) 2020-03-29 20:15:42 +08:00
submodule.go
submodule_test.go
tag.go gitutil: refactor the way to mock (#6032) 2020-03-29 19:37:28 +08:00
tag_test.go gitutil: simplify mock with `t.Cleanup` (#6033) 2020-03-29 20:15:42 +08:00