From 4ee8ceb1c06265494d2341a9499697dae135f4c7 Mon Sep 17 00:00:00 2001 From: WofWca Date: Sun, 2 Apr 2023 18:51:10 +0400 Subject: [PATCH] feat: add p2p sync through webxdc and WebRTC --- index.html | 3 + package.json | 3 + pnpm-lock.yaml | 102 ++++++++++++++++++++-- src/localBackend/buckets.ts | 96 ++++++++++++++------- src/localBackend/sync.ts | 122 +++++++++++++++++++++++++++ src/localBackend/tasks.ts | 126 +++++++++++++++++++++------- src/localBackend/webxdc.d.ts | 71 ++++++++++++++++ src/views/user/settings/General.vue | 46 ++++++++++ vite.config.ts | 3 + 9 files changed, 502 insertions(+), 70 deletions(-) create mode 100644 src/localBackend/sync.ts create mode 100644 src/localBackend/webxdc.d.ts diff --git a/index.html b/index.html index a400eff88..4257b3729 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,9 @@ We're sorry but Vikunja doesn't work properly without JavaScript enabled. Please enable it to continue.
+ +