Abdullah Atta
815c8fb84c
sync: log on disconnect
2026-05-02 22:18:39 +05:00
Abdullah Atta
a56ef1fe11
sync: reduce chunk size to 3MB
...
this will increase the number of round trips but will make the sync
more reliable on slow devices that take longer to process 7MB
chunks.
2026-04-11 10:55:05 +05:00
01zulfi
8d92aff8cd
inbox: use pgp encryption ( #70 )
...
* inbox: use pgp encryption && other fixes
* fix inbox key last used at time
* remove inbox items if keys change or same item id syncs
* inbox:update inbox sync item
* rename item field to sync
* add alg field
* sync: delete inbox items after commit succeeds
* user: merge if conditions
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2026-03-27 14:06:29 +05:00
01zulfi
4bc1469dfe
monographs: add slug field which regenerates on republish ( #72 )
...
* monographs: add slug field which regenerates on update
* monographs: don't regenerate slug on update
* common: fix monograph public url constant
* monographs: improve APIs && use .Project when fetching monographs
* create separate endpoint for fetching monographs by slug
* combine analytics and publish-url endpoint into a publish-info endpoint
* monographs: reinstate analytics endpoint
* common: add missing monograph constant
* monograph: refactoring
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2026-03-26 23:14:20 +05:00
Abdullah Atta
da8df8973c
sync: reduce batch size for fetching chunks
2025-12-30 12:52:56 +05:00
Abdullah Atta
b98612be7a
sync: migrate sync devices from fs to mongodb
2025-12-22 20:11:43 +05:00
Abdullah Atta
347507f00a
global: switch to dotnet9
2025-12-15 22:58:25 +05:00
01zulfi
294769fd71
monographs: track view count ( #67 )
2025-11-06 13:15:23 +05:00
Abdullah Atta
8db33889b6
api: remove legacy sync hub
2025-10-14 21:16:59 +05:00
01zulfi
32b24dead2
inbox: sync inbox items
2025-10-08 12:49:41 +05:00
Abdullah Atta
16ce7942be
sync: fix error on monographs sync
2025-10-07 16:44:15 +05:00
Abdullah Atta
2952dd2c63
sync: fix monograph sync
2025-10-07 16:44:15 +05:00
Abdullah Atta
ed6e3c56f2
api: minor refactors aimed at improving memory consumption
2025-10-07 16:44:15 +05:00
Abdullah Atta
b3dcdda697
api: improve sync hub auth
2025-10-07 16:44:15 +05:00
Abdullah Atta
4361b90425
api: minor refactors
2025-10-07 16:44:15 +05:00
01zulfi
6e8fb81ade
sync: ensure monographs sync for first time ever on an existing device ( #44 )
2025-09-06 09:33:18 +05:00
01zulfi
e68b8f7e7c
sync: add RequestFetchV2 hub method ( #43 )
2025-08-20 11:20:50 +05:00
Abdullah Atta
33a189fe91
api: minor refactor
2025-08-18 23:44:22 +05:00
Abdullah Atta
54266d1ba3
sync: disable SendMonographs on sync since its not supported by clients yet
2025-08-18 18:23:42 +05:00
01zulfi
bf2e6efeff
monograph: add sync support ( #39 )
...
* monograph: add sync support
* monograph: fix password field && improve syncing logic && fix delete endpoint
* sync: get rid of unnecessary .ToList & ToListAsync
* sync: AddIdsToAllDevices is no longer asynchronous
* monograph: simplify and fix several bugs
- we were sending the triggerSync event to all users instead of all devices
- asynchronous methods did not have the `Async` suffix
- we weren't properly replacing the deleted monograph
* monograph: fix minor issues
* fix publishing
* don't return deleted monograph in monographs/:id endpoint
* persist UserId when soft deleting monograph
* monograph: check soft delete status in several endpoints
---------
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2025-08-04 11:51:15 +05:00
Abdullah Atta
c1f0e24d21
sync: update LastAccessTime on push, pull & register
2025-08-01 11:39:18 +05:00
Abdullah Atta
a96b0e1e42
sync: use synchronous locks instead of semaphores
2025-08-01 10:52:48 +05:00
Abdullah Atta
59cf7ffcde
notesnook: add opentelemetry based metric logging
2024-06-07 15:41:44 +05:00
Abdullah Atta
292f2d4ece
sync: add upsertmany for faster bulk upserts
2024-06-07 11:16:06 +05:00
Abdullah Atta
9d2c54ad33
sync: remove legacy sync api
2024-06-07 10:56:17 +05:00
Abdullah Atta
0c0ade0c64
sync: refactor sync device service to be more memory efficient
2024-06-07 10:55:15 +05:00
Abdullah Atta
98b5143bfe
sync: v3 compatible sync
2024-05-16 13:12:37 +05:00
Abdullah Atta
dbc726aea8
sync: remove colors & tags syncing from v1 sync
2024-03-05 10:20:51 +05:00
Abdullah Atta
36690c5472
sync: rename Settings repository to LegacySettings
2024-03-05 10:20:23 +05:00
Abdullah Atta
e7350e2c49
sync: fix vault key getting reset on sync
2024-03-05 10:16:04 +05:00
Abdullah Atta
ab7ea72fd4
sync: introduce sync v2
2023-09-09 20:29:05 +05:00
Abdullah Atta
6e7a85763c
sync: pause all fetches if another device is pushing
2023-06-28 17:12:02 +05:00
Abdullah Atta
4b67b7eedb
sync: prevent multiple syncs from a single connection
2023-05-22 18:22:32 +05:00
Abdullah Atta
19056a9302
sync: detect multiple conflicting syncs
...
When 2 or more syncs conflict, it is necessary to adjust last synced
date to avoid data from entering a Sync Blindspot.
2023-05-22 18:22:16 +05:00
Abdullah Atta
f38e61d58f
global: update copyright year to 2023
2023-01-16 13:33:47 +05:00
Abdullah Atta
1b5678a26c
sync: minor refactors
2023-01-16 13:24:04 +05:00
Abdullah Atta
19b0d94406
sync: add some helpful comments
2022-12-30 11:39:57 +05:00
Abdullah Atta
021f098233
chore: add license & readme
2022-12-28 16:52:22 +05:00
Abdullah Atta
d2217adce7
open source Notesnook API
2022-12-28 16:20:25 +05:00