Joe Chen
c502dc6ed8
refactor(db): move some methods from `user.go` to `users.go` ( #7195 )
2022-10-22 14:41:40 +08:00
ᴜɴᴋɴᴡᴏɴ
1a1a01a842
ci: use new lint action and add custom config ( #6562 )
2021-05-19 13:38:13 +08:00
ᴜɴᴋɴᴡᴏɴ
9d64d222a8
db: add tests for users ( #6116 )
...
* Add new methods
* Use Users.Create to replace previous hack
* Reduce side effect
* Do not clear tables when test failed
* test_users_Authenticate
* Rename constant
* test_users_Create
* test_users_GetByEmail
* test_users_GetByID
* test_users_GetByUsername
2020-04-18 12:07:30 +08:00
ᴜɴᴋɴᴡᴏɴ
648d9e253c
conf: overhaul server settings ( #5928 )
...
* conf: rename package
* Requires Go 1.12
* Fix lint
* Fix lint
* Overhaul
* db: fix tests
* Save my work
* Fix tests
* Server.UnixSocketPermission
* Server.LocalRootURL
* SSH settings
* Server.OfflineMode
* Save my work
* App.Version
* Remove [server] STATIC_ROOT_PATH
* Server.LandingURL
2020-02-22 09:05:26 +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