Commit Graph

18 Commits (13e8d36e1a44a7e4bf1bffa6a4d533a5e0d34afc)

Author SHA1 Message Date
NewbieOrange d484219c48
fix(security): compare auth token in constant time (#3740 close #3739) 2023-03-06 23:41:06 +08:00
Andy Hsu 3d0065bdcf feat!: allow disable user (close #3241)
From this commit, the guest user will be disabled by default
2023-02-04 11:44:17 +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 a24dfddc2a feat: add 189cloud driver 2022-09-06 14:39:21 +08:00
Noah Hsu 826e4807dc chore: add current user log 2022-07-23 21:33:53 +08:00
Noah Hsu d24e51bc86 chore: user permissions 2022-06-29 18:03:12 +08:00
Noah Hsu a09a1b814b chore: change permission check 2022-06-29 17:08:31 +08:00
Noah Hsu 40548926e6 feat: fs link api 2022-06-29 16:08:55 +08:00
Noah Hsu d1efec4539 chore: common err resp log 2022-06-28 18:12:53 +08:00
Noah Hsu 5dbf5db4ff feat: token and reset 2022-06-28 14:18:10 +08:00
Noah Hsu f01a81ee9c chore: settings util 2022-06-27 17:25:19 +08:00
Noah Hsu 6b9bca893b chore: change whether print log 2022-06-26 19:20:19 +08:00
Noah Hsu c67f128f15 chore: move server package to root 2022-06-26 19:10:14 +08:00
Noah Hsu b76060570e refactor: init v3 2022-06-06 16:28:37 +08:00
微凉 a2c7ff3262 ✏️ Invalid Token 2022-01-26 16:27:38 +08:00
微凉 b472c2ee18 🔒 not allowed delete root folder 2022-01-13 21:23:27 +08:00
微凉 985b81826f 🎇 support add another alist 2021-12-07 20:16:34 +08:00
微凉 03580fd76c 🎨 Improve the code structure 2021-12-07 15:56:43 +08:00