Commit graph

297 commits

Author SHA1 Message Date
sigoden a476c15a09
fix: use DUFS_CONFIG to specify the config file path (#286) 2023-11-08 11:10:47 +08:00
sigoden 0d74fa3ec5 chore: release v0.37.0 2023-11-08 10:41:24 +08:00
sigoden b83cc6938b chore: update readme 2023-11-07 22:45:53 +08:00
sigoden a187b14885
chore: update deps and ci (#284) 2023-11-04 19:47:13 +08:00
sigoden d3de3db0d9
feat: support hashed password (#283) 2023-11-04 18:12:58 +08:00
sigoden 80ac9afe68
refactor: improve code quanity (#282)
- rename LogHttp to HttpLogger
2023-11-04 17:10:38 +08:00
sigoden 4ef07737e1
feat: support config file with --config option (#281) 2023-11-04 16:58:19 +08:00
sigoden 5782c5f413 chore: update description for --auth 2023-11-03 21:08:05 +08:00
sigoden 8b4cab1e69
fix: auto delete half-uploaded files (#280) 2023-11-03 20:58:53 +08:00
sigoden 70300b133c
feat: deprecate --auth-method, as both options are available (#279)
* feat: deprecate `--auth-method`, both are avaiable

* send one www-authenticate with two schemes
2023-11-03 20:36:23 +08:00
sigoden 7ea4bb808d refactor: optimize tests 2023-11-03 15:25:20 +08:00
sigoden 6766e0d437
fix: ui show user-name next to the user-icon (#278) 2023-11-03 14:55:07 +08:00
tieway59 53c9bc8bea
refactor: remove one clone on assets_prefix (#270)
This clone is not consist with the usage of `assets_prefix` in following
code and it's unnecessary.

Signed-off-by: TieWay59 <tieway59@foxmail.com>
2023-10-05 08:50:24 +08:00
sigoden 60df3b473c
fix: sort path ignore case (#264) 2023-09-06 23:25:04 +08:00
sigoden 6510ae8be9 chore: release v0.36.0 2023-08-24 18:46:30 +08:00
sigoden 9545fb6e37
fix: ui readonly if no write perm (#258) 2023-08-24 18:32:34 +08:00
sigoden 0fd0f11298 chore: update deps 2023-08-24 16:46:38 +08:00
figsoda 46aa8fcc02
test: remove dependency on native tls (#255) 2023-08-15 11:01:25 +08:00
sigoden 09bb738866 chore: update changelog 2023-08-15 07:29:02 +08:00
sigoden 3612ef10d1
chore: release 0.35.0 (#254)
* chore: release 0.35.0

* update release profile
2023-08-15 07:24:22 +08:00
sigoden 7ac2039a36 chore: update deps 2023-08-14 17:31:52 +08:00
sigoden 7f83de765a
fix: typo __ASSERTS_PREFIX__ (#252) 2023-08-13 15:05:45 +08:00
sigoden 9b3779b13a chore: update readme
close #247
2023-07-20 06:33:17 +08:00
sigoden 11a52f29c4
chore: fix release ci (#244) 2023-07-15 16:34:22 +08:00
sigoden 10204c723f
chore: fix clippy (#245) 2023-07-15 16:27:13 +08:00
sigoden 204421643d
chore: update ci (#242) 2023-07-04 10:25:49 +08:00
sigoden d9706d75ef
feat: sort by type first, then sort by name/mtime/size (#241) 2023-07-04 10:10:48 +08:00
sigoden 40df0bd2f9 chore: update readme 2023-06-18 08:55:42 +08:00
sigoden a53411b4d6
fix: search should ignore entry path (#235) 2023-06-15 08:28:21 +08:00
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