gitdataai/libs/api/room
ZhenYi 5256e72be7
Some checks are pending
CI / Rust Lint & Check (push) Waiting to run
CI / Rust Tests (push) Waiting to run
CI / Frontend Lint & Type Check (push) Waiting to run
CI / Frontend Build (push) Blocked by required conditions
fix(room): add access check to ws_universal subscribe and fix stream handling
- Add `check_room_access` before `manager.subscribe()` in ws_universal
  to prevent unauthorized room subscription (security fix)
- Fix busy-wait in `poll_push_streams`: sleep 50ms when streams are
  empty, yield only when there are active streams
- Re-subscribe dead rooms after stream errors so events are not
  permanently lost until manual reconnect
- Fix streaming message placeholder using fake content as room_id:
  use chunk.room_id from backend instead
- Show toast error on history load failures instead of silent fallback
2026-04-17 17:15:34 +08:00
..
ai.rs init 2026-04-15 09:08:09 +08:00
category.rs init 2026-04-15 09:08:09 +08:00
draft_and_history.rs init 2026-04-15 09:08:09 +08:00
member.rs init 2026-04-15 09:08:09 +08:00
message.rs init 2026-04-15 09:08:09 +08:00
mod.rs init 2026-04-15 09:08:09 +08:00
notification.rs init 2026-04-15 09:08:09 +08:00
pin.rs init 2026-04-15 09:08:09 +08:00
reaction.rs init 2026-04-15 09:08:09 +08:00
room.rs init 2026-04-15 09:08:09 +08:00
thread.rs init 2026-04-15 09:08:09 +08:00
ws_handler.rs fix(room): add access check to ws_universal subscribe and fix stream handling 2026-04-17 17:15:34 +08:00
ws_types.rs init 2026-04-15 09:08:09 +08:00
ws_universal.rs fix(room): add access check to ws_universal subscribe and fix stream handling 2026-04-17 17:15:34 +08:00
ws.rs fix(ws): allow APP_DOMAIN_URL and APP_STATIC_DOMAIN origins 2026-04-16 18:51:52 +08:00