Commit Graph

566 Commits

Author SHA1 Message Date
thecodrr
9439ba7739 fix: send raw collections 2020-03-23 15:06:12 +05:00
thecodrr
025a953cea feat: handle deletion for sync 2020-03-23 13:22:28 +05:00
thecodrr
5e388657f2 fix: Cannot read property 'dateDeleted' of undefined 2020-03-22 15:08:11 +05:00
thecodrr
8a4712a6f4 sync: add trash syncing support 2020-03-22 15:04:11 +05:00
thecodrr
7372c4436d fix: tags & colors not being synced 2020-03-22 14:28:55 +05:00
thecodrr
38d5012c88 fix: this.db.colors.raw is not a function 2020-03-22 13:18:04 +05:00
thecodrr
e38441c239 fix: this.db > this._db 2020-03-22 13:03:26 +05:00
thecodrr
6e73268145 fix: user is not defined 2020-03-22 12:58:38 +05:00
thecodrr
c958f9e612 sync: add tag & colors syncing 2020-03-22 12:48:01 +05:00
thecodrr
8713d5d55f refactor: prettify 2020-03-22 11:31:25 +05:00
thecodrr
57e6db274e fix: clone tag before editing 2020-03-22 11:27:29 +05:00
thecodrr
0d2cb3e245 feat: add noteIds arrays to tags & colors collection 2020-03-22 10:59:06 +05:00
thecodrr
4928de3fac fix: collection map not being updated 2020-03-21 12:33:39 +05:00
thecodrr
8fa904067c fix: restoring unknown type item caused notebook restore condition to be true 2020-03-21 12:25:15 +05:00
thecodrr
2446021c66 fix: note restore 2020-03-21 12:18:47 +05:00
thecodrr
8d35f97fda fix: note deleted on restore 2020-03-21 11:55:00 +05:00
thecodrr
5d8618f306 ci: improve restore test 2020-03-21 11:40:03 +05:00
thecodrr
99acc7fd38 fix: content is lost on restoring note 2020-03-21 11:15:24 +05:00
thecodrr
91d7e838ea fix: delete text with note 2020-03-21 10:45:53 +05:00
thecodrr
bb22ededab fix: ids are messed up when remote note is merged 2020-03-19 15:40:15 +05:00
thecodrr
c1e6199cc7 sync: make it work (only upload working) 2020-03-19 15:14:29 +05:00
thecodrr
4fba9b1e2c sync: fix inverted condition 2020-03-19 14:43:42 +05:00
thecodrr
8187c9b840 sync: fix merge returning objects instead of arrays 2020-03-19 14:39:08 +05:00
thecodrr
125104b379 fix: some error handling 2020-03-19 14:30:05 +05:00
thecodrr
7586aacc8e fix: Can not use keyword 'await' outside an async function 2020-03-19 14:05:59 +05:00
thecodrr
4688d944fc feat: add delta/text syncing 2020-03-19 14:03:29 +05:00
thecodrr
949ca56936 fix: notes searching 2020-03-19 12:38:33 +05:00
thecodrr
daf93e6f2c feat: seperate text & delta 2020-03-19 11:30:05 +05:00
thecodrr
7bdbde60ae chore: change ip 2020-03-18 14:06:51 +05:00
thecodrr
1c1d87696b fix: save user with "user" key instead of username 2020-03-18 14:06:40 +05:00
thecodrr
780ee93b58 sync: generate random id for items 2020-03-18 14:06:20 +05:00
thecodrr
e8a33e58d6 sync: change url 2020-03-17 15:41:01 +05:00
thecodrr
9582888f35 fix: minor fixes 2020-03-17 12:10:09 +05:00
thecodrr
daccdd9f4d feat: clear 7 day old trash automatically 2020-03-11 12:11:59 +05:00
thecodrr
a62a0aa3e7 fix: #2 2020-03-11 12:04:37 +05:00
thecodrr
9b79547b14 ci: run on only one node version 2020-03-11 11:29:37 +05:00
thecodrr
9d586da183 ci: add tests to check restore/delete of locked notes 2020-03-11 11:26:45 +05:00
thecodrr
b42088d9df fix: deleting a note doesn't unref from colors array 2020-03-11 11:17:52 +05:00
thecodrr
e1366d1def fix: classProperties not supproted error 2020-03-10 13:54:34 +05:00
thecodrr
766bc9ff51 refactor: export errors 2020-03-10 13:52:20 +05:00
thecodrr
1482440e42 feat: send flag indicating whether array is requested 2020-03-09 12:44:55 +05:00
thecodrr
968faab537 feat: add lookup class for searching 2020-03-09 12:39:49 +05:00
thecodrr
5d766448a6 fix: crash when there's no data in db 2020-03-09 11:11:09 +05:00
thecodrr
76ba8b7492 perf: do not sort indices 2020-03-09 10:45:39 +05:00
thecodrr
09ace6de29 ci: write tests for vault 2020-03-09 10:43:32 +05:00
thecodrr
96af294ef8 ci: make sure all the tests pass 2020-03-09 09:45:54 +05:00
thecodrr
746613420e fix: sort indices before readMulti 2020-03-09 09:35:27 +05:00
thecodrr
fdfd920074 perf: do not do object.entries 2020-03-09 09:19:16 +05:00
thecodrr
2c3c1a6c31 fix: convert object to array using object.entries 2020-03-09 00:36:21 +05:00
thecodrr
a88552cea3 perf: add readMulti for reading multiple keys 2020-03-09 00:12:40 +05:00