BenClaw
4ad701c1a5
fix(broadcasting): broadcast on mark_helped! even when already false
...
- mark_helped! gated broadcast on if save, but save returns false
when needs_help is already false (no dirty attributes in CouchDB)
- Same fix applied to remove_needs_payment!
- Broadcast is the important side effect — save is just persistence
2026-05-17 19:48:19 +02:00
BenClaw
a755d8a205
refactor(broadcasting): add Broadcastable to List + Order, remove monkey-patch
...
- include Broadcastable in app/models/list.rb
- include Broadcastable in app/models/order.rb
- Remove config/initializers/model_broadcast.rb (ApplicationController.new anti-pattern)
- Broadcasting now goes through Mozo.broadcast_* directly, not via controller hack
2026-05-17 16:36:28 +02:00
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
4e1d3bd052
Add spanish locales and gravatar options
2026-03-09 11:17:25 -05:00
bterkuile
e624ec2d0b
User flow updates
2026-02-10 11:38:56 -05:00
bterkuile
be3ee9096b
stash apply
2026-02-09 12:52:31 -05:00
bterkuile
a72559666d
Better list users frontend connection and setup of payment page
2025-12-07 16:57:33 -05:00
bterkuile
f76ff718a0
updates
2025-11-02 19:50:08 -05:00
bterkuile
7dadb28004
make more specs work
2025-09-23 17:45:00 -05:00
bterkuile
0e051b1f93
rename qwaiter to mozo
2025-09-20 17:35:58 -05:00
bterkuile
ea56d33472
Make sorting and attachments work
2025-09-02 13:33:48 -05:00
bterkuile
6b02c05a99
Make work on Fedora M1 and use faye on http for development
2025-08-29 13:54:43 -05:00
bterkuile
58178cc66d
Changes for Fedora ruby 3.4 and rails 8
2025-02-10 10:39:21 -05:00
bterkuile
8b0ddff515
Fixes and add label to tables
2022-04-16 15:21:07 -05:00
bterkuile
68f7d4dd54
cleanup switch_to supplier and make facebook image https
2020-03-07 11:11:06 -05:00
bterkuile
eda3fc280b
Mostly enriching supplier's user info with number of lists finished at the restaurant
2020-03-06 19:27:44 -05:00
bterkuile
f1ef618dae
updates based on F5 testing
2020-03-06 08:35:12 -05:00
bterkuile
840bac4d54
infra updates
2020-03-05 11:36:49 -05:00
bterkuile
aec5364f2e
Infrastructure connection updates
2020-03-04 19:52:28 -05:00
bterkuile
51748d5783
Move supplier full pull to being an api for the ember app and handle login and authorization a little bit better (should be even a lot better in the future)
2020-03-03 17:11:57 -05:00
bterkuile
2149345d3d
supplier client sections working with problematic authentication still active
2020-02-27 15:44:43 -05:00
bterkuile
8740300b9a
work off today
2020-02-25 11:09:27 -05:00
bterkuile
da2ba6230d
Structure updates
2019-01-31 10:44:06 -05:00
bterkuile
74a4918f2a
add space
2017-01-13 14:45:22 +01:00
bterkuile
1dc8a69dce
another inclusion check
2016-06-02 16:51:59 +02:00
bterkuile
2aed433685
Add required inclusion view
2016-06-02 16:45:53 +02:00
bterkuile
eb368a31ca
upgrade refactor
2016-06-02 14:40:30 +02:00
bterkuile
1acd200408
Implementatino fixes
2016-06-02 11:13:56 +02:00
bterkuile
36178526e3
dependency update
2016-06-01 14:18:10 +02:00
bterkuile
e69b783eb0
backup commit smart signup form
2015-10-21 18:29:24 +02:00
bterkuile
a3b3536adc
add theme1 with subnavigation first setup kind of ugly layout
2015-10-12 18:09:33 +02:00
bterkuile
86e518890f
remove denormalization of lists and orders towards the section
2015-10-12 15:25:58 +02:00
bterkuile
b540f5945e
Working in progress app
2015-10-07 16:23:49 +02:00
bterkuile
2df5b290ef
Many supplier features and style upgrades and fixes
2015-10-06 16:08:00 +02:00
bterkuile
c93d6bec8a
F5 Test changes
2015-10-05 18:05:57 +02:00
bterkuile
e7cd77c675
changes
2015-10-04 11:54:25 +02:00
bterkuile
6588a97560
Add section area color and demo menu export
2015-09-30 17:55:47 +02:00
bterkuile
81d4545104
C&V test improvements
2015-09-23 17:14:53 +02:00
bterkuile
2c3705790c
User specs in the green
2015-09-21 15:22:43 +02:00
bterkuile
cb744943bd
Acceptance tests for user
2015-09-17 17:46:33 +02:00
bterkuile
8e931cabd4
end of train commit
2015-09-16 18:10:23 +02:00
bterkuile
6a085b1ca2
Base progress
2015-09-16 11:50:55 +02:00
bterkuile
ef894f9e02
serializer stuff
2015-09-14 18:53:58 +02:00
bterkuile
36e5b21b13
End of day commit
2015-09-09 20:21:52 +02:00
bterkuile
968d042501
JSON api serializers for suppliers
2015-09-09 19:11:46 +02:00
bterkuile
3cb7fd2a6f
Fix dynamic order adding
2015-09-08 17:20:38 +02:00
bterkuile
fdcfaa1d7d
changes
2015-09-08 16:27:21 +02:00
bterkuile
1caa488524
Conceptual architectural change for CLI user app
2015-09-07 19:10:54 +02:00
bterkuile
f47a8a9ed0
JSONApi part1
2015-09-02 15:52:48 +02:00
bterkuile
9cadc3e94f
Add my-schedule and some other things
2015-08-17 19:13:35 +02:00