thecodrr
3353d2235e
feat: add migration for table & checklists
2021-12-28 14:50:04 +05:00
thecodrr
d16a4abfcc
chore: remove unnecessary console.trace
2021-12-27 19:13:54 +00:00
thecodrr
bdaf6f506e
fix: set default sortBy for tags & trash
2021-12-25 14:06:18 +05:00
thecodrr
addde688f7
feat: timeout all requests after 20 seconds
2021-12-25 12:27:23 +05: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
fa556015f6
feat: add dateEdited to dateModified migration
2021-12-22 10:24:01 +05:00
thecodrr
5337dd482c
refactor: extendable formatDate function
2021-12-22 10:07:23 +05:00
thecodrr
b3b5d495f2
refactor: apply formatting to notehistory test
2021-12-22 10:06:37 +05:00
thecodrr
52be317577
refactor: expose decryptContent method
2021-12-22 10:06:20 +05:00
thecodrr
da1c2bbf10
fix: update dateEdited on locked note save
2021-12-22 10:06:01 +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
thecodrr
117e84b599
fix: note history returns all the sessions
2021-12-22 10:00:30 +05:00
thecodrr
6a547286c7
fix: sort note history by newest - oldest
2021-12-22 09:59:19 +05:00
thecodrr
1424756bca
fix: turn off caching for notehistory collection
2021-12-22 09:58:28 +05:00
thecodrr
2bb1d32533
fix: clear note history when note is locked
2021-12-22 09:57:43 +05:00
thecodrr
711bb77efa
refactor: contenthistory -> sessioncontent
2021-12-22 09:57:12 +05:00
thecodrr
5bbff5b88d
fix: decompressSync not defined
2021-12-22 09:54:34 +05:00
thecodrr
42d6cfab95
fix: change date style to (MMM DD, YYYY, HH:mm AM/PM)
2021-12-21 14:32:14 +05:00
thecodrr
eef5e96257
fix: do not use default import for fflate
2021-12-21 14:31:11 +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
06828ac35c
feat: dateEdited -> dateModified
2021-12-20 14:37:06 +05:00
thecodrr
02317a6369
test: add collector tests
2021-12-20 14:35:01 +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
0421c9c452
refactor: getItems should return an object intead of an array
2021-12-20 09:28:58 +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
ad83938fa4
test: trash cleanup shouldn't delete items newer than 7 days
2021-12-15 22:21:24 +05:00
thecodrr
ebd302bd60
test: add test for trash cleanup
2021-12-15 22:17:07 +05:00
thecodrr
65b9f94255
test: add settings tests
2021-12-15 22:04:16 +05:00
thecodrr
a4274eb75f
test: add merge notebook test
2021-12-15 21:45:00 +05:00
thecodrr
8a5859c0c9
refactor: cleanup topic deletion logic
2021-12-15 21:26:55 +05:00
thecodrr
abd9a81491
chore: bump version to 6.14.0
2021-12-15 15:25:41 +05:00
thecodrr
44dad98ae4
fix: only save topic if it has changed
2021-12-15 15:25:21 +05:00
thecodrr
ec33eb862f
fix: invert trash cleanup check to remove items after 7 days
2021-12-15 15:24:43 +05:00
thecodrr
05ebddcfc8
fix: always get alias from settings in tags
2021-12-15 15:24:27 +05:00
thecodrr
57d5354a26
fix: only update notebook dateEdited if there is a change on merge
2021-12-15 15:24:05 +05:00
thecodrr
804016bc8d
fix: send update db event on settings save
2021-12-15 15:23:48 +05:00
thecodrr
a7e9ae7984
fix: update dateedited after settings merge conflict resolve
2021-12-15 15:23:30 +05:00
thecodrr
cdde384870
fix: do not update dateEdited on settings init
2021-12-15 15:23:13 +05:00
thecodrr
cadf77e09d
fix: init trash & monographs after notes
2021-12-15 15:21:32 +05:00
thecodrr
7cc5421ad2
fix: remove pro check before att. key generation
2021-12-15 09:56:40 +05:00
thecodrr
301c155119
test: add refresh_token reuse test
2021-12-15 09:45:34 +05:00
ammarahm-ed
bc6c9bf15c
fix: do not init monographs on app launch
2021-12-14 21:39:10 +05:00