Abdullah Atta
a7901b0323
core: sku property in pricing test should be generic
2022-09-09 01:17:27 +05:00
Abdullah Atta
3f73b47121
core: use generic snapshot for pricing test
...
this is because the pricing response data contains location based data like
country, countryCode, pricing etc. Running it on different
computers will generate different data. To avoid this we
should test only the types of each property using `jest`'s
propertyMatchers
2022-09-09 01:12:45 +05:00
Abdullah Atta
78c1df8723
core: add pricing test snapshot
2022-09-09 00:56:43 +05:00
Abdullah Atta
42c745088a
ci: add @notesnook/core test workflow
2022-09-09 00:14:21 +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
289e6eefb3
core: move pricing test to e2e tests
2022-09-05 18:00:33 +05:00
ammarahm-ed
d25be38928
config: add test builds to targetDefaults nx
2022-09-01 15:23:21 +05:00
Abdullah Atta
184236f01d
docs: add README for @notesnook/core
2022-08-31 20:04:15 +05:00
Abdullah Atta
8fa4e2184f
config: streamline running core tests
...
by default running `npm run test:core` will only run unit tests.
E2E tests require setting up credentials in the .env file.
Until we figure out a way to streamline this whole process,
this is how the tests will be run.
2022-08-31 20:03:58 +05:00
Abdullah Atta
da58248456
web: migrate list-container to typescript
2022-08-31 15:48:51 +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
Abdullah Atta
f6b6a0af06
refactor: rename core, theme, and logger
2022-08-29 23:30:48 +05:00
Abdullah Atta
a1834b15c1
theme: migrate to custom fork of rebass for latest changes
2022-08-29 20:03:10 +05:00
thecodrr
9f56eb6197
chore: bump version to 7.3.6
2022-08-16 09:43:06 +05:00
thecodrr
f1ceecf982
fix: log error (as warning) during connection check
2022-08-16 09:23:49 +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
988b94fec8
fix: throw on delete if attachment is in a locked note
2022-08-15 20:35:16 +05:00
thecodrr
e4b1399d45
fix: refresh monographs on sync complete
2022-08-15 19:08:43 +05:00
thecodrr
268a0d74a4
fix: undefined content type when syncing
...
(fixes streetwriters/notesnook#785 )
2022-08-15 11:25:57 +05:00
thecodrr
87b778db94
test: improve overall test coverage
2022-08-15 10:57:25 +05:00
thecodrr
6d45c23e79
chore: bump version to 7.3.5
2022-08-06 12:57:04 +05:00
thecodrr
0f26d1b698
fix: exported md has empty tables
...
(fixes streetwriters/notesnook#754 )
2022-08-06 12:56:17 +05:00
thecodrr
135d3174c9
chore: bump version to 7.3.4
2022-08-06 11:06:03 +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
62b715645f
fix: cachedcollection returns empty array on db reinit
2022-08-06 10:30:25 +05:00
thecodrr
f41edb0a4d
chore: bump version to 7.3.3
2022-07-26 23:13:03 +05:00
thecodrr
52aec19b4c
fix: title of locked note cannot be changed
2022-07-26 23:11:22 +05:00
thecodrr
b31f6cf9f9
chore: bump version to 7.3.2
2022-07-26 13:26:08 +05:00
thecodrr
d17e7f384e
fix: newline artifacts during codeblock migration
2022-07-26 13:25:06 +05:00
thecodrr
5198dcdcc6
chore: bump version to 7.3.1
2022-07-25 16:39:34 +05:00
thecodrr
7e9ee3f9e5
fix: initialize tag mutex in constructor
2022-07-25 16:26:44 +05:00
thecodrr
9eefd4bd86
chore: bump version to 7.3.0
2022-07-20 19:58:05 +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
16f2e651b4
fix: returned items are empty when groupby is se to none
2022-07-20 17:45:52 +05:00
thecodrr
b4db7d5923
fix: avoid sync locking
2022-07-20 17:39:02 +05:00
thecodrr
0b18099822
fix: colors/tags are empty
2022-07-20 17:38:37 +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
e6da6fbc73
fix: flush logs every 2 seconds instead of immediately
2022-07-20 16:01:21 +05:00
thecodrr
c1ad41a17b
chore: bump version to 7.2.1
2022-07-20 08:40:04 +05:00
thecodrr
d3e77a9063
feat: remove migrated property
2022-07-20 08:33:50 +05:00
thecodrr
0ca7b768e0
chore: bump version to 7.2.0
2022-07-20 07:46:13 +05:00
thecodrr
185a8ce3fc
fix: upgrade showdown to support parsing span tags
2022-07-20 07:45:42 +05:00
thecodrr
e06cf139f0
feat: make db migration on-demand instead of automatic
2022-07-20 07:34:12 +05:00