Commit Graph
100 Commits
Author SHA1 Message Date
liuyi 83a9beed83 fix(electron): app got deleted when auto update on windows (#7820) 2024-08-13 14:26:26 +08:00
forehalo 69c64b2fc2 fix(core): checkout event (#7844) 2024-08-13 03:35:38 +00:00
forehalo dc41ffbe2f chore(core): enable mixpanel ignore_dnt flag (#7841) 2024-08-13 03:35:37 +00:00
forehalo eef9afd3ed chore: bump base version to 0.16.0 2024-08-09 18:30:07 +08:00
forehalo f2eafc374c feat(server): authenticate user before ws connected (#7777) 2024-08-08 08:30:56 +00:00
liuyi d0f1bb24fd chore(core): replace with new track impl (#7735) 2024-08-06 09:15:15 +00:00
forehalo cc09085dc2 feat(core): make event track great again (#7695)
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/5c0ymolP9B7QStCsS1RP/6a3941d9-4409-4eda-987b-88ae41bd72d4.png)

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/5c0ymolP9B7QStCsS1RP/3e9cedec-5457-4e7a-9125-63aab7247cd2.png)
2024-08-06 08:39:29 +00:00
forehalo 4ec89ebd69 chore(server): standardize server db names and columns (#7674) 2024-07-31 07:59:23 +00:00
forehalo c6d4985cba fix: wrong public path for stable env (#7676) 2024-07-31 07:19:32 +00:00
liuyi fcf0ecbaa2 feat(server): runtime service config (#7644) 2024-07-30 14:58:24 +08:00
liuyi 67248316bd fix(core): scrolling break client style in bordered container (#7650) 2024-07-30 14:57:02 +08:00
liuyi dd47c14c65 fix(core): wrong padding position when ai panel is active (#7648) 2024-07-30 13:47:17 +08:00
forehalo 2b42f84815 ci: wrong installer version used (#7602) 2024-07-25 06:29:22 +00:00
forehalo 25b74467ce fix(server): create dev user (#7592) 2024-07-24 10:01:53 +00:00
forehalo dddbfe6473 feat(server): setup api for selfhost deployment (#7569) 2024-07-23 10:39:34 +00:00
forehalo 14fbeb7879 fix(server): should clean bill date if lifetime subscription (#7577) 2024-07-23 08:19:28 +00:00
liuyi 544236f1a0 fix: separate public domain for beta assets (#7550) 2024-07-19 12:45:26 +08:00
forehalo 90c00b6db9 Revert "fix(server): wrong usage of optl (#6714)"
This reverts commit 4868f6e611.
2024-07-19 11:31:01 +08:00
liuyi 9440dc8dd5 fix: separate beta and stable assets (#7543) 2024-07-18 10:32:40 +00:00
forehalo 133888d760 fix(core): remove useless logic of use favorite (#7533)
closes https://github.com/toeverything/AFFiNE/issues/7534
2024-07-18 08:08:24 +00:00
forehalo 4868f6e611 fix(server): wrong usage of optl (#6714) 2024-07-17 08:17:14 +00:00
forehalo b15294d80c chore(server): add mail metrics (#7514) 2024-07-16 03:22:47 +00:00
forehalo 024e5500f6 feat(infra): improve orm (#7475) 2024-07-12 04:25:59 +00:00
forehalo 2f441d9335 chore: clean up runtime flags and envs (#7454) 2024-07-11 02:05:31 +00:00
forehalo de4084495b chore(graphql): generate new schema 2024-07-08 17:21:21 +08: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
forehalo 7235779b02 fix(core): use uint53 as yjs client id (#7444) 2024-07-08 07:24:32 +00:00
liuyi 481a2269f8 chore: bump blocksuite (#7424) 2024-07-04 15:58:11 +08:00
liuyi 555f203be6 feat(core): run indexer in worker (#7418) 2024-07-04 15:37:26 +08:00
forehalo f0d127fa29 Revert "feat(core): run indexer in worker (#7295)"
This reverts commit c62d79ab14.
2024-07-03 10:16:27 +08:00
forehalo d51fd8b54b fix(core): correct image action icon (#7370)
fix AF-1002

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/5c0ymolP9B7QStCsS1RP/b2e7afb1-e6bf-4589-8c60-32bede366350.png)
2024-06-28 05:24:06 +00:00
forehalo ae230354c6 chore: bump base version to 0.15.0 2024-06-27 18:17:36 +08:00
liuyi 08fa356a02 fix(core): not found info in workspace page is not in center (#7362) 2024-06-27 10:15:21 +00:00
forehalo bd9cb41f8a fix(server): websocket error backward compatibility (#7346) 2024-06-26 12:22:33 +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 a557fd3277 fix(core): logger (#7289) 2024-06-20 12:11:22 +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
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
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
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
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
forehalo 29e7fa1371 chore(server): cleanup expired sessions (#7018) 2024-05-22 03:31:41 +00:00
forehalo 7041991967 fix(server): allow promotion codes if no discount applied (#6810) 2024-05-07 07:44:41 +00:00
forehalo d657f4091a fix(server): do not allow registration through gql (#6775) 2024-05-06 11:11:57 +00:00
forehalo 3ee794a8f2 fix(server): do not throttle healthy checking api (#6771) 2024-05-06 06:59:50 +00:00
forehalo cebb841430 feat(server): add flag to disable new sign ups (#6752) 2024-04-30 15:19:30 +00:00
forehalo f566457dcf test(server): payment tests (#6737) 2024-04-30 06:59:54 +00:00
forehalo a14194c482 fix(server): blob controller permission (#6746) 2024-04-30 03:47:00 +00:00
forehalo 2c228a35f8 fix(server): stripe webhook calls in random order (#6702) 2024-04-25 12:22:07 +00:00
forehalo 3297486e31 fix(server): skip throttle for currentUser (#6700) 2024-04-25 09:45:31 +00:00
forehalo a697ebe340 feat(core): orm (#6536) 2024-04-25 03:03:45 +00:00
forehalo 94de6f5853 fix(server): always return created timestamp of chat messages (#6658) 2024-04-22 08:39:42 +00:00
forehalo e8bcb75602 fix(server): use post request to consume magic link token (#6656) 2024-04-22 07:15:26 +00:00
forehalo 098e717688 chore(server): remove useless free subscription enum (#6634) 2024-04-19 13:34:59 +00:00
forehalo d9e6561762 feat(server): add created timestamp to history (#6607) 2024-04-18 07:06:47 +00:00
liuyi 07aeab6ac8 fix(server): app cannot start in graphql only flavor (#6598) 2024-04-17 18:29:04 +08:00
liuyi e53d5e2e3d chore(server): clean up throttler (#6326) 2024-04-17 16:32:26 +08:00
forehalo 651a99a48e fix(server): avoid store unpaid subscriptions 2024-04-17 16:25:03 +08:00
liuyi 5b315bfc81 fix(server): only returns active subscriptions (#6590) 2024-04-17 16:19:34 +08:00
forehalo ab17a05df3 fix(core): give page reference correct link (#6587) 2024-04-17 03:56:24 +00:00
forehalo 66a272fb8b fix(core): unable to redirect to same origin paths (#6586) 2024-04-17 03:25:31 +00:00
forehalo e1c292b8b5 feat(server): support registering ai early access users (#6565) 2024-04-16 13:54:08 +00:00
forehalo b01a8bb2ab fix(server): give s3 client a default request timeout (#6483) 2024-04-08 08:41:55 +00:00
liuyi edef9b2735 fix(server): only auto apply coupon in pro subscription (#6452) 2024-04-03 17:13:18 +08:00
liuyi 6fa4b7da54 feat(core): avoid popup window being blocked (#6451) 2024-04-03 16:50:09 +08:00
forehalo 2dc628eca5 fix(server): doc cache makes publish mode updating failed (#6444) 2024-04-03 03:34:01 +00:00
forehalo f69649c922 ci: separate image build to a standalone workflow (#6167) 2024-03-28 04:02:13 +00:00
forehalo 54c06777a6 fix(server): always set new session cookie (#6323) 2024-03-26 09:56:39 +00:00
forehalo 5637676222 fix(server): wrong import path (#6317) 2024-03-26 09:26:56 +00:00
liuyi b8e6d7d6cb chore(server): cache blob list result (#6297) 2024-03-26 14:23:47 +08:00
forehalo 1a1af83375 test(server): auth tests (#6135) 2024-03-26 02:24:17 +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
forehalo 540e456704 ci: set private key from env (#6239) 2024-03-21 10:09:26 +00:00
liuyi 4f5907766f fix(server): decode uri component before verify token (#6231) 2024-03-20 18:17:11 +08:00
liuyi 06a5b2e5a5 fix(server): wrong google oauth param (#6227) 2024-03-20 17:45:22 +08:00
liuyi 797e3c5b35 fix(server): do not force sign in password length (#6188)
hotfix
2024-03-19 10:58:34 +08:00
liuyi bba1a95f9c chore: bump base version to 0.14.0 (#6170) 2024-03-19 02:34:18 +00:00
liuyi 4702c1a9ca fix(server): inject correct locker to request scope mutex (#6140) 2024-03-19 02:16:35 +00:00
liuyi a4cd8d6ca3 chore(server): organize server configs (#6169) 2024-03-19 02:05:56 +00:00
liuyi a721b3887b fix(server): hotfix auth & doc push (#6168) 2024-03-18 16:32:35 +08:00
liuyi 268ca03f62 fix(server): ensure selfhost admin created after all data migrated (#6163)
fix #6154 

cp to canary
2024-03-18 11:43:12 +08:00
liuyi e94be8968b fix(server): hotfix (#6161) 2024-03-18 10:41:11 +08:00
liuyi 533c181640 feat(server): cleanup gateway code (#6118) 2024-03-15 02:00:40 +00:00
liuyi 79ffca314d feat(server): allow prefetch doc stats before sync (#6115) 2024-03-14 17:34:33 +00:00
liuyi c5d8c6cc8c fix(server): blob api should be public (#6109) 2024-03-14 02:36:13 +00:00
liuyi f2ec81b2d0 feat(server): user connected accounts migration (#6103) 2024-03-13 09:28:52 +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 73801ce864 fix(server): gql schema is outdated (#6097) 2024-03-13 04:11:44 +00:00
liuyi 495855cc07 fix(server): server info api should be public (#6098) 2024-03-13 03:59:26 +00:00