Commit Graph

303 Commits

Author SHA1 Message Date
01zulfi
1c5bcd6eff inbox: add health endpoint & docs (#64)
* inbox: add health endpoint && docs

* inbox: update post endpoint uri

* inbox: update docs & dockerfile

---------

Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
2026-03-27 14:20:42 +05:00
Abdullah Atta
3a2a04317f inbox: add scripts for testing inbox api locally 2026-03-27 14:11:15 +05:00
01zulfi
8d92aff8cd inbox: use pgp encryption (#70)
* inbox: use pgp encryption && other fixes
* fix inbox key last used at time
* remove inbox items if keys change or same item id syncs

* inbox:update inbox sync item
* rename item field to sync
* add alg field

* sync: delete inbox items after commit succeeds

* user: merge if conditions

---------

Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
2026-03-27 14:06:29 +05:00
01zulfi
4bc1469dfe monographs: add slug field which regenerates on republish (#72)
* monographs: add slug field which regenerates on update

* monographs: don't regenerate slug on update

* common: fix monograph public url constant

* monographs: improve APIs && use .Project when fetching monographs
* create separate endpoint for fetching monographs by slug
* combine analytics and publish-url endpoint into a publish-info endpoint

* monographs: reinstate analytics endpoint

* common: add missing monograph constant

* monograph: refactoring

---------

Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
2026-03-26 23:14:20 +05:00
Abdullah Atta
da58262afb cors: remove XFO header v1.0-beta.19 2026-03-25 20:46:54 +05:00
Abdullah Atta
864baa702b common: add package name to clients 2026-03-25 11:11:07 +05:00
Abdullah Atta
55c5cd0a7c cors: fix youtube embeds not working on mobile v1.0-beta.18 2026-03-20 12:35:36 +05:00
Abdullah Atta
077d411fc7 sync: use w1 write concern for device_ids_chunks collection v1.0-beta.17 2026-03-15 22:09:42 +05:00
Abdullah Atta
1cecfe4b3c s3: disable bulk deletion (temporarily) v1.0-beta.16 2026-03-12 10:24:24 +05:00
Abdullah Atta
b8a7bd16a6 sync: add redis backplane for signalr v1.0-beta.15 2026-03-09 11:49:48 +05:00
Abdullah Atta
fe7c546d9b monograph: fix typo 2026-02-25 15:43:35 +05:00
Abdullah Atta
8d4336d1bc monograph: fix monograph content sanitization 2026-02-25 15:43:35 +05:00
Abdullah Atta
9ae5db378d identity: simplify user sign up v1.0-beta.13 2026-02-16 13:43:04 +05:00
Abdullah Atta
d5790d8785 api: minor refactor 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
01zulfi
b9385ae112 s3: add bulk delete api (#82) 2026-02-13 11:29:15 +05:00
Abdullah Atta
014c4e3b32 data: configure mongodb using connection string v1.0-beta.12 2026-02-02 22:33:32 +05:00
Abdullah Atta
bf70a32b95 identity: temporarily disable password recovery & changing v1.0-beta.11 2026-01-19 09:12:39 +05:00
Abdullah Atta
d047bd052e cors: add headers to allow the YouTube embed wrapper to be displayed in an iframe v1.0-beta.10 2026-01-19 08:57:50 +05:00
Abdullah Atta
03f230dbca cors: add special handling for youtube embeds to bypass referer policy restrictions v1.0-beta.9 2026-01-15 15:07:34 +05:00
Abdullah Atta
0a8c707387 docker: do not publish trimmed images v1.0-beta.8 2026-01-01 10:36:02 +05:00
Abdullah Atta
8908b8c6ed sync: minor refactors 2026-01-01 10:35:35 +05:00
Abdullah Atta
da8df8973c sync: reduce batch size for fetching chunks 2025-12-30 12:52:56 +05:00
Abdullah Atta
7e50311c92 sync: reduce device ids chunk size 2025-12-30 12:52:36 +05:00
Abdullah Atta
02ccd6cd06 cors: make hostname configurable via env variable v1.0-beta.7 2025-12-29 14:02:48 +05:00
Abdullah Atta
75369a5988 cors: add self hostable cors proxy v1.0-beta.6 2025-12-29 12:33:11 +05:00
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
119d5b0e7a docker: update to net9.0 2025-12-23 16:30:19 +05:00
Abdullah Atta
b98612be7a sync: migrate sync devices from fs to mongodb 2025-12-22 20:11:43 +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
265b456c46 s3: add support for failover 2025-12-17 09:06:26 +05:00
Abdullah Atta
347507f00a global: switch to dotnet9 2025-12-15 22:58:25 +05:00
Abdullah Atta
8dd9d0dc62 api: add support for {{Email}} placeholder in announcements 2025-11-28 13:01:28 +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
23b0b2ddfc monographs: add stats endpoint (#69)
* also don't mark monograph for sync when tracking view count
2025-11-07 10:28:03 +05:00
01zulfi
7a8873db32 monographs: fix view count setting to 0 when updating (#68) 2025-11-07 09:59:52 +05:00
01zulfi
294769fd71 monographs: track view count (#67) 2025-11-06 13:15:23 +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
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