Commit Graph

17 Commits

Author SHA1 Message Date
darkskygit
3c01d944fb
feat: add prompt service (#6241)
fix CLOUD-19
2024-04-02 07:04:54 +00:00
Brooooooklyn
10af0ab48d
feat(server): support ai plan (#6216) 2024-03-22 08:39:18 +00:00
liuyi
573528be41
fix(server): user can not signup through oauth if ever invited (#6101) 2024-03-13 07:50:11 +00:00
liuyi
fb3a0e7b8f
refactor(server): auth (#5895)
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.

## Server

- [x] tokens
  - [x] function
  - [x] encryption

- [x] AuthController
  - [x] /api/auth/sign-in
  - [x] /api/auth/sign-out
  - [x] /api/auth/session
  - [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)

- [x] OAuthPlugin
  - [x] OAuthController
  - [x] /oauth/login
  - [x] /oauth/callback
  - [x] Providers
    - [x] Google
    - [x] GitHub

## Client

- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut

## NOTE:

Tests will be adding in the future
2024-03-12 10:00:09 +00:00
DarkSky
04ca554525
feat: add workspace feature tests (#5501) 2024-01-05 04:13:47 +00:00
DarkSky
77a5552dcd
feat: user usage init (#5074) 2023-12-13 09:21:14 +00:00
liuyi
8cc9a0b21b
feat(server): add soft deleted flag to optimized blob table (#5058)
requires https://github.com/toeverything/OctoBase/pull/561
2023-11-27 07:06:31 +00:00
liuyi
d1476495ae
feat(server): impl doc history (#5004) 2023-11-22 07:56:59 +00:00
liuyi
b7d6237c20
feat(server): add doc history support (#4970) 2023-11-22 03:31:22 +00:00
liuyi
f491ff94cc
refactor(server): separate page visibility from workspace permission (#4836) 2023-11-06 03:49:39 +00:00
LongYinan
581635f40b
Merge pull request #4709 from toeverything/61/doc-perf
perf(server): opmitize updates table
2023-10-30 09:27:19 +00:00
DarkSky
95c1a44a0d
Merge branch 'master' into payment-system 2023-10-30 01:55:51 -05:00
forehalo
98d0ac3c90
feat(server): add data migration system 2023-10-30 11:12:09 +08:00
forehalo
ef1228dcb4
perf(server): opmitize updates table 2023-10-24 17:54:59 +08:00
liuyi
858a1da35f
feat(core): impl billing settings (#4652) 2023-10-24 11:40:46 +08:00
forehalo
df054ac7f6
feat(core): payment backend 2023-10-24 11:40:44 +08:00
Joooye_34
bed9310519
refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00