Commit Graph

90 Commits

Author SHA1 Message Date
thecodrr
e0f8625224 fix: do not add empty tags to note 2021-07-24 11:32:40 +05:00
thecodrr
e5d398210b fix: remove notebook cleanup logic from notes coll 2021-07-16 18:46:59 +05:00
thecodrr
11aea82368 feat: make group array generic 2021-07-12 13:48:19 +05:00
thecodrr
8f3e69cd37 feat: add tag deletion 2021-07-12 10:32:35 +05:00
thecodrr
70ceb750ec feat: add delete & clear vault functions 2021-07-07 10:15:28 +05:00
thecodrr
1db9be8795 feat: cleanup orphaned notebook refs when adding note 2021-07-06 12:12:55 +05:00
thecodrr
1f048e8049 fix: local only note's content is getting synced 2021-07-03 12:15:02 +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
ee98a363b8 feat: implement monograph publishing client 2021-06-13 10:00:24 +05:00
thecodrr
ec58b77bf0 fix: explicitly set note contentId 2021-06-01 09:47:42 +05:00
thecodrr
6bebf07913 fix: headline is not updated when content changes 2021-04-27 09:05:25 +05:00
thecodrr
5e61fb933f feat: allow custom headline in note 2021-04-06 11:05:01 +05:00
thecodrr
f607eedbfa feat: add localOnly prop to note 2021-04-06 09:13:06 +05:00
thecodrr
8eb590f9d2 fix: sort everything by dateCreated descending 2021-02-27 11:55:13 +05:00
thecodrr
e898db9562 fix: derive consistent md5 ids from tag title 2021-02-20 11:31:44 +05:00
thecodrr
25ee202d64 fix: no tag with title x found error on sync 2021-02-20 10:04:40 +05:00
thecodrr
786ea2f9d7 fix: delete migrated flag 2021-02-18 20:23:21 +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
thecodrr
4e262e615e refactor: change all event strings to constants 2021-01-23 10:48:21 +05:00
thecodrr
a087d68dad fix: reduce cloning 2021-01-11 12:23:12 +05:00
thecodrr
2208270009 fix: noteId not being removed from color or deleting 2021-01-01 15:03:51 +05:00
thecodrr
5bb50b4e80 fix: some notes from backup not being restored 2020-12-29 14:08:48 +05:00
thecodrr
690cd51862 fix: colors and tags syncing 2020-12-29 12:31:26 +05:00
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