Commit Graph

169 Commits

Author SHA1 Message Date
thecodrr
08884ddcc1 chore: bump version to 7.0.0 2022-07-07 13:28:44 +05:00
thecodrr
751305e04c perf: optimize grouping/sorting & id creation 2022-06-16 16:01:08 +05:00
thecodrr
3300b019a2 chore: bump version to 6.17.0 2022-06-08 10:04:36 +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
c234c87a76 feat: use messagepack for syncing 2022-03-31 16:18:34 +05:00
thecodrr
4135028137 feat: improve sync over websockets 2022-03-30 15:52:48 +05:00
thecodrr
ff475678c2 chore: update signalr package 2022-03-28 10:32:02 +05:00
thecodrr
bb675e9da2 initial 2022-02-08 13:16:41 +05:00
thecodrr
b8bd8cca80 chore: bump version to 6.16.4 2022-01-10 13:10:35 +05:00
thecodrr
55fe304ecb chore: bump version to 6.16.13 2022-01-03 14:54:43 +05:00
thecodrr
278d1681ca fix: table getting converted to raw html 2021-12-29 14:33:29 +05:00
thecodrr
c2df49809c chore: bump version to 6.16.2 2021-12-29 10:54:22 +05:00
thecodrr
828c0eb701 chore: bump version to 6.16.1 2021-12-28 14:50:19 +05:00
thecodrr
d16a4abfcc chore: remove unnecessary console.trace 2021-12-27 19:13:54 +00:00
thecodrr
fa556015f6 feat: add dateEdited to dateModified migration 2021-12-22 10:24:01 +05:00
Abdullah Atta
630bb33b10 feat: add note version history (#20)
* feat: note version history

* fix bugs

* add tests for session history

* update tests

* add tests for restoring content

* add more tests

* update jsdoc

* return empty array if no session history present for a note

* init note history with await

* add note history versions limit

* cleanup note history after adding a new session

* fix tests

* add test for session cleanup

* test: add collector tests

* feat: dateEdited -> dateModified

* feat: migrate to liqe for searching

* chore: forceExit jest after test run

* feat: note version history

* fix bugs

* add tests for session history

* update tests

* add tests for restoring content

* add more tests

* update jsdoc

* return empty array if no session history present for a note

* init note history with await

* add note history versions limit

* cleanup note history after adding a new session

* fix tests

* add test for session cleanup

* init ContentHistory with await

* fix reference to db in init

* make sessionId in db

* check if note is locked through note metadata

* make cleanup method private

* use remove methods in notehistory and contenthistory

* restore note content via notes.add method if note is not locked

* move getting all items to seperate functions

* check if parsed json is valid

* deserialize a session only if it's sessionContent exists

* add locked property to sessionContent

* remove makeSessionId function

* update tests

* remove yarn.lock file

* update tests

Co-authored-by: ammarahm-ed <ammarahmed6506@gmail.com>
2021-12-21 13:41:08 +05:00
thecodrr
09d1a22363 chore: forceExit jest after test run 2021-12-21 11:31:31 +05:00
thecodrr
a3082933b8 feat: migrate to liqe for searching 2021-12-21 11:24:45 +05:00
thecodrr
c908c68d84 chore: bump version to 6.15.0 2021-12-20 09:29:45 +05:00
thecodrr
bfe7a7c0d0 feat: migrate to using fzf for search 2021-12-20 09:29:25 +05:00
thecodrr
abd9a81491 chore: bump version to 6.14.0 2021-12-15 15:25:41 +05:00
thecodrr
917534e18c chore: bump version to 6.13.2 2021-12-09 01:09:01 +05:00
thecodrr
fda5e0c84b fix: do not automatically delete empty notes 2021-12-08 19:32:58 +05:00
thecodrr
3f25b2d951 chore: bump version to 6.13.1 2021-12-06 12:48:05 +05:00
thecodrr
99a12749b7 chore: bump version to 6.13.0 2021-12-02 20:45:26 +05:00
thecodrr
6d3a8c80d6 chore: bump version to 6.12.1 2021-11-25 13:21:48 +05:00
thecodrr
127b609dee chore: bump version to 6.12.0 2021-11-25 09:46:58 +05:00
thecodrr
92a8239899 feat: migrate to node-html-parser 2021-11-25 09:46:45 +05:00
thecodrr
02a94e3b5f chore: bump version to 6.11.0 2021-11-24 11:40:54 +05:00
thecodrr
ae8a628c88 chore: bump version to 6.10.4 2021-11-23 19:41:44 +05:00
thecodrr
4671f75b27 chore: bump version to 6.10.3 2021-11-20 20:48:13 +05:00
thecodrr
eb0a934bad chore: bump version to 6.10.2 2021-11-20 16:27:18 +05:00
thecodrr
7f70f8fd46 chore: bump version to 6.10.1 2021-11-19 11:39:34 +05:00
thecodrr
1d169f6bc4 Merge branch 'master' of https://github.com/streetwriters/notesnook-core 2021-11-19 10:54:32 +05:00
thecodrr
62fcb2f32d chore: bump version to 6.10.0 2021-11-19 10:54:29 +05:00
thecodrr
16e95528c1 feat: use regex & entities to extract text from html 2021-11-18 09:05:04 +05:00
thecodrr
f306792b0f chore: bump version to 6.9.3 2021-11-03 18:41:34 +05:00
thecodrr
1c017a5a72 chore: bump version to 6.9.2 2021-11-02 14:32:22 +05:00
thecodrr
1734d8886a chore: bump version to 6.9.1 2021-11-02 11:55:34 +05:00
thecodrr
d904c2d37f chore: bump version to 6.9.0 2021-11-01 10:29:07 +05:00
thecodrr
67674cbc33 fix: improve sync & SSE reliability 2021-10-26 23:06:52 +05:00
thecodrr
9e640ed7bd feat: remove quill-delta-to-html 2021-10-23 10:59:03 +05:00
thecodrr
e06720ea11 fix: detect added/deleted attachments properly 2021-10-01 11:15:38 +05:00
thecodrr
6b619e5d3d feat: add upload/download cancellation support 2021-09-29 09:53:50 +05:00
thecodrr
952d4e8eb0 chore: remove lean-he 2021-09-21 13:40:52 +05:00
thecodrr
69070b333b chore: bump version to 6.8.4 2021-08-31 12:12:45 +05:00
thecodrr
af279be57b chore: bump version to 6.8.3 2021-08-17 09:37:32 +05:00
thecodrr
89df937a48 chore: bump version to 6.8.2 2021-08-10 12:00:12 +05:00
thecodrr
890d0f5076 chore: bump to version 6.8.1 2021-08-08 12:21:25 +05:00