Tilman Vatteroth
a826677225
refactor: save ydoc state in the database, so it can be restored easier
...
By storing the ydoc state in the database we can reconnect lost clients easier
and enable offline editing because we continue using the crdt data that has been
used by the client before the connection loss.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 16:03:55 +01:00
Tilman Vatteroth
3a06f84af1
refactor: reimplement realtime-communication
...
This commit refactors a lot of things that are not easy to separate.
It replaces the binary protocol of y-protocols with json.
It introduces event based message processing.
It implements our own code mirror plugins for synchronisation of content and remote cursors
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-03-24 14:06:03 +01:00
renovate[bot]
1219d83bc8
chore(deps): update dependency prettier to v2.8.7
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-24 12:16:22 +01:00
renovate[bot]
9d4a5f45d9
fix(deps): update dependency lib0 to v0.2.73
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-23 19:22:48 +01:00
renovate[bot]
a015655406
fix(deps): update dependency yjs to v13.5.51
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-22 13:53:17 +01:00
renovate[bot]
26d8a012e1
fix(deps): update dependency lib0 to v0.2.72
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 14:34:20 +01:00
renovate[bot]
7f537f7617
chore(deps): update dependency prettier to v2.8.6
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 13:45:04 +01:00
renovate[bot]
b0d182f7fb
chore(deps): update typescript-eslint monorepo to v5.56.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:01:30 +01:00
renovate[bot]
1bbc0d0f61
chore(deps): update dependency eslint-config-prettier to v8.8.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 10:01:15 +01:00
renovate[bot]
64dcc08f95
fix(deps): update dependency lib0 to v0.2.70
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-21 00:43:59 +00:00
renovate[bot]
bb87c5f82c
chore(deps): update dependency prettier to v2.8.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-20 11:03:16 +01:00
renovate[bot]
45638b7456
chore(deps): update dependency typescript to v5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-18 22:15:01 +01:00
renovate[bot]
307437d8c3
fix(deps): update dependency lib0 to v0.2.69
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 15:01:48 +00:00
renovate[bot]
173406215c
chore(deps): update yarn to v3.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-17 09:01:42 +01:00
renovate[bot]
c1b17e58b1
fix(deps): update dependency lib0 to v0.2.68
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-16 20:41:34 +01:00
renovate[bot]
bb461c65c0
fix(deps): update dependency lib0 to v0.2.67
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 20:23:26 +01:00
renovate[bot]
ae1fef26c3
chore(deps): update typescript-eslint monorepo to v5.55.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-14 16:33:53 +01:00
renovate[bot]
65b0ffcb1f
fix(deps): update dependency ws to v8.13.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 21:57:13 +01:00
renovate[bot]
3ca0e3bfd4
chore(deps): update test packages to v29.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:41 +01:00
renovate[bot]
c44c8b6477
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:51:24 +01:00
renovate[bot]
837d722bb0
chore(deps): update dependency @jest/types to v29.5.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 20:47:28 +01:00
renovate[bot]
3b0bcec075
fix(deps): update dependency yjs to v13.5.50
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:17:56 +01:00
renovate[bot]
4f1c3a6ebd
chore(deps): update typescript-eslint monorepo to v5.54.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:14:54 +01:00
renovate[bot]
b748c444e9
fix(deps): update dependency lib0 to v0.2.66
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-11 14:00:20 +01:00
Avinash
e81e88139a
chore: added decalration map
...
Signed-off-by: Avinash <avinash.kumar.cs92@gmail.com>
2023-03-11 09:11:43 +01:00
renovate[bot]
7a7c83d934
chore(deps): update typescript-eslint monorepo to v5.54.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-05 18:38:34 +01:00
renovate[bot]
e0144f8769
fix(deps): update dependency yjs to v13.5.48
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-03-04 13:20:44 +01:00
renovate[bot]
a5102954d2
chore(deps): update dependency eslint to v8.35.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-26 12:57:35 +01:00
renovate[bot]
565000446e
fix(deps): update dependency yjs to v13.5.47
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 19:13:32 +01:00
renovate[bot]
9b82e0cce7
chore(deps): update typescript-eslint monorepo to v5.53.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 17:37:48 +01:00
renovate[bot]
dac8e943b6
fix(deps): update dependency lib0 to v0.2.63
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-25 13:59:28 +01:00
renovate[bot]
5ddce7a316
chore(deps): update typescript-eslint monorepo to v5.52.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-19 08:14:22 +01:00
renovate[bot]
0848792af0
chore(deps): update test packages to v29.4.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:42:18 +00:00
renovate[bot]
2b31807cdd
fix(deps): update dependency yjs to v13.5.46
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:54:27 +01:00
renovate[bot]
9a41f87bd9
fix(deps): update dependency ws to v8.12.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 21:50:25 +01:00
renovate[bot]
e58ae7482a
chore(deps): update dependency @jest/types to v29.4.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-18 20:50:57 +01:00
renovate[bot]
35d02a945f
chore(deps): update dependency eslint to v8.34.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:43:28 +01:00
renovate[bot]
4d1d9b7815
chore(deps): update typescript-eslint monorepo to v5.51.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 10:07:26 +01:00
renovate[bot]
ac572a2fbb
chore(deps): update test packages to v29.4.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:40:36 +01:00
renovate[bot]
0dccf6ba07
chore(deps): update dependency @jest/types to v29.4.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:30:21 +01:00
renovate[bot]
a5dffe603e
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-11 09:28:46 +01:00
Tilman Vatteroth
11c2f57e4b
fix(commons): extract name of markdown content yjs channel into the commons package
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 15:43:59 +01:00
Tilman Vatteroth
329a4d4e55
chore(deps): pin dependencies of commons package
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-09 13:53:11 +01:00
Erik Michelson
305b6f5910
misc: add turbo monorepo util
...
Co-authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Co-authored-by: David Mehren <git@herrmehren.de>
Co-authored-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Signed-off-by: David Mehren <git@herrmehren.de>
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-07 21:38:40 +01:00
renovate[bot]
8fa9bf0aa8
chore(deps): update typescript-eslint monorepo to v5.50.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:41:17 +01:00
renovate[bot]
f8be64cfba
chore(deps): update yarn to v3.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-06 10:07:06 +01:00
renovate[bot]
8023b126a2
fix(deps): update dependency yjs to v13.5.45
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-05 23:26:22 +01:00
Tilman Vatteroth
5e1fdbe81d
fix(config): Replace HD_DOMAIN and HD_EDITOR_BASE_URL with HD_BASE_URL
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
65ac00913b
chore(deps): Update optional to 1.1.0
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 22:32:31 +01:00
Tilman Vatteroth
9ccfaf3d0e
fix(commons): remove redundant tsconfig for eslint
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 21:21:59 +01:00
Tilman Vatteroth
d76714f2a2
fix(commons): Move "wait for other promises to finish" util to commons
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2023-02-05 18:38:32 +01:00
renovate[bot]
37398df3bd
chore(deps): update dependency typescript to v4.9.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 14:00:25 +01:00
renovate[bot]
834faf7213
chore(deps): update dependency eslint to v8.33.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-02-04 13:59:49 +01:00
renovate[bot]
2cbeffa2d0
chore(deps): update typescript-eslint monorepo to v5.49.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-29 19:28:52 +01:00
renovate[bot]
843d66c0f2
chore(deps): update test packages
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 17:35:49 +01:00
renovate[bot]
ff62178da8
chore(deps): update dependency @jest/types to v29.4.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-28 16:18:25 +01:00
renovate[bot]
e285d4f0da
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-22 14:46:27 +01:00
renovate[bot]
9356651684
chore(deps): update dependency ts-jest to v29.0.5
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 19:30:31 +01:00
renovate[bot]
3915a05e24
chore(deps): update typescript-eslint monorepo to v5.48.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-17 19:29:22 +01:00
renovate[bot]
cf9131c06e
chore(deps): update dependency prettier to v2.8.3
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-16 11:54:32 +00:00
renovate[bot]
cd875b6402
chore(deps): update dependency prettier to v2.8.2
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:57:48 +01:00
renovate[bot]
021ec535dd
chore(deps): update typescript-eslint monorepo to v5.48.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 22:45:24 +01:00
renovate[bot]
43c3d04f46
chore(deps): update dependency eslint-plugin-jest to v27.2.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-07 12:32:08 +00:00
renovate[bot]
47ba755db0
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-06 11:53:24 +01:00
renovate[bot]
ea535d6be0
fix(deps): update dependency yjs to v13.5.44
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2023-01-01 20:16:54 +00:00
renovate[bot]
45799627ad
chore(deps): update dependency eslint to v8.31.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-31 11:02:30 +01:00
renovate[bot]
9d8d5e8d55
chore(deps): update dependency @types/ws to v8.5.4
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-30 11:01:28 +01:00
renovate[bot]
b67fab7491
chore(deps): update typescript-eslint monorepo to v5.47.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-28 19:03:30 +01:00
Tilman Vatteroth
1eeb1dadc4
fix(commons): Fix array creation in awareness state request
...
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-28 17:22:40 +01:00
renovate[bot]
c7251b7f06
chore(deps): update typescript-eslint monorepo to v5.47.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 13:55:13 +01:00
renovate[bot]
43f69da085
chore(deps): update yarn to v3.3.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-24 12:10:51 +00:00
renovate[bot]
e9632e3e78
chore(deps): update typescript-eslint monorepo to v5.46.1
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-18 21:58:01 +01:00
renovate[bot]
b57152ac24
Update dependency eslint to v8.30.0
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 18:48:09 +01:00
renovate[bot]
7ea0973a98
chore(deps): update linters
...
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-12-17 12:25:16 +01:00
Tilman Vatteroth
7320fe2ac1
feat(packages): add commons package
...
This is an import of 166ca8da12
with some changes to make it fit into the mono repo.
- TypedEventEmitter has been replaced with EventEmitter2 because EventEmitter2 is faster and TypedEventEmitter had some troubles with the new way of compiling.
- tsc-esm has been replaced with microbundle. The problems that lib0 doesn't export its types correctly has been solved using yarn patch.
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
2022-12-11 23:09:10 +01:00