Commit graph

43 commits

Author SHA1 Message Date
hexxa
711a3a874f feat(error_reporting): integrate error reporting 2021-12-30 10:49:41 +08:00
hexxa
7577fb0ace feat(be/settings): add api for reporting client error 2021-12-30 10:49:41 +08:00
hexxa
f587c6cc36 fix(userstore): check compatibility and try to fix issues 2021-11-07 13:13:42 +08:00
hexxa
2497968b82 test(users): add e2e tests for preferences apis 2021-11-03 14:02:21 +08:00
hexxa
961bafa66c feat(server): init site settings from config 2021-10-10 10:29:48 +08:00
hexxa
76cf1274af feat(settings): integrate settings handlers to server 2021-10-10 10:29:48 +08:00
hexxa
a7de2e6399 feat(db): add site store 2021-10-10 10:29:48 +08:00
hexxa
4d8a8999a5 fix(db): aggregate store pkgs under db dir 2021-10-10 10:29:48 +08:00
hexxa
5605839411 test(e2e): refine space limit tests 2021-10-05 19:27:48 +08:00
hexxa
52c8610271 feat(users): support predefined users 2021-09-17 23:13:49 +08:00
hexxa
5e8567d470 fix(fs): fix issues related to closing fd 2021-09-15 22:45:04 +08:00
hexxa
2dc156cd95 fix(cicd): refactor scripts for cicd 2021-09-14 16:38:40 +08:00
hexxa
04b39eff03 fix(server): use gocfg to get port 2021-09-14 16:38:40 +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
9cd6d6f84b feat(server): support SetUser api 2021-08-27 10:57:09 -05:00
hexxa
43f2507428 feat(files): add isSharing api 2021-08-20 09:56:21 -05:00
hexxa
df0264ecfd feat(sharing): enable APIs for sharing 2021-08-13 05:00:09 -05:00
hexxa
a96f552323 feat(deps, server): add FileInfoStore to deps 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
fd5da3db37 feat(files): enable upload limiter 2021-08-08 21:32:43 -05:00
Hexxa
1fcb2223a0
feat(be/fe): enable captcha (#69)
* feat(ui): enable captcha

* feat(server): enable captcha

* fix(ui): fix login pane layout

* fix(config): remove unused config and files

* fix(be/fe): clean up code

* chore(fe/be): clean up code
2021-08-07 11:27:24 +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
9748d0cab4
feat(users): add roles APIs (#63)
* feat(kvstore): add namespace operations for bool

* feat(userstore): add methods for roles

* chore(multiusers): remove useless todo

* feat(multiusers): add apis for roles

* test(roles): add e2e tests for role APIs

* test(e2e/files): enable files tests
2021-07-10 20:08:32 +08:00
Hexxa
4b6f6d9e1f
feat(server): Replace single-user service with muti-users service (#62)
* feat(svc/multiusers): add multi-users service

* test(multiusers): add unit tests for user store

* feat(multiusers): add multiusers service and refactor userstore

* feat(multiusers): add adduser api and tests

* feat(client): add adduser api
2021-07-10 16:59:59 +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
9b2157ac6a
feat(log): tee logs to file and stdout (#42) 2021-03-06 10:44:24 +08:00
Hexxa
c8a3f911e8
Release 0.3.0 (#37)
* chore(cicd): add build and start script

* fix(client/web): fix fail to reupload same file, avoid default worker

* test(client/web): add case for worker list filtering
2021-01-31 19:37:05 +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
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
472fe8dadb fix(test, travis): fix build and test error 2020-12-06 19:53:08 +08:00
hexxa
bcc8a34737 chore(server): add comments 2020-12-06 18:39:01 +08:00
hexxa
30a04d9130 fix(singleuser): should not print pwd if it is specified 2020-12-06 18:07:50 +08:00
hexxa
24adbcbe63 test(singleuser): add tests for singleuser apis 2020-12-06 14:32:45 +08:00
hexxa
2bcb337b4c feat(users): add init functions 2020-12-06 12:17:29 +08:00
hexxa
4d6e7ff938 fix(singleuser): fix bugs in single user handlers 2020-12-05 22:00:20 +08:00
hexxa
31a1a331f7 fix(args): change arg prodmode name 2020-12-05 10:35:07 +08:00
hexxa
83100007e3 feat(qs2) add qs2 framework 2020-12-05 10:30:03 +08:00
hexxa
6ae65fe09b feat(server, handler): add server and handler stubs 2020-11-26 20:24:18 +08:00