Commit Graph

2058 Commits

Author SHA1 Message Date
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
thecodrr
2e50130c16 feat: better errors when server fails 2022-01-18 12:00:57 +05:00
thecodrr
17eeaeb72c test: fix backup tests 2022-01-17 12:27:33 +05:00
thecodrr
b80b514bc5 fix: improve time diff checking 2022-01-17 10:25:59 +05:00
thecodrr
23fac959f4 fix: get remoteItem id from decrypted data 2022-01-12 23:51:21 +05:00
thecodrr
e54a5e8ef0 fix: do not send salt param during random key gen 2022-01-12 09:47:10 +05:00
thecodrr
b8bd8cca80 chore: bump version to 6.16.4 2022-01-10 13:10:35 +05:00
thecodrr
cce90b8f56 feat: require password for encrypted backups 2022-01-10 13:10:21 +05:00
thecodrr
a130db41a4 fix: try to refresh token before logging out on 401 unauthorized 2022-01-07 13:58:06 +05:00
thecodrr
ff5439e791 fix: derive local - server time difference more accurately 2022-01-07 12:00:41 +05:00
thecodrr
ca156533e9 Merge branch 'master' of https://github.com/streetwriters/notesnook-core 2022-01-07 09:18:09 +05:00
thecodrr
c60c2bc959 fix: use correct tag id to get alias 2022-01-07 09:18:01 +05:00
Ammar Ahmed
7e40afafa5 fix: remove note content on trash clear (#21)
* fix content not removed when clear is called in trash

* add test to ensure content is deleted on clearing trash

* tests: clearing trash should clear referenced note history

* add cleanup function for content
2022-01-07 09:17:27 +05:00
thecodrr
4bdf5a3152 revert: do not logout on 401 unauthorized 2022-01-05 18:19:02 +05:00