Commit graph

606 commits

Author SHA1 Message Date
dependabot[bot]
d9cb6a52e1 chore(deps): bump @babel/traverse from 7.17.3 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.17.3 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 22:49:53 +08:00
dependabot[bot]
4f05d19e0d chore(deps): bump postcss from 8.4.12 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.12 to 8.4.31.
- [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/8.4.12...8.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 22:48:34 +08:00
dependabot[bot]
1257250d3c chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-19 22:47:34 +08:00
dependabot[bot]
984595f565 chore(deps): bump word-wrap from 1.2.3 to 1.2.4
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 21:04:03 +08:00
Youssef Eddaif
d3bb03af40 chore(heandlers/util): refactor response methods
Changes:
- The repeated code that checks if the status code is valid has been moved into a separate function to avoid duplication.
- Rather than looking up the status code from a map, you can check if the code is a valid HTTP status code directly.
2023-08-01 21:03:20 +08:00
dependabot[bot]
41a4c05801 chore(deps): bump tough-cookie from 4.0.0 to 4.1.3
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.0.0 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.0.0...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 21:17:30 +08:00
dependabot[bot]
095a7e8729 chore(deps): bump semver from 6.3.0 to 6.3.1
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 21:17:21 +08:00
dependabot[bot]
9674091994 chore(deps): bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-30 19:44:23 +08:00
dependabot[bot]
446ae87715 chore(deps): bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.2...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-06 10:41:25 +08:00
dependabot[bot]
72bf31a1e2 chore(deps-dev): bump webpack from 5.70.0 to 5.76.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.70.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.70.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-18 23:11:00 +08:00
dependabot[bot]
259318a346 chore(deps): bump golang.org/x/net from 0.6.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-08 20:59:26 +08:00
hexxa
d84ce95799 chore(readme): update backward compatibility status 2023-03-05 10:53:38 +08:00
hexxa
3b320cd7d3 fix(db): open sqlite with correct driver 2023-03-05 10:53:38 +08:00
dependabot[bot]
b0c8aa284e chore(deps): bump loader-utils from 2.0.2 to 2.0.4
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-11 13:58:12 +08:00
hexxa
f805fd0eb8 fix(cd): remove demo and staging workflows 2023-02-11 13:44:26 +08:00
hexxa
163eb104b6 fix(dep): upgrade gin to v1.8.2 2023-02-11 13:44:26 +08:00
hexxa
cc7840516d fix(db): migrate to modernc sqlite driver 2023-02-11 13:44:26 +08:00
hexxa
dd3ef8f908 feat(rdb): add base store implementation 2022-10-11 19:43:47 +08:00
hexxa
c1546181c1 fix(rdb): use base store implementation for sqlite store 2022-10-11 19:43:47 +08:00
hexxa
1b39b7ebf7 fix(server): e2e tests fails because db interface is updated 2022-10-11 19:43:47 +08:00
hexxa
2b50c84273 fix(rdb): add id column for file info, sharing info tables 2022-10-11 19:43:47 +08:00
hexxa
033c2bc316 fix(ci): update go docker version 2022-09-25 12:14:55 +08:00
hexxa
42ad19257c test(server): add init tests 2022-09-25 12:14:55 +08:00
hexxa
02740bae37 fix: remove bolt db stores 2022-09-25 12:14:55 +08:00
hexxa
f637781d4d fix(server): fix config test 2022-09-25 12:14:55 +08:00
hexxa
b54275771e fix(server): add initer 2022-09-25 12:14:55 +08:00
hexxa
becfa688aa fix(server): clean up handlers initing 2022-09-25 12:14:55 +08:00
hexxa
81e97bdd55 fix(db): add sqlite store back with some fixes 2022-09-25 12:14:55 +08:00
hexxa
5cae5be837 feat(db): add default rdb layer 2022-09-25 12:14:55 +08:00
hexxa
61757aff4a fix(server): skip initing users if inited 2022-09-25 12:14:55 +08:00
hexxa
4f6683de03 fix(server): 1.replace bolt with sqlite in config 2.add hardcoded listing roles 2022-09-25 12:14:55 +08:00
hexxa
d97451653e fix(sqlite): add indexes and unique constraint 2022-09-25 12:14:55 +08:00
hexxa
df5c820c68 fix(files): add location to file info 2022-09-25 12:14:55 +08:00
hexxa
b226bc6f9f fix(db): db interfaces should be updated in tests 2022-09-25 12:14:55 +08:00
hexxa
ce77eb7534 test(server): fix bugs and tests 2022-09-25 12:14:55 +08:00
hexxa
4265ab593e fix(config): remove rdb config 2022-09-25 12:14:55 +08:00
hexxa
085a3e4e10 feat(handlers): replace boltdb with sqlite in handlers 2022-09-25 12:14:55 +08:00
hexxa
791848f75c feat(db): replace boltdb with sqlite 2022-09-25 12:14:55 +08:00
hexxa
59a39efc4a feat(db): enable sqlite for storing users 2022-09-25 12:14:55 +08:00
hexxa
f95a611204 feat(rdb): add sqlite as a dependency 2022-09-25 12:14:55 +08:00
hexxa
cb478ca266 chore(single_user): delete single user handlers 2022-08-26 20:24:59 +08:00
hexxa
d0a8a6d43a test(server: add rounds for concurrency test 2022-08-26 20:24:59 +08:00
hexxa
a36ef5f98f test(files): add mockClient 2022-08-24 19:43:36 +08:00
hexxa
d293ed52cc test(server): add basic benchmark test 2022-08-24 19:43:36 +08:00
hexxa
86a29d632c chore: remove gitter badge from the readme 2022-08-22 22:11:46 +08:00
hexxa
cc9355d630 fix(files): avoid overwriting lock failed error 2022-08-20 10:45:41 +08:00
hexxa
f68b5532ec chore: use gif 2022-08-17 20:39:25 +08:00
hexxa
24b1cc05cc chore(readme): add video 2022-08-17 20:39:25 +08:00
hexxa
060638de3a chore: add initFileIndex config 2022-08-12 20:00:00 +08:00
hexxa
aeb9d26bbd feat(server): add flag for skipping indexing in launching 2022-08-12 20:00:00 +08:00