Abdullah Atta
79b75c5ba7
core: get rid of topics; move to sub notebooks
2024-03-21 11:03:14 +05:00
Abdullah Atta
cc60558839
core: migrate attachments to use relations for linking to notes
2024-03-21 11:03:13 +05:00
Abdullah Atta
c7a6cd8964
core: minor updates and fixes
2024-03-21 11:02:47 +05:00
Abdullah Atta
5b537ab470
core: fix types & syncing issues
2024-03-21 11:02:47 +05:00
Abdullah Atta
41ea254301
core: convert almost everything to typescript
2024-03-21 10:58:39 +05:00
Muhammad Ali
abc3b5569c
core: fix upcoming reminder time calculation ( #3341 )
...
* core: added missing equality sign
* core: added test
2023-09-21 14:04:20 +05:00
Abdullah Atta
c5352c2a73
core: add support for restoring new nnbackupz format
2023-09-13 10:23:44 +05:00
Abdullah Atta
e1cfbb155d
core: fix Cannot read properties of null (reading 'clear')
2023-09-13 10:23:44 +05:00
Abdullah Atta
a700787cf3
core: make sure all tests are passing
2023-09-04 13:16:22 +05:00
Abdullah Atta
7ff5f0001c
core: tagging an empty note should not create a content item
2023-08-14 13:41:19 +05:00
Abdullah Atta
d384aa9dcf
core: use isolated storage for each test for more reliability
2023-08-14 09:54:57 +05:00
Abdullah Atta
7c2b0c5947
core: start migrating core to typescript & vitest
2023-08-14 09:54:57 +05:00
Abdullah Atta
07fb572a67
core: fix html export empty p tag regex
2023-07-26 12:08:51 +05:00
ammarahm-ed
fa7900aef6
core: fix tests
2023-06-17 13:36:01 +05:00
Abdullah Atta
8ebb58b70c
core: fix reminder date time formatting
2023-06-05 15:29:10 +05:00
Abdullah Atta
227a962042
core: fix rename tag/color test
2023-04-16 01:04:02 +05:00
Abdullah Atta
9116a24392
global: update license year to 2023
2023-01-16 13:48:28 +05:00
Abdullah Atta
7e3d889632
core: fix reminders tests
2023-01-09 13:07:17 +05:00
Abdullah Atta
360b94353a
core: fix upcoming reminder time if next reminder is on the same exact time as current time
2023-01-05 22:01:01 +05:00
Abdullah Atta
febf742ea2
core: show correct upcoming/past tag for reminders on today
2023-01-05 22:01:01 +05:00
Abdullah Atta
b7ebbfda1d
core: impl reminder time formatting
2023-01-05 22:01:01 +05:00
Abdullah Atta
5e6caa7273
core: use upstream htmlparser2 instead of in-house
...
This is mostly because I am not 100% certain about how stable our own
optimized version is. While it does perform a lot better, there is
significant risk that things might break in production. To avoid
that, I am replacing it with the upstream version which is much more
heavily tested.
2022-11-23 14:58:34 +05:00
Abdullah Atta
8f5ebe315e
core: use client given compression module
2022-11-11 17:01:01 +05:00
Abdullah Atta
205373dca3
core: use htmlparser2 for html rewriting
...
This replaces DOMParser with htmlparser2 which is much, much faster.
How much faster? 80%. This new implementation can parse at 50mb/s
which is insane! The old one could only do 5-10mb/s
We still haven't gotten rid of the DOMParser though since HTML-to-MD
conversion still needs it. This will be done soon though by using `dr-sax`.
This uses a custom implementation of htmlparser2 instead of the default
one which is 50% faster.
2022-11-10 15:16:13 +05:00
Abdullah Atta
e25d4a3039
global: update qclone to 1.2.0
2022-10-19 12:10:31 +05:00
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
ef552f8b38
core: remove pins from settings
2022-09-07 12:46:49 +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
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
185a8ce3fc
fix: upgrade showdown to support parsing span tags
2022-07-20 07:45:42 +05:00
thecodrr
8d7de505b6
test: update snapshots
2022-07-13 12:21:20 +05:00
thecodrr
3f54f36d50
feat: migrate from tiny -> tiptap
2022-07-07 13:17:55 +05:00
thecodrr
c660ef6721
fix: make sure all tests are passing
2022-06-08 10:26:19 +05:00
thecodrr
79d6d71c11
feat: allow symbols in tag name
2022-06-06 09:01:58 +05:00
thecodrr
ad10b6c98d
feat: use linkedom
2022-04-19 00:28:42 +05:00
thecodrr
c9c57d87ab
feat: migrate to happy-dom from node-html-parser
2022-04-19 00:04:57 +05:00
thecodrr
4135028137
feat: improve sync over websockets
2022-03-30 15:52:48 +05:00
thecodrr
c3fdad26f1
test: fix usermanager test
2022-03-16 22:46:51 +05:00
thecodrr
f78e56fdcb
feat: add full support for localOnly items
2022-03-11 12:40:42 +05:00
thecodrr
17eeaeb72c
test: fix backup tests
2022-01-17 12:27:33 +05:00
Ammar Ahmed
7e40afafa5
fix: remove note content on trash clear ( #21 )
...
* fix content not removed when clear is called in trash
* add test to ensure content is deleted on clearing trash
* tests: clearing trash should clear referenced note history
* add cleanup function for content
2022-01-07 09:17:27 +05:00
thecodrr
34140a0cc0
chore: Support for the experimental syntax 'logicalAssignment' isn't currently enabled
2022-01-01 22:04:58 +05:00
thecodrr
278d1681ca
fix: table getting converted to raw html
2021-12-29 14:33:29 +05:00