gogs/internal/route/repo
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
..
branch.go ci: use new lint action and add custom config (#6562) 2021-05-19 13:38:13 +08:00
commit.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
download.go refactor: unify error handling in routing layer 2020-03-16 01:22:27 +08:00
editor.go autofix: function call can be replaced with helper function (#6805) 2022-03-06 16:33:55 +08:00
http.go access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
issue.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
pull.go autofix: format code with gofumpt and gofmt (#6803) 2022-03-06 17:55:17 +08:00
release.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
repo.go webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
setting.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
tasks.go db: add tests for two factors (#6099) 2020-04-14 09:41:54 +08:00
view.go autofix: function call can be replaced with helper function (#6805) 2022-03-06 16:33:55 +08:00
webhook.go webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
webhook_test.go webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
wiki.go autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00