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
Ammar Ahmed
e5e965415d
feat: realtime & auto sync for all users ( #944 )
2022-09-20 18:33:55 +05:00
Abdullah Atta
ca0d746966
core: fail fast if sync connection fails
...
this adds reslience to the sync logic in cases where network
isn't responding or is very slow to respond. Previously there were
cases where the sync would get stuck in Connecting state.
This will no longer happen.
2022-09-19 16:20:12 +05:00
Abdullah Atta
df06881eee
core: lowercase email before login/signup
2022-09-16 11:16:16 +05:00
Abdullah Atta
c954590585
core: look into topics when searching notebooks
2022-09-14 11:44:04 +05:00
ammarahm-ed
c8dc5207b4
core: fix auto sync does not send sync complete event
2022-09-08 18:30:49 +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
ef552f8b38
core: remove pins from settings
2022-09-07 12:46:49 +05:00
Abdullah Atta
289e6eefb3
core: move pricing test to e2e tests
2022-09-05 18:00:33 +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
f1ceecf982
fix: log error (as warning) during connection check
2022-08-16 09:23:49 +05:00
thecodrr
e4b1399d45
fix: refresh monographs on sync complete
2022-08-15 19:08:43 +05:00
thecodrr
87b778db94
test: improve overall test coverage
2022-08-15 10:57:25 +05:00
thecodrr
db324b6b87
test: fix collector test
2022-08-06 11:05:16 +05:00
thecodrr
cf9bad7db8
fix: content type being set to "content" during sync
...
this bug broke export/publishing & basically
everything that depends on content type
to function.
2022-08-06 10:45:15 +05:00
thecodrr
52aec19b4c
fix: title of locked note cannot be changed
2022-07-26 23:11:22 +05:00
thecodrr
7e9ee3f9e5
fix: initialize tag mutex in constructor
2022-07-25 16:26:44 +05:00
thecodrr
5b96009875
fix: merge settings with conflict expectation
2022-07-20 19:55:00 +05:00
thecodrr
5fb68bb08e
fix: ensure that settings object is reset on logout
2022-07-20 18:29:42 +05:00
thecodrr
110ff8a7d4
fix: this.db is not defined in settings
2022-07-20 17:50:12 +05:00
thecodrr
638da3988d
fix: auto sync not triggered on settings update
2022-07-20 17:48:18 +05:00
thecodrr
b4db7d5923
fix: avoid sync locking
2022-07-20 17:39:02 +05:00
thecodrr
e0d2cbc019
fix: make sure connection is disconnected before reconnecting
2022-07-20 16:55:48 +05:00
thecodrr
93be4c7e31
fix: reconnect synchub if connection has been closed
2022-07-20 16:47:29 +05:00
thecodrr
d3e77a9063
feat: remove migrated property
2022-07-20 08:33:50 +05:00
thecodrr
e06cf139f0
feat: make db migration on-demand instead of automatic
2022-07-20 07:34:12 +05:00
thecodrr
32d4cfa594
feat: disable interruptible syncing
2022-07-20 07:19:48 +05:00
thecodrr
2943e91f2d
refactor: use _getKey & _setKey functions for db access
2022-07-20 05:30:36 +05:00
thecodrr
530a1cc625
feat: add log messages all over the place
2022-07-19 11:16:46 +05:00
thecodrr
e25496b3e5
fix: wait 5 seconds before finishing database migration
2022-07-15 19:23:01 +05:00
thecodrr
732ef2cac8
fix: check for conflicts before syncing
2022-07-15 15:48:13 +05:00
thecodrr
6c57006195
fix: correct import path in pricing.js
2022-07-15 09:32:04 +05:00
thecodrr
f888b1276a
chore: publish on github packages
2022-07-15 09:30:01 +05:00
thecodrr
61e608b2dc
fix: remove notebook reference from notes that are removed from topic during merge
2022-07-13 14:58:21 +05:00
thecodrr
4e34f33f1d
fix: expect merge conflicts in notebooks
2022-07-13 12:21:00 +05:00
thecodrr
333ffe6ebb
feat: allow changing readonly & localonly for locked notes
2022-07-09 23:52:08 +05:00
thecodrr
feafb14edd
fix: allow changing only metadata for locked notes
2022-07-09 23:50:57 +05:00
thecodrr
27dade850a
fix: properly handle concurrent syncs
2022-07-09 21:24:18 +05:00
thecodrr
e67ee7534e
fix: throw error if sync is already in progress
2022-07-08 12:13:03 +05:00
thecodrr
d7d21bc54b
fix: handle "failed to fetch" errors better
2022-07-08 12:07:26 +05:00
thecodrr
8ce71917a3
fix: search bailout when note is not fully synced
2022-07-08 11:29:16 +05:00
thecodrr
085926c4aa
chore: comment out unused constants
2022-07-07 18:40:12 +05:00
thecodrr
6f5ae16cbc
feat: disable time difference calculation
2022-07-07 13:36:18 +05:00
thecodrr
3f54f36d50
feat: migrate from tiny -> tiptap
2022-07-07 13:17:55 +05:00
thecodrr
81206cb949
feat: add toolbar config api
2022-06-29 11:42:00 +05:00
thecodrr
d7804098a2
fix: shortcuts are not syncing
...
(fixes streetwriters/notesnook#534 )
2022-06-06 10:19:57 +05:00