Joe Chen
|
4a3dc6c774
|
db: skip auto migrate for existing "version" table (#7057)
|
2022-06-14 15:47:11 +08:00 |
Joe Chen
|
b772603d78
|
migrations: add tests and remove XORM (#7050)
|
2022-06-12 14:15:01 +08:00 |
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 |
ᴜɴᴋɴᴡᴏɴ
|
3ed8c292c2
|
migrations: remove old migrations before 0.12.0 (#6270)
|
2020-08-23 12:51:55 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
cb439a126a
|
db: add tests for two factors (#6099)
* Rename to TwoFactors.Create
* Use GORM to execute queries
* TwoFactor.GetByUserID
* Add tests
* Fix failing tests
* Add MD5 tests
* Add tests for RandomChars
|
2020-04-14 09:41:54 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
5843038a08
|
workflows: enable golangci-lint (#5998)
* Create golint.yml
* Update golint.yml
* Update golint.yml
* Fix errcheck
* Fix gosimple
* Fix staticcheck
|
2020-03-21 13:39:32 +08:00 |
ᴜɴᴋɴᴡᴏɴ
|
1c09373b4f
|
log: migrate to unknwon.dev/clog/v2 (#5927)
* Add unknwon.dev/clog/v2
* Update all places
|
2020-02-20 02:25:02 +08:00 |
Unknwon
|
01c8df01ec
|
internal: move packages under this directory (#5836)
* Rename pkg -> internal
* Rename routes -> route
* Move route -> internal/route
* Rename models -> db
* Move db -> internal/db
* Fix route2 -> route
* Move cmd -> internal/cmd
* Bump version
|
2019-10-24 01:51:46 -07:00 |