* 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>
* 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
* 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
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.