7 Commits

Author SHA1 Message Date
Yee Jia Rong
c0a3abb0ed Fixes to make the source 32bit compatible 2025-01-08 22:04:44 +08:00
Neeraj Gupta
d3d419e12d [server] RateLimit max sessions in an hour 2024-11-29 19:33:36 +05:30
Manav Rathi
7be9963303
[API] Remove trailing slash from inconsistent cast endpoints
None of our other endpoints have a trailing slash. Remove this inconsistency,
otherwise clients who'd not provide a trailing slash would get an unnecessary
redirect.

Note that the CORS-aware clients (web, desktop) do not automatically follow the
redirect because the ACAO is missing on the 307, so we need keep the old
endpoints around temporarily.

Tested: with web and museum running locally
2024-11-26 09:53:44 +05:30
Neeraj Gupta
4694bf6b7e [server] Ratelimit add device code API for cast 2024-04-25 14:07:10 +05:30
Neeraj Gupta
7de60f1ced [server] Reduce discord message frequency 2024-03-18 10:02:13 +05:30
Neeraj Gupta
12b9ac4db6
[server] Rate limit (#1121)
## Description

## Tests
2024-03-17 09:59:59 +05:30
Neeraj Gupta
531bb344fe Import museum 2024-03-01 13:37:01 +05:30