Abdullah Atta
7c99c3acb9
core: add migrations for notebooks & settings ( #1020 )
2022-09-21 11:47:09 +05:00
Abdullah Atta
6c613c6f1e
Merge branch 'move-pins-out'
2022-09-21 10:45:58 +05:00
Abdullah Atta
201366b39e
core: get rid of noteIds in notebook topics
...
This is a BREAKING change in the core & will require updating the
clients. The way it works is instead of keeping noteIds of all the
notes in the topic, it keeps an in-memory cache. This in-memory
cache `topicReferences` lives in the notes collection & decouples
notes from notebooks/topics. This also simplifies all the different
actions where references would persist after the note was deleted.
Since the note acts as the source of truth for where it currently is,
there is nothing else to do except rebuild the `topicReferences`
cache.
2022-09-08 13:39:06 +05:00
Abdullah Atta
ac7aad93b3
core: shorcuts -> shortcuts
2022-09-07 14:13:26 +05:00
Abdullah Atta
1e99d7732c
core: add new collection for shortcuts
2022-09-07 12:47:02 +05:00
Abdullah Atta
d81f5dba65
refactor: migrate to theme-ui from rebass
2022-08-31 07:26:27 +05:00
Abdullah Atta
c317774c8a
docs: add license header
2022-08-30 16:17:04 +05:00
thecodrr
d35b2d4250
fix: backup fails if user is not pro but encrypted backups is on
...
(fixes streetwriters/notesnook#781 )
2022-08-15 21:11:05 +05:00
thecodrr
a4f7058f1b
feat: move database version to 5.6
2022-07-15 19:31:18 +05:00
thecodrr
3f54f36d50
feat: migrate from tiny -> tiptap
2022-07-07 13:17:55 +05:00
thecodrr
cce90b8f56
feat: require password for encrypted backups
2022-01-10 13:10:21 +05:00
thecodrr
278d1681ca
fix: table getting converted to raw html
2021-12-29 14:33:29 +05:00
thecodrr
fa556015f6
feat: add dateEdited to dateModified migration
2021-12-22 10:24:01 +05:00
thecodrr
485f464f13
feat: acquire lock using syncMutex
2021-11-18 19:40:59 +05:00
thecodrr
4b9453d91b
fix: acquire sync lock during backup restore
2021-11-18 15:28:36 +05:00
thecodrr
64535cc61c
fix: repair all notebook references on sync/backup
2021-11-12 11:47:03 +05:00
thecodrr
e608eaaedf
fix: repair notebook references in notes on sync
2021-11-12 10:32:25 +05:00
thecodrr
b139623420
feat: remove trash from merger & backup
2021-11-12 09:38:11 +05:00
thecodrr
23e584f272
fix: add attachments support to migrator & backup
2021-10-28 13:37:55 +05:00
thecodrr
888481b858
refactor: sendCheckUserStatusEvent -> checkIsUserPremium
2021-10-26 23:05:47 +05:00
thecodrr
7d16b8f388
feat: refactors and add support for upload/download progress
2021-09-26 11:47:13 +05:00
thecodrr
1eee95868a
fix: check for null item when reindexing backup
2021-08-17 10:07:02 +05:00
thecodrr
9f0ae2e76f
fix: init notes before cleaning up notebooks
2021-08-16 11:08:40 +05:00
thecodrr
48e682eb2c
fix: notebooks aren't imported from backup
2021-08-16 11:03:31 +05:00
thecodrr
33a3fa7968
fix: filter out unnecessary keys when creating backups
2021-07-06 12:11:12 +05:00
thecodrr
7473f63006
feat: no need for integrity check for encrypted backups
2021-07-05 21:29:54 +05:00
thecodrr
eb08460a88
fix: restoring encrypted backups caused temper error
2021-07-05 20:35:14 +05:00
thecodrr
e898db9562
fix: derive consistent md5 ids from tag title
2021-02-20 11:31:44 +05:00
thecodrr
2a8a0b227a
feat: move he to lean-he, remove transfun & jshashes
2021-02-16 21:38:32 +05:00
thecodrr
0e1b97e003
fix: migrate conflicted delta to tiny
2021-02-12 09:49:17 +05:00
thecodrr
4fa53ba9c0
feat: migrate from delta to tiny
2021-02-02 12:24:54 +05:00
thecodrr
2208270009
fix: noteId not being removed from color or deleting
2021-01-01 15:03:51 +05:00
thecodrr
96e2335aa6
perf: treeshakable import of jshashes
2020-12-24 09:40:34 +05:00
thecodrr
f8c306380b
feat: migrate to use the new backend
2020-12-16 12:06:25 +05:00
thecodrr
0795b0d4d0
fix: make sure note.notebooks have topics instead of topic
2020-12-08 12:23:35 +05:00
thecodrr
a7750dfc06
fix: add minor migration
2020-12-07 13:11:44 +05:00
thecodrr
f711198cbb
feat: add migrations from v3 to v4
2020-12-07 12:02:50 +05:00
thecodrr
d220d05c1f
feat: add migration on sync
2020-12-06 11:13:17 +05:00
thecodrr
048c74816a
refactor: use a single migration backend
2020-12-06 10:52:00 +05:00
thecodrr
0a192c2438
feat: use single version for db & backup migration
2020-12-05 15:28:54 +05:00
thecodrr
fc7c1001e6
feat: impl automatic database migrations (exp)
2020-12-05 15:26:54 +05:00
thecodrr
a2f50c7e7e
feat: add backup v2 migration
2020-12-05 13:59:27 +05:00
thecodrr
97d396a01e
feat: allow note to be in multiple notebooks and topics
2020-12-05 12:38:15 +05:00
thecodrr
2be688cc22
feat: implement backup migration
2020-11-24 17:30:07 +05:00
thecodrr
d7889cc3ff
fix: init indexer no matter what
2020-11-24 12:56:03 +05:00
thecodrr
141451a783
feat: add versioned backup export
2020-11-24 12:53:52 +05:00
thecodrr
c81c0feda8
Revert "feat: impl fully indexed & searchable data stores"
...
This reverts commit 56297da18b .
2020-11-16 15:00:52 +05:00
thecodrr
fd0d84b3ab
Revert "fix: hash all indexed keys"
...
This reverts commit 4a5daf2a8d .
2020-11-16 15:00:24 +05:00
thecodrr
59cf0cce8f
feat: implement user subscription status checking logic
2020-11-11 15:43:09 +05:00
thecodrr
4a5daf2a8d
fix: hash all indexed keys
2020-11-09 10:30:33 +05:00