Commit Graph

13 Commits (d9ecdcaef02346ac1980b359ed006a4f2a51349f)

Author SHA1 Message Date
Joe Chen d9ecdcaef0
all: unwrap `database.UsersStore` interface () 2024-03-27 23:18:59 -04:00
Joe Chen 3650b32ec5
chore: rename `internal/db` to `internal/database` () 2024-02-18 19:39:41 -05:00
Joe Chen 133b9d9044
refactor(db): finish migrate methods off `user.go` () 2023-02-07 23:39:00 +08:00
Joe Chen b5d47b9692
refactor(db): migrate methods off `user.go` () 2022-11-05 18:56:48 +08:00
Joe Chen 7cbd84d5b3
refactor(db): rename `User.Passwd` to `User.Password` () 2022-10-22 14:56:25 +08:00
ᴜɴᴋɴᴡᴏɴ 9bb218734c
db: use GORM to backup and restore non-legacy tables () 2020-05-04 16:25:57 +08:00
ᴜɴᴋɴᴡᴏɴ 82e511ddb1
cmd: init logging before `SetEngine` () 2020-03-22 14:11:52 +08:00
ᴜɴᴋɴᴡᴏɴ 5843038a08
workflows: enable golangci-lint ()
* Create golint.yml

* Update golint.yml

* Update golint.yml

* Fix errcheck

* Fix gosimple

* Fix staticcheck
2020-03-21 13:39:32 +08:00
ᴜɴᴋɴᴡᴏɴ d3ecd22dba
cmd: fix unable to find correct custom config 2020-02-22 19:12:31 +08:00
ᴜɴᴋɴᴡᴏɴ 5efbde4fe9
conf: overhaul database settings 2020-02-22 18:58:16 +08:00
ᴜɴᴋɴᴡᴏɴ 648d9e253c
conf: overhaul server settings ()
* 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
ᴜɴᴋɴᴡᴏɴ 1c09373b4f
log: migrate to unknwon.dev/clog/v2 ()
* Add unknwon.dev/clog/v2

* Update all places
2020-02-20 02:25:02 +08:00
Unknwon 01c8df01ec
internal: move packages under this directory ()
* 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