Commit Graph

3 Commits

Author SHA1 Message Date
root 1f52448253 feat(broadcasting): add ActionCable adapter + fix model broadcast anti-pattern
- Add Mozo::Broadcaster::ActionCable as drop-in Faye replacement
- Fix model_broadcast.rb: delegate to Mozo directly instead of
  ApplicationController.new (memory-unsafe anti-pattern)
- Add Broadcastable concern for clean model-side broadcasting
- ActionCable config: async adapter, cable.yml, WebSocket endpoint
- MozoChannel with per-entity authorization (user/supplier/employee)
- Connection auth via auth_token (matches existing auth pattern)
- Mount /cable WebSocket in routes
- Add broadcasting-migration.md with Faye→ActionCable guide
2026-05-17 15:25:49 +02:00
bterkuile 0e7a39b819 Add couchbase with modifications, formalize broadcaster and make testable and some other stuff 2014-03-06 18:08:39 +01:00
bterkuile 0fa0d1e0ba move to evented mustache system 2012-11-28 20:15:59 +01:00