ammarahm-ed
7990458cf3
core: call migrateItem with backup key
2023-09-13 18:15:44 +05:00
ammarahm-ed
ae680a32bc
core: fix migration
2023-09-13 17:32:17 +05:00
Abdullah Atta
74fef0d2d9
core: run all items migrator before other migrators
2023-09-13 12:42:02 +05:00
Abdullah Atta
5906b24da1
core: add support for localOnly migrations
2023-09-13 12:40:30 +05:00
Abdullah Atta
8dd36f7adf
core: set last synced to 0 right after login
2023-09-13 12:39:15 +05:00
ammarahm-ed
87915ecd00
core: handle null/undefined keys in backup
2023-09-13 11:41:49 +05:00
Abdullah Atta
3cf4e55621
core: restore colors from backups correctly
2023-09-13 10:45:40 +05:00
Abdullah Atta
4c7cd840df
core: fix indexes getting replaced on backup restore
2023-09-13 10:23:44 +05:00
Abdullah Atta
bd238a6fe4
core: remove unnecessary exist check slowing reads
2023-09-13 10:23:44 +05:00
Abdullah Atta
c5352c2a73
core: add support for restoring new nnbackupz format
2023-09-13 10:23:44 +05:00
Abdullah Atta
dd6410c33e
core: add support for streaming backups
2023-09-13 10:23:44 +05:00
Abdullah Atta
ac9dca8098
core: migrate db in a streaming way
2023-09-13 10:23:44 +05:00
Abdullah Atta
74ade6fecc
core: make sure items sync after migration
2023-09-13 10:23:44 +05:00
Abdullah Atta
e1cfbb155d
core: fix Cannot read properties of null (reading 'clear')
2023-09-13 10:23:44 +05:00
Abdullah Atta
030aba2ac3
core: add migration to remove item.remote
2023-09-13 10:23:44 +05:00
Abdullah Atta
9ab7e722e0
core: port fixes for sync issues from typescript branch
2023-09-13 10:23:44 +05:00
Abdullah Atta
b81843cdf7
core: sync settings before everything else
2023-09-06 19:31:06 +05:00
Abdullah Atta
1cb00bca0d
core: fix collector tests
2023-09-06 17:00:04 +05:00
Abdullah Atta
8c233570a7
core: return default values for unset settings
2023-09-06 16:42:51 +05:00
Abdullah Atta
2ee8a807dc
core: fix settings getting replaced on login
2023-09-06 15:56:20 +05:00
Abdullah Atta
ec85f748fa
core: use serverLastSynced time from client
2023-09-06 15:43:20 +05:00
Abdullah Atta
051b7fcb8c
core: notify autosync before setting remote= false
2023-09-06 15:28:56 +05:00
Abdullah Atta
9af88811d8
core: remove remote: true from settings after sync
2023-09-06 15:09:31 +05:00
Abdullah Atta
d59e0d9ee2
core: sync attachments before anything else
2023-09-06 14:48:43 +05:00
Abdullah Atta
5a001a1457
core: use bulk io operations for logger storage
2023-09-06 12:30:39 +05:00
Abdullah Atta
44d6474b36
core: fix attachments not syncing
2023-09-06 12:14:03 +05:00
Abdullah Atta
0607e005f5
core: only sync syncable attachments
2023-09-06 12:04:58 +05:00
Abdullah Atta
308eb4b55f
core: merge remote attachment if local attachment doesn't exist
2023-09-06 11:40:44 +05:00
Abdullah Atta
6abb6207c5
core: always keep remote attachment if it is newer
2023-09-06 11:16:53 +05:00
Abdullah Atta
e653ce69f8
core: push items serially tcp style
2023-09-06 10:22:53 +05:00
Abdullah Atta
9b89b328f6
core: send sync progress event after merge
2023-09-06 09:58:07 +05:00
Abdullah Atta
7f7c1e6b93
core: use linkedom and node-fetch for tests
2023-09-06 09:40:24 +05:00
Abdullah Atta
5f0907168f
core: always send sync request to client
2023-09-05 18:01:44 +05:00
Abdullah Atta
24141b66cf
core: add log to debug relations removal issue
2023-09-05 17:47:11 +05:00
Abdullah Atta
41beee45ba
core: migrate in bulk for more performance
2023-09-05 16:08:10 +05:00
Muhammad Ali
51fc4bf3e4
core: add support for aligning images in PDF/HTML exports ( #3197 )
...
* web: added function for aligning images
* web: removed regex and added replaceAll in loop
* Update apps/web/src/common/export.ts
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
* core: add support for image alignment in html/pdf export
---------
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2023-09-05 15:39:59 +05:00
ammarahm-ed
ace2dfac30
core: increase server timeout
2023-09-04 14:27:35 +05:00
Abdullah Atta
1eb5c8bc46
core: do not trigger auto sync on settings merge
2023-09-04 14:24:24 +05:00
Abdullah Atta
46f7ec5e00
core: do not trigger autosync on attachment upload
2023-09-04 14:24:24 +05:00
Abdullah Atta
40d755d191
core: fix all tests
2023-09-04 13:16:22 +05:00
Abdullah Atta
0409a610ab
core: improve sync status updates
2023-09-04 13:16:22 +05:00
Abdullah Atta
aa9cd23cf3
core: add fix for localOnly items getting deleted on sync
2023-09-04 13:16:22 +05:00
Abdullah Atta
12d89114a4
core: fix tags & colors not resolving on sync
2023-09-04 13:16:22 +05:00
Abdullah Atta
d5b679187a
core: send sync completed event udp style
2023-09-04 13:16:22 +05:00
Abdullah Atta
2fa8fd14e7
core: migrate to sync v2 for data uploads
2023-09-04 13:16:22 +05:00
Abdullah Atta
81d3ec83d9
core: fix realtime sync
2023-09-04 13:16:22 +05:00
Abdullah Atta
339c5a357b
core: update note-storage mock for tests
2023-09-04 13:16:22 +05:00
ammarahm-ed
b484992037
core: remove console.log
2023-09-04 13:16:22 +05:00
ammarahm-ed
6a49244614
core: fix item not loaded on sync
2023-09-04 13:16:22 +05:00
ammarahm-ed
dad2b61a74
mobile: fix crash when logging out user
2023-09-04 13:16:22 +05:00