Commit Graph

1072 Commits

Author SHA1 Message Date
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
thecodrr
49e3c75e4c feat: add trial activation endpoint 2022-02-17 21:22:22 +05:00
Muhammad Ali
07c53779eb feat: add readonly property to note item (#22)
* Readonly added-note-edit-locking

* removed method readonly
2022-02-15 10:24:53 +05:00
thecodrr
1af0558dc6 feat: add sync resumability 2022-02-10 16:10:54 +05:00
thecodrr
fb0c30ecca feat: send progress events during sync 2022-02-08 15:09:39 +05:00
thecodrr
bb675e9da2 initial 2022-02-08 13:16:41 +05:00
thecodrr
5196ebfbe5 fix: fallback to dateCreated & then date.now for dateedited 2022-01-31 12:26:54 +05:00
thecodrr
621c4373ed feat: better error on upload att. failed 2022-01-31 10:23:03 +05:00
thecodrr
770dbabd50 fix: do not set date edited for new notes 2022-01-26 10:50:57 +05:00
thecodrr
0a75048f68 fix: decode   html5 escape codes 2022-01-20 00:18:35 +05:00