gogs/internal
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
..
app route: no session for routes without UI (#6066) 2020-04-05 06:36:08 +08:00
auth autofix: format code with gofmt and gofumpt (#6821) 2022-03-08 20:35:31 +08:00
authutil lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
avatar test: remove the use of goconvey (#6123) 2020-04-19 04:24:08 +08:00
cmd web: print accessible URL on startup (#6979) 2022-05-29 19:45:40 +08:00
conf mod: bump gopkg.in/ini.v1 from 1.66.4 to 1.66.5 (#6984) 2022-05-30 19:00:49 +08:00
context access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
cron ci: use new lint action and add custom config (#6562) 2021-05-19 13:38:13 +08:00
cryptoutil access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
db access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
dbutil db: migrate to GORM v2 (#6309) 2020-09-06 10:11:08 +08:00
email assets: convert usage of go-bindata to Go embed (#6851) 2022-03-17 14:05:09 +08:00
errutil lfs: implement HTTP routes (#6035) 2020-04-04 21:14:15 +08:00
form webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
gitutil mod: bump github.com/gogs/git-module from 1.2.0 to 1.4.0 (#6866) 2022-03-22 00:55:36 +08:00
httplib autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00
lazyregexp
lfsutil autofix: fix unused method receiver (#6808) 2022-03-06 16:37:41 +08:00
markup autofix: fix unnecessary allocations due to `strings.Index` call (#6806) 2022-03-06 16:34:01 +08:00
mocks lfs: add unit test for middleware (#6070) 2020-04-06 18:35:10 +08:00
netutil webhook: revalidate local hostname before each delivery (#6988) 2022-05-31 15:17:17 +08:00
osutil osutil: update docstring and tests (#6255) 2020-08-19 21:30:01 +08:00
pathutil
process autofix: format code with gofumpt and gofmt (#6803) 2022-03-06 17:55:17 +08:00
route access_token: encrypt access token with SHA256 (#7008) 2022-06-05 13:34:21 +08:00
semverutil all: use semver to compare versions (#6147) 2020-05-04 18:48:23 +08:00
ssh ssh: allow setting allowed MAC algorithms for built-in server (#6435) 2020-12-04 21:52:26 +08:00
strutil db: add tests for two factors (#6099) 2020-04-14 09:41:54 +08:00
sync
template autofix: function call can be replaced with helper function (#6805) 2022-03-06 16:33:55 +08:00
testutil autofix: fix unused method receiver (#6808) 2022-03-06 16:37:41 +08:00
tool autofix: fix check for empty string (#6804) 2022-03-06 16:33:45 +08:00