gogs/internal/route
ᴜɴᴋɴᴡᴏɴ 22717a1c06
webhook: overhaul route handlers (#6002)
* Overual route handlers and fixes #5366

* Merge routes for repo and org

* Inject OrgRepoContext

* DRY validateWebhook

* DRY c.HasError

* Add tests

* Update CHANGELOG
2020-03-22 22:07:22 +08:00
..
admin workflows: enable golangci-lint (#5998) 2020-03-21 13:39:32 +08:00
api/v1 webhook: overhaul route handlers (#6002) 2020-03-22 22:07:22 +08:00
dev util: add tests (#5989) 2020-03-16 01:54:08 +08:00
org webhook: overhaul route handlers (#6002) 2020-03-22 22:07:22 +08:00
repo webhook: overhaul route handlers (#6002) 2020-03-22 22:07:22 +08:00
user workflows: enable golangci-lint (#5998) 2020-03-21 13:39:32 +08:00
home.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
install.go workflows: enable golangci-lint (#5998) 2020-03-21 13:39:32 +08:00