Commit graph

22 commits

Author SHA1 Message Date
sigoden de0614816a
refactor: propfind with auth no need to list all (#344) 2024-01-11 16:10:10 +08:00
sigoden af347f9cf0
feat: auth supports forbidden permissions (#329) 2023-12-23 18:36:46 +08:00
sigoden 77f86a4c60
fix: auth precedence (#325) 2023-12-21 17:28:13 +08:00
sigoden 37800f630d
refactor: change the format of www-authenticate (#312) 2023-12-07 15:04:14 +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 d3de3db0d9
feat: support hashed password (#283) 2023-11-04 18:12:58 +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 9545fb6e37
fix: ui readonly if no write perm (#258) 2023-08-24 18:32:34 +08:00
sigoden 6be36b8e51
fix: webdav only see public folder even logging in (#231) 2023-06-05 11:40:31 +08:00
sigoden 57b4a74279
fix: auth logic (#224) 2023-06-02 18:38:59 +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 c92e45f2da
fix: basic auth sometimes does not work (#194) 2023-03-12 12:58:36 +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
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 628d863d2e chore: improve code quanity 2022-12-11 15:18:44 +08:00
sigoden dbf2de9cb9
fix: auth not works with --path-prefix (#138)
close #137
2022-10-08 09:14:42 +08:00
sigoden 604cbb7412
feat: check permission on move/copy destination (#93) 2022-07-04 23:25:05 +08:00
Joe Koop deb6365a28
feat: added basic auth (#60)
* some small css fixes and changes

* added basic auth
https://stackoverflow.com/a/9534652/3642588

* most tests are passing

* fixed all the tests

* maybe now CI will pass

* implemented sigoden's suggestions

* test basic auth

* fixed some little things
2022-06-20 11:25:09 +08:00
sigoden 9c2e9d1503
feat: path level access control (#52)
BREAKING CHANGE: `--auth` is changed, `--no-auth-access` is removed
2022-06-19 11:26:03 +08:00
sigoden 471bca86c6
test: add integration tests (#36) 2022-06-12 08:43:50 +08:00