102 Commits

Author SHA1 Message Date
Abdullah Atta 9ae5db378d identity: simplify user sign up 2026-02-16 13:43:04 +05:00
Abdullah Atta 9424afed68 api: move to atomic password reset 2026-02-16 13:43:04 +05:00
Abdullah Atta 014c4e3b32 data: configure mongodb using connection string 2026-02-02 22:33:32 +05:00
Abdullah Atta bf70a32b95 identity: temporarily disable password recovery & changing 2026-01-19 09:12:39 +05:00
Abdullah Atta 0a8c707387 docker: do not publish trimmed images 2026-01-01 10:36:02 +05:00
Abdullah Atta 119d5b0e7a docker: update to net9.0 2025-12-23 16:30:19 +05:00
Abdullah Atta 347507f00a global: switch to dotnet9 2025-12-15 22:58:25 +05:00
Abdullah Atta 5ca9c142e3 monograph: {id}/stats -> {id}/analytics 2025-11-08 12:42:10 +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 75a4462fd1 identity: add client id checks in grant validators 2025-10-14 21:50:57 +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 3bb140aeb3 common: handle paddle billing errors 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 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 34e5dc6a20 identity: fix super_strict rate limiting policy 2025-09-25 09:07:56 +05:00
Abdullah Atta 201a235357 identity: make otp rate limiting more strict 2025-08-25 10:46:31 +05:00
Abdullah Atta 76af2cbfc8 identity: fix 2fa recovery codes not working 2025-07-15 13:35:07 +05:00
Abdullah Atta 34fa43f302 global: add some basic rate limiting 2025-07-15 13:34:31 +05:00
Abdullah Atta 182558136a identify: validate mfa methods against user's enabled methods 2025-04-30 11:48:50 +05:00
Abdullah Atta 8d3b0d6dbf identity: validate mfa method against user's mfa methods 2025-04-30 11:45:18 +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 07675632e0 identity: enable user's 2fa method after verifying 2fa code
This must be done after the MFA code is verified otherwise the security stamp will be updated making the 2FA code invalid
2024-11-28 14:20:35 +05:00
Abdullah Atta 8d15e176ff docker: DISABLE_ACCOUNT_CREATION -> DISABLE_SIGNUPS 2024-10-25 12:40:53 +05:00
Abdullah Atta 1b97ba77da identity: use new server PublicURL 2024-10-12 11:56:57 +05:00
Abdullah Atta 1c68942a6d identity: replace Sodium.Core with Geralt 2024-10-12 11:55:52 +05:00
Abdullah Atta f3216330a1 docker: remove even more unnecessary env vars 2024-08-29 12:19:37 +05:00
Abdullah Atta cd06a31d1b docker: expose non-80 port inside containers 2024-08-09 11:20:07 +05:00
Abdullah Atta 9f1f3e14d7 global: remove unncessary environment variables 2024-08-06 15:52:00 +05:00
Abdullah Atta 881354ab83 global: fix failing build 2024-08-01 12:20:37 +05:00
Abdullah Atta cbd0c01d28 identity: add support for disabling new signups 2024-08-01 10:32:51 +05:00
Abdullah Atta ad590f6011 identity: auto enable 2fa by email on self hosted instance 2024-08-01 10:05:46 +05:00
Abdullah Atta 2f5bd75d4e identity: confirm email automatically on self hosted instances 2024-08-01 09:56:06 +05:00
Abdullah Atta d0a1a2ea9f docker: enable reflection for json serializing 2024-07-31 12:58:38 +05:00
Abdullah Atta 005dc4284d docker: publish with TrimMode set to partial 2024-07-31 12:17:22 +05:00
Abdullah Atta c730a77b41 docker: optimize dockerfiles for multi platform builds 2024-07-31 11:33:42 +05:00
Abdullah Atta d4b0f7cdf5 docker: revert all chanegs to dockerfile 2024-07-31 09:51:46 +05:00
Abdullah Atta 3ebfc8de7c docker: remove --use-current-runtime 2024-07-31 09:12:28 +05:00
Abdullah Atta 2201984689 docker: fix You may also need to include 'linux-x64' in your project's RuntimeIdentifiers 2024-07-31 09:07:25 +05:00
Abdullah Atta 46675033c8 fix docker build (again) 2024-07-30 16:11:12 +05:00
Abdullah Atta 805ee02b4b fix docker build 2024-07-30 16:06:18 +05:00
Abdullah Atta edd860e3ae global: simplify dockerfiles 2024-07-30 15:38:17 +05:00
Abdullah Atta dad489f41d global: update docker-compose config 2024-07-30 11:30:56 +05:00
Abdullah Atta a3b875a3c5 identity: change IPersistedGrantDbContext to a singleton 2024-06-07 15:42:08 +05:00