Commit Graph
100 Commits
Author SHA1 Message Date
forehalo 69fb5c06f4 feat(server): support onetime payment subscription (#8369) 2024-10-10 10:12:40 +00:00
forehalo 9043e6607e refactor(i18n): lazy load languages (#8456)
closes AF-1397
2024-10-10 09:03:06 +00:00
forehalo e61ed98ac3 fix(core): avoid using serverUrlPrefix config (#8448) 2024-10-08 04:50:02 +00:00
forehalo dbcbe9ce1a feat(infra): orm document mode support (#8390)
```
info: t.document({
  id: f.primaryKey().string()
})
```

```
tables.info.create({ id: '', a: 1, b: 2 })
```
2024-09-26 09:09:05 +00:00
forehalo 1d75d97a8f fix(server): handle hanging workspace after user account deleted (#8377)
fix CLOUD-74
2024-09-25 06:16:32 +00:00
forehalo cb4020569c fix(server): remove unused admin environment (#8378)
fix CLOUD-70
2024-09-25 02:45:28 +00:00
forehalo 39f60145fe fix(core): circular dependency 2024-09-20 16:32:21 +08:00
forehalo 2cabc2dd50 fix(server): sign out 2024-09-20 16:32:04 +08:00
forehalo e0f1fe4110 chore: bump base version to 0.17.0 2024-09-20 15:48:21 +08:00
forehalo ec7c63019f fix(core): use openExternal in electron (#8323) 2024-09-20 07:05:12 +00:00
forehalo 4eb4c23e4a feat(server): manage auth cookies (#8317) 2024-09-20 06:37:11 +00:00
forehalo e3e15c6134 fix(core): rollback ai service (#8321)
closes #8320
2024-09-20 01:49:51 +00:00
forehalo 260104c933 fix(server): renderer path (#8305) 2024-09-19 08:16:13 +00:00
forehalo 03ac9bc4a1 chore(server): enable renderer for all deployment (#8283) 2024-09-19 02:34:57 +00:00
forehalo ed7fb3fb71 fix(core): only sign out previous account in web oauth (#8290) 2024-09-19 02:00:00 +00:00
forehalo 366c3b8784 fix(electron): define in esbuild (#8287) 2024-09-18 08:07:58 +00:00
forehalo eb47c0336c chore(ci): group nestjs dependencies (#8281) 2024-09-18 05:44:52 +00:00
forehalo e7ac43f0f7 ci: avoid twice by nx (#8279) 2024-09-18 05:09:42 +00:00
forehalo 315c20f8e5 fix(core): avoid side effects (#8245) 2024-09-18 03:45:20 +00:00
forehalo 58025729b0 fix(electron): wrong app path (#8260) 2024-09-14 06:28:46 +00:00
forehalo ff15ea1eec fix(core): avoid extra redirect proxy (#8252) 2024-09-14 01:36:00 +00:00
forehalo 85b9f21078 fix(component): storybook build config (#8247) 2024-09-13 11:56:25 +00:00
forehalo 1d7932851e chore: remove type module in scripts (#8240)
fix AF-1385
2024-09-13 09:21:29 +00:00
forehalo 2ce9d37af1 fix(core): circular dependencies (#8215) 2024-09-13 09:03:23 +00:00
forehalo a387e4ac07 refactor: migrate environment to BUILD_CONFIG (#8206) 2024-09-13 07:58:20 +00:00
forehalo 25969a34e8 refactor: avoid runtime config object (#8202) 2024-09-13 07:27:11 +00:00
forehalo c76b4d70b0 refactor: setup files (#8201) 2024-09-13 07:27:08 +00:00
forehalo 7a546ff8a1 feat(core): add auth metrics (#8194)
close AF-849
2024-09-11 03:28:32 +00:00
forehalo 0add8917f9 feat(server): enable share og information for docs (#7794) 2024-09-10 04:03:52 +00:00
forehalo 32f673fa3d perf(server): index lower user email (#8167) 2024-09-09 04:43:59 +00:00
forehalo d31565eb98 ci(mobile): typecheck (#8166) 2024-09-09 02:59:50 +00:00
forehalo 57083905ff fix(core): strict client oauth parameters check (#8159) 2024-09-08 12:44:47 +00:00
forehalo 63e1fce3ca perf(server): accelerate user workspace permission queries (#8161) 2024-09-08 12:04:00 +00:00
forehalo 87e9ff01b5 perf(server): avoid filter doc snapshot by non-indexed updatedAt (#8160) 2024-09-08 12:03:55 +00:00
forehalo 4de9d94c80 chore(core): publish editor settings in beta (#8149) 2024-09-06 11:54:26 +00:00
forehalo 817842cf72 fix(core): oauth links should have origin prefix in desktop (#8150) 2024-09-06 11:16:19 +00:00
forehalo bffc294620 fix(core): oauth popup blocked in safari (#8144)
fix(core): oauth popup blocked in safari

fix(core): standarize auth routes

fix AF-1352
2024-09-06 08:26:27 +00:00
forehalo be4df0f8ac fix(server): created user in update table should not have defualt value (#8134) 2024-09-06 06:42:04 +00:00
forehalo 64d2b926a2 fix(server): remove default auth redirect url (#8140) 2024-09-06 06:26:59 +00:00
forehalo 52c9da67f0 refactor(auth): authenticate user in main window (#8032) 2024-09-03 09:03:47 +00:00
forehalo e33aa35f7e refactor(core): auth (#7999)
closes AF-753 AF-1227
2024-09-03 09:03:43 +00:00
forehalo 8b0afd6eeb refactor(server): auth (#7994) 2024-09-03 09:03:39 +00:00
forehalo d9cedf89e1 fix(electron): app updater (#8043) 2024-09-02 07:53:17 +00:00
forehalo 0209e3fa76 fix(core): avoid expand runtime config everywhere used (#7972) 2024-08-26 12:22:52 +00:00
forehalo 14066965fa fix(server): wrong table used for userspace data (#7969) 2024-08-26 06:11:22 +00:00
forehalo b6f46e01c5 test(server): space adapters (#7903) 2024-08-21 05:30:30 +00:00
forehalo e20bdbf925 feat(server): make server storage adapters (#7902) 2024-08-21 05:30:26 +00:00
forehalo 6f9f579e5d feat(server): make an abstraction for ydoc storage (#7901) 2024-08-21 05:30:23 +00:00
forehalo 682a01e441 feat(server): make a singleton global mutex service (#7900) 2024-08-21 05:30:19 +00:00
forehalo e53dde7944 test(server): all instance variants (#7882) 2024-08-15 10:01:54 +00:00
forehalo 624f3514fc feat(server): make permission a standalone module (#7880) 2024-08-15 10:01:52 +00:00
forehalo 5a2f93f035 chore(admin): disable ai settings (#7877) 2024-08-15 02:50:46 +00:00
forehalo 9192ac4420 fix(server): command line nestjs does not have http adapter (#7876) 2024-08-14 13:41:23 +00:00
liuyi 57449c1530 fix(server): redirect to setup page if not initialized (#7875) 2024-08-14 21:02:16 +08:00
forehalo cd3924b8fc Revert "fix(server): redirect to setup page if not initialized (#7871)"
This reverts commit 42b5ef7a8b.
2024-08-14 16:37:52 +08:00
liuyi 42b5ef7a8b fix(server): redirect to setup page if not initialized (#7871) 2024-08-14 08:05:55 +00:00
forehalo 99e70c91e8 perf(core): avoid page init when only id required (#7867) 2024-08-14 05:22:18 +00:00
forehalo f69f026ac3 fix(admin): avoid frequent refetch (#7863) 2024-08-14 03:34:41 +00:00
forehalo 015247345c chore(admin): organize massive routes (#7857) 2024-08-14 03:34:38 +00:00
forehalo 0ba516866f fix(server): change password with token should be public (#7855) 2024-08-14 03:34:35 +00:00
forehalo 7afba6b8b5 fix(server): prelude should load both local and remote config file (#7852) 2024-08-14 03:34:33 +00:00
liuyi 171a974904 fix(server): use timestamp with timezone (#7847) 2024-08-13 15:32:24 +08:00
forehalo 0ec1995add fix(admin): organize admin panel (#7840) 2024-08-13 14:51:54 +08:00
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