1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-15 22:54:24 +00:00
gitea/routers/api/v1
Lunny Xiao a51cc6dea4
Fix access log (#14475)
Fix #14121, #14478.

The `AccessLog` middleware has to be after `Contexter` or `APIContexter` so that we can get `LoginUserName` if possible.
And also there is a **BREAK** change that it removed internal API access log.
2021-01-27 18:46:35 +01:00
..
admin Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
misc Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
notify move notification APIFormat (#13783) 2020-12-02 09:24:35 +00:00
org Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
repo Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
settings Added option to disable migrations (#13114) 2020-12-21 15:39:41 +01:00
swagger Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
user Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
utils migrate from com.* to alternatives (#14103) 2020-12-25 11:59:32 +02:00
api.go Fix access log (#14475) 2021-01-27 18:46:35 +01:00