mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Tools: Added sync target snapshots
This commit is contained in:
parent
cb1b5cae9f
commit
e2d3630783
8
CliClient/tests/support/createSyncTargetSnapshot.js
Normal file
8
CliClient/tests/support/createSyncTargetSnapshot.js
Normal file
@ -0,0 +1,8 @@
|
||||
const {main} = require('./syncTargetUtils');
|
||||
|
||||
const syncTargetType = process.argv.length <= 2 ? 'normal' : process.argv[2];
|
||||
|
||||
main(syncTargetType).catch((error) => {
|
||||
console.error('Error:', error);
|
||||
process.exit(1);
|
||||
});
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1,14 @@
|
||||
id: 007d5df404684729a7833e7196d07d88
|
||||
mime:
|
||||
filename:
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.411Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
file_extension:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000308{"iv":"i+K3fJqvCqw1qX3Fi1E5qg==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"XckTdEnM03a9XUcZA4tYnQPl2s1lrg5kle1lssNg25XFoTHFiiHOl9Qf6FfFrFk1EHmXWePwtO7ejz+cUPeW+iMY/ZWsGWGHMWkiX+8EeXy+O45onsLdhjObuC2APKFxwsJyDR04PfaYyHCd5CsSoVZ6KEZ7ay0uJT6hMswnGHvhSDdN58jEsyfGyifDmTP4spE2NjgWzUF6ibi57BVEafYSE8ew9SD/IjFcvu1dTjoMvUfbcRZwxu5W7bZp9wuEQtbAKE2S1qJpoObkJkpTuivyOty2URxcLnDl7YKLDYxtvgVxQswTP6AzUdVdqhS6pA2MT0LqsbgHrpmILpW+AiPBc5Cz+g2zQu6wBP1lg/Dra+TiCH+qBh4t+Lq5ClM+7xWFMWM9lFq1uwVIks2Mh/LS7HCjkYE6uJteRK0J/o++l/X/V0memCFIoUjZ9TAlnXubgi9U0fFJYSbInOBS0RcoLGi4iBMtn1l5aMRt3aCEajny14kFB9zY/IBIWV0C3B8vnVbauw4dZDXZbiEW+uT4y/4D1VwFLuZiVmLpdbkrRMvNduoSBkLHqnAmNPxb5GK0v+9gp6lTXvZ4w5tklG4IGHWufsNYbCkYkbnZsZp3tWSPs3A/CUdDPZZnpC8A"}
|
||||
encryption_applied: 1
|
||||
encryption_blob_encrypted:
|
||||
size:
|
||||
is_shared:
|
||||
type_: 4
|
@ -0,0 +1,10 @@
|
||||
id: 02ae45554c254114a671fce2928d4bb4
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.281Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c500027c{"iv":"CGfuz3tdhFlgIQqRPcx6gw==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"0+4k/qodJ9t7948TjR1VR5BT2VFs9/SUK5fIbXBTBaqCS3tnvHTkWdjQZPQqRoMqCW1bx9QvMUMI+itJy0YghUqzcUfEOP1yM7MPD78/pSkxCapTc+hB4tuLzoqXGt+JOC4ibUGwydVdshgF+5Vie0vinvmdOxoNW9piiY+hf+ZbFEc0NO5gkFcNdY6WNIUFzvCvUkRlr1n1X3XcwjMwF5DtWpxN3kvOEnWU/mSVP0V3oV4TrkVfVK7UJbvv/ntV65tmV3ByiHwjJy5ShRrqdczTj32C5RU9Hd+ZB4BlcdNNgFwnr1Nc0tNYqOmzOHE2T2YYhsSD3m9rowpP94AqB5PQ31JFSbjeDGCOARiyuyIGJsNGFBdHHgvWyzDzTwSRTwtHjQK+NlRtfKPVBBvhNfDxhmSw+0Lkio5gR9DFaMNvV+PStKTJgL1W4p1pHnSPxWkAz6c/ZWt/brHrfXOVUjo5nVcOLTU2OpQeKRLoEphR37GgMQpi"}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
parent_id:
|
||||
type_: 5
|
@ -0,0 +1,24 @@
|
||||
id: 1241f69ccbf54c0188b2f4a02e862b40
|
||||
parent_id: fd8204c333c64762b592e19513f38cad
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.413Z
|
||||
is_conflict:
|
||||
latitude:
|
||||
longitude:
|
||||
altitude:
|
||||
author:
|
||||
source_url:
|
||||
is_todo:
|
||||
todo_due:
|
||||
todo_completed:
|
||||
source:
|
||||
source_application:
|
||||
application_data:
|
||||
order:
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50004c8{"iv":"Fu/ll4tQJYfxuwjlf8eHgQ==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"gD7KXFmMaqQv8bMGCDyCCZHSseoVOwVJnmJPpYnCCX+W8PkWEcVDY+OGshvrgViIlEGqo0n0wXC2puvjY8vN1pjOFezhwL+nED1e5C4qEEciWHVlPkMgNDGCTB1/WRIZ312q5x+vQAaMWlfN5UyLw+aeZ2TADOFnMV3YfUx1uxTvX3Xk0XkAuYVbMgsudQaqHYfjma0RO4MokGnVfdz6TY5X1drzPWJbVl5ZjLBwWiFQoEeTZhfYh6V6XYXA5jb+yDW8LWkkNuL2HEjVFBpw4r9DpO3f5oy69quYXDarghBM2FCl1FuWhA9CM/6ETb4AABXBxW1ZVdcmjt5uaACzxPprWyZGUNgetgX7osT3+HOJ3OejMlEzin5AiW2Qbxx8N1DiYiTMtlyvfYT0DWH1okX2o/SslsB1tGSFuNHeusJXKkbBs4uFzXVElT1e9E7nrpOLCA8N1Q2rparFA3P5IVvik4i5jJ7lSiWc3sHgJ+VEokBHNkZJ0UxhFxxE5mT6QW4Uh4YcdUJocr6MCPICpY9Kh8jpG4ixwBAQ2VtYlEAEYyjHxARO8jb+TwLp4V0whU5NI+tiuwuGXQMOj7YGnf96MQv/X4HDhQu77R1sfq33AjizWIbhEq+svdOgwqXXEUmt//3JPC82vmASP3OVfDwCGjSy6iLLio/tnlj6UWcJepWciAkNIbXDWbCKzGyvjno6tVH/G12gLz4b0Br9fgzLurRVvhqjtLW38WVvS66reG1XNIUFfTh2ZAQl+tB5KGylrt0Vv1L/WpA3axC70KYZdzsne62r/uFChMt9WbV/wY0s2z95bVvIvPQHdDtS9kTd/8kUk3mM6ZW4IFwrmA5rcMK63ygf46fSqT5CFdMm89hQOxdZqZBtU4fwIINvkPwk4FneyIB7CofjwzijCTuP5NRqlFsYBuKjxDbsV0hK16X1pMxMe/kPiTJvVFCEcJh93kIQVvwFYKTgQjn0w4NByyvbZq3lsLrUEHiGW8yYLKq6Hl0eRhy+70fOb1KEQujhcxVXqE80aQ0+hEinT9qdF5xi9N5rOi/aPvZaA+D6IGOmpevq5FB7D2H4iYE="}
|
||||
encryption_applied: 1
|
||||
markup_language:
|
||||
is_shared:
|
||||
type_: 1
|
@ -0,0 +1,11 @@
|
||||
id: 13a4818351b14ad8ab0194392c877172
|
||||
note_id: f0aabe7de88d47c2ad4ce26d8d5ce70c
|
||||
tag_id: 02ae45554c254114a671fce2928d4bb4
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.289Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002d8{"iv":"Bzi6SZCXxmvSpAc+WqAoXQ==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"sQvK1uYKaD5mxleN1XLjZxELueRCXxIrI4dGN2hC367ZqXsOiHfaCgatwzEEi5Oh4Em2AhUs2nnzkZ12dgejLXZDFmHHA3X1en+rZ7evHWla8KGa2xwUznFBRZM8VkaML34wC5vu5RiP/hII6/eJTmGPa9dffklSzc+Tu8JfvCMaqGLvFoelqw4WLYzo5k2bYnNJkhIOd65bTtPVzaJ6H3WfBhp9dPGyZ+obodq+SvIaTwhqrEJS9UnmzW7Sbp6E+ySFmrXRjbWxLJv5wjRjCR8IzZVfqzb3XCmbQootyG5bO0jzRfZzLhl5Dnlz2rtgqdL9An4DcGJjD7rp701TTbxk+p90Fi/H7hjUnX7HKG0iacaYzBcsZCIDfF261wTz7wmibfQNEX0ZenRVCPOqxv8tMKZjiDqV5gyzmW5z1eeX1Cf4xJv9NK9TintQtoZJzi7AtuGst9hBSDWjDfe306i1asMhARLVonZBCGT7dkumOTt6dPlaQ49pp4N4IiRLzkMLhkQiAZC6mFy3Hx92J6ttRCS/OO3CK7AjbnpOkyGsqc/l8qoNDl80+VYp281lhSIV/+YdNqInWg=="}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
type_: 6
|
@ -0,0 +1,24 @@
|
||||
id: 273392c6dfee427b90225e7d1de78dfc
|
||||
parent_id: c65e06fbbe4d456aafbbf0264be59e06
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.287Z
|
||||
is_conflict:
|
||||
latitude:
|
||||
longitude:
|
||||
altitude:
|
||||
author:
|
||||
source_url:
|
||||
is_todo:
|
||||
todo_due:
|
||||
todo_completed:
|
||||
source:
|
||||
source_application:
|
||||
application_data:
|
||||
order:
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000470{"iv":"9h8HViDncwtQ5MTmX6YX5Q==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"pkTL3kN1RHCeAdRM4kzfJSskVi8Bb8MfBDH289hp2GQpH2i10jlvwUMw6wz1CeCdvORS0TajGqvmR3phB02zAv0TmHpxLr2GCfhDA1Qbw1v0h4deT3xic2j0IVfzuCcwsaTi5Fa4y6jm322eiRkDpGNrKSLb8s8ETbED6oXeCAF1fuD7ZEtkPsM4fE3WbGyd5KjfSKbS0gi/f1CgO86iGDZLckt0EgnyuY7Ajo0bOrUR4d1PVKls0PszXrZRxbskMXznFlykhtTWhFGYBn+6jqfx39p2CqIkfMPWHPahSu7QI98rST40sWi62dMLzkMSV21jD20zMdLqSYSuTy7XW4aE7Nt/7P7omRsg/VFuNN7p4oaqRDJ2+jCNtMGKs6ptJ4BI8jZWeWn4YdjWpLVPddaEs9+lR9C/5Ed3WDUXrSGO5iGjLa+XiiT2tv4AbJ6yQDQBL7KTUOtIpXHaecrMj2f0iV63Hkrbj38MbliTyvE4I0gN/XTbhQ6WQoO+nQD0nq2PurwEhqqtWwHk6TgMVDFb+LBHxsNVw3sEhsavCe2WnnKxE4IvcGpg4a7v5xbS1rDb8ESI0R+6UhQw76j68E/HyVbiq7OdvVE1GSbf3soPA7K4sO7oTJPUAwkui467OAJUFmDzuRUd9tFtPagkHkryUKt1ebp+MB7iyZZ3XI/UQ5xZQE3QAo7//ZfV2VToiWJQl4LGX+y0XHZSgepsTu79EwL1J6doaXH5nryxkKbaimJq/K8yUNltLaba3frkrqaDPn8W6xmu0letwQc/KcCxm2DFls1E0GCKdOD2vCjW+m8grilH2WqQUqHdvV7TWjTd2xeUunR+GM+k4+KWUhrk6s/iyZOfIJ2KYUDvE+rC4iqHGz/8NHb2U1dsSveSMz9tJLuHixQ0HaRB4NX4e4G3oOvSMaw3nz4hENtDjKiqbGIaPaascwLb+DCEAo1aXWC+dbjVezcQMnh4eCUMIliDSqWUnVxB83wJ5dE="}
|
||||
encryption_applied: 1
|
||||
markup_language:
|
||||
is_shared:
|
||||
type_: 1
|
@ -0,0 +1,10 @@
|
||||
id: 38cffde11a904a4e89f831e6229b29f5
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.305Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000280{"iv":"ufAfgTWBcXyhnZiC1VA8Mg==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"pafLtHeZoT5Vzt3XmifdAude6/2owCdwWeXg3SCVbZCeEExJg0BKfe6Bu55ckud5nNcEpG7btZa5gnMlc0k9RRgAZXydvrOHdH1yCKGX2emBFHD0VOt9sfOPIaoR3UaRLUxFMyWWUXxJm/MfrLvGxv5z/jzkzsQvn4gIXjPRGzNuE/aYL51ZDdwznW0gJzumZCUXXAYQP8vCyuMZhvoxfP8Vb1e37Y1Hl40SaqOOtxqY91luNpsqfRvXB5DPmiEtEsYXOp7913Ya+u0ufKwBhDO8sq7pNzaz60z9RMhKa2ide4N1ngOLTaiwcgpn5N8DhnQfXjzEn1v3ceFX0SBOZQWMGw/OpOBZUocOAFNaUB4f+LiL+Q+e3XFFEf+W1Ut52D5ekVcZzdIEDB/58BGsc4/Ifi8dDI2ASdzriLVSqJRlkv64AvsoGpNSEgMWzWVRtrjqDGbN1dzMddZqAV9/HB08OuNqWYm2sGYfOF44qcUKgv0JADKCa+e6"}
|
||||
encryption_applied: 1
|
||||
parent_id:
|
||||
is_shared:
|
||||
type_: 2
|
@ -0,0 +1,14 @@
|
||||
id: 49774b5e3e0e460aa70308a43c94cebc
|
||||
mime:
|
||||
filename:
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.276Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
file_extension:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000308{"iv":"tYDqKe/kszjggCifj1KUAg==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"i/meCIxFgfziCMlirvSU4Bq/9bMQXXwTYlrD5cw9O9Bs/YSabSzfq1WgR9KX+hX2chBMETjZ1mdrNR9jvm+MXUPFoBn8KSU+KpVVCMK3SsVdpBkvziy3YgToz4lo4nMoVvS+/Uhfd+RgUfDQcs/VTXgWK5zr30/ciDTA4Pe5PvHeEDLG7m/wTpI0YaVNRYiuk3T0/7+njOM8SDfQn3sUXwB0hv1uR0nKEFT6dYcUZ5tVrMH3myJRw0wng6oOH7fUsLqM+dJl8xdn8nabwQZSQHNkJvcGQmvDZR8AKV4RsGHwXZpmx/bl1NnBITd+ymQqJAPs3Mk83bpUPyWLoxWxJOeUxzbXuQ3LXS4WLsR6Z/AUjHEq3W3U013igSZvuBDFrli1AS6Fe7yr1i96B6xaLG59Kd4m+GO0KqyatJ/R5QiSNKL0x8fkmPGyYHvuRBYER6EZ1idRoqjwYo2pNF+OQ9JmLXtrurgczQR7ycnKAcj1s2Hf2ALAXSfrESWppjpfGdh7NzV9PC004wmD2CTTjcbHIKSgitJ5prAwo0WWHN1bo0PwMtJ7uphTiEUB1X0DKqV0S9OkNayXcORqazUYjdg5myHvwIugE34eOEubSO8Ot32V/MVO031Wuud9iwD1"}
|
||||
encryption_applied: 1
|
||||
encryption_blob_encrypted:
|
||||
size:
|
||||
is_shared:
|
||||
type_: 4
|
@ -0,0 +1,24 @@
|
||||
id: 4bdf2edea2514750beb9b2e82c7ec544
|
||||
parent_id: 77c94e3da5d44db28eb485162d1b3f41
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.300Z
|
||||
is_conflict:
|
||||
latitude:
|
||||
longitude:
|
||||
altitude:
|
||||
author:
|
||||
source_url:
|
||||
is_todo:
|
||||
todo_due:
|
||||
todo_completed:
|
||||
source:
|
||||
source_application:
|
||||
application_data:
|
||||
order:
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000470{"iv":"U2fkg8/0GAMH3F00ElUi+A==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"UKWdwk4IkghRmriBiLbxCZGsx/q5T0mkkzIt4Ldzd1IeMeFPN1Du18lWypRaqrg6bKCu/Nxg98xRMTsNImyt+uGjzejN1tCdAp8GicapqwoLZSPaBLVbp1oDRNegL0srlisNkSOnlJTb1fFWk0VPo8tseTVjThiRDUBh3bDhLociZOj254g4V1a084H+Yuik1Prc8GdDlAs6UGiErmuA+g2Rr13u5Pedo/tf9QLmG5+MZvBU3Ix8NFYSzZjtS6cGKiw/FHUyYY2D+cdRJwIqnbz+ORa1UEHwLLGsOUZfdE3BRz5UZYd68vYFWny2RRjokWQwcFoAZpfuNf0160jpZWFQtcL3JpNv3PY/OG06Wz6vm0H5/9sDhHTltVoyZCnt7zyZOobBLyx+0rpfVmwJ5RmkIYheH6JygnBW3OM82Nc1qdyUCo8SUAVjQDMfZPbTBcES0py3IQ/1K97A3/KGgWC+zl49hk/J7yIlN0/EKJS2YyqydDZwlEgbIRGxTWIJKI80Y/zuPMoVCTtE1+vZD71z9LO3XKNMo6jOG51spA0/zZUOolUB02zOi1MVqjKL+6xts1ngJgW+6zDXbafVknK8I+y0/selPC7PQxVctTWJh+sl98PIyWPZZ/sKOwfgtW71lc5Rl8+PtIyFcY1GBbQbGiW8Cv1+/vjymI8ng0d0Yib5aEHRvAwAz2uKEPl0sMZ0HFbfpae5Da4aqBhE21e5YHSx+qIeEIscOiVT/jborw6xkahgv3A7kj6UOLtwkrIrpZQ1GhcwOOkU9YVCt/4urdtU7LJ0X1DlLzdlyMe2ccsSbCpbtHzFRMpIv9ULNT6xQK/ft4KHvcfI3vuJLUGJkFBZ+REgKwOLgY3kpasT5LbmjnaXBbTtQ+nsHjr317UBPt1BwYon/hJ8XKPKrUB+t/r5zMahX60sJzSxyovvf/pk7rV0yfg4/5R4h20X1KmSPUNPDtNvDeX/REDyXV6GIRHHDzgRPGVHqAM="}
|
||||
encryption_applied: 1
|
||||
markup_language:
|
||||
is_shared:
|
||||
type_: 1
|
@ -0,0 +1,10 @@
|
||||
id: 5d2c4d63c7024c74b00ac408b26ea727
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.138Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002b0{"iv":"LeW8eFn2oATMCQs0oiCf6A==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"h9zMjfOx/0gYdTS4uXdPLkXvDEiYzhGgr+0GuQeFb9vWOuj+qUqjhV04ZZVqvQiUYRJBzSgCBF25CsBpvOYUF8z0WrAtAANHFMCOTT0zBHXg9nzRBAl934XWrZ92zfeOUZ+U5FWIHVEjpImXGC97nwT0x0W5vHw54tsxguenMkPWFGTbfg/hQFeofmOpWHMZm3CJ/MYgJzw8WCHLyY4gRAeYZv/H789FT1csAtNe9w6zgnUyYlIfkYRmi3HA6wOAN/D4EaPdf4POH6Ma2ZnvONfLYV6n2hJizmCqJwr9uhwnmJWuv5CjTNZ7L1RWudYQRRy8db9c+uH+zFQ3nGutiIDl9ka0NdC/xaBv3QzVVdkgM2rIkbf7w+XnXhSveEfhDDpZaljorc+L+Aw7F45JXczPfKc5B61eiK5Df4R5gNfcwqgqTwhTwVeuHaOVQfOeYIpSRr2Y06RcsvEXfUXkv6+Yve7y7xrkKQw3V8lUD+bERtygyE8x41y7padQJm61bVP6IlYPtOu2v3ctzo/CEY6PP+dV87UmzXpxqPs="}
|
||||
encryption_applied: 1
|
||||
parent_id: 77c94e3da5d44db28eb485162d1b3f41
|
||||
is_shared:
|
||||
type_: 2
|
@ -0,0 +1,11 @@
|
||||
id: 6db42e4e9c0b43ed891269d8a0508c76
|
||||
note_id: 1241f69ccbf54c0188b2f4a02e862b40
|
||||
tag_id: acbba73d7a1a46848ddc96b96c64ec8b
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.415Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002d8{"iv":"4y/iBWttvQyriXqtS2CGHw==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"0p7EzmL/RzbEWyNcYfAL74fe3biMcNKyzNniXLNFcQphuBFTfLRp7zo6w6wSZ+cX//DTlA7bzPUz4/Vh7KRqbjqdEreSS6ZDRFfc2mT5rMW7msfbxvYOwg4iu3B/FfEUXM55GGHuzHYirkEQvpO0tjI84StZ0vXvUXmXxnOuizcKWrMHWDAAo41pAVIvncOFTnNfYPB+KIlG0WQ1gHgQgclpAYRrm0P/CM/sr/hQQWyH8exc+ToUg0JRmamLs12qHAYmXMlXfwf66vHhYBBGEj8mXErnp0uj6CtENE6AV2QdrEz1QcRa/XwmNb2xDNxS6+UaISzE79UrGNY4uO5om0YQRRhZpmC3A0QUzyd4VF5dEKaar/9W5wXJ/PKSw8l0/KJaNVNGhqLux0mlfEaAhRnzaFkru/JuIGY79hasyJl5l1ANEx9eByRAaLCq8HcQvm7yKva5/7zwHJi/zMVc25sQvmV/owUb+hVFifRfp3azkSj2826kRqJDwc2bXJHRGs7yVCeNuRdoSbAZuve9hUud46MjqOr2/MQ/ml7LQXtufba+WBB0gtheVE12l5ceKps5ejEa6mu2wQ=="}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
type_: 6
|
@ -0,0 +1,11 @@
|
||||
id: 702aeb4225844c19b85bfbd661e7a298
|
||||
note_id: f0aabe7de88d47c2ad4ce26d8d5ce70c
|
||||
tag_id: acbba73d7a1a46848ddc96b96c64ec8b
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.297Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002d8{"iv":"GyiqQTZ3ifi1IQ6X9FwzUg==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"dhwC/A+NRxH2ol++8l/08RXGm/yuspLrMrXgjkaU/E+Twa0szoc4+bOgyTfV5gWpw9zoxHVDW0sq9R8NeS+nYQiIHNdWJuH8Dq2Qz5BIGca4uK+3InOI9zyD4F7YeP9MPZAPT4Kzj2QPbyschS6YaT1D8nYD2ruBZC9rMUY2o3wnjtDjgIV+vFlbbMQ6PlOQ0dmT76ooGUuq+dc1eWmWgKtXynLQoHg4uuBMfAbd5+o08Tkd1OJReW6He1nSOlmEr25ZzXJoC4BrgeY+BAB+jlYR3wENFzX1fdll6JkETRayuOEqpKPRuKhbgu9xeqzOsIoFGiBbmbANt14s8Vrj9OiazCvzQ9XywGQ3dMpKJZn9uLlDuxb8f9TFREuqXJVGcCK0P0xsmffnR8mfqAYOJHF1i6xDl3frSixghgg3giOHeaG14a9dL/acd1QwSia9ufWMMxxz8ZZPjP0z8edVmg/ItsdbQlt8fGwC0XqHAz5r3eRI3CwiFF1iVfzza5aLqXkyFbctJ5frMiMagpS0iRDPZ9srIVAElrHyYIYm4vTjA39H1BaGyNxb2twpT9T0yGOWyeLDNbdG5A=="}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
type_: 6
|
@ -0,0 +1,10 @@
|
||||
id: 77c94e3da5d44db28eb485162d1b3f41
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.136Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000280{"iv":"aonRUkc+I8fOC0+ddwNXuQ==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"dK5Nx0BnkpiZmIEZ3oZ9xs3r6UmcmCrFqiSwRG2HCDMp79Sigws2x1kPAc+ALcTJfHZbK/9KBNHD7xyyUitqEA1pHVajuTVauKlYmt7M8sZFka0r+e1W5uyZhdUFF0oFnn+uBM+I7ZmMxpEIQSLZs9Nq/m1pmLh/UhmKPazPFTL5SG2rEKC6TVzJ5MgGPG5bohOrkU011drK/F+zokn0EP2VXFLhGVzj6C4AE3s+fQxqV5Ct5ctz6Q1Vj1vgrDSNMdZ9rBYxufvYkZEP/jQvpmmiW2BPWtboX+2M9qJrXoI4hRKh4/NzKsDTZtG8N+wL7nn/h8VCk9XcwTWlkQxH/xZa3MpyYIGT0Q8RaGwdkYC6yYcASJLGoawTj9vxeSUnsFhV7dFYv2IwR+ct4LII7bOtPo6OO7Tf5+kcLURE5WQ+YH1/K72zVA0iOjmrG5hEMKBbwlXpiRJKlc+fc2ZUaCZUfJujjQPsrUGd7x2mPVXEj4wJ6+e1Ban3"}
|
||||
encryption_applied: 1
|
||||
parent_id:
|
||||
is_shared:
|
||||
type_: 2
|
@ -0,0 +1,11 @@
|
||||
id: 7f038ca8a227471d997a5397fc13eeac
|
||||
note_id: 8e9ac6678d1e41ef8675ba8127408476
|
||||
tag_id: 02ae45554c254114a671fce2928d4bb4
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.283Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002d8{"iv":"0vyocm4M9thhoWfueZcyIw==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"JujW3YpFkqgvTfDZEZW+uK6uxKcjV+e0Q95TAMTucQpaeeFw0RBHrgfyqji0LPvR4Oy4PGtM/f9LBaO2Gx4yJagUHDBe28pPmD3NDMSutRKxYm4yZVleAvQlNnBiRKOzaAYBgYsWFl1q+8NggWuQFmUF16mXOIYYb+MEhinpyQx8fXONc79joHHJ5oBvGKBaTonRdOzyL/+fjG9JhqvIZrcp+A6DSRK20qgafhOcfAlzTd9ISxV9icLIvLS59zn80sNTMiPwst00KpRMzqBFGp0+c7q+r948Xx5p3FiMOP1gO0dUSpklyQnDMUL64smHVYqkqSWj+TI+KMWFXrQg7HQYG7nFbGRBW+I5aICgwfP2IYtPUw8zElso3ONmPqTTFiLfpIvAGNutyc6pVL1w5NVBwvzS8JVOlfMDejXMDI5nSov7lsuwV8CGbrErGev0c3JVvJHyKYiZYYLTX3/BBogTF5L7AR5jx6SvMiczWvmU7Bxhq37P9GaWFKPsB5JysG9gjrVxLTikkxv6evPqxKMHqIhSSCmi8lWR2KQk+EaE4yTu4tkfSYpyirj/WOdi2S+jmrqWOWXiIg=="}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
type_: 6
|
@ -0,0 +1,24 @@
|
||||
id: 8e9ac6678d1e41ef8675ba8127408476
|
||||
parent_id: c65e06fbbe4d456aafbbf0264be59e06
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.278Z
|
||||
is_conflict:
|
||||
latitude:
|
||||
longitude:
|
||||
altitude:
|
||||
author:
|
||||
source_url:
|
||||
is_todo:
|
||||
todo_due:
|
||||
todo_completed:
|
||||
source:
|
||||
source_application:
|
||||
application_data:
|
||||
order:
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50004c8{"iv":"znLFDnyMp5GRMKfPfeStNQ==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"olRcMcvwK5q4sCWDVkCTXMaHFNJk4EL0LGb7/t24wc9g+BsLOOmokfmxNvxMNKnCu2rHQA+DC/0dNK1HZXw5j5QqqSX2Zf3qjYqnIh1oL1VkJBLK+IGViuDYyoF6t+IkHdxpQcB3hESgIgIfgPFj3YzKmuPR8MJDZ17DROPo1dcPUDk6FWPhjQiSAEhcWcALT40Plyy1eEl2QvhXvRXakJLRn/tHVJy4wIxeuV4Uo3xXCqa6mRTjMQSnqeZX4iXO0YFS/Ndwa2msMnXNbABOMuTlVkeEd6XM+RsTaREgBEl91YkZBw3ycqZZO36zdS1u0jWwAl/yNODLdk8MM+mLs2+kwN7XA4+rNOO82K7ZfxlnOQymmcH19M+DLy1lFges5eBZvVVj1eRT60YTcFhu1Kr+i57p6G/yR1kLddCHs3utZqnINcIhPE1HPs8/rvyg/p9z7rWJcIKj1YT4TrvkWqJSsJyrGmXH1QctAGIHf/nHnH8T/Mm9ObfucjfXLZgt7lw+toZNCX6eMph2muEEUW3dequv2Mwi/MWu9Sy2x/dfytrAuaFXnGiUZUk/g6XezFgoXLnHMteqfMTJT9GRN/HFdFZqwsk1NUbPaWoKqUOuExE5hvDLk9JdA4TwNUOuMLLMs2CQECzgiEXqiTo1kpB1O9S16AZBiktXI7exSN5CC3vAjS6rV4z3aGsILDeweKod6LuYlFbYcgmh8BlKpZmZ94VuCmD91tlTy0moYEDZYXaIO/7IowHTL7/ZCIB8ILcUYLb11zOcJeKo4fy6CZSvU4rGPEo1AJ9w7VCOZc2YPYFdEHw+IqXL5s1MtNjsy5YuzZQtxCAA244fhYLRjqQHz05G4YfBDg3tnQ4yMynMEBqU44ppRwAwChCPz/G0r9RT7TaaQDDSsXx42xdjA69ZnZW/ySkrOgAromXCEjLIvLzw8NxG5d+wd+APT7MYsPqvqVRxxp+BJsYuNWGtZHgyPJvMmsshn1JexcJF2s+bFGEMJv7GGL77B4J7yZ+0myARGZ6BuXnk1mdwZfW+Zfwr/AofIxNxe5R1VLBLTHGH3wv357XVj48aqA6TY24="}
|
||||
encryption_applied: 1
|
||||
markup_language:
|
||||
is_shared:
|
||||
type_: 1
|
@ -0,0 +1,10 @@
|
||||
id: acbba73d7a1a46848ddc96b96c64ec8b
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.295Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c500027c{"iv":"kJV7fueU0hsVrt4lTmqJXw==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"4tqgbPmSxX7doVogiIBq20tkQT6qbVWOx7koi6Z696SDsdJZpsZs9NRzfOsLAgZrHjrtjZlMqB3IYV2DIc5UojWQZEKn04CQmLXDL+ypMFHHmxlqV0qrBhYXSBWMRLjUxjNx7fQgnMV8p/0Wq2ImxxKzuG+fhlc3uH+/7AbIiCzAbGovn2TTPF8agZClWutp0mop69/rdHDTA3xwWe+bnQRFxv65VrrPOGDdgdwVz6Fr9GaYEwF3pWmbCE++tEHBjuwEoNNycRPfw0yIzB05/4zN5xxFqiLzDdwTrwYv2W+U6iZnQPbf/NoaLlCM1LgZCtKg4kLnGS7Su/GxhX5paItd3Lix1sY6R+gsTZucsPF0z7kAWhOyI3KTFPHFLhHA/t6E2tjwrccIXEzQIuA3ZX6L4ebojMvUbxcQeiDQk+CMLaFMMJm/tT5MpNhAmjo9UyjQA4OQa+SXEsjAs1h9sYPNtxakwSZgH2KETR4/qEn76F8cmkea"}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
parent_id:
|
||||
type_: 5
|
@ -0,0 +1,8 @@
|
||||
id: c24138199f5b403fa3e9b8b4f22685c5
|
||||
created_time: 2020-07-25T10:37:00.483Z
|
||||
updated_time: 2020-07-25T10:37:00.483Z
|
||||
source_application: net.cozic.joplintest-cli
|
||||
encryption_method: 4
|
||||
checksum:
|
||||
content: {"iv":"qukPmj886S4Y8nyT9z/WFA==","v":1,"iter":10000,"ks":256,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"FTTpwryRSrM=","ct":"ShoeEpKzYWDzkZa2k0QRX2FN8ucIedwmTIjF/o6hm0HFoE5zP0KG/eLCj5T5IcSxwXOJwRUWV2NCcgN9unr1e75JVeZlfqjS07WLCvfn4hy9acDKN8NwdFVjiCTnzyfbjNlmVcvIdoFBGgsWmkPwIm35feg7UHkeWPa2vq5NGt7UxPJEf9p62eUFptlEHXoRwqk6y4liqkyQGJsqg9OaQR2OJEbQKb5FzjeTYyOG2pQ+XcVa0kXhY6H7nyw8l5BRm+WdDeU6ToFFey4+DFpQ8xYF/e3QGemLbM0YlrDRZzTMkHjgQsswwdKjzZsAX3K3/phKrsX8/kq5+T0BJRpsj4l7Zfp8VsvCEopqDisHKjjIEbPiH8/nZdDA3TiRbWMt/7Ds627LgG8NNPWGV1Ld43Gyg4Xd8mJgSf4ZEksca9Ar/HJkI1knDJHt5dpNzrv29oTvdCrZpDoeqFLYOyWtecYuCFUFXVA46iRSiuuyMpXaJMUY/5FAdJu+Ml00arZEZwScYAMYTfeSIZmdg2EmpPfxBYxE2+LMY7L1LJ28l1MYm030DfyjC5xCrB5cZZ+Q7Uy8+YKdSodfv5wQIMQUR5E9LxcN9kfEkKMywSufBFXR0heUHuhJJvHi4ywKABMD1hivBDJQkxnD9A/jYzq/pIsjKW3uKDWFEzMFYaLEGK+v8iS7WbtWmA=="}
|
||||
type_: 9
|
@ -0,0 +1,10 @@
|
||||
id: c65e06fbbe4d456aafbbf0264be59e06
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.139Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002b0{"iv":"y6kwqC0uV752rWyPqtpP5Q==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"/W+EsY2IABoL7uEssSFBi9IukZ28OEf4M9H0oGg4alaPMT8S3nkxLeg0UexwxOb/yGq1QnjbwNUoHo/FHL6tGDS0s3AsTV++v//EdxfZyjx2VfHIQfHJwhKk/HRN8HM4e782wqXVtbrOX9QCKsSEwRTgKJeZ09UWfZ/eVbxCjiiLt4JUtQyhKPEER6czBqGS9uhuyHiPbmAR37d+R9xCZSSVpT5OhIt03ffhNFU8s2yAxrQ/+EEpqBM/3J/SkVhwp/dHke7mRfGwqhKhoxl8ynV1/qVZTgIk4l9xw8refubYkF1q7wAT1r/b31Io7GW4ysHVB4F/tkd8KyEc7AddRcU41feWyNwvf9C4wMmB/FpjunzLYb4QQd0ons6ZN0kyuQnCu/vySSkwdVtX9oRx5K1V89tAEBYsO9BVxFNf8vgNJzdXCpIzK3CTG8IW/ZVB/UgUKxodQBIp9G+iVQWO45b3dJk2Rln00YXVli7rXfyqxAiXnEw9psgFZNPy9jW7f0kNwezcU3Zovix6OSvG0Zu2nWoL4gGXgEAtmKU="}
|
||||
encryption_applied: 1
|
||||
parent_id: 77c94e3da5d44db28eb485162d1b3f41
|
||||
is_shared:
|
||||
type_: 2
|
@ -0,0 +1,24 @@
|
||||
id: f0aabe7de88d47c2ad4ce26d8d5ce70c
|
||||
parent_id: 77c94e3da5d44db28eb485162d1b3f41
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.288Z
|
||||
is_conflict:
|
||||
latitude:
|
||||
longitude:
|
||||
altitude:
|
||||
author:
|
||||
source_url:
|
||||
is_todo:
|
||||
todo_due:
|
||||
todo_completed:
|
||||
source:
|
||||
source_application:
|
||||
application_data:
|
||||
order:
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000470{"iv":"OVD9Kpe4iZRhEgnooBGUjA==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"pxkDB+w02CTRMxtwZ7m3k9ovoWh49ggBgPi6ptSrPpByBiVShtrCwzl2ZabrOmxRriK8Pca4Tu8Ektxziqla6kKGpOCslX9rkwuPv/U8H7I+g9BZDwlBkQZPxH/QKdlIP4YeSqqelM1gPGudRDWJPU0rk47AjMSqbugVv0ar1sUsFc0rxxBvHwgNwZx6mlQ1P3ocYk03uyo2qfy8s43o2FSxey55MPBn23b9IJjMduVflzQ2d8pa1YD59qxJ+fwO7EJRcuvakT5JIW5g4D60tql/iog0X4whFGWtN6s9VZomnmEH4joBxxVgxhfEHcgLH51g4pheZzcDiforbPOyf/GJmn9f9ZP9xQO0lq8hFvvzvhWIDfbRhOSVgREdUweH+XPJ4FJqpinlPSdHWq+iU0gI3Rto5ofwNR1nVUF7tT7EwFNPBaUw5AZyAvxRRJU4YQLhQJfHXfk9v7FY+px4tJGA2RLsFlo4GwvAzsZYQeD6B9NGDDLTqQZJWM9IDWN2B8PuZ4Cnj2Cw/Z2LMcImSKKBcidjazsnMqzHTxNAC4FT/4Ysj+UjFAdZ5fUNL9QuaYAkFOrhlXEjTLyz3MVrrFHJhxjWlt8J/uq49JAL97VBZuX4VnVW0/tElCfu2xzMIOwulgaTqeXiYr1d2UYRq1v54HQ8TTD1gw2b9BK7xZEAo5EL8j/LhN8VrFuunOjWt065zDmHvwJqmzuNDKFnnguukUdha9jZJTJnXFMNhJebRKONSjybSEwEGqvFrQUr4xTtaEx3AkCr0yo3zvINq1mdOT23USm2cxFVLNbCQ7VwXM6OwIuqYI/jslQYBE33EHEJLH84fLJTfZgMUK2GjPLt5Et+5OhuLIgYMozt857olrpUE59SFlqEfF1f7acT26u+uqtBo0HoN/flGHT5B6xugvg9XCuWvi6ZtGZ5AEboGByTYNnyTirC1vWgIlLhNMRqzWMNO0PMAmgb3eEl/j/fMmPok9S5aA3e8mk="}
|
||||
encryption_applied: 1
|
||||
markup_language:
|
||||
is_shared:
|
||||
type_: 1
|
@ -0,0 +1,11 @@
|
||||
id: fd04a61cb0ee4418a21ff0fe85992295
|
||||
note_id: 4bdf2edea2514750beb9b2e82c7ec544
|
||||
tag_id: acbba73d7a1a46848ddc96b96c64ec8b
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.302Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c50002d8{"iv":"ieBea8X4F4B81d/doK74NA==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"0mD6ejTI5f0PExkRcZYupNH/ni4uPGqk9mAz525h+x9dUFgiFkFIImULlf4j8Z+1himEImYChMsl/ZmHHUckwCUPdIR+NFm8bHkMnf0gwlBEmhe0EuJcNJAAYIMi9VO5ZuGITG0n+pttNtb6EM+tn9FSPyN7OOfgSc1hOqxLUJo4AOK/iB5nT+kO30h5l3gFQbeHFK2MOO7pR1NCy6YXkneZ5uXxnO+2g6GvxDbU67n/mKs9AI/EQun+i49J1ZfF0qFqX9m9iWs6fJiWCUe+OP7PFrFYf6hUiNQCW+gtqLGfWMoeK6VLJigw40qr4EHdeDhlXHAemCH3TfCGAKaDJ6YxmhJ3R/53KI39b4cbfdeNoLfyK1jFu8JSl/2gbzMTdNyFvzFDtf4USjxSlpYSFjnAJiGFF3Cmd4tsBvDUuAGqMhTwagyH39HTfB1lVvAIXOtf+p0vQHuFEs94BkT9u6Tud74HSCSpvxMc4XhBZmcMUOEMMEzVbGQQCGAmffIGU85cgrL48gtE35AreYaPtMA4tHS+x7MAdgWk40QaXjFl3XMDYppb09i5dYcdqeNTZoZ0liAIpRimXw=="}
|
||||
encryption_applied: 1
|
||||
is_shared:
|
||||
type_: 6
|
@ -0,0 +1,10 @@
|
||||
id: fd8204c333c64762b592e19513f38cad
|
||||
created_time:
|
||||
updated_time: 2020-07-25T10:37:00.306Z
|
||||
user_created_time:
|
||||
user_updated_time:
|
||||
encryption_cipher_text: JED0100002205c24138199f5b403fa3e9b8b4f22685c5000280{"iv":"r+WaCNs6XZ9Jrx8MRLaeig==","v":1,"iter":101,"ks":128,"ts":64,"mode":"ccm","adata":"","cipher":"aes","salt":"O2duAuTVjV4=","ct":"HLpVq2vzimdeRMPsJUuU0o/GHBXx3PAgtydRd2GsgJo4kNHS5rzlJ+2jeyZ9u69lzuc52Dzyk1i1T+f9gdxxiPLLrDDjOhb3D2symXev7+yHmmLI5MGnxvyNHQhAwEC9DUOgXg7mdWPQgQq23M+ApNo+rcc01VuuOPVLWQaHLB1fLpeDApGU3/R5uH623W/dva9N4SVUknjEjzlxQjws4AGsYBzWpaOHnqYnd/nv3/WfJ7436IyjofpzT4U8IGpKcE0NBUt1FQdWvhewFmPm0csc4Iypbj8w3HQ+L4THX/4XeLDpGAuP7L1yOcflevvjxAQgdbjow68AcFWUdPrDwTzHs1mSA0r9vznF+31uctN6gnCr3i9j9zaXUaUAEnNfoJNy60lYyfxg9E9V9UaZW+PdlL3gRtZ8Os3RL1jcw2lSdPmWbVfZYEvU2UBig6SrmH34obGaBt9m1xY+bJZSvWmN5R2S1iaaBLBHclbXJRSlXRxh89eNJPDr"}
|
||||
encryption_applied: 1
|
||||
parent_id:
|
||||
is_shared:
|
||||
type_: 2
|
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
Binary file not shown.
After Width: | Height: | Size: 2.7 KiB |
@ -0,0 +1 @@
|
||||
1
|
@ -0,0 +1,26 @@
|
||||
note2
|
||||
|
||||
id: 0e8d296dbef34588b0de060630ad2582
|
||||
parent_id: 36ad2ccddc2542a9a5c41a1fbde269b1
|
||||
created_time: 2020-07-25T10:36:57.409Z
|
||||
updated_time: 2020-07-25T10:36:57.409Z
|
||||
is_conflict: 0
|
||||
latitude: 0.00000000
|
||||
longitude: 0.00000000
|
||||
altitude: 0.0000
|
||||
author:
|
||||
source_url:
|
||||
is_todo: 0
|
||||
todo_due: 0
|
||||
todo_completed: 0
|
||||
source: joplin
|
||||
source_application: net.cozic.joplintest-cli
|
||||
application_data:
|
||||
order: 1595673417409
|
||||
user_created_time: 2020-07-25T10:36:57.409Z
|
||||
user_updated_time: 2020-07-25T10:36:57.409Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
markup_language: 1
|
||||
is_shared: 0
|
||||
type_: 1
|
@ -0,0 +1,11 @@
|
||||
id: 142d880fd27e43e1b70ca02722f86dce
|
||||
note_id: d70c14d1edd54ccaad87ee934a499852
|
||||
tag_id: 96c03d6a6d19419f8fb95cb21e7f4f22
|
||||
created_time: 2020-07-25T10:36:57.426Z
|
||||
updated_time: 2020-07-25T10:36:57.426Z
|
||||
user_created_time: 2020-07-25T10:36:57.426Z
|
||||
user_updated_time: 2020-07-25T10:36:57.426Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
type_: 6
|
@ -0,0 +1,12 @@
|
||||
subFolder2
|
||||
|
||||
id: 36ad2ccddc2542a9a5c41a1fbde269b1
|
||||
created_time: 2020-07-25T10:36:57.195Z
|
||||
updated_time: 2020-07-25T10:36:57.195Z
|
||||
user_created_time: 2020-07-25T10:36:57.195Z
|
||||
user_updated_time: 2020-07-25T10:36:57.195Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
parent_id: 77007052daa34970ba8c88b56c8789ac
|
||||
is_shared: 0
|
||||
type_: 2
|
@ -0,0 +1,28 @@
|
||||
note1
|
||||
|
||||
![photo.jpg](:/4b938c5212c24110afdfe523e0d85fef)
|
||||
|
||||
id: 4782f467eb8c4d769b3538f069c39cfe
|
||||
parent_id: 36ad2ccddc2542a9a5c41a1fbde269b1
|
||||
created_time: 2020-07-25T10:36:57.196Z
|
||||
updated_time: 2020-07-25T10:36:57.400Z
|
||||
is_conflict: 0
|
||||
latitude: 0.00000000
|
||||
longitude: 0.00000000
|
||||
altitude: 0.0000
|
||||
author:
|
||||
source_url:
|
||||
is_todo: 0
|
||||
todo_due: 0
|
||||
todo_completed: 0
|
||||
source: joplin
|
||||
source_application: net.cozic.joplintest-cli
|
||||
application_data:
|
||||
order: 1595673417196
|
||||
user_created_time: 2020-07-25T10:36:57.196Z
|
||||
user_updated_time: 2020-07-25T10:36:57.400Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
markup_language: 1
|
||||
is_shared: 0
|
||||
type_: 1
|
@ -0,0 +1,16 @@
|
||||
photo.jpg
|
||||
|
||||
id: 4b938c5212c24110afdfe523e0d85fef
|
||||
mime: image/jpeg
|
||||
filename:
|
||||
created_time: 2020-07-25T10:36:57.397Z
|
||||
updated_time: 2020-07-25T10:36:57.397Z
|
||||
user_created_time: 2020-07-25T10:36:57.397Z
|
||||
user_updated_time: 2020-07-25T10:36:57.397Z
|
||||
file_extension: jpg
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
encryption_blob_encrypted: 0
|
||||
size: 2720
|
||||
is_shared: 0
|
||||
type_: 4
|
@ -0,0 +1,11 @@
|
||||
id: 4c0946e2eabf4a16b3451097a85a45b8
|
||||
note_id: 922bf9d7bfbd4493b54202b25fcb9305
|
||||
tag_id: 96c03d6a6d19419f8fb95cb21e7f4f22
|
||||
created_time: 2020-07-25T10:36:57.541Z
|
||||
updated_time: 2020-07-25T10:36:57.541Z
|
||||
user_created_time: 2020-07-25T10:36:57.541Z
|
||||
user_updated_time: 2020-07-25T10:36:57.541Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
type_: 6
|
@ -0,0 +1,26 @@
|
||||
note3
|
||||
|
||||
id: 70cc44320e52419dbcedeb321d0a3700
|
||||
parent_id: 77007052daa34970ba8c88b56c8789ac
|
||||
created_time: 2020-07-25T10:36:57.410Z
|
||||
updated_time: 2020-07-25T10:36:57.410Z
|
||||
is_conflict: 0
|
||||
latitude: 0.00000000
|
||||
longitude: 0.00000000
|
||||
altitude: 0.0000
|
||||
author:
|
||||
source_url:
|
||||
is_todo: 0
|
||||
todo_due: 0
|
||||
todo_completed: 0
|
||||
source: joplin
|
||||
source_application: net.cozic.joplintest-cli
|
||||
application_data:
|
||||
order: 1595673417410
|
||||
user_created_time: 2020-07-25T10:36:57.410Z
|
||||
user_updated_time: 2020-07-25T10:36:57.410Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
markup_language: 1
|
||||
is_shared: 0
|
||||
type_: 1
|
@ -0,0 +1,12 @@
|
||||
folder1
|
||||
|
||||
id: 77007052daa34970ba8c88b56c8789ac
|
||||
created_time: 2020-07-25T10:36:57.192Z
|
||||
updated_time: 2020-07-25T10:36:57.192Z
|
||||
user_created_time: 2020-07-25T10:36:57.192Z
|
||||
user_updated_time: 2020-07-25T10:36:57.192Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
parent_id:
|
||||
is_shared: 0
|
||||
type_: 2
|
@ -0,0 +1,12 @@
|
||||
folder2
|
||||
|
||||
id: 8151f52ed31442cb9c9ca0a943845de5
|
||||
created_time: 2020-07-25T10:36:57.432Z
|
||||
updated_time: 2020-07-25T10:36:57.432Z
|
||||
user_created_time: 2020-07-25T10:36:57.432Z
|
||||
user_updated_time: 2020-07-25T10:36:57.432Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
parent_id:
|
||||
is_shared: 0
|
||||
type_: 2
|
@ -0,0 +1,28 @@
|
||||
note5
|
||||
|
||||
![photo.jpg](:/b50d9136b45e44fd9d40ef1ac5e7250a)
|
||||
|
||||
id: 922bf9d7bfbd4493b54202b25fcb9305
|
||||
parent_id: ef9861f30a724a1491f08656764d64c5
|
||||
created_time: 2020-07-25T10:36:57.434Z
|
||||
updated_time: 2020-07-25T10:36:57.539Z
|
||||
is_conflict: 0
|
||||
latitude: 0.00000000
|
||||
longitude: 0.00000000
|
||||
altitude: 0.0000
|
||||
author:
|
||||
source_url:
|
||||
is_todo: 0
|
||||
todo_due: 0
|
||||
todo_completed: 0
|
||||
source: joplin
|
||||
source_application: net.cozic.joplintest-cli
|
||||
application_data:
|
||||
order: 1595673417434
|
||||
user_created_time: 2020-07-25T10:36:57.434Z
|
||||
user_updated_time: 2020-07-25T10:36:57.539Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
markup_language: 1
|
||||
is_shared: 0
|
||||
type_: 1
|
@ -0,0 +1,12 @@
|
||||
tag2
|
||||
|
||||
id: 96c03d6a6d19419f8fb95cb21e7f4f22
|
||||
created_time: 2020-07-25T10:36:57.418Z
|
||||
updated_time: 2020-07-25T10:36:57.418Z
|
||||
user_created_time: 2020-07-25T10:36:57.418Z
|
||||
user_updated_time: 2020-07-25T10:36:57.418Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
parent_id:
|
||||
type_: 5
|
@ -0,0 +1,16 @@
|
||||
photo.jpg
|
||||
|
||||
id: b50d9136b45e44fd9d40ef1ac5e7250a
|
||||
mime: image/jpeg
|
||||
filename:
|
||||
created_time: 2020-07-25T10:36:57.537Z
|
||||
updated_time: 2020-07-25T10:36:57.537Z
|
||||
user_created_time: 2020-07-25T10:36:57.537Z
|
||||
user_updated_time: 2020-07-25T10:36:57.537Z
|
||||
file_extension: jpg
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
encryption_blob_encrypted: 0
|
||||
size: 2720
|
||||
is_shared: 0
|
||||
type_: 4
|
@ -0,0 +1,11 @@
|
||||
id: c3a42938f05c474e8f2835e4a5f51370
|
||||
note_id: 70cc44320e52419dbcedeb321d0a3700
|
||||
tag_id: 96c03d6a6d19419f8fb95cb21e7f4f22
|
||||
created_time: 2020-07-25T10:36:57.419Z
|
||||
updated_time: 2020-07-25T10:36:57.419Z
|
||||
user_created_time: 2020-07-25T10:36:57.419Z
|
||||
user_updated_time: 2020-07-25T10:36:57.419Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
type_: 6
|
@ -0,0 +1,11 @@
|
||||
id: cd2541a9f08a4318954450dc9fc66851
|
||||
note_id: 70cc44320e52419dbcedeb321d0a3700
|
||||
tag_id: fb4ad5fafb254297949232aff2d7c9ce
|
||||
created_time: 2020-07-25T10:36:57.412Z
|
||||
updated_time: 2020-07-25T10:36:57.412Z
|
||||
user_created_time: 2020-07-25T10:36:57.412Z
|
||||
user_updated_time: 2020-07-25T10:36:57.412Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
type_: 6
|
@ -0,0 +1,26 @@
|
||||
note4
|
||||
|
||||
id: d70c14d1edd54ccaad87ee934a499852
|
||||
parent_id: 77007052daa34970ba8c88b56c8789ac
|
||||
created_time: 2020-07-25T10:36:57.423Z
|
||||
updated_time: 2020-07-25T10:36:57.423Z
|
||||
is_conflict: 0
|
||||
latitude: 0.00000000
|
||||
longitude: 0.00000000
|
||||
altitude: 0.0000
|
||||
author:
|
||||
source_url:
|
||||
is_todo: 0
|
||||
todo_due: 0
|
||||
todo_completed: 0
|
||||
source: joplin
|
||||
source_application: net.cozic.joplintest-cli
|
||||
application_data:
|
||||
order: 1595673417423
|
||||
user_created_time: 2020-07-25T10:36:57.423Z
|
||||
user_updated_time: 2020-07-25T10:36:57.423Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
markup_language: 1
|
||||
is_shared: 0
|
||||
type_: 1
|
@ -0,0 +1,12 @@
|
||||
subFolder1
|
||||
|
||||
id: dfa1b5e0a4d54f4eaa2ee547da91a608
|
||||
created_time: 2020-07-25T10:36:57.193Z
|
||||
updated_time: 2020-07-25T10:36:57.193Z
|
||||
user_created_time: 2020-07-25T10:36:57.193Z
|
||||
user_updated_time: 2020-07-25T10:36:57.193Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
parent_id: 77007052daa34970ba8c88b56c8789ac
|
||||
is_shared: 0
|
||||
type_: 2
|
@ -0,0 +1,11 @@
|
||||
id: e4eeb8778bd14220bff79f2a6713cb6e
|
||||
note_id: 4782f467eb8c4d769b3538f069c39cfe
|
||||
tag_id: fb4ad5fafb254297949232aff2d7c9ce
|
||||
created_time: 2020-07-25T10:36:57.405Z
|
||||
updated_time: 2020-07-25T10:36:57.405Z
|
||||
user_created_time: 2020-07-25T10:36:57.405Z
|
||||
user_updated_time: 2020-07-25T10:36:57.405Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
type_: 6
|
@ -0,0 +1,12 @@
|
||||
folder3
|
||||
|
||||
id: ef9861f30a724a1491f08656764d64c5
|
||||
created_time: 2020-07-25T10:36:57.433Z
|
||||
updated_time: 2020-07-25T10:36:57.433Z
|
||||
user_created_time: 2020-07-25T10:36:57.433Z
|
||||
user_updated_time: 2020-07-25T10:36:57.433Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
parent_id:
|
||||
is_shared: 0
|
||||
type_: 2
|
@ -0,0 +1,12 @@
|
||||
tag1
|
||||
|
||||
id: fb4ad5fafb254297949232aff2d7c9ce
|
||||
created_time: 2020-07-25T10:36:57.403Z
|
||||
updated_time: 2020-07-25T10:36:57.403Z
|
||||
user_created_time: 2020-07-25T10:36:57.403Z
|
||||
user_updated_time: 2020-07-25T10:36:57.403Z
|
||||
encryption_cipher_text:
|
||||
encryption_applied: 0
|
||||
is_shared: 0
|
||||
parent_id:
|
||||
type_: 5
|
128
CliClient/tests/support/syncTargetUtils.js
Normal file
128
CliClient/tests/support/syncTargetUtils.js
Normal file
@ -0,0 +1,128 @@
|
||||
require('app-module-path').addPath(__dirname + '/..');
|
||||
|
||||
const { syncDir, asyncTest, fileApi, synchronizer, createSyncTargetSnapshot, loadEncryptionMasterKey, decryptionWorker, encryptionService, setupDatabaseAndSynchronizer, switchClient, expectThrow, expectNotThrow } = require('../test-utils.js');
|
||||
const Setting = require('lib/models/Setting');
|
||||
const Folder = require('lib/models/Folder');
|
||||
const Note = require('lib/models/Note');
|
||||
const Tag = require('lib/models/Tag');
|
||||
const {shim} = require('lib/shim');
|
||||
const fs = require('fs-extra');
|
||||
|
||||
const testData = {
|
||||
folder1: {
|
||||
subFolder1: {},
|
||||
subFolder2: {
|
||||
note1: {
|
||||
resource: true,
|
||||
tags: ['tag1'],
|
||||
},
|
||||
note2: {},
|
||||
},
|
||||
note3: {
|
||||
tags: ['tag1', 'tag2'],
|
||||
},
|
||||
note4: {
|
||||
tags: ['tag2'],
|
||||
},
|
||||
},
|
||||
folder2: {},
|
||||
folder3: {
|
||||
note5: {
|
||||
resource: true,
|
||||
tags: ['tag2'],
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
async function createTestData(data) {
|
||||
async function recurseStruct(s, parentId = '') {
|
||||
for (const n in s) {
|
||||
if (n.toLowerCase().includes('folder')) {
|
||||
const folder = await Folder.save({ title: n, parent_id: parentId });
|
||||
await recurseStruct(s[n], folder.id);
|
||||
} else {
|
||||
const note = await Note.save({ title: n, parent_id: parentId });
|
||||
if (s[n].resource) {
|
||||
await shim.attachFileToNote(note, `${__dirname}/../../tests/support/photo.jpg`);
|
||||
}
|
||||
|
||||
if (s[n].tags) {
|
||||
for (const tagTitle of s[n].tags) {
|
||||
await Tag.addNoteTagByTitle(note.id, tagTitle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
await recurseStruct(data);
|
||||
}
|
||||
|
||||
async function checkTestData(data) {
|
||||
async function recurseCheck(s) {
|
||||
for (const n in s) {
|
||||
const obj = s[n];
|
||||
|
||||
if (n.toLowerCase().includes('folder')) {
|
||||
const folder = await Folder.loadByTitle(n);
|
||||
if (!folder) throw new Error(`Cannot load folder: ${n}`);
|
||||
await recurseCheck(obj);
|
||||
} else {
|
||||
const note = await Note.loadByTitle(n);
|
||||
if (!note) throw new Error(`Cannot load note: ${n}`);
|
||||
|
||||
const parent = await Folder.load(note.parent_id);
|
||||
if (!parent) throw new Error(`Cannot load note parent: ${n}`);
|
||||
|
||||
if (obj.resource) {
|
||||
const urls = markdownUtils.extractImageUrls(note.body);
|
||||
const resourceId = urls[0].substr(2);
|
||||
const resource = await Resource.load(resourceId);
|
||||
if (!resource) throw new Error(`Cannot load note resource: ${n}`);
|
||||
}
|
||||
|
||||
if (obj.tags) {
|
||||
for (const tagTitle of obj.tags) {
|
||||
const tag = await Tag.loadByTitle(tagTitle);
|
||||
if (!tag) throw new Error(`Cannot load note tag: ${tagTitle}`);
|
||||
const hasNote = await Tag.hasNote(tag.id, note.id);
|
||||
if (!hasNote) throw new Error(`Tag not associated with note: ${tagTitle}`);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
await recurseCheck(data);
|
||||
}
|
||||
|
||||
async function main(syncTargetType) {
|
||||
const validSyncTargetTypes = ['normal', 'e2ee'];
|
||||
if (!validSyncTargetTypes.includes(syncTargetType)) throw new Error('Sync target type must be: ' + validSyncTargetTypes.join(', '));
|
||||
|
||||
await setupDatabaseAndSynchronizer(1);
|
||||
await switchClient(1);
|
||||
await createTestData(testData);
|
||||
|
||||
if (syncTargetType === 'e2ee') {
|
||||
Setting.setValue('encryption.enabled', true);
|
||||
await loadEncryptionMasterKey();
|
||||
}
|
||||
|
||||
await synchronizer().start();
|
||||
|
||||
if (!Setting.value('syncVersion')) throw new Error('syncVersion is not set');
|
||||
const destDir = `${__dirname}/../../tests/support/syncTargetSnapshots/${Setting.value('syncVersion')}/${syncTargetType}`;
|
||||
await fs.mkdirp(destDir); // Create intermediate directories
|
||||
await fs.remove(destDir);
|
||||
await fs.mkdirp(destDir);
|
||||
await fs.copy(syncDir, destDir);
|
||||
|
||||
console.info('Sync target snapshot created in: ' + destDir);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
checkTestData,
|
||||
main,
|
||||
testData,
|
||||
};
|
@ -585,4 +585,4 @@ class TestApp extends BaseApplication {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { kvStore, resourceService, resourceFetcher, tempFilePath, allSyncTargetItemsEncrypted, setupDatabase, revisionService, setupDatabaseAndSynchronizer, db, synchronizer, fileApi, sleep, clearDatabase, switchClient, syncTargetId, objectsEqual, checkThrowAsync, checkThrow, encryptionService, loadEncryptionMasterKey, fileContentEqual, decryptionWorker, asyncTest, currentClientId, id, ids, sortedIds, at, createNTestNotes, createNTestFolders, createNTestTags, TestApp };
|
||||
module.exports = { syncDir, kvStore, resourceService, resourceFetcher, tempFilePath, allSyncTargetItemsEncrypted, setupDatabase, revisionService, setupDatabaseAndSynchronizer, db, synchronizer, fileApi, sleep, clearDatabase, switchClient, syncTargetId, objectsEqual, checkThrowAsync, checkThrow, encryptionService, loadEncryptionMasterKey, fileContentEqual, decryptionWorker, asyncTest, currentClientId, id, ids, sortedIds, at, createNTestNotes, createNTestFolders, createNTestTags, TestApp };
|
||||
|
Loading…
Reference in New Issue
Block a user