Abdullah Atta
a3235ca381
common: add support for reading secret from file
...
this is required to support `docker secrets`
2025-12-26 14:57:38 +05:00
Abdullah Atta
c7bb053cea
common: simplify wamp logic
...
previously we were opening a new channel for each topic which was unnecessary
2025-12-22 13:38:58 +05:00
Abdullah Atta
347507f00a
global: switch to dotnet9
2025-12-15 22:58:25 +05:00
Abdullah Atta
e489ce7376
common: add missing enum conversion for legacy_pro
2025-11-24 11:58:23 +05:00
Abdullah Atta
5ca9c142e3
monograph: {id}/stats -> {id}/analytics
2025-11-08 12:42:10 +05:00
01zulfi
55136597aa
fix: fix Streetwriters.Common build error ( #65 )
2025-11-05 22:52:49 +05:00
Abdullah Atta
9d3ef51c0c
common: throw error if s3 env variables not defined
2025-11-05 22:43:38 +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
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
d1421d640f
identity: fix user subscription claim value incorrect for legacy pro users
2025-10-13 11:27:07 +05:00
Abdullah Atta
72e825a12c
common: update subscription models
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
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
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
44a9ff57e7
common: add new subscription types
2025-10-07 16:44:15 +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
8c267e51f4
common: add gift card to SubscriptionProvider
2025-07-15 13:33:54 +05:00
Abdullah Atta
0841ca1aa8
common: add gift card model
2025-04-10 12:20:03 +05:00
Abdullah Atta
11dff4f0cc
identity: move email sender to common
2025-04-10 12:19:49 +05:00
Abdullah Atta
bbabf51073
global: newline changes
2025-04-10 11:09:28 +05:00
Abdullah Atta
e5bf3367cc
global: add support for -DSTAGING
2024-11-28 14:38:28 +05:00
Abdullah Atta
8d15e176ff
docker: DISABLE_ACCOUNT_CREATION -> DISABLE_SIGNUPS
2024-10-25 12:40:53 +05:00
Abdullah Atta
6d19112fb6
common: replace server Domain with PublicURL
2024-10-12 11:56:34 +05:00
Abdullah Atta
f3216330a1
docker: remove even more unnecessary env vars
2024-08-29 12:19:37 +05:00
Abdullah Atta
dfabfcbc23
common: simplify compatibility version
2024-08-07 15:06:58 +05:00
Abdullah Atta
9f1f3e14d7
global: remove unncessary environment variables
2024-08-06 15:52:00 +05:00
Abdullah Atta
5c1944d29f
common: send more info in /version endpoint
2024-08-01 12:05:50 +05:00
Abdullah Atta
cbd0c01d28
identity: add support for disabling new signups
2024-08-01 10:32:51 +05:00
Abdullah Atta
dad489f41d
global: update docker-compose config
2024-07-30 11:30:56 +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
f41b38c964
common: expose clients to public
2024-06-07 15:40:05 +05:00
Abdullah Atta
44536cb9f5
common: add helper for registering repositories
2024-06-07 15:37:39 +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
353e866cda
common: add support for wamp based services
2024-06-07 15:31:53 +05:00
Abdullah Atta
aed05f1eb9
common: add PREMIUM_PAUSED subscription type
2024-05-16 13:16:50 +05:00
Abdullah Atta
b7e423a3d4
common: support getting local ip for wifi & ethernet adapters during debug
2024-03-05 10:08:58 +05:00
Abdullah Atta
4da9614851
global: upgrade to net8.0
2024-03-05 10:03:27 +05:00
Abdullah Atta
1f72e2c3a8
identity: fix session revokation
2023-10-28 11:08:17 +05:00
Abdullah Atta
1a5fe8230e
identity: move to twilio verify for SMS 2FA
2023-09-09 20:30:35 +05:00
Abdullah Atta
55a7e9fd1c
sync: make collection & db name usage more obvious
2023-09-09 20:28:46 +05:00
Abdullah Atta
26703bfd8e
identity: add support for toggling marketing consent
2023-06-08 12:54:57 +05:00
Abdullah Atta
f38e61d58f
global: update copyright year to 2023
2023-01-16 13:33:47 +05:00
Abdullah Atta
16e370855f
common: always use http server url for internal use
2023-01-16 13:29:35 +05:00
Abdullah Atta
9dc0c99e77
common: set default value for NOTESNOOK_CORS_ORIGINS
2023-01-05 22:05:52 +05:00
Abdullah Atta
cb3c8ed4ac
global: add very basic server versioning
2023-01-05 19:44:45 +05:00
Abdullah Atta
8730d3fb0b
common: add discovery config for subscriptions server
2023-01-05 19:42:05 +05:00