thecodrr
32a2d79409
fix: process sync items after fetch completes
2022-03-30 23:16:38 +05:00
thecodrr
2cbe8dffd8
feat: make sync more resilient
2022-03-30 20:45:16 +05:00
thecodrr
4db686d7f8
fix: generate id per sync instead of using connection id
2022-03-30 16:52:09 +05:00
thecodrr
854b45f8fc
fix: clear sync queue on finish
2022-03-30 16:36:21 +05:00
thecodrr
4135028137
feat: improve sync over websockets
2022-03-30 15:52:48 +05:00
thecodrr
ffd71b2cae
fix: allow concurrent sync
2022-03-28 15:00:27 +05:00
thecodrr
91ae3bc581
fix: ignore newly synced items
2022-03-28 13:31:18 +05:00
thecodrr
e81be52386
fix: run sync on realtime sync completed
2022-03-28 13:08:28 +05:00
thecodrr
e727974951
fix: close signalr connection on stop
2022-03-28 10:54:13 +05:00
thecodrr
ebe06bd4e0
fix: encrypt items before sync
2022-03-28 10:45:41 +05:00
thecodrr
ff475678c2
chore: update signalr package
2022-03-28 10:32:02 +05:00
thecodrr
32545d4320
feat: disable at rest encryption
2022-03-28 10:22:26 +05:00
thecodrr
a3bc778660
Merge branch 'master' into websockets-encrypted-sync
2022-03-28 10:17:18 +05:00
thecodrr
936fe4943e
fix: fallback to error for errorMessage
2022-03-24 23:17:04 +05:00
thecodrr
799116efe4
fix: cleanup mfa endpoints
2022-03-21 10:23:35 +05:00
thecodrr
ea6f8fe121
feat: add support for adding fallback 2fa method
2022-03-18 16:31:49 +05:00
thecodrr
873cfb13b4
feat: add basic user types
2022-03-17 22:58:08 +05:00
thecodrr
e4d41816f8
feat: remove /reset endpoint
2022-03-17 22:56:33 +05:00
thecodrr
c3576520ec
fix: invalid_grant errors are overriden
2022-03-17 22:56:10 +05:00
thecodrr
c3fdad26f1
test: fix usermanager test
2022-03-16 22:46:51 +05:00
thecodrr
aa764e6cc8
fix: merge deleted attachments directly
2022-03-16 22:12:41 +05:00
thecodrr
09cc9774b8
fix: deleted attachments not syncing
2022-03-16 22:05:19 +05:00
thecodrr
d173bb1fa7
fix: don't lock empty note
2022-03-16 20:35:04 +05:00
thecodrr
5804fc28bf
feat: add support for getting count of valid backup codes
2022-03-16 00:22:08 +05:00
thecodrr
0eba0fb800
feat: add disable, reset & recovery codes endpoint to mfa
2022-03-15 15:31:11 +05:00
thecodrr
8ff8b4331f
fix: unlink attachments pn note delete
2022-03-14 15:36:51 +05:00
thecodrr
ac20348fa4
feat: allow setting undefined for failed property
2022-03-14 15:30:37 +05:00
thecodrr
462afb5536
fix: sync deleted attachments
2022-03-12 12:57:28 +05:00
Abdullah Atta
c350da9fda
feat: add mfa support ( #23 )
2022-03-11 22:49:24 +05:00
thecodrr
9fe100f09f
fix: add null checks
2022-03-11 15:06:21 +05:00
thecodrr
0e2ed6a992
fix: send datemodified with localOnly delete ref
2022-03-11 15:06:08 +05:00
thecodrr
f78e56fdcb
feat: add full support for localOnly items
2022-03-11 12:40:42 +05:00
thecodrr
167baece19
feat: add logic to duplicate a note
2022-03-11 11:48:23 +05:00
thecodrr
b02695fa1f
fix: don't remove tags on note upsert
...
(fixes streetwriters/notesnook#385 )
2022-03-09 13:12:23 +05:00
thecodrr
acf1c73387
fix: don't consider locked content as invalid
2022-03-09 10:42:28 +05:00
thecodrr
756efd3af1
feat: auto sync on sse connect
2022-03-08 13:17:24 +05:00
thecodrr
6631c08799
fix: don't reconnect sse if it is already connected
2022-03-08 13:17:14 +05:00
thecodrr
238879190d
fix: hash is not defined
2022-02-28 22:25:15 +05:00
thecodrr
782744d6ef
feat: add support for modifying att. metadata
2022-02-28 13:06:10 +05:00
thecodrr
9d097b11cb
feat: mark att. as failed on error
2022-02-28 13:05:51 +05:00
thecodrr
c92d08a331
fix: only sync uploaded attachments
2022-02-28 13:03:27 +05:00
thecodrr
70fee1894a
feat: add attachments lookup
2022-02-28 13:02:16 +05:00
thecodrr
954de78de4
fix: include uploading att. in partial sync
2022-02-28 13:02:04 +05:00
thecodrr
24daeaae56
feat: detach att. from note content on perm delete
2022-02-28 13:01:05 +05:00
thecodrr
f455442b76
fix: use access_token when deleting attachment
2022-02-28 12:59:58 +05:00
thecodrr
13f324878b
fix: handle case where content.data is an object
2022-02-25 15:28:12 +05:00
thecodrr
1d283c73f4
fix: improve content conflict resolution
...
this fixes the "undefined is not a function" error originated from
SparkMD5. Basically, sometimes the remote content or local content is
an object — an invalid state. So we need to check for that.
(fixes streetwriters/notesnook#371 )
2022-02-25 15:27:00 +05:00
thecodrr
3e8eb1d45f
refactor: simplify changed color note saving
2022-02-19 13:23:53 +05:00
thecodrr
128be073cb
fix: save note if it has just a title
2022-02-19 13:23:38 +05:00
thecodrr
6270591bf2
fix: crash when inserting placeholders on an undefined item
2022-02-19 13:23:27 +05:00