Abdullah Atta
d42f617d0f
core: fix md export for notes with codeblocks
2022-10-18 17:31:31 +05:00
Abdullah Atta
6bf14512f9
core: fix cannot read property title of undefined
2022-10-17 22:38:50 +05:00
Abdullah Atta
36f3701b4f
web: allow exporting all notes as html, md or txt
2022-10-14 17:49:38 +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
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
751305e04c
perf: optimize grouping/sorting & id creation
2022-06-16 16:01:08 +05:00
thecodrr
c660ef6721
fix: make sure all tests are passing
2022-06-08 10:26:19 +05:00
thecodrr
2f814bd656
fix: duplicated note does not get added into original note's topic
...
(fixes streetwriters/notesnook#552 )
2022-06-07 06:53:27 +05:00
thecodrr
dcb1300394
fix: use color title for color ref in note
...
(fixes streetwriters/notesnook#529 )
2022-06-06 13:16:48 +05:00
thecodrr
e6b4893ef9
fix: clear colors & tags for deleted note on sync
2022-04-14 01:08:55 +05:00
thecodrr
19ef7e1a2c
feat: add method to check item's sync status in case of incomplete sync
2022-03-31 12:14:59 +05:00
thecodrr
a3bc778660
Merge branch 'master' into websockets-encrypted-sync
2022-03-28 10:17:18 +05:00
thecodrr
8ff8b4331f
fix: unlink attachments pn note delete
2022-03-14 15:36:51 +05:00
thecodrr
f78e56fdcb
feat: add full support for localOnly items
2022-03-11 12:40:42 +05:00
thecodrr
b02695fa1f
fix: don't remove tags on note upsert
...
(fixes streetwriters/notesnook#385 )
2022-03-09 13:12:23 +05:00
thecodrr
128be073cb
fix: save note if it has just a title
2022-02-19 13:23:38 +05:00
Muhammad Ali
07c53779eb
feat: add readonly property to note item ( #22 )
...
* Readonly added-note-edit-locking
* removed method readonly
2022-02-15 10:24:53 +05:00
thecodrr
bb675e9da2
initial
2022-02-08 13:16:41 +05:00
thecodrr
5196ebfbe5
fix: fallback to dateCreated & then date.now for dateedited
2022-01-31 12:26:54 +05:00
thecodrr
770dbabd50
fix: do not set date edited for new notes
2022-01-26 10:50:57 +05:00
thecodrr
e269c8d264
refactor: pass only necessary properties to content collection
2021-12-31 09:42:48 +05:00
thecodrr
9a984df1bd
feat: auto create session history on content edit
2021-12-22 10:05:42 +05:00
thecodrr
06828ac35c
feat: dateEdited -> dateModified
2021-12-20 14:37:06 +05:00
thecodrr
2e00ba2e8a
refactor: seperate note add & merging
2021-12-20 09:28:17 +05:00
thecodrr
3309b3d643
feat: simplify note title & headline extraction
2021-12-16 10:10:00 +05:00
thecodrr
2a9f57bacf
fix: filter out deleted notes when getting tag notes
2021-12-08 23:22:41 +05:00
thecodrr
fda5e0c84b
fix: do not automatically delete empty notes
2021-12-08 19:32:58 +05:00
thecodrr
9546d43c1f
fix: do not throw if note contains invalid tag on sync
2021-12-04 22:42:39 +05:00
thecodrr
f14c2c9335
fix: cannot read properties of undefined (topics)
2021-12-01 15:00:36 +05:00
thecodrr
90223dc7c5
fix: change tag in note if sanitized
2021-11-25 13:21:33 +05:00
thecodrr
bde01e1e54
fix: only remove references when repairing note
2021-11-23 19:38:52 +05:00
thecodrr
d5730477ba
fix: do not remove topic ref from note if topic has the note ref
2021-11-20 20:26:38 +05:00
thecodrr
39e37537d2
fix: only repair note refs if broken
2021-11-20 19:40:11 +05:00
thecodrr
e608eaaedf
fix: repair notebook references in notes on sync
2021-11-12 10:32:25 +05:00
thecodrr
011a99d322
fix: improve syncing & merge conflict detection
2021-10-27 10:53:36 +05:00
thecodrr
df9ba3548a
fix: old color on note gets deleted on sync merge
2021-10-10 20:19:33 +05:00
thecodrr
ed2624a918
fix: remove note from color on delete
2021-09-13 11:51:03 +05:00
thecodrr
8404968916
fix: cannot read property topics of undefined
2021-08-17 09:35:28 +05:00
thecodrr
14fed3e8bb
fix: use dateResolved to prevent recursive merge conflicts
2021-08-10 11:59:56 +05:00
thecodrr
7049c9f534
fix: persist note dateCreated & dateEdited
2021-07-28 13:58:12 +05:00
thecodrr
bbf05064e4
feat: allow overwriting date edited of note content
2021-07-25 11:31:44 +05:00
thecodrr
e0f8625224
fix: do not add empty tags to note
2021-07-24 11:32:40 +05:00
thecodrr
e5d398210b
fix: remove notebook cleanup logic from notes coll
2021-07-16 18:46:59 +05:00
thecodrr
11aea82368
feat: make group array generic
2021-07-12 13:48:19 +05:00
thecodrr
8f3e69cd37
feat: add tag deletion
2021-07-12 10:32:35 +05:00
thecodrr
70ceb750ec
feat: add delete & clear vault functions
2021-07-07 10:15:28 +05:00
thecodrr
1db9be8795
feat: cleanup orphaned notebook refs when adding note
2021-07-06 12:12:55 +05:00
thecodrr
1f048e8049
fix: local only note's content is getting synced
2021-07-03 12:15:02 +05:00
thecodrr
a41e6c9f4f
feat: use an internal monographs cache
...
This completely detaches monographs from notes allowing
much more flexibility and less bugs.
Since there is only a single source of truth, we can easily do things
like self destruct.
2021-06-15 10:09:10 +05:00