Commit graph

27 commits

Author SHA1 Message Date
hexxa
2b55d5c159 fix(files): cleanups 2021-08-20 09:56:21 -05:00
hexxa
cf3332a22f fix(files): incorrect field alias 2021-08-20 09:56:21 -05:00
hexxa
80d54f42a1 feat(files/sharing): refactor sharing apis with tests 2021-08-20 09:56:21 -05:00
hexxa
43f2507428 feat(files): add isSharing api 2021-08-20 09:56:21 -05:00
hexxa
839d7f43bc test(files/quota): add e2e tests 2021-08-17 02:22:24 -05:00
hexxa
41654e36d0 feat(files): enable space limit 2021-08-17 02:22:24 -05:00
hexxa
55764efd40 test(files): fix e2e tests 2021-08-15 05:14:57 -05:00
hexxa
7b2c185686 fix(files): use name as home dir 2021-08-15 05:14:57 -05:00
hexxa
7752733fb9 feat(files): disallow normal users to access home dir 2021-08-13 05:00:09 -05:00
hexxa
df0264ecfd feat(sharing): enable APIs for sharing 2021-08-13 05:00:09 -05:00
hexxa
f986015c0b fix(fe/be): clean up and enable quota in ui 2021-08-08 21:32:43 -05:00
hexxa
cdd15be4aa feat(files): enable limiter for download 2021-08-08 21:32:43 -05:00
hexxa
fd5da3db37 feat(files): enable upload limiter 2021-08-08 21:32:43 -05:00
Hexxa
021e5090be
feat(): refactor uploader (#68)
* chore(src): delete unused codes

* fix(client/worker): refactor uploading part and fix issues

* fix(ui/worker): rename fg worker file name

* fix(ui/worker): cleanups

* feat(ui/uploader): switch from file_uploader to chunk_uploader with tests

* fix(ui/worker): clean up code
2021-08-05 11:00:51 +08:00
Hexxa
aefaca98b3
feat(admin): enable multi-users (#67)
* feat(userstore): support ListUsers

* feat(userstore): support del users

* feat(multiusers): support list users and delete user apis

* feat(client/web): add new apis to web client

* fix(ui/panes): move each pane out of the container

* feat(ui): add admin pane

* feat(users): support force set password api

* feat(ui/admin-pane): add functions to admin pane

* feat(users): support self API and move uploading folder to home

* fix(users): remove home folder when deleting user

* fix(ui): remove useless function

* feat(ui/panes): hide admin menu if user is not admin

* fix(server/files): list home path is incorrect

* fix(server): 1.listHome return incorrect cwd 2.addUser init folder with incorrect uid 3.check ns before using

* test(server): add regression test cases

* test(users, files): add e2e test for concurrent operations

* fix(test): clean ups
2021-07-31 10:59:33 +08:00
Hexxa
81da97650b
feat(multi-home): enable separated home dir for each user (#64)
* feat(files): make files service supporting home dir

* fix(files): add path access control and avoid redirecting path in the backend

* feat(files): add ListHome API

* fix(server): fix access control issues

* feat(client/web): support multi-home

* feat(server): cleanup

* fix(server): failed to init admin folder
2021-07-25 10:05:36 +08:00
Hexxa
10c13f5ad8
[files] auto rename file if there is a duplicated one (#56) 2021-05-20 15:59:36 +08:00
Hexxa
8b5a80f766
fix(server/files): fix Content-Disposition is not set (#46)
* fix(server/files): fix Content-Disposition is not set

* test(header): check content disposition header
2021-04-21 11:38:59 +08:00
Hexxa
a9ccb4506c
Fix append (#43)
* fix(fs/local): remove O_APPEND for write_at

* fix(files): clean download api

* chore(workflows): add manual dispatch for docker

* test(files): close fd in the progress of uploading
2021-03-19 23:00:22 +08:00
Hexxa
9b2157ac6a
feat(log): tee logs to file and stdout (#42) 2021-03-06 10:44:24 +08:00
Hexxa
b0d1cdccfc
fix(docker): add dockfile and small fixes (#38)
* fix(docker): add dockfile and small fixes

* chore(readme): small fixes
2021-02-01 21:36:56 +08:00
Hexxa
31e4850344
feat(client/worker): support web work in frontend with fallback (#31)
* feat(client/web): add upload mgr

* feat(uploader): move uploader to worker

* feat(upload_mgr): use native worker for uploading

* fix(upload_mgr): fix uploading stop not working

* chore(client/web): cleanups

* test(upload.worker): add unit test for upload.worker

* feat(worker): add foreground upload worker

* chore(uploader): turn down the speedup
2021-01-26 22:25:15 +08:00
Hexxa
67c07cc81f
feat(files): add uploadings api (#30)
* fix(uploader, files/handlers): fix incorrect unlock, catch and check after calling api

* fix(uploader): fix uploader test

* feat(files): add uploadings api

* fix(files): register uploading handlers to api

Co-authored-by: Jia He <jiah@nvidia.com>
2021-01-11 22:57:02 +08:00
Hexxa
cb26003b99
fix(uploader, files/handlers): fix incorrect unlock, catch and check error after calling api (#26)
* fix(uploader, files/handlers): fix incorrect unlock, catch and check after calling api

* fix(uploader): fix uploader test
2020-12-21 23:20:06 +08:00
Hexxa
ba6a5373d1
Web client refinement (#16)
* fix(files/handler): add base64 decode for content

* fix(singleuser): pick user name from jwt token and encode content

* fix(singleuser): add public path check, abstract user info from token

* fix(singleuser): update singleuser client

* fix(server): fix test and enable auth by default

* feat(client/web): add web client

* fix(client/web): refine css styles

* fix(client/web): refine styles

* fix(client/web): refine styles, add test and fix bugs

* test(client/web): add web client tests

* fix(client/web): refactor client interface and enhance the robustness

* chore(client/web): ignore js bundles

* test(files): call sync before check

Co-authored-by: Jia He <jiah@nvidia.com>
2020-12-16 23:39:26 +08:00
hexxa
0265baf1b1 test(files, users): add e2e test and fix issues 2020-12-10 22:22:38 +08:00
hexxa
83100007e3 feat(qs2) add qs2 framework 2020-12-05 10:30:03 +08:00