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
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
62b715645f
fix: cachedcollection returns empty array on db reinit
2022-08-06 10:30:25 +05:00
thecodrr
d3e77a9063
feat: remove migrated property
2022-07-20 08:33:50 +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
751305e04c
perf: optimize grouping/sorting & id creation
2022-06-16 16:01:08 +05:00
thecodrr
2cbe8dffd8
feat: make sync more resilient
2022-03-30 20:45:16 +05:00
thecodrr
4135028137
feat: improve sync over websockets
2022-03-30 15:52:48 +05:00
thecodrr
32545d4320
feat: disable at rest encryption
2022-03-28 10:22:26 +05:00
thecodrr
a3bc778660
Merge branch 'master' into websockets-encrypted-sync
2022-03-28 10:17:18 +05:00
thecodrr
f455442b76
fix: use access_token when deleting attachment
2022-02-28 12:59:58 +05:00
thecodrr
bb675e9da2
initial
2022-02-08 13:16:41 +05:00
thecodrr
e54a5e8ef0
fix: do not send salt param during random key gen
2022-01-12 09:47:10 +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
06828ac35c
feat: dateEdited -> dateModified
2021-12-20 14:37:06 +05:00
thecodrr
0421c9c452
refactor: getItems should return an object intead of an array
2021-12-20 09:28:58 +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
2c927a5dd7
feat: send metadata along with download request
2021-11-18 15:17:02 +05:00
thecodrr
9ccb0fee12
fix: attach alias with tag for sorting/grouping
2021-11-18 11:01:12 +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
7ed920e49e
fix: clear file storage on user logout
2021-11-02 14:31:30 +05:00
thecodrr
36597616cc
fix: handle chunkSize
2021-10-30 13:49:41 +05:00
thecodrr
23e584f272
fix: add attachments support to migrator & backup
2021-10-28 13:37:55 +05:00
thecodrr
011a99d322
fix: improve syncing & merge conflict detection
2021-10-27 10:53:36 +05:00
thecodrr
888481b858
refactor: sendCheckUserStatusEvent -> checkIsUserPremium
2021-10-26 23:05:47 +05:00
thecodrr
51794e001e
feat: add 3-layer-encryption for attachments
2021-10-25 11:35:00 +05:00
thecodrr
69defdb367
feat: handle attachments merge conflict
2021-10-23 11:41:17 +05:00
thecodrr
6fab9ad1f3
chore: remove all comments
2021-10-22 16:29:03 +05:00
thecodrr
df13446e30
feat: redirect request instead of returning presigned url
2021-10-15 11:12:05 +05:00
thecodrr
f3a617d20f
fix: send db update event before comitting changes
2021-10-04 11:55:14 +05:00
thecodrr
051be837ae
fix: delete operation on cancel or done
2021-10-01 11:53:46 +05:00
thecodrr
5be2a5ebd6
fix: reset progress on operation cancel
2021-10-01 11:40:18 +05:00
thecodrr
6b619e5d3d
feat: add upload/download cancellation support
2021-09-29 09:53:50 +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
d3b106094e
refactor: migrate in serial
2021-07-06 12:13:35 +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
dfa612ab84
fix: init map instance when cachedcollection is made
2021-06-08 12:00:34 +05:00