sigoden
52506bc01f
refactor: optimize http range parsing and handling ( #323 )
2023-12-21 15:46:55 +08:00
sigoden
270cc0cba2
feat: upgrade to hyper 1.0 ( #321 )
2023-12-21 14:24:20 +08:00
sigoden
5988442d5c
chore: remove debug print
2023-12-14 11:08:10 +00:00
sigoden
3873f4794a
feat: add --compress
option ( #319 )
2023-12-14 18:59:28 +08:00
sigoden
44a4ddf973
refactor: change the value name of --config
( #313 )
2023-12-07 15:14:41 +08:00
sigoden
37800f630d
refactor: change the format of www-authenticate ( #312 )
2023-12-07 15:04:14 +08:00
sigoden
5c850256f4
feat: empty search ?q=
list all paths ( #311 )
2023-12-07 06:55:17 +08:00
sigoden
073b098111
feat: ui supports view file ( #301 )
2023-11-28 07:14:53 +08:00
sigoden
6ff8b29b69
feat: more flexible config values ( #299 )
2023-11-27 04:24:25 +08:00
sigoden
7584fe3d08
feat: deprecate the use of |
to separate auth rules ( #298 )
2023-11-26 22:15:49 +08:00
sigoden
653cd167d0
feat: password can contain :
@
|
( #297 )
2023-11-26 20:47:57 +08:00
sigoden
afdfde01f0
fix: unable to start if config file omit bind/port fields ( #294 )
2023-11-25 18:54:36 +08:00
sigoden
c352dab470
refactor: take improvements from the edge browser ( #289 )
2023-11-15 19:44:44 +08:00
sigoden
a476c15a09
fix: use DUFS_CONFIG to specify the config file path ( #286 )
2023-11-08 11:10:47 +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
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
9545fb6e37
fix: ui readonly if no write perm ( #258 )
2023-08-24 18:32:34 +08:00
sigoden
7f83de765a
fix: typo __ASSERTS_PREFIX__ ( #252 )
2023-08-13 15:05:45 +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
a53411b4d6
fix: search should ignore entry path ( #235 )
2023-06-15 08:28:21 +08:00
sigoden
6be36b8e51
fix: webdav only see public folder even logging in ( #231 )
2023-06-05 11:40:31 +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
033d37c4d4
chore: update cli --auth
help text
2023-06-02 06:49:06 +08:00
sigoden
d22be95dda
chore: update deps
2023-06-01 22:06:01 +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
sigoden
f5c0aefd8e
refactor: cli positional rename root => SERVE_PATH( #215 )
2023-05-30 16:49:16 +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
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
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
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
dd6973468c
feat: support edit files ( #179 )
...
close #172
2023-02-20 22:50:24 +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