Abdullah Atta
579e65b0be
api: add support for storage limits
2025-10-07 16:44:15 +05:00
Abdullah Atta
b3dcdda697
api: improve sync hub auth
2025-10-07 16:44:15 +05:00
01zulfi
5a9b98fd06
inbox: add GET public inbox key & POST inbox items endpoint ( #51 )
...
* inbox: add GET public inbox key && POST inbox items endpoint
* inbox: update SyncItem to support inbox items
* inbox: update post inbox items request payload
* inbox: update post inbox item endpoint
2025-10-06 12:21:31 +05:00
Abdullah Atta
8f8c60e0b3
api: fix error on user patch
2025-09-17 11:38:33 +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
Abdullah Atta
4a0aee1c44
monograph: fix json content serialized as html
2025-09-15 12:30:28 +05:00
Abdullah Atta
97fbd3226d
monograph: add support for webrisk api for analyzing urls for pro users
2025-09-15 11:22:37 +05:00
Abdullah Atta
0f43b3ee66
monograph: remove links, embeds & images for non-pro users
2025-09-15 09:19:16 +05:00
01zulfi
34a09ad15d
inbox: store user's inbox keys ( #47 )
2025-09-06 09:32:44 +05:00
Abdullah Atta
a5b3a12914
monograph: fix some monographs can't be unpublished
2025-08-19 14:23:56 +05:00
Abdullah Atta
2f361db9df
monographs: fix monographs not appearing on clients
2025-08-18 23:44:22 +05:00
dyw770
30d5394425
api: fix s3 multipart upload ( #22 )
...
* api: fix s3 multipart upload use external s3 url
* api: fix s3 multipart upload use external s3 url
* api: fix CompleteMultipartUploadRequest can not deserialize
* api: start multipart upload use s3 internal url
* Update Notesnook.API/Models/PartETagWrapper.cs
remove default constructor
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com >
* api: remove default constructor
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com >
* api: merge method call
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com >
* api: revocation due to conflict
* api: revocation due to conflict
---------
Co-authored-by: Abdullah Atta <thecodrr@protonmail.com >
2025-08-18 13:33:49 +05:00
01zulfi
6d6342dbff
api: add user's monograph passwords key ( #41 )
2025-08-18 11:45:42 +05:00
01zulfi
8df70c81fc
monograph: fix existing item condition in update endpoint ( #40 )
2025-08-04 13:00:55 +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
a96b0e1e42
sync: use synchronous locks instead of semaphores
2025-08-01 10:52:48 +05:00
Abdullah Atta
bbabf51073
global: newline changes
2025-04-10 11:09:28 +05:00
Abdullah Atta
c6bcd4a84d
monograph: add new ItemId property that is a simple string
...
This fixes the issue where an invalid objectid causes error when publishing a monograph
2024-11-28 14:21:57 +05:00
Abdullah Atta
309dcafa02
monograph: add new id/view endpoint for self destruction
2024-10-12 11:59:10 +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
336976dd1e
monographs: Id -> _id
2024-06-07 15:30:47 +05:00
Abdullah Atta
fe4b71ef7e
api: optimize announcements fetching
2024-06-07 15:30:34 +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
7ce02d0193
api: only fetch monographs' ids
2024-06-07 10:50:47 +05:00
Abdullah Atta
690414cb51
s3: only allow pro users to upload attachments
2024-05-29 22:58:34 +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
7ad546a863
s3: require pro subscription to upload files
2024-05-16 13:10:18 +05:00
Abdullah Atta
1dcf6557a7
announcements: add support for variable substitution
2024-03-05 10:24:52 +05:00
Abdullah Atta
ce7fb81df3
monographs: self destruct monographs on api call
2024-03-05 10:24:13 +05:00
Abdullah Atta
61adea6a06
monographs: check monograph size on update
2024-03-05 10:23:36 +05:00
Abdullah Atta
29eedd57e8
global: minor refactoring
2024-03-05 10:07:01 +05:00
Abdullah Atta
fc757674a9
sync: improve announcements & monograph query performance
2023-09-09 20:23:16 +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
19b0d94406
sync: add some helpful comments
2022-12-30 11:39:57 +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