Commit Graph

379 Commits

Author SHA1 Message Date
thecodrr
e29d49768c fix: refresh app after logout 2021-07-03 23:07:54 +05:00
thecodrr
d9bbb9fbab fix: improve content cleanup logic 2021-07-03 23:07:43 +05:00
thecodrr
f0dbe822c7 feat: cleanup orphaned content items 2021-07-03 14:50:59 +05:00
thecodrr
7b454bd13e revert: always send data even if empty 2021-07-03 14:08:36 +05:00
thecodrr
50c95461b1 fix: unexpected merge conflicts on multiple devices 2021-07-03 12:14:11 +05:00
thecodrr
14fae70840 feat: send user id when fetching announcements 2021-06-28 10:05:39 +05:00
thecodrr
4e1519bbc8 feat: change automatic sync interval to 5s 2021-06-19 11:07:45 +05:00
thecodrr
1113c5cfcd fix: exception when mergin locked notes 2021-06-17 10:41:50 +05:00
thecodrr
73212bee0f fix: remove monographs on logout 2021-06-16 11:53:05 +05:00
thecodrr
5f5377bb0e fix: fetch monograph ids on login 2021-06-16 11:51:39 +05:00
thecodrr
81d4c921c5 feat: do not push sync if nothing is changed 2021-06-16 10:08:29 +05:00
thecodrr
ce1f1ac7f5 feat: cache monograph ids array 2021-06-16 09:38:48 +05:00
thecodrr
2cb5e619e7 feat: add func for fetching all published notes 2021-06-16 09:33:15 +05:00
thecodrr
07ab84ae59 feat: use note id as monograph id 2021-06-15 14:33:40 +05:00
thecodrr
2b871eb55f fix: unpublish causing crash due to note.publishId being undefined 2021-06-15 12:11:44 +05:00
thecodrr
c9441b1f5e fix: remove async from sync methods 2021-06-15 12:02:55 +05:00
thecodrr
d74fa138b9 fix: check if cached monographs are null 2021-06-15 12:00:00 +05:00
thecodrr
09eac22eaf feat: monograph -> monographs 2021-06-15 11:57:00 +05:00
thecodrr
5bfd1c13d2 feat: init monographs on first publish/unpublish 2021-06-15 11:30:33 +05:00
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