alist/server/webdav
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
..
internal/xml chore: add webdav package 2022-06-30 18:27:26 +08:00
buffered_response_writer.go fix:introduce buffered response writer for webdav, fix status/error return failed. (#2544) 2022-12-02 17:59:59 +08:00
file.go refactor: split the db package hook and cache to the op package (#2747) 2022-12-18 19:51:20 +08:00
if.go chore: add webdav package 2022-06-30 18:27:26 +08:00
litmus_test_server.go chore: add webdav package 2022-06-30 18:27:26 +08:00
lock.go chore: add webdav package 2022-06-30 18:27:26 +08:00
lock_test.go chore: add webdav package 2022-06-30 18:27:26 +08:00
prop.go fix: mapping filename in `GetName` 2022-11-30 20:46:54 +08:00
webdav.go fix:introduce buffered response writer for webdav, fix status/error return failed. (#2544) 2022-12-02 17:59:59 +08:00
xml.go chore: add webdav package 2022-06-30 18:27:26 +08:00
xml_test.go chore: add webdav package 2022-06-30 18:27:26 +08:00