Abdullah Atta
8908b8c6ed
sync: minor refactors
2026-01-01 10:35:35 +05:00
Abdullah Atta
7e50311c92
sync: reduce device ids chunk size
2025-12-30 12:52:36 +05:00
Abdullah Atta
b98612be7a
sync: migrate sync devices from fs to mongodb
2025-12-22 20:11:43 +05:00
Abdullah Atta
265b456c46
s3: add support for failover
2025-12-17 09:06:26 +05:00
Abdullah Atta
de23ea3e66
s3: add s3 health check
2025-11-05 22:42:58 +05:00
Abdullah Atta
54d0fdcf4f
s3: fix storage limit rolloever
2025-11-05 22:42:45 +05:00
Abdullah Atta
8db33889b6
api: remove legacy sync hub
2025-10-14 21:16:59 +05:00
Abdullah Atta
6e35edb715
global: add null safety checks
2025-10-14 21:15:51 +05:00
Abdullah Atta
be432dfd24
global: migrate to using ILogger
2025-10-14 09:29:07 +05:00
Abdullah Atta
131df3df04
s3: use internal upload object url for uploading files
2025-10-09 14:16:59 +05:00
Abdullah Atta
1ecd8adee1
s3: fix attachments not uploading on self hosted servers
...
this was due to s3 endpoints requesting user's subscription
which didn't exist in case of
self hosted setups
2025-10-09 14:13:11 +05:00
Abdullah Atta
2b6a58ff04
api: handle subscription fetch errors
2025-10-07 16:44:15 +05:00
Abdullah Atta
908d64bd4f
api: fix minor issues
2025-10-07 16:44:15 +05:00
Abdullah Atta
41a185bd9f
s3: disable download limits based on file size
2025-10-07 16:44:15 +05:00
Abdullah Atta
61dd2e1f74
s3: add limit on download file size
2025-10-07 16:44:15 +05:00
Abdullah Atta
579e65b0be
api: add support for storage limits
2025-10-07 16:44:15 +05:00
Abdullah Atta
44a9ff57e7
common: add new subscription types
2025-10-07 16:44:15 +05:00
Abdullah Atta
4361b90425
api: minor refactors
2025-10-07 16:44:15 +05:00
01zulfi
9b774d640c
feat: get, add, & delete user's inbox api tokens ( #50 )
...
* feat: get, add, & delete user's inbox api tokens
* inbox: generate inbox api key on the server
* inbox: use nanoid to generate api key && set created date on server
* inbox: set api key in constructor && increase default expiry date to 1 year
2025-09-16 08:40:52 +05:00
01zulfi
10e33de897
api: include inbox keys in get user endpoint ( #48 )
2025-09-09 19:44:08 +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
34a09ad15d
inbox: store user's inbox keys ( #47 )
2025-09-06 09:32:44 +05:00
Vsevolod Volkov
037bf4c3ea
api: update S3 client mode for presigned URL generation to EXTERNAL ( #33 )
...
Signed-off-by: Vsevolod Volkov <73965070+StLyn4@users.noreply.github.com >
2025-08-18 11:48:48 +05:00
01zulfi
6d6342dbff
api: add user's monograph passwords key ( #41 )
2025-08-18 11:45: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
1e2ef0685d
sync: don't break the loop if device id is same
2025-08-02 09:17:36 +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
e5bf3367cc
global: add support for -DSTAGING
2024-11-28 14:38:28 +05:00
Abdullah Atta
356488beab
s3: use protocol from service url ( fixes #6 )
2024-09-04 10:22:07 +05:00
Abdullah Atta
962b805054
api: remove s3 objects bigger than the maximum size
2024-08-29 12:20:32 +05:00
Abdullah Atta
e380797004
s3: allow setting separate bucket name for internal s3 service
2024-07-23 10:46:21 +05:00
Abdullah Atta
99da765a1c
api: use wamp services instead of forwarding http requests for internal apis
2024-06-07 15:35:31 +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
6e192e1765
s3: return 0 on failure instead of null when getting attachment size
2024-05-16 13:14:16 +05:00
Abdullah Atta
1c901aad84
api: remove profile from user settings
2024-05-16 13:13:06 +05:00
Abdullah Atta
98b5143bfe
sync: v3 compatible sync
2024-05-16 13:12:37 +05:00
Abdullah Atta
1e3b308210
api: minor refactors
2024-03-05 10:26:44 +05:00
Abdullah Atta
9a98c1afb8
notesnook: add support for user profile
2024-03-05 10:25:54 +05:00
Abdullah Atta
8781531042
sync: add new repositories for vault & settings
2024-03-05 10:22:51 +05:00
Abdullah Atta
36690c5472
sync: rename Settings repository to LegacySettings
2024-03-05 10:20:23 +05:00
Abdullah Atta
1f72e2c3a8
identity: fix session revokation
2023-10-28 11:08:17 +05:00
Abdullah Atta
8bbb4d0b9e
sync: make tags & colors syncable
2023-09-09 20:26:51 +05:00
Abdullah Atta
f38e61d58f
global: update copyright year to 2023
2023-01-16 13:33:47 +05:00
Abdullah Atta
443b4ab715
sync: improve perf of user account reset & deletion
...
this adds a new UserId index in all the notesnook collections which
helps to speed up the deletion time during account reset & delete.
This fixes the request timeout issues during both of these processes.
2023-01-16 13:22:57 +05:00
Abdullah Atta
7ebbbb8004
docker: use minio for s3 storage
2022-12-31 14:56:00 +05:00
Abdullah Atta
c0fab8a735
global: make ready for self hosting
...
This exposes a few more env vars for configuration &
bypasses the Subscription backend
so each user is Pro by default. This is required because there won't be
any mechanism for the user to upgrade. We'll also have to disable a few
things on the client side to avoid confusion.
2022-12-30 11:23:02 +05:00
Abdullah Atta
3f89ebc214
global: move more config to env vars
2022-12-29 11:18:29 +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