Commit Graph

566 Commits

Author SHA1 Message Date
thecodrr
f20ec7e387 fix: check if user is logged in before upgrading 2020-05-23 17:24:01 +05:00
thecodrr
2e80859bea feat: sync user on startup 2020-05-23 17:20:24 +05:00
thecodrr
a7a1d3396a fix(user): send authorization token with upgrade req 2020-05-21 21:59:06 +05:00
thecodrr
ea169b46f8 feat: impl upgrade logic 2020-05-21 20:34:13 +05:00
thecodrr
449ab9dd4a fix: use ids when deleting topics 2020-05-16 14:02:59 +05:00
thecodrr
04a40b5e5d test: improve move note test 2020-05-16 12:56:28 +05:00
thecodrr
81718834e5 feat: properly impl isPremium fn in user 2020-05-14 15:13:15 +05:00
thecodrr
f6673b4271 fix: pass this.context to session manger 2020-05-14 15:07:49 +05:00
thecodrr
2218798ab4 refactor: move session validation to its fn 2020-05-14 13:56:39 +05:00
thecodrr
4ee2d307c3 feat: impl session validation 2020-05-14 13:51:48 +05:00
thecodrr
11151d9d2c feat: implement function to get user's pro status 2020-05-13 04:22:19 +05:00
thecodrr
2ec3d5ef1d api: add auto syncing after 3 minutes 2020-05-04 17:23:16 +05:00
thecodrr
7617146c61 lookup: perform case insensitive search 2020-05-04 12:24:33 +05:00
thecodrr
c902076b4e fix: crash when logging out 2020-05-04 12:21:15 +05:00
thecodrr
6ba937314d consts: use https instead of http for api endpoint 2020-05-03 12:00:47 +05:00
thecodrr
ab3d2ae9ae bump version 2020-04-26 12:45:50 +05:00
thecodrr
fdc58df460 chore: changed HOST link to api.notesnook.com 2020-04-26 10:33:03 +05:00
thecodrr
bbebee06a0 user: throw on 200 status code if there's error in body 2020-04-25 12:09:20 +05:00
thecodrr
ce0b4904d6 chore: bump version 2020-04-21 17:39:32 +05:00
thecodrr
912381ac0c fix: collection saved with wrong keys in prod 2020-04-21 17:39:02 +05:00
thecodrr
1c253b2170 fix: do not get undefined items 2020-04-21 12:23:51 +05:00
thecodrr
f9f7e3471d fix: note.content.text causing crash when its an object 2020-04-16 14:04:57 +05:00
thecodrr
62c98419c9 vault: remove unnecessary comments 2020-04-16 12:33:14 +05:00
thecodrr
a806173549 vault: restore headline on perm note unlock 2020-04-16 12:31:32 +05:00
thecodrr
47d01235ed fix: isNoteEmpty causing crashes 2020-04-16 12:23:31 +05:00
thecodrr
cc3e7cfb8e merger: handle deleted delta merge conflict 2020-04-16 11:21:02 +05:00
thecodrr
1078600290 ci: fix user tests 2020-04-16 03:41:43 +05:00
thecodrr
58d63de654 user: fix typo 2020-04-16 03:32:07 +05:00
thecodrr
1cf051d351 ev: Cannot read property 'push' of undefined 2020-04-16 03:31:34 +05:00
thecodrr
bfb40a5cf1 collection: Cannot read property 'ev' of undefined 2020-04-16 03:30:57 +05:00
thecodrr
14b72ee2f4 collections: check if collection has clear fn 2020-04-16 03:30:16 +05:00
thecodrr
55b6b0733b core: clear cache and database on logout 2020-04-16 03:27:22 +05:00
thecodrr
2deec9b675 core: implement event manager 2020-04-16 03:19:50 +05:00
thecodrr
8ad2bc5457 sync: prepare -> collector, other optimizations 2020-04-16 03:04:44 +05:00
thecodrr
1828728f77 fix: tags & color not initializing properly 2020-04-16 02:39:35 +05:00
thecodrr
ff94fc428e vault: add jsdoc and reorder methods 2020-04-16 02:36:09 +05:00
thecodrr
64add84e72 refactor: make everything independent 2020-04-16 02:14:53 +05:00
thecodrr
3a6a126d5d collections: refactor notebooks init 2020-04-15 23:45:56 +05:00
thecodrr
9a951a3a2e collections: refactor notes collection initialization 2020-04-15 23:25:53 +05:00
thecodrr
8546742124 merger: keep most recent version if note is locked 2020-04-15 17:50:26 +05:00
thecodrr
cf11b54328 fix: open locked note not working 2020-04-15 17:16:13 +05:00
thecodrr
07dd6c84db vault: convert delta to string 2020-04-15 16:45:40 +05:00
thecodrr
c7634d7f4e ci: fix all tests 2020-04-15 14:13:09 +05:00
thecodrr
2c9d7c285d sync: sync vaultKey 2020-04-15 14:00:05 +05:00
thecodrr
6372f78f4a vault: send text with delta when opening locked note 2020-04-15 12:40:45 +05:00
thecodrr
7793517342 vault: fix delta data not being parsed if it was string 2020-04-15 12:30:36 +05:00
thecodrr
19d94924a3 vault: fix noteId of delta & text being undefined after locking 2020-04-15 11:53:57 +05:00
thecodrr
38a825be91 ci: fix vault tests 2020-04-15 11:38:51 +05:00
thecodrr
a132f7cdc4 bump version 2020-04-15 00:11:56 +05:00
thecodrr
451b15ef89 user: remove unnecessary async modifier 2020-04-14 11:36:25 +05:00