Commit Graph

326 Commits

Author SHA1 Message Date
thecodrr
7e9ee3f9e5 fix: initialize tag mutex in constructor 2022-07-25 16:26:44 +05:00
thecodrr
0b18099822 fix: colors/tags are empty 2022-07-20 17:38:37 +05:00
thecodrr
d3e77a9063 feat: remove migrated property 2022-07-20 08:33:50 +05:00
thecodrr
83b2d79e01 fix: disallow concurrent tag addition
(fixes streetwriters/notesnook#486
fixes streetwriters/notesnook#647)
2022-07-20 07:21:45 +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
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
79d6d71c11 feat: allow symbols in tag name 2022-06-06 09:01:58 +05:00
thecodrr
e6b4893ef9 fix: clear colors & tags for deleted note on sync 2022-04-14 01:08:55 +05:00
thecodrr
1fd1d8e258 fix: mark notes without content as synced 2022-04-01 22:14:40 +05:00
thecodrr
f42e160047 fix: do not run sync on tag update 2022-04-01 20:02:38 +05:00
thecodrr
0d5c1990ec feat: add item synced check in trash 2022-04-01 14:29:58 +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
b90858e199 fix: don't run autosync for localOnly items 2022-03-31 11:46:48 +05:00
thecodrr
4135028137 feat: improve sync over websockets 2022-03-30 15:52:48 +05:00
thecodrr
a3bc778660 Merge branch 'master' into websockets-encrypted-sync 2022-03-28 10:17:18 +05:00
thecodrr
09cc9774b8 fix: deleted attachments not syncing 2022-03-16 22:05:19 +05:00
thecodrr
8ff8b4331f fix: unlink attachments pn note delete 2022-03-14 15:36:51 +05:00
thecodrr
ac20348fa4 feat: allow setting undefined for failed property 2022-03-14 15:30:37 +05:00
thecodrr
462afb5536 fix: sync deleted attachments 2022-03-12 12:57:28 +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
acf1c73387 fix: don't consider locked content as invalid 2022-03-09 10:42:28 +05:00
thecodrr
238879190d fix: hash is not defined 2022-02-28 22:25:15 +05:00
thecodrr
782744d6ef feat: add support for modifying att. metadata 2022-02-28 13:06:10 +05:00
thecodrr
9d097b11cb feat: mark att. as failed on error 2022-02-28 13:05:51 +05:00
thecodrr
c92d08a331 fix: only sync uploaded attachments 2022-02-28 13:03:27 +05:00
thecodrr
24daeaae56 feat: detach att. from note content on perm delete 2022-02-28 13:01:05 +05:00
thecodrr
13f324878b fix: handle case where content.data is an object 2022-02-25 15:28:12 +05:00
thecodrr
128be073cb fix: save note if it has just a title 2022-02-19 13:23:38 +05:00
thecodrr
6270591bf2 fix: crash when inserting placeholders on an undefined item 2022-02-19 13:23:27 +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
ca156533e9 Merge branch 'master' of https://github.com/streetwriters/notesnook-core 2022-01-07 09:18:09 +05:00
thecodrr
c60c2bc959 fix: use correct tag id to get alias 2022-01-07 09:18:01 +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
dfca8a3a30 fix: do not throw if attachment is invalid 2021-12-31 10:58:38 +05:00
thecodrr
e269c8d264 refactor: pass only necessary properties to content collection 2021-12-31 09:42:48 +05:00
thecodrr
d16a4abfcc chore: remove unnecessary console.trace 2021-12-27 19:13:54 +00:00
thecodrr
b70da12b1b fix: merge migrated tags directly 2021-12-23 13:44:19 +05:00
thecodrr
4204d8784d test: rewrite notehistory tests for improved correctness 2021-12-22 12:07:07 +05:00
thecodrr
9a984df1bd feat: auto create session history on content edit 2021-12-22 10:05:42 +05:00
thecodrr
dd9b2815ee fix: forgot to await super.init 2021-12-22 10:03:55 +05:00
thecodrr
e7b34bdbc7 fix: merge dateCreated when upserting session 2021-12-22 10:01:15 +05:00
thecodrr
794eb07574 fix: dateEdited -> dateModified 2021-12-22 10:00:47 +05:00