Commit Graph

66 Commits

Author SHA1 Message Date
thecodrr
ca804e2ed5 feat: clone all notes before grouping 2020-12-09 12:27:13 +05:00
thecodrr
68f9f8116f fix: delete and restore note.notebooks 2020-12-07 12:02:50 +05:00
thecodrr
0a949e7d10 feat(BREAKING): note.colors -> note.color 2020-12-07 12:02:50 +05:00
thecodrr
2b30bd9bf0 feat: add migrated flag & update dateEdited on migration 2020-12-06 15:35:23 +05:00
thecodrr
97d396a01e feat: allow note to be in multiple notebooks and topics 2020-12-05 12:38:15 +05:00
thecodrr
94fecf3c8d fix: color is already declared 2020-12-01 10:57:31 +05:00
thecodrr
c6c00c61c9 fix: getting colored notes caused a crash 2020-12-01 10:51:27 +05:00
thecodrr
21327d5918 fix: db.notes.tagged return array with 1 undefined item 2020-11-26 11:44:33 +05:00
thecodrr
4732ce4984 fix: restore note colors on trash restore 2020-11-21 11:54:41 +05:00
thecodrr
584f928514 feat: add notes group sorting 2020-11-21 10:19:44 +05:00
thecodrr
efba18b59c feat: allow trailing space in notes 2020-11-20 22:20:51 +05:00
thecodrr
c30856edc5 fix: note.notebook should be undefined when no nb assigned 2020-11-09 10:45:16 +05:00
thecodrr
54dfea77fe refactor: derive CachedCollection from IndexedCollection 2020-11-04 10:42:19 +05:00
thecodrr
0d8b755970 feat: remove unnecessary db transaction logic 2020-11-04 10:28:52 +05:00
thecodrr
6b38d05a8f feat: migrate from delta to content
**This is a breaking change.**

This will allow for extreme flexibility in the future.
We have also removed `text` collection as it is unnecessary.
Improvements in performance will be noticed while syncing.

Known Issues:
1. Since notes lookup depends on note text, it will not work.
2020-11-04 10:17:37 +05:00
thecodrr
6fdb81fd84 feat: add 1 min rollover auto syncing 2020-11-02 09:50:27 +05:00
thecodrr
e056835301 fix: sort notes before grouping 2020-09-20 09:26:08 +05:00
thecodrr
86dc31d778 feat: remove special case grouping 2020-09-15 10:10:05 +05:00
thecodrr
c565e7480c feat: publish event when deleting empty note 2020-09-09 11:33:47 +05:00
thecodrr
067bdb7320 fix: do not move empty note to trash 2020-09-09 11:14:35 +05:00
thecodrr
1785ce9571 fix: empty note is not automatically deleted 2020-09-09 11:09:03 +05:00
thecodrr
f9f7e3471d fix: note.content.text causing crash when its an object 2020-04-16 14:04:57 +05:00
thecodrr
47d01235ed fix: isNoteEmpty causing crashes 2020-04-16 12:23:31 +05:00
thecodrr
64add84e72 refactor: make everything independent 2020-04-16 02:14:53 +05:00
thecodrr
9a951a3a2e collections: refactor notes collection initialization 2020-04-15 23:25:53 +05:00
thecodrr
372e4e2447 ci: make tests pass 2020-04-07 15:50:39 +05:00
thecodrr
e7ce8dbf2b fix: resolved notes get conflicted again on sync 2020-04-04 14:59:51 +05:00
thecodrr
db0e723c1b fix: do not merge resolved notes 2020-04-04 13:52:40 +05:00
thecodrr
4dc3d2fe44 feat: recalculate conflicts on sync 2020-04-04 13:29:33 +05:00
thecodrr
defa827e4d feat: add merge conflict handling 2020-03-29 19:20:12 +05:00
thecodrr
6ee472708c fix: content.delta saved as object instead of hex id 2020-03-25 12:18:04 +05:00
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
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
8d35f97fda fix: note deleted on restore 2020-03-21 11:55:00 +05:00
thecodrr
99acc7fd38 fix: content is lost on restoring note 2020-03-21 11:15:24 +05:00
thecodrr
bb22ededab fix: ids are messed up when remote note is merged 2020-03-19 15:40:15 +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
780ee93b58 sync: generate random id for items 2020-03-18 14:06:20 +05:00
thecodrr
daccdd9f4d feat: clear 7 day old trash automatically 2020-03-11 12:11:59 +05:00
thecodrr
b42088d9df fix: deleting a note doesn't unref from colors array 2020-03-11 11:17:52 +05:00
thecodrr
968faab537 feat: add lookup class for searching 2020-03-09 12:39:49 +05:00
thecodrr
96af294ef8 ci: make sure all the tests pass 2020-03-09 09:45:54 +05:00
thecodrr
cff0bef0b7 refactor: vault api 2020-03-08 11:33:55 +05:00
thecodrr
cd185fc318 fix: #1 2020-03-02 12:33:28 +05:00
thecodrr
20891017e3 fix: move note not working 2020-03-02 10:29:29 +05:00
thecodrr
ff71126354 fix: sort grouped notes by dateCreated 2020-02-27 16:43:47 +05:00
thecodrr
50baa71f7a fix: passing undefined id to note() should cause crash 2020-02-23 12:45:00 +05:00