Commit Graph

329 Commits

Author SHA1 Message Date
x1a0t
fabd76edbe chore: update blocksuite including providing fetching header 2023-01-13 16:01:07 +08:00
zuomeng wang
21d24ad542
fix: deepscan error (#733) 2023-01-13 07:54:21 +00:00
zuomeng wang
ba9a57d4ae
fix: error TS2742: The inferred type of 'bareClient' cannot be name (#731) 2023-01-13 07:33:42 +00:00
DiamondThree
7fb5aae8b5
fix: deepscan error and warning (#728) 2023-01-13 07:25:33 +00:00
zuomeng wang
03ff4c3e3d
fix: upload origin doc when enable cloud (#729) 2023-01-13 07:09:56 +00:00
zuomeng wang
3efc4b554b
Merge remote-tracking branch 'origin/master' into feat/datacenter (#727) 2023-01-13 06:50:15 +00:00
linonetwo
3ab34de1e1 fix: seriailize update as list, not merge then on yrs side, which is broken 2023-01-12 23:29:23 +08:00
alt0
048beb60c2 Merge remote-tracking branch 'origin/feat/datacenter-dev' into feat/datacenter-dev 2023-01-12 19:51:00 +08:00
alt0
cea3d13805 fix: workspace avatar 2023-01-12 19:50:26 +08:00
DiamondThree
826a4bf381 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-12 18:23:21 +08:00
MingLiang Wang
cf47098631 feat: fix access permission api 2023-01-12 18:13:44 +08:00
x1a0t
f78ee0670e fix: remove redundant package in data-center 2023-01-12 18:05:00 +08:00
MingLiang Wang
0b623a522b feat: add remove workspace by ids 2023-01-12 17:38:18 +08:00
linonetwo
1b3bdda061 fix: merge issue 2023-01-12 17:22:13 +08:00
MingLiang Wang
11edef1bbd feat: add new workspaces by arrays 2023-01-12 17:18:40 +08:00
DiamondThree
251cfc2340 fix: message in affine 2023-01-12 17:16:44 +08:00
DiamondThree
20e4686851 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-12 17:15:52 +08:00
linonetwo
6a9b3b2fd3 Merge remote-tracking branch 'refs/remotes/origin/feat/datacenter-dev'
Conflicts:
	packages/app/src/components/create-workspace/index.tsx
	packages/data-center/package.json
	packages/data-center/src/index.ts
	pnpm-lock.yaml
2023-01-12 17:11:27 +08:00
linonetwo
06be432b5a fix: assign name and avatar 2023-01-12 16:35:18 +08:00
linonetwo
235bfe646d fix: merge issue 2023-01-12 16:19:11 +08:00
linonetwo
4be968c421 fix: create yDoc for workspace created during createUser 2023-01-12 16:17:30 +08:00
MingLiang Wang
819ab74178 feat: add cause of Request error 2023-01-12 15:24:40 +08:00
MingLiang Wang
9ae9bb8092 feat: add affine request error msg 2023-01-12 15:11:49 +08:00
x1a0t
13de557d24 chore: update BlockSuite version including introducing feature flag, adding upgrade npm script 2023-01-12 14:59:44 +08:00
DiamondThree
45f4c9e0e9 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-12 14:10:13 +08:00
alt0
034e460701 fix: merge two empty doc, no udpate event trigger 2023-01-12 12:08:37 +08:00
alt0
48d355ee72 fix: after load workspace, we need to close other workspace, not detory. 2023-01-12 10:01:09 +08:00
himself65
1d3dd8aa77 feat: support flags in workspace 2023-01-12 00:53:53 +08:00
linonetwo
ac1ddba094 fix: merge issue 2023-01-11 23:57:54 +08:00
DiamondThree
753c59b534 feat: add publish workspace page list and workspace page 2023-01-11 23:54:25 +08:00
alt0
c7f974ed77 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-11 23:18:23 +08:00
alt0
8e4585495f refactor: create and load workspace will return workspaceUnit 2023-01-11 23:14:13 +08:00
DiamondThree
d979acbba7 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 22:56:18 +08:00
MingLiang Wang
2fe58960f3 feat: fix type 2023-01-11 22:49:52 +08:00
xiaodong zuo
0325f3f041 fix: add public-doc api 2023-01-11 22:23:03 +08:00
QiShaoXuan
d438b77a1b Merge branch 'feat/cloud-sync-saika' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:43:54 +08:00
MingLiang Wang
49eff042fe feat: add accept invite 2023-01-11 21:35:40 +08:00
QiShaoXuan
af93c6e6c0 Merge branch 'feat/cloud-sync-saika' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:24:40 +08:00
QiShaoXuan
2caa0fcb95 Merge branch 'feat/datacenter-dev' of github.com:toeverything/AFFiNE into feat/datacenter-dev 2023-01-11 21:23:56 +08:00
QiShaoXuan
0152172dd1 feat: connect with datacenter invite function 2023-01-11 21:23:41 +08:00
MingLiang Wang
932f5f02c4 feat: fix users list 2023-01-11 21:10:31 +08:00
MingLiang Wang
fc2a5879bd feat: add channel for get new affine list 2023-01-11 20:57:56 +08:00
alt0
15bdd2f31e fix: getBlocksuiteWorkspace remove check 2023-01-11 20:55:08 +08:00
alt0
2d1fd3a083 fix: add param for download public workspace 2023-01-11 20:53:53 +08:00
alt0
bda94bb865 fix: public workspace don't need to check permission 2023-01-11 20:46:04 +08:00
DiamondThree
a4284d56f8 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 20:45:58 +08:00
alt0
362b6f4238 fix: multiple add same workspace error 2023-01-11 20:43:19 +08:00
alt0
8b757f538e feat: temporary support loading data for public workspace 2023-01-11 20:20:48 +08:00
linonetwo
107419cb8d Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync-saika'
Conflicts:
	packages/data-center/package.json
	packages/data-center/src/datacenter.ts
	packages/data-center/src/index.ts
	pnpm-lock.yaml
2023-01-11 18:30:57 +08:00
linonetwo
0b2ab4f9a4 feat: create user if not exist 2023-01-11 17:54:26 +08:00
MingLiang Wang
7e77175679 feat: update invite function name 2023-01-11 17:30:16 +08:00
MingLiang Wang
62826f7ab7 feat: add channel 2023-01-11 17:21:41 +08:00
DiamondThree
60246f3a23 fix: back blocksuit version 2023-01-11 17:13:49 +08:00
alt0
6459faeeb9 fix: local provider save workspaces info 2023-01-11 16:50:40 +08:00
DiamondThree
8e8e18fdf9 change workspacetype to worksopace until 2023-01-11 16:04:38 +08:00
alt0
250ac0e2ea fix: setBlob and getBlob use WorkspaceUnit 2023-01-11 15:36:13 +08:00
DiamondThree
e9b38a2380 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 15:28:34 +08:00
alt0
a11f411f6c fix: enable and update workspace use workspaceUnit as params 2023-01-11 15:27:31 +08:00
alt0
7e608e48ec fix: workspace unit setBlocksuiteWorkspace support null 2023-01-11 15:23:03 +08:00
DiamondThree
0023593128 Merge branch 'feat/cloud-sync-saika' into feat/datacenter-dev 2023-01-11 15:16:45 +08:00
alt0
8e091a37e2 fix: workspace unit type 2023-01-11 15:14:17 +08:00
DiamondThree
4f56cc9ec9 Merge conflict 2023-01-11 15:11:34 +08:00
alt0
db74706eca refactor: datacenter only export workspaceUnit 2023-01-11 15:07:04 +08:00
alt0
122cce042c Merge remote-tracking branch 'origin/master' into feat/cloud-sync-saika 2023-01-11 15:01:35 +08:00
DiamondThree
b837126cea Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-11 14:52:38 +08:00
alt0
57b204b6e2 test: fix test case 2023-01-11 13:52:56 +08:00
MingLiang Wang
48264edf91 feat: add query members 2023-01-11 12:34:57 +08:00
linonetwo
cdc196322c fix: tauri loading and method loading 2023-01-11 12:14:07 +08:00
DiamondThree
ee6138134d feat: publish workspace 2023-01-11 12:12:12 +08:00
DiamondThree
eef467558e fix: lint error and build error 2023-01-10 23:13:22 +08:00
MingLiang Wang
cdf07fd7c2 feat: remove workspaces pool 2023-01-10 23:01:50 +08:00
MingLiang Wang
eab86dffb8 feat: add logout 2023-01-10 22:44:49 +08:00
DiamondThree
d7e6654965 Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 22:01:43 +08:00
DiamondThree
30679763ab feat: change workspaceInfo type 2023-01-10 21:59:09 +08:00
MingLiang Wang
ad5e7cb2f4 feat: fix data center 2023-01-10 21:44:40 +08:00
MingLiang Wang
412d5205c8 feat: add a time out 2023-01-10 21:35:22 +08:00
DiamondThree
8fcb24a6ba Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 21:24:31 +08:00
DiamondThree
ed46eb58fd fix: ensure return activeWorkspaceId 2023-01-10 21:08:28 +08:00
alt0
7e60b750d1 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-10 20:22:35 +08:00
alt0
b111c411bd fix: local provider create workspace should wait sync to idb 2023-01-10 20:22:14 +08:00
MingLiang Wang
104693916f feat: change the order of load workspaces 2023-01-10 20:11:46 +08:00
x1a0t
6c792d0e61 chore: update BlockSuite version 2023-01-10 19:31:57 +08:00
linonetwo
005d3bbaa9 fix: merge issue 2023-01-10 18:40:36 +08:00
alt0
b4571539ac Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-10 18:37:43 +08:00
alt0
e13d27ad9c refactor: add workspace unit 2023-01-10 18:37:24 +08:00
MingLiang Wang
2260696675 feat: remove not used 2023-01-10 18:32:06 +08:00
linonetwo
6645e98a1b Merge remote-tracking branch 'refs/remotes/origin/feat/datacenter'
Conflicts:
	package.json
	packages/app/src/components/create-workspace/index.tsx
	packages/app/src/components/workspace-modal/index.tsx
	packages/app/src/components/workspace-modal/languageMenu.tsx
	packages/app/src/components/workspace-slider-bar/WorkspaceSelector/SelectorPopperContent.tsx
	packages/app/src/components/workspace-slider-bar/index.tsx
	packages/app/src/pages/_app.tsx
	pnpm-lock.yaml
2023-01-10 18:23:25 +08:00
MingLiang Wang
c28407f77d feat: synced socket upload 2023-01-10 18:19:40 +08:00
linonetwo
09e900b1f7 feat: implement load and warp workspace in ipc provider 2023-01-10 17:54:00 +08:00
DiamondThree
8f18048254 Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 17:21:29 +08:00
MingLiang Wang
5723117cb8 feat: return name 2023-01-10 17:10:04 +08:00
linonetwo
876f3d235e Merge remote-tracking branch 'refs/remotes/origin/feat/cloud-sync-saika'
Conflicts:
	package.json
	packages/app/src/components/workspace-slider-bar/index.tsx
	packages/app/src/libs/i18n/resources/bn.json
	packages/app/src/libs/i18n/resources/fr.json
	packages/app/src/libs/i18n/resources/sr.json
	packages/app/src/libs/i18n/resources/zh-Hans.json
	packages/app/src/libs/i18n/resources/zh-Hant.json
	packages/app/src/pages/_app.tsx
	packages/data-center/src/datacenter.ts
	pnpm-lock.yaml
2023-01-10 17:08:57 +08:00
DiamondThree
60b379fcad Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 17:07:44 +08:00
MingLiang Wang
209184327b feat: fix path 2023-01-10 17:06:54 +08:00
DiamondThree
255e09480a Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 17:02:25 +08:00
MingLiang Wang
0f2af25249 feat: fix path 2023-01-10 17:00:18 +08:00
linonetwo
a76fadb1bc feat: load workspace in ipc provider 2023-01-10 16:55:23 +08:00
DiamondThree
bfcd53f39f Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 16:51:02 +08:00
MingLiang Wang
31d3a012f9 feat: add message center 2023-01-10 15:39:24 +08:00
alt0
ecec2d6efe test: fix test case 2023-01-10 15:07:50 +08:00
alt0
42261a7f41 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-10 15:04:15 +08:00
alt0
ff63de2aa5 refactor: workspaces -> workspaceMetaCollection 2023-01-10 15:03:28 +08:00
MingLiang Wang
aeb1b1688d fix: fix avatar id 2023-01-10 14:56:53 +08:00
DiamondThree
f251ae7437 Merge branch 'feat/cloud-sync-saika' into feat/datacenter 2023-01-10 14:12:55 +08:00
MingLiang Wang
8c1636f1a2 feat: fix set name 2023-01-10 13:13:31 +08:00
MingLiang Wang
44e20cec3c feat: fix api name and params 2023-01-10 12:21:05 +08:00
alt0
b0d68dadcb refactor: optimize createWorkspaceInfo 2023-01-10 11:55:50 +08:00
alt0
2da463b501 test: fix test case 2023-01-10 11:44:33 +08:00
alt0
39f0b1b252 refactor: optimize setDefaultAvatar in provider 2023-01-10 11:34:05 +08:00
alt0
dcfe8237ef fix: create workspace optimize 2023-01-10 11:25:57 +08:00
alt0
d3012de9d6 fix: create workspace optimize 2023-01-10 11:23:00 +08:00
MingLiang Wang
9b875d19d2 feat: add ws link 2023-01-10 11:18:04 +08:00
DiamondThree
030ec9fa88 Merge branch 'feat/datacenter' of https://github.com/toeverything/AFFiNE into feat/datacenter 2023-01-10 11:04:45 +08:00
DiamondThree
d9e339c3c0 fix: change blocksuit version number 2023-01-10 11:04:31 +08:00
QiShaoXuan
76a039c885 fix: error reference 2023-01-10 10:12:25 +08:00
alt0
4b39acbba2 fix: affine provider init 2023-01-10 09:58:46 +08:00
DarkSky
76af339b12 fix: type export 2023-01-10 00:36:32 +08:00
DiamondThree
833df7be3c fix: datacenter type error 2023-01-09 23:55:34 +08:00
DiamondThree
5cda71f433 fix: lint error 2023-01-09 23:22:09 +08:00
DiamondThree
1e5e61ab51 Merge branch 'feat/poc' into feat/datacenter 2023-01-09 22:00:09 +08:00
DiamondThree
f547e5f314 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 21:59:52 +08:00
MingLiang Wang
79a760a042 feat: logout 2023-01-09 21:59:19 +08:00
MingLiang Wang
f4eb4740d8 feat: fix auth 2023-01-09 21:56:24 +08:00
DiamondThree
48940b746e Merge branch 'feat/poc' into feat/datacenter 2023-01-09 21:43:50 +08:00
DiamondThree
8360e14b01 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 21:42:34 +08:00
MingLiang Wang
8b95f13076 feat: remove affine 2023-01-09 21:40:57 +08:00
MingLiang Wang
ab4d4c0a96 fix: fix link to indexDB 2023-01-09 21:18:11 +08:00
alt0
0a4a9fcdb1 refactor: rename BlocksuiteWorkspace and WorkspaceInfo 2023-01-09 21:10:04 +08:00
alt0
72a39f67c0 fix: types; empty check 2023-01-09 20:48:50 +08:00
DiamondThree
9ef0fe9d06 feat: switch workspace 2023-01-09 20:15:05 +08:00
linonetwo
36a10ebfa9 feat: ipc get_workspace 2023-01-09 19:50:27 +08:00
alt0
ee8da42c41 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-09 18:53:52 +08:00
alt0
9316bb4222 test: add test case for affine 2023-01-09 18:53:15 +08:00
DiamondThree
bcb8b9f211 feat: confilict 2023-01-09 18:50:37 +08:00
JimmFly
d83693af93 Merge branch 'feat/cloud-sync-saika' into feat/poc 2023-01-09 18:10:41 +08:00
MingLiang Wang
bd5f0ad7c1 feat: add disconnect ws 2023-01-09 17:52:38 +08:00
alt0
5095e2f27d refactor: inject apis to affine 2023-01-09 17:41:03 +08:00
MingLiang Wang
d10affb413 feat: disable local cache of affine provider 2023-01-09 17:27:08 +08:00
MingLiang Wang
0b5cc1beda feat: fix 2023-01-09 17:18:58 +08:00
alt0
dacfdfa57f refactor: remove unused files 2023-01-09 17:15:19 +08:00
alt0
4400871959 fix: remove type error 2023-01-09 17:05:10 +08:00
alt0
f7ff8f29b8 fix: test case for delete workspace 2023-01-09 17:04:31 +08:00
MingLiang Wang
3e9304fb05 feat: cache workspace instances 2023-01-09 16:45:26 +08:00
QiShaoXuan
28b2943dc6 feat: refactor app state provider 2023-01-09 16:40:23 +08:00
linonetwo
e9ee729b5d feat: getWorkspaces ipc 2023-01-09 16:27:09 +08:00
alt0
dee6355b29 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/cloud-sync-saika 2023-01-09 15:49:23 +08:00
Lin Onetwo
a409009d65 Merge remote-tracking branch 'origin/feat/cloud-sync-saika' into feat/client-app 2023-01-09 15:48:09 +08:00
alt0
b4ea9ae02c Merge remote-tracking branch 'origin/master' into feat/cloud-sync-saika 2023-01-09 15:38:25 +08:00
linonetwo
707bc1f6ed refactor: move blob related jsb to IPCBlobProvider 2023-01-09 15:28:29 +08:00
MingLiang Wang
b46a7fc8ce fix: fix init head icon 2023-01-09 15:26:30 +08:00