gogs/internal/route
E99p1ant a328e7ccc4
access_token: encrypt access token with SHA256 (#7008)
* access_token: encrypt access token with SHA256

* revert list access token

* fix lint

* generate schemadoc

* add database migrations

* fix tests

* fix tests

* add test case for access token golden

* fix test in postgres

* `Sha256` -> `SHA256`

* Use GORM for migration

* task generate-schemadoc

* Use unique

* change migration name

* allow read

* task generate-schemadoc

* add changelog

* fix lint error

* update changelog

* remove Debug

* add comments

Co-authored-by: Joe Chen <jc@unknwon.io>
2022-06-05 13:34:21 +08:00
..
admin autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
api/v1 webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
dev util: add tests (#5989) 2020-03-16 01:54:08 +08:00
lfs access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
org auth: decouple types and functions from db (#6320) 2020-09-20 11:19:02 +08:00
repo access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
user autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
home.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
install.go autofix: function call can be replaced with helper function (#6805) 2022-03-06 16:33:55 +08:00