]> OzVa Git service - ozva-cloud/log
ozva-cloud
22 months agofeat: password can contain `:` `@` `|` (#297)
sigoden [Sun, 26 Nov 2023 12:47:57 +0000 (20:47 +0800)]
feat: password can contain `:` `@` `|` (#297)

22 months agochore: trivial updates
sigoden [Sun, 26 Nov 2023 07:03:51 +0000 (15:03 +0800)]
chore: trivial updates

22 months agorefactor: ui improve uploading progress (#296)
sigoden [Sun, 26 Nov 2023 02:23:37 +0000 (10:23 +0800)]
refactor: ui improve uploading progress (#296)

22 months agochore: update readme
sigoden [Sat, 25 Nov 2023 11:07:37 +0000 (19:07 +0800)]
chore: update readme

22 months agofix: unable to start if config file omit bind/port fields (#294)
sigoden [Sat, 25 Nov 2023 10:54:36 +0000 (18:54 +0800)]
fix: unable to start if config file omit bind/port fields (#294)

22 months agorefactor: ui change the cursor for upload-btn to a pointer (#291)
sigoden [Tue, 21 Nov 2023 08:24:59 +0000 (16:24 +0800)]
refactor: ui change the cursor for upload-btn to a pointer (#291)

22 months agorefactor: take improvements from the edge browser (#289)
sigoden [Wed, 15 Nov 2023 11:44:44 +0000 (19:44 +0800)]
refactor: take improvements from the edge browser (#289)

23 months agochore: release v0.37.1
sigoden [Wed, 8 Nov 2023 03:11:36 +0000 (11:11 +0800)]
chore: release v0.37.1

23 months agofix: use DUFS_CONFIG to specify the config file path (#286)
sigoden [Wed, 8 Nov 2023 03:10:47 +0000 (11:10 +0800)]
fix: use DUFS_CONFIG to specify the config file path (#286)

23 months agochore: release v0.37.0
sigoden [Wed, 8 Nov 2023 02:41:24 +0000 (10:41 +0800)]
chore: release v0.37.0

23 months agochore: update readme
sigoden [Tue, 7 Nov 2023 14:45:53 +0000 (22:45 +0800)]
chore: update readme

23 months agochore: update deps and ci (#284)
sigoden [Sat, 4 Nov 2023 11:47:13 +0000 (19:47 +0800)]
chore: update deps and ci (#284)

23 months agofeat: support hashed password (#283)
sigoden [Sat, 4 Nov 2023 10:12:58 +0000 (18:12 +0800)]
feat: support hashed password (#283)

23 months agorefactor: improve code quanity (#282)
sigoden [Sat, 4 Nov 2023 09:10:38 +0000 (17:10 +0800)]
refactor: improve code quanity (#282)

- rename LogHttp to HttpLogger

23 months agofeat: support config file with `--config` option (#281)
sigoden [Sat, 4 Nov 2023 08:58:19 +0000 (16:58 +0800)]
feat: support config file with `--config` option (#281)

23 months agochore: update description for `--auth`
sigoden [Fri, 3 Nov 2023 13:08:05 +0000 (21:08 +0800)]
chore: update description for `--auth`

23 months agofix: auto delete half-uploaded files (#280)
sigoden [Fri, 3 Nov 2023 12:58:53 +0000 (20:58 +0800)]
fix: auto delete half-uploaded files (#280)

23 months agofeat: deprecate `--auth-method`, as both options are available (#279)
sigoden [Fri, 3 Nov 2023 12:36:23 +0000 (20:36 +0800)]
feat: deprecate `--auth-method`,  as both options are available (#279)

* feat: deprecate `--auth-method`, both are avaiable

* send one www-authenticate with two schemes

23 months agorefactor: optimize tests
sigoden [Fri, 3 Nov 2023 07:25:20 +0000 (15:25 +0800)]
refactor: optimize tests

23 months agofix: ui show user-name next to the user-icon (#278)
sigoden [Fri, 3 Nov 2023 06:55:07 +0000 (14:55 +0800)]
fix: ui show user-name next to the user-icon (#278)

2 years agorefactor: remove one clone on `assets_prefix` (#270)
tieway59 [Thu, 5 Oct 2023 00:50:24 +0000 (08:50 +0800)]
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>
2 years agofix: sort path ignore case (#264)
sigoden [Wed, 6 Sep 2023 15:25:04 +0000 (23:25 +0800)]
fix: sort path ignore case (#264)

2 years agochore: release v0.36.0
sigoden [Thu, 24 Aug 2023 10:46:30 +0000 (18:46 +0800)]
chore: release v0.36.0

2 years agofix: ui readonly if no write perm (#258)
sigoden [Thu, 24 Aug 2023 10:32:34 +0000 (18:32 +0800)]
fix: ui readonly if no write perm (#258)

2 years agochore: update deps
sigoden [Thu, 24 Aug 2023 08:46:38 +0000 (16:46 +0800)]
chore: update deps

2 years agotest: remove dependency on native tls (#255)
figsoda [Tue, 15 Aug 2023 03:01:25 +0000 (23:01 -0400)]
test: remove dependency on native tls (#255)

2 years agochore: update changelog
sigoden [Mon, 14 Aug 2023 23:29:02 +0000 (07:29 +0800)]
chore: update changelog

2 years agochore: release 0.35.0 (#254)
sigoden [Mon, 14 Aug 2023 23:24:22 +0000 (07:24 +0800)]
chore: release 0.35.0 (#254)

* chore: release 0.35.0

* update release profile

2 years agochore: update deps
sigoden [Mon, 14 Aug 2023 09:31:52 +0000 (17:31 +0800)]
chore: update deps

2 years agofix: typo __ASSERTS_PREFIX__ (#252)
sigoden [Sun, 13 Aug 2023 07:05:45 +0000 (15:05 +0800)]
fix: typo __ASSERTS_PREFIX__ (#252)

2 years agochore: update readme
sigoden [Wed, 19 Jul 2023 22:33:17 +0000 (06:33 +0800)]
chore: update readme

close #247

2 years agochore: fix release ci (#244)
sigoden [Sat, 15 Jul 2023 08:34:22 +0000 (16:34 +0800)]
chore: fix release ci (#244)

2 years agochore: fix clippy (#245)
sigoden [Sat, 15 Jul 2023 08:27:13 +0000 (16:27 +0800)]
chore: fix clippy (#245)

2 years agochore: update ci (#242)
sigoden [Tue, 4 Jul 2023 02:25:49 +0000 (10:25 +0800)]
chore: update ci (#242)

2 years agofeat: sort by type first, then sort by name/mtime/size (#241)
sigoden [Tue, 4 Jul 2023 02:10:48 +0000 (10:10 +0800)]
feat: sort by type first, then sort by name/mtime/size (#241)

2 years agochore: update readme
sigoden [Sun, 18 Jun 2023 00:55:42 +0000 (08:55 +0800)]
chore: update readme

2 years agofix: search should ignore entry path (#235)
sigoden [Thu, 15 Jun 2023 00:28:21 +0000 (08:28 +0800)]
fix: search should ignore entry path (#235)

2 years agochore: Update README.md (#233)
ElmTran [Tue, 13 Jun 2023 00:23:05 +0000 (01:23 +0100)]
chore: Update README.md (#233)

update examples on new auth.

2 years agochore: release v0.34.2
sigoden [Mon, 5 Jun 2023 03:51:56 +0000 (11:51 +0800)]
chore: release v0.34.2

2 years agofix: webdav only see public folder even logging in (#231)
sigoden [Mon, 5 Jun 2023 03:40:31 +0000 (11:40 +0800)]
fix: webdav only see public folder even logging in (#231)

2 years agofix: ui refresh page after login (#230)
sigoden [Sat, 3 Jun 2023 02:09:02 +0000 (10:09 +0800)]
fix: ui refresh page after login (#230)

2 years agochore: release v0.34.1
sigoden [Fri, 2 Jun 2023 11:44:35 +0000 (19:44 +0800)]
chore: release v0.34.1

2 years agorefactor: ui checkAuth (#226)
sigoden [Fri, 2 Jun 2023 11:35:30 +0000 (19:35 +0800)]
refactor: ui checkAuth (#226)

2 years agofix: allow all cors headers and methods (#225)
sigoden [Fri, 2 Jun 2023 11:07:43 +0000 (19:07 +0800)]
fix: allow all cors headers and methods (#225)

2 years agofix: auth logic (#224)
sigoden [Fri, 2 Jun 2023 10:38:59 +0000 (18:38 +0800)]
fix: auth logic (#224)

2 years agochore: release v0.34.0
sigoden [Thu, 1 Jun 2023 23:16:43 +0000 (07:16 +0800)]
chore: release v0.34.0

2 years agochore: update cli `--auth` help text
sigoden [Thu, 1 Jun 2023 22:49:06 +0000 (06:49 +0800)]
chore: update cli `--auth` help text

2 years agochore: ui js refactor
sigoden [Thu, 1 Jun 2023 14:22:36 +0000 (22:22 +0800)]
chore: ui js refactor

2 years agochore: update deps
sigoden [Thu, 1 Jun 2023 14:05:44 +0000 (22:05 +0800)]
chore: update deps

2 years agofix: ui set default max uploading to 1 (#220)
sigoden [Thu, 1 Jun 2023 13:32:22 +0000 (21:32 +0800)]
fix: ui set default max uploading to 1 (#220)

2 years agofix: ui path table show move action (#219)
sigoden [Thu, 1 Jun 2023 12:33:21 +0000 (20:33 +0800)]
fix: ui path table show move action (#219)

2 years agofeat: new auth (#218)
sigoden [Thu, 1 Jun 2023 10:52:05 +0000 (18:52 +0800)]
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

2 years agochore: correct spelling and grammar in index.js (#216)
nq5 [Wed, 31 May 2023 23:35:41 +0000 (00:35 +0100)]
chore: correct spelling and grammar in index.js (#216)

2 years agorefactor: cli positional rename root => SERVE_PATH(#215)
sigoden [Tue, 30 May 2023 08:49:16 +0000 (16:49 +0800)]
refactor: cli positional rename root => SERVE_PATH(#215)

2 years agofeat: show precise file size with decimal (#210)
Jesse Hu [Thu, 18 May 2023 04:01:02 +0000 (12:01 +0800)]
feat: show precise file size with decimal (#210)

2 years agochore: trivial improvements
sigoden [Sat, 1 Apr 2023 08:10:34 +0000 (16:10 +0800)]
chore: trivial improvements

2 years agofeat: add timestamp metadata to generated zip file (#204)
sigoden [Fri, 31 Mar 2023 15:48:23 +0000 (23:48 +0800)]
feat: add timestamp metadata to generated zip file (#204)

2 years agofix: URL-encoded filename when downloading in safari (#203)
sigoden [Fri, 31 Mar 2023 14:52:07 +0000 (22:52 +0800)]
fix: URL-encoded filename when downloading in safari (#203)

* fix: URL-encoded filename when downloading in safari

* add test

2 years agofeat: webui editing support multiple encodings (#197)
sigoden [Fri, 17 Mar 2023 03:22:21 +0000 (11:22 +0800)]
feat: webui editing support multiple encodings (#197)

2 years agochore(release): version 0.33.0
sigoden [Fri, 17 Mar 2023 01:06:01 +0000 (09:06 +0800)]
chore(release): version 0.33.0

2 years agochore: update deps
sigoden [Fri, 17 Mar 2023 00:54:38 +0000 (08:54 +0800)]
chore: update deps

2 years agorefactor: improve error handle (#195)
sigoden [Sun, 12 Mar 2023 07:20:40 +0000 (15:20 +0800)]
refactor: improve error handle (#195)

2 years agofix: basic auth sometimes does not work (#194)
sigoden [Sun, 12 Mar 2023 04:58:36 +0000 (12:58 +0800)]
fix: basic auth sometimes does not work (#194)

2 years agochore: update deps
sigoden [Mon, 6 Mar 2023 02:09:24 +0000 (10:09 +0800)]
chore: update deps

2 years agofix: hidden don't works on some files (#188)
sigoden [Thu, 2 Mar 2023 23:15:46 +0000 (07:15 +0800)]
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

2 years agofeat: guess plain text encoding then set content-type charset (#186)
sigoden [Wed, 1 Mar 2023 01:36:59 +0000 (09:36 +0800)]
feat: guess plain text encoding then set content-type charset (#186)

2 years agofix: cors allow-request-header add content-type (#184)
horizon [Sun, 26 Feb 2023 23:28:33 +0000 (07:28 +0800)]
fix: cors allow-request-header add content-type (#184)

* fix: cors allow-request-header add content-type

* add content-type test

2 years agochore(release): version 0.32.0 (#183)
sigoden [Fri, 24 Feb 2023 00:21:57 +0000 (08:21 +0800)]
chore(release): version 0.32.0 (#183)

2 years agochore: update readme
sigoden [Wed, 22 Feb 2023 03:26:17 +0000 (11:26 +0800)]
chore: update readme

2 years agochore: ui change edit icon
sigoden [Wed, 22 Feb 2023 02:37:54 +0000 (10:37 +0800)]
chore: ui change edit icon

2 years agochore: optimize ui
sigoden [Wed, 22 Feb 2023 02:04:40 +0000 (10:04 +0800)]
chore: optimize ui

2 years agochore: use anyhow to handle error
sigoden [Tue, 21 Feb 2023 09:23:24 +0000 (17:23 +0800)]
chore: use anyhow to handle error

2 years agochore: bump deps
sigoden [Tue, 21 Feb 2023 08:39:57 +0000 (16:39 +0800)]
chore: bump deps

2 years agochore: optimize for test auth
sigoden [Tue, 21 Feb 2023 08:10:51 +0000 (16:10 +0800)]
chore:  optimize for test auth

2 years agofeat: ui improves the login experience (#182)
sigoden [Tue, 21 Feb 2023 04:42:40 +0000 (12:42 +0800)]
feat: ui improves the login experience (#182)

close #157 #158

2 years agofeat: support new file (#180)
sigoden [Tue, 21 Feb 2023 00:45:52 +0000 (08:45 +0800)]
feat: support new file (#180)

2 years agochore: optimize ui
sigoden [Tue, 21 Feb 2023 00:13:29 +0000 (08:13 +0800)]
chore: optimize ui

2 years agofeat: support edit files (#179)
sigoden [Mon, 20 Feb 2023 14:50:24 +0000 (22:50 +0800)]
feat: support edit files (#179)

close #172

2 years agochore: optimize ui
sigoden [Mon, 20 Feb 2023 09:23:31 +0000 (17:23 +0800)]
chore: optimize ui

2 years agofix: clear search input also clear query (#178)
sigoden [Mon, 20 Feb 2023 04:07:40 +0000 (12:07 +0800)]
fix: clear search input also clear query (#178)

close #161

2 years agofeat: API to search and list directories (#177)
sigoden [Mon, 20 Feb 2023 03:05:53 +0000 (11:05 +0800)]
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

2 years agochore: hide env keys from help text (#176)
sigoden [Sun, 19 Feb 2023 14:48:41 +0000 (22:48 +0800)]
chore: hide env keys from help text (#176)

2 years agofeat: hiding only directories instead of files (#175)
sigoden [Sun, 19 Feb 2023 14:03:59 +0000 (22:03 +0800)]
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.

2 years agofix: remove Method::Options auth check (#168)
horizon [Sun, 19 Feb 2023 04:30:14 +0000 (12:30 +0800)]
fix: remove Method::Options auth check (#168)

* fix: remove Method::Options auth check

* add tests

---------

Co-authored-by: sigoden <sigoden@gmail.com>
2 years agochore: fix cargo clippy (#174)
sigoden [Sun, 19 Feb 2023 04:24:42 +0000 (12:24 +0800)]
chore: fix cargo clippy (#174)

2 years agofeat: use env var for args (#170)
MuXiu1997 [Sun, 19 Feb 2023 03:40:14 +0000 (11:40 +0800)]
feat: use env var for args (#170)

closed #160

2 years agochore: add install instruction for Homebrew (#163)
MoonFruit [Tue, 27 Dec 2022 02:16:23 +0000 (10:16 +0800)]
chore: add install instruction for Homebrew (#163)

2 years agochore: improve code quanity
sigoden [Sun, 11 Dec 2022 07:18:44 +0000 (15:18 +0800)]
chore: improve code quanity

2 years agofeat: add option --allow-archive (#152)
sigoden [Sat, 10 Dec 2022 03:09:42 +0000 (11:09 +0800)]
feat: add option --allow-archive (#152)

BREAKING CHANGE: explicitly allow download folder as zip file

2 years agodocs: fix typos (#147)
Kian-Meng Ang [Sat, 10 Dec 2022 01:18:54 +0000 (09:18 +0800)]
docs: fix typos (#147)

Found via `codespell -S target -L crate,nd`

2 years agofix: set the STOPSIGNAL to SIGINT for Dockerfile
Sylvain Prat [Sat, 10 Dec 2022 00:31:46 +0000 (01:31 +0100)]
fix: set the STOPSIGNAL to SIGINT for Dockerfile

2 years agochore(release): version 0.31.0
sigoden [Sat, 12 Nov 2022 00:43:13 +0000 (08:43 +0800)]
chore(release): version 0.31.0

2 years agochore: upgrade clap to v4 (#146)
sigoden [Fri, 11 Nov 2022 13:46:07 +0000 (21:46 +0800)]
chore: upgrade clap to v4 (#146)

2 years agofeat: support unix sockets (#145)
sigoden [Fri, 11 Nov 2022 00:57:44 +0000 (08:57 +0800)]
feat: support unix sockets (#145)

2 years agofix: panic on PROPFIND // (#144)
sigoden [Thu, 10 Nov 2022 11:28:01 +0000 (19:28 +0800)]
fix: panic on PROPFIND // (#144)

2 years agofix: status code for MKCOL on existing resource (#142)
Aneesh Agrawal [Thu, 10 Nov 2022 10:41:10 +0000 (05:41 -0500)]
fix: status code for MKCOL on existing resource (#142)

* Fix status code for MKCOL on existing resource

Per https://datatracker.ietf.org/doc/html/rfc4918#section-9.3.1,
MKCOL should return a 405 if the resource already exists.

Impetus for this change:
I am using dufs as a webdav server for [Joplin](https://joplinapp.org/)
which interpreted the previous behavior of returning a 403 as an error,
preventing syncing from working.

* add test

Co-authored-by: sigoden <sigoden@gmail.com>
2 years agofix: don't search on empty query string (#140)
David Politis [Thu, 10 Nov 2022 10:02:55 +0000 (21:02 +1100)]
fix: don't search on empty query string (#140)

* fix: don't search on empty query string

* refactor

Co-authored-by: sigoden <sigoden@gmail.com>
2 years agochore: cargo clippy
sigoden [Thu, 10 Nov 2022 07:38:35 +0000 (15:38 +0800)]
chore: cargo clippy

3 years agofix: auth not works with --path-prefix (#138)
sigoden [Sat, 8 Oct 2022 01:14:42 +0000 (09:14 +0800)]
fix: auth not works with --path-prefix (#138)

close #137

3 years agochore: improve readme
sigoden [Fri, 9 Sep 2022 13:43:40 +0000 (21:43 +0800)]
chore: improve readme