Lunny Xiao
9f31f3aa8a
Add an abstract json layout to make it's easier to change json library ( #16528 )
...
* Add an abstract json layout to make it's easier to change json library
* Fix import
* Fix import sequence
* Fix blank lines
* Fix blank lines
3 years ago
zeripath
f0e15250b9
Migrate to use jsoniter instead of encoding/json ( #14841 )
...
* Migrate to use jsoniter
* fix tests
* update gitea.com/go-chi/binding
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
4 years ago
Lunny Xiao
0cd87d64ff
Update docs and comments to remove macaron ( #14491 )
4 years ago
Lunny Xiao
c296f4fed6
Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step ( #7420 )
...
* When route cannot be found on chi, go to macaron
* Stick chi version to 1.5.0
* Follow router log setting
4 years ago
zeripath
055f6d2296
Fix "data race" in testlogger ( #9159 )
...
* Fix data race in testlogger
* Update git_helper_for_declarative_test.go
5 years ago
Jonas Franz
62d3f49c28
Add json tags for oauth2 form ( #6627 )
6 years ago
Jonas Franz
783cd64927
Add option to disable refresh token invalidation ( #6584 )
...
* Add option to disable refresh token invalidation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Add integration tests and remove wrong todos
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix typo
Signed-off-by: Jonas Franz <info@jonasfranz.software>
* Fix tests and add documentation
Signed-off-by: Jonas Franz <info@jonasfranz.software>
6 years ago
Jonas Franz
2315019fef
Add support for client basic auth for exchanging access tokens ( #6293 )
...
* Add support for client basic auth for exchanging access tokens
* Improve error messages
* Fix tests
6 years ago
Jonas Franz
e777c6bdc6
Integrate OAuth2 Provider ( #5378 )
6 years ago