Commit graph

112 commits

Author SHA1 Message Date
oxalica
a9d5eb9631 Explicitly allow Authorization header for CORS
It would not be included when just allow `*`.
2024-09-03 04:08:34 -04:00
oxalica
b05f704406 Rework /room/{}/item and pagination query
- Now it use `skipToken` and `top` to (mostly) align to OData spec.

- Its response type is now a normal struct and is documented.

- Room metadata is now excluded from room item query.
2024-09-03 04:08:34 -04:00
oxalica
77216aa0f8 Switch from event stream to WebSocket for events 2024-09-02 23:43:26 -04:00
oxalica
5fadffef4d Add GitHub CI and fix clippy warnings 2024-09-01 20:20:30 -04:00
oxalica
263c0ca44b Fix typos 2024-08-31 22:39:09 -04:00
oxalica
5d15900436 Impl /room and /room/{ruuid}/admin endpoints 2024-08-31 18:33:23 -04:00
oxalica
e84b13c876 Package with nix and add systemd unit example 2024-08-31 16:38:43 -04:00
oxalica
6e7229e4ac Make more server constants configurable 2024-08-31 01:25:38 -04:00
oxalica
abdc32b51f Use configuration file to simplify CLI 2024-08-31 01:02:20 -04:00
oxalica
4937502d4c Define error response format and refactor error handling 2024-08-31 00:04:16 -04:00
oxalica
4ceffe3f31 Split out timestamp check and actually check nonce 2024-08-31 00:04:16 -04:00
oxalica
668b873b07 Reorganize workspace layout and split out blahd 2024-08-31 00:04:16 -04:00