Commit Graph

264 Commits

Author SHA1 Message Date
Abdullah Atta
9d3ef51c0c common: throw error if s3 env variables not defined 2025-11-05 22:43:38 +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
1e8a205719 s3: improve error reporting 2025-11-05 22:41:24 +05:00
Abdullah Atta
70da841531 inbox: minor fixes and improvements 2025-10-30 13:12:05 +05:00
Abdullah Atta
5445c51d8d identity: fix error on sessions clear 2025-10-30 13:12:05 +05:00
Tate M Walker
dd05c55875 global: add support for specifying known proxies (#63)
* Add KNOWN_PROXIES

* Add known proxy setup in Startup.cs

Refactor forwarded headers configuration to use a variable for options.

* Document KNOWN_PROXIES in .env file

Added documentation for KNOWN_PROXIES environment variable

* Clean up

Restored license comments and formatting in Constants.cs.

* Apply suggestion from @thecodrr

* Added KnownProxies functionality at Streetwriters.Common level

---------

Co-authored-by: Abdullah Atta <thecodrr@protonmail.com>
2025-10-29 10:14:49 +05:00
Abdullah Atta
ab9efaea7f identity: fix sign ups 2025-10-22 10:13:58 +05:00
Abdullah Atta
8bc1a52a60 s3: fix uploads for legacy users 2025-10-22 10:13:51 +05:00
Abdullah Atta
75a4462fd1 identity: add client id checks in grant validators 2025-10-14 21:50:57 +05:00
Abdullah Atta
8db33889b6 api: remove legacy sync hub 2025-10-14 21:16:59 +05:00
Abdullah Atta
50f159a37b s3: improve upload limit checks 2025-10-14 21:16:22 +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
01zulfi
0cc3365e44 inbox: add rate limiting (#59) 2025-10-14 09:16:35 +05:00
01zulfi
a8cc02ef1a inbox: send salt in encrypted inbox item (#57) 2025-10-13 11:31:12 +05:00
Abdullah Atta
d1421d640f identity: fix user subscription claim value incorrect for legacy pro users v1.0-beta.5 2025-10-13 11:27: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
01zulfi
32b24dead2 inbox: sync inbox items 2025-10-08 12:49:41 +05:00
Abdullah Atta
4779a21134 ci: fix workflow v1.0-beta.4 2025-10-07 17:05:10 +05:00
Abdullah Atta
6215c3c916 ci: run workflow on tag creation 2025-10-07 17:01:52 +05:00
Abdullah Atta
16ce7942be sync: fix error on monographs sync 2025-10-07 16:44:15 +05:00
Abdullah Atta
3a2e5f884b monograph: refactor to fix type errors 2025-10-07 16:44:15 +05:00
Abdullah Atta
2b6a58ff04 api: handle subscription fetch errors 2025-10-07 16:44:15 +05:00
Abdullah Atta
72e825a12c common: update subscription models 2025-10-07 16:44:15 +05:00
Abdullah Atta
8aeeba0eeb s3: fix ContentLength header is required error 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
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
3bb140aeb3 common: handle paddle billing errors 2025-10-07 16:44:15 +05:00
Abdullah Atta
7172510c9e api: fix sync not working on android 2025-10-07 16:44:15 +05:00
Abdullah Atta
cfe2875a67 api: refactor user subscription check for monograph embed & links 2025-10-07 16:44:15 +05:00
Abdullah Atta
9860df2379 identity: refactor sms mfa authorization check 2025-10-07 16:44:15 +05:00
Abdullah Atta
cc459f9fea common: add paddle v1 api client 2025-10-07 16:44:15 +05:00
Abdullah Atta
9e6a25ec1d common: fix plan change if subscription is trialing 2025-10-07 16:44:15 +05:00
Abdullah Atta
6304d8178f identity: fix delete subscription handling 2025-10-07 16:44:15 +05:00
Abdullah Atta
500a64de18 identity: use subscription v2 types & api 2025-10-07 16:44:15 +05:00
Abdullah Atta
55a2223198 common: add subscribe with semaphore to wamp to allow serial messaging 2025-10-07 16:44:15 +05:00
Abdullah Atta
3beb716b83 common: add paddle billing api client 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
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
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
3471ecb21a feat: set up public inbox api server (#52)
* feat: set up public inbox api server

* feat: add zod validation for raw inbox item

* chore: update encrypted item type && raw inbox item schema

* feat: use symmetric & asymmetric combination for inbox encryption

* chore: improve error handling

* chore: update encrypted item type

* feat: add Dockerfile for Notesnook.Inbox.Api
2025-10-06 12:22:25 +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
34e5dc6a20 identity: fix super_strict rate limiting policy 2025-09-25 09:07:56 +05:00
Abdullah Atta
8f8c60e0b3 api: fix error on user patch 2025-09-17 11:38:33 +05:00