Commit Graph

8 Commits (renovate/github.com-city404-v6-public-rpc-proto-go-digest)

Author SHA1 Message Date
Andy Hsu 3231c3d930 perf(db): release database before exit 2023-09-05 13:04:27 +08:00
Andy Hsu 1c00d64952 feat: rehash password with a unique salt for each user 2023-08-07 15:46:19 +08:00
Andy Hsu 5b6b2f427a feat(cmd): add show token command 2023-08-07 13:49:23 +08:00
Andy Hsu e9cb37122e chore(cmd): change come output for admin command 2023-08-06 23:02:22 +08:00
Andy Hsu a425392a2b feat(cmd): set or random new password for admin 2023-08-06 22:34:02 +08:00
BoYanZh 0ae3fc608b
feat: export all cmd (#2746) 2022-12-18 19:53:39 +08:00
foxxorcat 6024e8d832
refactor: split the db package hook and cache to the op package (#2747)
* refactor:separate the setting method from the db package to the op package and add the cache

* refactor:separate the meta method from the db package to the op package

* fix:setting not load database data

* refactor:separate the user method from the db package to the op package

* refactor:remove user JoinPath error

* fix:op package user cache

* refactor:fs package list method

* fix:tile virtual paths (close #2743)

* Revert "refactor:remove user JoinPath error"

This reverts commit 4e20daaf9e.

* clean path directly may lead to unknown behavior

* fix: The path of the meta passed in must be prefix of reqPath

* chore: rename all virtualPath to mountPath

* fix: `getStoragesByPath` and `GetStorageVirtualFilesByPath`

is_sub_path:

/a/b isn't subpath of /a/bc

* fix: don't save setting if hook error

Co-authored-by: Noah Hsu <i@nn.ci>
2022-12-18 19:51:20 +08:00
Noah Hsu 40882443c2 feat: add show admin's username 2022-09-10 16:39:08 +08:00