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
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