darkskygit
935771c8a8
feat(server): make captcha modular ( #5961 )
2024-09-03 09:03:51 +00:00
forehalo
8b0afd6eeb
refactor(server): auth ( #7994 )
2024-09-03 09:03:39 +00:00
darkskygit
d93d39e29d
feat: add editor record ( #7938 )
...
fix CLOUD-58, CLOUD-61, CLOUD-62, PD-1607, PD-1608
2024-09-02 09:37:39 +00:00
darkskygit
dde45748d9
feat: filter out empty workpace in sidebar list ( #7960 )
...
fix PD-1567
2024-08-28 08:43:44 +00:00
forehalo
e20bdbf925
feat(server): make server storage adapters ( #7902 )
2024-08-21 05:30:26 +00:00
forehalo
624f3514fc
feat(server): make permission a standalone module ( #7880 )
2024-08-15 10:01:52 +00:00
forehalo
0ba516866f
fix(server): change password with token should be public ( #7855 )
2024-08-14 03:34:35 +00:00
DarkSky
24c34eb3fc
fix: admin panel schema ( #7851 )
2024-08-13 09:16:56 +00:00
forehalo
0ec1995add
fix(admin): organize admin panel ( #7840 )
2024-08-13 14:51:54 +08:00
JimmFly
b214003968
feat(admin): add prompt management page ( #7611 )
...
close AF-907
Supports online modification of prompt, but does not support custom ai key yet

2024-08-13 14:51:54 +08:00
JimmFly
ccf225c8f9
feat(admin): add self-host setup and user management page ( #7537 )
2024-08-13 06:11:03 +00:00
darkskygit
0acc1bd9e8
chore: cleanup outdated model & upgrade model ( #7739 )
2024-08-05 10:13:33 +00:00
liuyi
fcf0ecbaa2
feat(server): runtime service config ( #7644 )
2024-07-30 14:58:24 +08:00
forehalo
dddbfe6473
feat(server): setup api for selfhost deployment ( #7569 )
2024-07-23 10:39:34 +00:00
DarkSky
dcb9d75db7
feat: allow sort and filter forked session ( #7519 )
2024-07-18 11:08:47 +08:00
darkskygit
bf6c9a5955
feat: add prompt level config ( #7445 )
2024-07-08 08:11:22 +00:00
forehalo
de91027852
feat(server): support lifetime subscription ( #7405 )
...
closes CLOUD-48
- [x] lifetime subscription quota
- [ ] tests
2024-07-08 07:41:26 +00:00
darkskygit
61870c04d0
feat: fork session support ( #7367 )
2024-07-03 03:10:09 +00:00
darkskygit
aeb666f95e
feat: integrate i18n error for copilot ( #7311 )
...
fix PD-1333 CLOUD-42
2024-06-26 13:36:23 +00:00
liuyi
54fc1197ad
feat(server): introduce user friendly server errors ( #7111 )
2024-06-17 11:30:58 +08:00
darkskygit
a5f9bfdda9
fix: gql result check for clean history ( #7154 )
2024-06-05 07:49:40 +00:00
forehalo
06534bbc06
chore(server): register user management resolver ( #7118 )
2024-06-03 06:52:19 +00:00
forehalo
4b30fbc1e2
feat(server): add copilot prompts management api ( #7082 )
2024-05-28 13:14:17 +00:00
darkskygit
1a269a4b52
fix: missing quota resolver ( #7094 )
2024-05-28 12:05:49 +00:00
forehalo
638fc62601
feat(server): runtime setting support ( #5602 )
...
---
<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev ">Graphite</a>)</summary>
> ## TL;DR
> This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations.
>
> ## What changed
> - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`.
> - Added a new model `ApplicationSetting` with properties `key` and `value`.
> - Added a new module `RuntimeSettingModule` that exports the `Runtime` service.
> - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations.
> - Modified the `app.module.ts` file to import the `RuntimeSettingModule`.
> - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service.
> - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation.
> - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service.
>
> ## How to test
> 1. Run the migration script to create the `application_settings` table.
> 2. Use the `Runtime` service to get, set, and update runtime configurations.
> 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service.
>
> ## Why make this change
> This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application.
</details>
2024-05-28 06:43:53 +00:00
forehalo
aff166a0ef
feat(server): add administrator feature ( #6995 )
2024-05-27 11:17:21 +00:00
darkskygit
937b8bf166
feat: history cleanup ( #7007 )
...
fix AFF-1069
2024-05-24 08:00:05 +00:00
Tao Chen
22a8a2663e
feat(server): add OIDC for AFFiNE ( #6991 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
Co-authored-by: DarkSky <darksky2048@gmail.com >
2024-05-24 00:35:30 +08:00
darkskygit
8194cb7773
chore: update prompts ( #6782 )
2024-05-06 12:42:12 +00:00
forehalo
94de6f5853
fix(server): always return created timestamp of chat messages ( #6658 )
2024-04-22 08:39:42 +00:00
forehalo
098e717688
chore(server): remove useless free subscription enum ( #6634 )
2024-04-19 13:34:59 +00:00
darkskygit
b3b9e9a056
chore: cleanup outdated api ( #6604 )
2024-04-18 14:42:46 +00:00
soumyasen10
19f8407d7f
fix: disable default save page as ( #6548 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2024-04-18 16:19:03 +08:00
DarkSky
ccb3bed91e
feat: add blob upload support for copilot ( #6584 )
2024-04-17 14:05:38 +00:00
liuyi
e53d5e2e3d
chore(server): clean up throttler ( #6326 )
2024-04-17 16:32:26 +08:00
EYHN
06fda3b62c
feat(infra): framework
2024-04-17 15:09:09 +08:00
forehalo
e1c292b8b5
feat(server): support registering ai early access users ( #6565 )
2024-04-16 13:54:08 +00:00
darkskygit
1b0864eb60
feat: check quota correctly ( #6561 )
2024-04-16 09:41:48 +00:00
darkskygit
e77475aca5
feat: detailed copilot histories ( #6523 )
2024-04-12 08:39:32 +00:00
DarkSky
db1206dbd5
fix: re-create session should skip rewrite messages ( #6513 )
2024-04-11 12:22:45 +08:00
darkskygit
9f349a2300
feat: text to image impl ( #6437 )
...
fix CLOUD-18
fix CLOUD-28
fix CLOUD-29
2024-04-10 12:13:39 +00:00
darkskygit
7c38a54f81
feat: copilot controller ( #6272 )
...
fix CLOUD-27
2024-04-10 11:58:40 +00:00
darkskygit
e6a576551a
feat: add copilot impl ( #6230 )
...
fix CLOUD-22
fix CLOUD-24
2024-04-10 11:15:32 +00:00
CatsJuice
3e9e2ce93b
feat(core): pricing plans ai subscription ui ( #6449 )
2024-04-03 08:04:30 +00:00
darkskygit
593161dccb
feat: basic copilot plugin implement ( #6229 )
...
fix CLOUD-25
2024-04-02 07:04:49 +00:00
fundon
8ee9f6ec05
chore: improve password error message ( #6255 )
...
chore: improve error message
chore: add password minlength & maxlength i18n
chore: check max length
fix: i18n variables
feat: add CredentialsRequirementType
2024-03-26 07:15:06 +00:00
Brooooooklyn
10af0ab48d
feat(server): support ai plan ( #6216 )
2024-03-22 08:39:18 +00:00
Brooooooklyn
aecc523663
fix(server): avoid error when other prices added but logic is not released ( #6191 )
2024-03-22 08:39:12 +00:00
Peng Xiao
dd9a253772
feat(core): add split view to experimental features settings ( #6093 )
2024-03-14 05:13:04 +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