gogs/internal/context
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
..
api.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
api_org.go internal: move packages under this directory (#5836) 2019-10-24 01:51:46 -07:00
auth.go access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
context.go csrf: sanitize token after reading from cookie (#6969) 2022-05-26 23:56:14 +08:00
go_get.go web: correctly serving go-get pages for subdirs (#6318) 2020-09-09 20:14:48 +08:00
notice.go conf: overhaul server settings (#5928) 2020-02-22 09:05:26 +08:00
org.go autofix: fix nested `if` with `else if` (#6807) 2022-03-06 16:39:14 +08:00
repo.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
user.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00