Commit Graph

360 Commits

Author SHA1 Message Date
thecodrr
1adbde5833 fix: send auth token with monographs get request 2021-06-15 11:07:47 +05:00
thecodrr
da950b1bf1 fix: handle all thrown exceptions on monographs init 2021-06-15 10:56:22 +05:00
thecodrr
d770b63fde fix: check if user is verified when fetching monographs 2021-06-15 10:21:45 +05:00
thecodrr
c933a74602 fix: remove notesnook.monograph scope 2021-06-15 10:17:42 +05:00
thecodrr
a41e6c9f4f feat: use an internal monographs cache
This completely detaches monographs from notes allowing
much more flexibility and less bugs.
Since there is only a single source of truth, we can easily do things
like self destruct.
2021-06-15 10:09:10 +05:00
thecodrr
6c88df31cf feat: add notesnook.monograph to requested scopes 2021-06-13 11:50:19 +05:00
thecodrr
ee98a363b8 feat: implement monograph publishing client 2021-06-13 10:00:24 +05:00
thecodrr
aa3c9c49cd feat: announcement -> announcements 2021-06-12 09:25:04 +05:00
thecodrr
93d1e1f449 fix: disable automatic vault password eraser 2021-06-07 10:24:39 +05:00
thecodrr
442722933c feat: use blake2s for random id generation 2021-06-04 09:32:13 +05:00
thecodrr
3a5fd2ea65 fix: check and handle undefined data during sync merge 2021-06-03 09:18:18 +05:00
thecodrr
25c08198fb fix: check for nulls when getting settings pins 2021-06-03 09:17:50 +05:00
thecodrr
576a473180 feat: add verify password for verifying user password 2021-06-01 09:46:50 +05:00
thecodrr
3d48de5764 feat: do not cache token locally 2021-05-28 23:10:10 +05:00
thecodrr
2632a06e8e fix: do not send & wait for session expired event 2021-05-26 12:40:15 +05:00
thecodrr
77e980bd04 fix: do not reset retry counter recursively 2021-05-26 12:23:00 +05:00
thecodrr
4e702f4adb fix: reset retry counter 2021-05-25 16:20:44 +05:00
thecodrr
b4f42137a4 fix: properly handle session expiry 2021-05-25 16:19:58 +05:00
thecodrr
ebb9f392f5 fix: cannor read property "id" of null 2021-04-19 12:06:05 +05:00
thecodrr
d28e29a09f fix: undefined remote.data during conflict 2021-04-19 10:05:47 +05:00
thecodrr
27fe3e33f9 fix: lookup hangs for longer queries 2021-04-19 09:50:44 +05:00
thecodrr
4a349a3c27 feat: add func to fetch recent announcement 2021-04-10 10:48:46 +05:00
thecodrr
92dcbacca2 fix: hash password before login 2021-04-09 12:55:32 +05:00
thecodrr
36c4d694e8 feat: remove hcli migrate step 2021-04-09 12:53:18 +05:00
thecodrr
65c71d7532 fix: clear timeout on user logout 2021-04-07 20:50:14 +05:00
thecodrr
6ea4d19869 fix: duplicate settings are creating on login 2021-04-07 20:17:55 +05:00
thecodrr
f607eedbfa feat: add localOnly prop to note 2021-04-06 09:13:06 +05:00
thecodrr
49ee3cd0b3 fix: clear cached token on logout 2021-04-05 11:32:40 +05:00
thecodrr
8d23b23b02 fix: cache access token response
This is a hotfix for Android where Database does not write new token
causing user to get logged out.
2021-03-11 14:39:48 +05:00
thecodrr
358c046dc3 fix: user settings are replaced on sync 2021-03-06 10:04:53 +05:00
thecodrr
2e225a788b refactor: remove unused import 2021-03-06 09:44:57 +05:00
thecodrr
84461ebbb1 fix: log user out if invalid_grant error occurs 2021-03-06 09:43:46 +05:00
thecodrr
ad970c2348 fix: do not cause conflict if remote === undefined 2021-03-06 09:39:47 +05:00
thecodrr
f6bdfa9a47 fix: do not migrate vaultKey 2021-03-06 09:36:50 +05:00
thecodrr
bb41b8c9cb feat: re-enable trash auto cleanup after 7 days 2021-02-27 11:54:52 +05:00
thecodrr
31ebecf570 fix: this._settings must never be undefined 2021-02-26 19:18:54 +05:00
thecodrr
dd2a065be7 fix: multiple settings objects created for 1 user
due to these multiple objects reset password wasn't working because
only the latest one would be encrypted with the new password
but all previous objects would require decryption
which resulted in a block while syncing
2021-02-26 17:33:46 +05:00
thecodrr
fd113673c0 feat: remove sync tests
these tests are too fragile, hard to maintain and keep up to date.
Maybe I will write them again from scratch. As they are, they are of no help.
2021-02-25 19:42:58 +05:00
thecodrr
03e21221c7 feat: add notebook merging 2021-02-25 19:41:17 +05:00
thecodrr
91ec7d1a37 fix: do not cause conflict if remote === false 2021-02-25 09:31:11 +05:00
thecodrr
331233c5f6 feat: use fuzzysort for searching 2021-02-22 10:48:03 +05:00
thecodrr
0a844b55c0 fix: locked note is favorited 2021-02-22 09:42:34 +05:00
thecodrr
df4c98b27b fix: do not update lastSynced time on SSE sync
we won't be updating lastSynced time because it can
cause the lastSynced time to move ahead of any last edited
(but unsynced) note resulting in edited notes not getting synced.
2021-02-22 09:33:30 +05:00
thecodrr
e898db9562 fix: derive consistent md5 ids from tag title 2021-02-20 11:31:44 +05:00
thecodrr
4652a74f43 fix: duplicate colors and tags on sync 2021-02-20 09:50:22 +05:00
thecodrr
bdfd9683e6 feat: use fast-fuzzy for searching 2021-02-20 02:11:32 +05:00
thecodrr
22d2950f24 feat: disable compression 2021-02-18 18:23:19 +05:00
thecodrr
60a7397ef5 fix: do not try to migrate locked notes 2021-02-18 09:30:48 +05:00
thecodrr
2a8a0b227a feat: move he to lean-he, remove transfun & jshashes 2021-02-16 21:38:32 +05:00
thecodrr
b5a0b9e649 feat: remove trash collection 2021-02-16 16:56:06 +05:00