Commit graph

62 commits

Author SHA1 Message Date
hexxa
826d472a96 feat(files): add search API and tests 2022-07-23 23:03:21 +08:00
hexxa
dff79ed87f feat(dep/fileindex): enable fileindex in file managing 2022-07-21 22:48:57 +08:00
hexxa
40cce63350 fix: tiny formatting and style fix 2022-04-05 18:23:33 +08:00
hexxa
0e77cfe335 fix(files): disable auto renaming and clean path from request 2022-04-03 20:19:13 +08:00
hexxa
b7609e6c06 fix(user_store): add checking and move some common vars 2022-03-26 13:11:38 +08:00
hexxa
9ff28ecce4 fix(files): sharing root folder is not allowed 2022-03-20 21:05:59 +08:00
hexxa
4dcd2c56ca feat(users) add async handler for reset used space 2022-03-10 17:59:50 +08:00
hexxa
406f908d9e fix(files): incorrect delete folder operation order 2022-03-05 19:42:29 +08:00
hexxa
652adba4ad test(files): add move folder test and clean code 2022-03-05 19:42:29 +08:00
hexxa
17b4544487 fix(files): add boltdb store and refactor files handlers 2022-03-05 19:42:29 +08:00
hexxa
044cdea1d4 fix(files): refactor upload mgr as upload info store 2022-03-05 19:42:29 +08:00
hexxa
693886f988 fix(files): add work around for calculating the used space 2022-03-05 19:42:29 +08:00
hexxa
0967ca53dc test(authz): refine authz tests 2022-02-24 22:35:53 +08:00
hexxa
d2d269171d test(auth): add permission tests for files and settings api 2022-02-23 22:43:09 +08:00
hexxa
cff87bdddd test(files): add permission tests for basic file operations, with some security fixes 2022-02-23 22:43:09 +08:00
hexxa
75c6f06a6d fix: fails to upload empty file 2022-01-29 14:36:38 +08:00
hexxa
f06c5f5a7d fix(fe): update query params and refactor initAll 2022-01-23 18:55:43 +08:00
hexxa
a378296980 feat(be/files): enable shareID for sharing APIs 2022-01-16 13:16:01 +08:00
hexxa
ff5e6db140 fix(fe/worker): refactor fe uploading functions to improve robustness 2022-01-06 11:21:27 +08:00
hexxa
4d8a8999a5 fix(db): aggregate store pkgs under db dir 2021-10-10 10:29:48 +08:00
hexxa
9c3a947795 fix(e2e): fix space test failed 2021-09-28 21:35:36 +08:00
hexxa
ffd8131dfd fix(files): used space is incorrect 2021-09-28 21:35:36 +08:00
hexxa
ec1bb36c21 feat: support refreshing hash 2021-09-26 11:53:33 +08:00
hexxa
2ccdf0e287 feat: enable sharing with visitor 2021-09-26 11:53:33 +08:00
hexxa
45da231c4d chore(files): remove print 2021-09-19 10:50:35 +08:00
hexxa
dc80778255 fix(fs): fd must be closed after deleting, renaming 2021-09-19 10:50:35 +08:00
hexxa
1b0bf9c5fd fix(files): fix fd closing issue 2021-09-16 21:31:26 +08:00
hexxa
5e8567d470 fix(fs): fix issues related to closing fd 2021-09-15 22:45:04 +08:00
hexxa
50f66704b1 fix(fs): fix fd leaking issue 2021-09-13 17:47:45 +08:00
hexxa
fb9de35e81 fix(files): fix small issues 2021-09-13 17:47:45 +08:00
hexxa
e462c349a5 fix(files): isSharing always return true 2021-09-13 17:47:45 +08:00
hexxa
4a5c68df17 fix(worker): refactor and fix issues of worker 2021-09-13 17:47:45 +08:00
hexxa
8518072c7e s 2021-09-13 17:47:45 +08:00
hexxa
e47ee4aa8c feat(workers): integrate workers to handlers 2021-09-13 17:47:45 +08:00
hexxa
d3bac9a47d fix(files): sharing path must exactly match 2021-08-27 10:57:09 -05:00
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