Commit graph

72 commits

Author SHA1 Message Date
hexxa
99607c66bc fix(ui/core_state): move userRole to login domain 2021-08-27 10:57:09 -05:00
hexxa
794b14c4d4 fix(ui/client): client issues 2021-08-27 10:57:09 -05:00
hexxa
cff7ce6af4 fix(ui/admin): fix SetUser related issues 2021-08-27 10:57:09 -05:00
hexxa
bd6f961d03 fix(ui/topbar): admin panel is not refreshed in loading 2021-08-27 10:57:09 -05:00
hexxa
c2673cd416 feat(client): support SetUser api 2021-08-27 10:57:09 -05:00
hexxa
f2dd36c630 test(ui): refactor all tests 2021-08-27 10:57:09 -05:00
hexxa
dc3783a091 feat(state_mgr): support set clients 2021-08-27 10:57:09 -05:00
hexxa
9b67a85d97 fix(ui): refactor core state into a flat structure 2021-08-27 10:57:09 -05:00
hexxa
8013c401f3 fix(dep): fix cve issues 2021-08-22 09:29:34 -05:00
hexxa
19a635a4b5 chore(ui): remove unused code 2021-08-22 09:29:34 -05:00
hexxa
ee056aa193 fix(updater): merge all updater as one updater 2021-08-22 09:29:34 -05:00
hexxa
369b769952 chore(ui): remove unused code 2021-08-20 22:40:48 -05:00
hexxa
8151535e9d fix(ui): resolve cves 2021-08-20 22:40:48 -05:00
hexxa
41f1cb0ff8 chore(ui): resolve CVEs 2021-08-20 22:40:48 -05:00
hexxa
3760c137dc fix(files): fix incorrect mock interface 2021-08-20 09:56:21 -05:00
hexxa
0a8c3e77a2 fix(ui): add sharing url and fix several issues 2021-08-20 09:56:21 -05:00
hexxa
b89ad2765e fix(ui/browser): incorrect async operation order 2021-08-20 09:56:21 -05:00
hexxa
101d47b2f7 fix(state_mgr): incorrect state init 2021-08-20 09:56:21 -05:00
hexxa
752768a916 feat(ui): support sharing 2021-08-20 09:56:21 -05:00
hexxa
86474e044f feat(client): support sharing api 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
921a7c1ef9 fix(ui/admin_pane): fix hr color 2021-08-15 07:31:45 -05:00
hexxa
fe6352c78d fix(ui/admin_pane): change id, name layout 2021-08-15 07:31:45 -05:00
hexxa
cdc0ed03f8 fix(ui/admin_pane): fix user pane layout 2021-08-15 07:31:45 -05:00
hexxa
ffc62023e8 feat(ui/quota): add ui for quota 2021-08-15 07:31:45 -05:00
hexxa
b1a723be21 test(files/sharings): add e2e tests 2021-08-13 05:00:09 -05:00
dependabot[bot]
834c577a71 chore(deps): bump path-parse from 1.0.6 to 1.0.7 in /src/client/web
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 02:47:00 -05:00
hexxa
f986015c0b fix(fe/be): clean up and enable quota in ui 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
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
916ec7c2dc
fix(ui): fix layout of list & pane (#66)
* fix(ui): refine pane layout

* fix(test): add pane_admin component
2021-07-25 16:19:57 +08:00
Hexxa
df46915147
fix(client/web): refine list layout (#65) 2021-07-25 10:19:23 +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
dependabot[bot]
1680c5cb2f
chore(deps): bump acorn from 6.1.1 to 6.4.2 in /src/client/web (#61)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.1 to 6.4.2.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.1.1...6.4.2)

---
updated-dependencies:
- dependency-name: acorn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 14:56:35 +08:00
dependabot[bot]
6f595c446d
chore(deps): bump ws from 6.2.1 to 6.2.2 in /src/client/web (#60)
Bumps [ws](https://github.com/websockets/ws) from 6.2.1 to 6.2.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/commits)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-16 13:51:56 +08:00
dependabot[bot]
c9ddea88e4
chore(deps): bump browserslist from 4.5.6 to 4.16.6 in /src/client/web (#58)
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.5.6 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.5.6...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 16:57:14 +08:00
Hexxa
047e3a8601
fix(client/web): remove css loader (#57) 2021-05-21 15:19:28 +08:00
dependabot[bot]
884f255e2d
chore(deps): bump postcss from 7.0.16 to 8.2.15 in /src/client/web (#55)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.16 to 8.2.15.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.16...8.2.15)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-20 15:50:08 +08:00
Hexxa
2ba04bfea9
[client/web] upgrade css-loader (#54) 2021-05-18 17:11:57 +08:00
dependabot[bot]
36844eb2e0
chore(deps): bump lodash from 4.17.20 to 4.17.21 in /src/client/web (#52)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 14:48:36 +08:00
dependabot[bot]
d7d91bc114
chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9 in /src/client/web (#51)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 14:48:05 +08:00
dependabot[bot]
79f0473ad3
chore(deps): bump ssri from 6.0.1 to 6.0.2 in /src/client/web (#48)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 18:07:19 +08:00
dependabot[bot]
85109ace26
chore(deps): bump y18n from 4.0.0 to 4.0.1 in /src/client/web (#44)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-21 13:19:44 +08:00
Hexxa
76334b808d
fix(client/worker): incorrect uploading list filtering logic (#39) 2021-02-02 12:02:32 +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
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
ede6c239f0
chore(ci/cd): refine scripts and docs (#36)
* chore(ci/cd): refine scripts and docs

* text(server): fix incorrect server port
2021-01-30 22:03:59 +08:00