Commit Graph

326 Commits

Author SHA1 Message Date
darkskygit
556956ced2
feat: update ppt prompt (#7446) 2024-07-08 08:11:31 +00:00
darkskygit
bf6c9a5955
feat: add prompt level config (#7445) 2024-07-08 08:11:22 +00:00
forehalo
9ef8829ef1
feat(server): add lifetime plan flag (#7443) 2024-07-08 07:41:30 +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
e8285289fe
feat: improve histories query for forked session (#7414) 2024-07-03 04:49:19 +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
forehalo
bd9cb41f8a
fix(server): websocket error backward compatibility (#7346) 2024-06-26 12:22:33 +00:00
darkskygit
cffaf815e1
feat: add more workflow executor (#7231) 2024-06-25 10:54:16 +00:00
darkskygit
fe89ecb1d3
feat: workflow executor (#7159)
fix AFF-1221 AFF-1232
2024-06-25 08:40:47 +00:00
forehalo
7b3673ae82
chore: assign todos (#7297) 2024-06-21 07:54:14 +00:00
forehalo
aa124638bc
fix(server): invalidate old user avatar when updated (#7285)
fix CLOUD-41
2024-06-20 12:25:10 +00:00
forehalo
d34c5c42ef
feat(server): allow customize server external url (#7270)
closes https://github.com/toeverything/AFFiNE/issues/7252
2024-06-19 12:03:36 +00:00
L-Sun
fa1e7c6be0
fix: cycle import (#7264)
Sometimes the GitHub Action (Lint) will fail.
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/MyRfgiN4RuBxJfrza3SG/b567d983-14de-4002-bebf-1eb1e9635ee0.png)
2024-06-19 05:19:17 +00:00
EYHN
390852f8be
chore(server): lint ignore error gen file (#7245) 2024-06-18 08:48:19 +00:00
Brooooooklyn
0fe672efa5
feat(admin): init project (#7197) 2024-06-18 06:01:13 +00:00
forehalo
d216606193
fix(server): wrong doc manager config (#7239) 2024-06-18 05:17:18 +00:00
liuyi
54fc1197ad
feat(server): introduce user friendly server errors (#7111) 2024-06-17 11:30:58 +08:00
forehalo
41bc683eed
fix(server): should update stripe customer email if changed (#7181) 2024-06-08 15:52:23 +00:00
darkskygit
ca9a16b728
feat: add workflow resolver (#7123)
fix AFF-1166
2024-06-07 05:53:45 +00:00
darkskygit
44b0ea2b6c
feat: no branches workflow support (#7119)
fix AFF-1165 AFF-1164
2024-06-07 05:53:39 +00:00
darkskygit
b75da1f3e0
fix: handle unexpected fal response (#7158) 2024-06-07 05:41:25 +00:00
darkskygit
928e133655
fix: customer create at (#7132) 2024-06-05 08:01:12 +00:00
darkskygit
a5f9bfdda9
fix: gql result check for clean history (#7154) 2024-06-05 07:49:40 +00:00
darkskygit
db0837936a
feat: fetch fal stream correctly (#7141) 2024-06-04 09:30:11 +00:00
forehalo
01fc1ea835
fix(server): selfhost fixes (#7140)
fixes #6708, fixes #7139
2024-06-04 08:42:25 +00:00
forehalo
06534bbc06
chore(server): register user management resolver (#7118) 2024-06-03 06:52:19 +00:00
forehalo
c96fb46751
feat(core): adjust admin panel style (#7116) 2024-05-31 10:43:30 +00:00
pengx17
1b633b5135
chore: update prompt (#7117)
fix AFF-1198
2024-05-31 10:04:42 +00:00
forehalo
622239fd41
fix(server): runtime config overrides won't affect static startup (#7110) 2024-05-30 09:11:34 +00:00
forehalo
d853fc879d
fix(server): deal with nested optional modules (#7101) 2024-05-29 08:12:59 +00:00
forehalo
bffbb1ea9f
feat(server): add users management api (#7092) 2024-05-29 08:02:26 +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
Tao Chen
e417c4cd44
fix(server): OIDC bug (#7061) 2024-05-28 18:19:37 +08:00
darkskygit
40b35b7bc2
chore: update prompts (#7091) 2024-05-28 08:07:12 +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
doouding
0dd0432531
fix(server): update mind map prompt (#7079) 2024-05-27 12:01:45 +00:00
forehalo
aff166a0ef
feat(server): add administrator feature (#6995) 2024-05-27 11:17:21 +00:00
darkskygit
5ba9e2e9b1
fix: choose provider correctly (#7081)
fix no provider error in caption generate action
2024-05-27 09:57:39 +00:00
Chen
919e40f28e
feat: support more ai image actions (#7027) 2024-05-24 18:35:32 +08:00
darkskygit
0302a85585
feat: add customer event (#7029) 2024-05-24 08:40:33 +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
0c42849bc3
feat: update i2i model (#7041) 2024-05-23 14:27:12 +00:00
darkskygit
535254fdf6
feat: adapt new fal response (#7042) 2024-05-23 10:43:12 +00:00
darkskygit
f511b02bf9
fix: use flexible year number in mail template (#7033)
close #7010
2024-05-23 07:08:02 +00:00
darkskygit
f8fee55b3d
fix: combine message correctly (#7038) 2024-05-23 06:16:31 +00:00
forehalo
29e7fa1371
chore(server): cleanup expired sessions (#7018) 2024-05-22 03:31:41 +00:00
darkskygit
df73b6ddc7
feat: revoke token after sensitive operations (#6993)
fix #6914
2024-05-20 06:38:48 +00:00