Commit graph

268 commits

Author SHA1 Message Date
ElmTran 609017b2f5
chore: Update README.md (#233)
update examples on new auth.
2023-06-13 08:23:05 +08:00
sigoden 7dc0b0e218 chore: release v0.34.2 2023-06-05 11:51:56 +08:00
sigoden 6be36b8e51
fix: webdav only see public folder even logging in (#231) 2023-06-05 11:40:31 +08:00
sigoden 8be545d3da
fix: ui refresh page after login (#230) 2023-06-03 10:09:02 +08:00
sigoden 4f3a8d275b chore: release v0.34.1 2023-06-02 19:44:35 +08:00
sigoden 9c412f4276
refactor: ui checkAuth (#226) 2023-06-02 19:35:30 +08:00
sigoden 27c269d6a0
fix: allow all cors headers and methods (#225) 2023-06-02 19:07:43 +08:00
sigoden 57b4a74279
fix: auth logic (#224) 2023-06-02 18:38:59 +08:00
sigoden 1112b936b8 chore: release v0.34.0 2023-06-02 07:16:43 +08:00
sigoden 033d37c4d4 chore: update cli --auth help text 2023-06-02 06:49:06 +08:00
sigoden 577eea5fa4 chore: ui js refactor 2023-06-01 22:22:36 +08:00
sigoden d22be95dda chore: update deps 2023-06-01 22:06:01 +08:00
sigoden 8d7c1fbf53
fix: ui set default max uploading to 1 (#220) 2023-06-01 21:32:22 +08:00
sigoden 4622c48120
fix: ui path table show move action (#219) 2023-06-01 20:33:21 +08:00
sigoden f8ea41638f
feat: new auth (#218)
The access level path control used by dufs has two disadvantages:

1. One path cannot support multiple users
2. It is very troublesome to set multiple paths for one user

So it needs to be refactored.
The new auth is account based, it closes #207, closes #208.

BREAKING CHANGE: new auth
2023-06-01 18:52:05 +08:00
nq5 2890b3929d
chore: correct spelling and grammar in index.js (#216) 2023-06-01 07:35:41 +08:00
sigoden f5c0aefd8e
refactor: cli positional rename root => SERVE_PATH(#215) 2023-05-30 16:49:16 +08:00
Jesse Hu 8a1e7674df
feat: show precise file size with decimal (#210) 2023-05-18 12:01:02 +08:00
sigoden 3c6206849f chore: trivial improvements 2023-04-01 16:10:34 +08:00
sigoden 652f836c23
feat: add timestamp metadata to generated zip file (#204) 2023-03-31 23:48:23 +08:00
sigoden fb5b50f059
fix: URL-encoded filename when downloading in safari (#203)
* fix: URL-encoded filename when downloading in safari

* add test
2023-03-31 22:52:07 +08:00
sigoden e43554b795
feat: webui editing support multiple encodings (#197) 2023-03-17 11:22:21 +08:00
sigoden 10ec34872d chore(release): version 0.33.0 2023-03-17 09:06:01 +08:00
sigoden 3ff16d254b chore: update deps 2023-03-17 08:54:38 +08:00
sigoden 29a04c8d74
refactor: improve error handle (#195) 2023-03-12 15:20:40 +08:00
sigoden c92e45f2da
fix: basic auth sometimes does not work (#194) 2023-03-12 12:58:36 +08:00
sigoden 8d7a9053e2 chore: update deps 2023-03-06 10:09:24 +08:00
sigoden 0e12b285cd
fix: hidden don't works on some files (#188)
like --hidden '*.abc-cba' matches xyz.abc-cba but do not matches 123.xyz.abc-cba
2023-03-03 07:15:46 +08:00
sigoden 45f4f5fc58
feat: guess plain text encoding then set content-type charset (#186) 2023-03-01 09:36:59 +08:00
horizon 6dcb4dcd76
fix: cors allow-request-header add content-type (#184)
* fix: cors allow-request-header add content-type

* add content-type test
2023-02-27 07:28:33 +08:00
sigoden 65da9bedee
chore(release): version 0.32.0 (#183) 2023-02-24 08:21:57 +08:00
sigoden e468d823cc chore: update readme 2023-02-22 11:26:17 +08:00
sigoden 902a60563d chore: ui change edit icon 2023-02-22 10:37:54 +08:00
sigoden f6c2ed2974 chore: optimize ui 2023-02-22 10:09:34 +08:00
sigoden 8f4cbb4826 chore: use anyhow to handle error 2023-02-21 17:23:24 +08:00
sigoden 2064d7803a chore: bump deps 2023-02-21 16:39:57 +08:00
sigoden ad0be71557 chore: optimize for test auth 2023-02-21 16:16:49 +08:00
sigoden 6d9758c71d
feat: ui improves the login experience (#182)
close #157 #158
2023-02-21 12:42:40 +08:00
sigoden a61fda6e80
feat: support new file (#180) 2023-02-21 08:45:52 +08:00
sigoden 6625c4d3d0 chore: optimize ui 2023-02-21 08:14:03 +08:00
sigoden dd6973468c
feat: support edit files (#179)
close #172
2023-02-20 22:50:24 +08:00
sigoden c6c78a16c5 chore: optimize ui 2023-02-20 17:23:31 +08:00
sigoden 111103f26b
fix: clear search input also clear query (#178)
close #161
2023-02-20 12:07:40 +08:00
sigoden 7d6d7d49ca
feat: API to search and list directories (#177)
use `?simple` to output path name only.
use `?json` to output paths in json format.
By default, output html page.

close #166
2023-02-20 11:05:53 +08:00
sigoden c6dcaf95d4
chore: hide env keys from help text (#176) 2023-02-19 22:48:41 +08:00
sigoden b7c5119c2e
feat: hiding only directories instead of files (#175)
A `--hidden` pattern with `/` suffix means hiding only directories not files.
A `--hidden` pattern without `/` will hide matching files and directories.
2023-02-19 22:03:59 +08:00
horizon 0000bd27f5
fix: remove Method::Options auth check (#168)
* fix: remove Method::Options auth check

* add tests

---------

Co-authored-by: sigoden <sigoden@gmail.com>
2023-02-19 12:30:14 +08:00
sigoden 47883376c1
chore: fix cargo clippy (#174) 2023-02-19 12:24:42 +08:00
MuXiu1997 fea9bf988a
feat: use env var for args (#170)
closed #160
2023-02-19 11:40:14 +08:00
MoonFruit b6d555158c
chore: add install instruction for Homebrew (#163) 2022-12-27 10:16:23 +08:00