bterkuile
12836dd14b
Switch to Redis counter
2026-05-17 10:48:05 -05:00
BenClaw
3e4bcc80c8
feat(counter): add Redis counter adapter, replace DrbCounter
...
- Add Mozo::Counter::Redis with same get/set/incr/decr interface
- Add redis gem (~> 5.0) to Gemfile
- Update cable.yml to use Redis adapter in production (shared with counters)
- Document DrbCounter → Redis migration in broadcasting-migration.md
- Redis installed and running on vmi3300327
- Leave Faye as current broadcaster; both switches are one-line changes
DrbCounter problems solved:
- In-memory → persistent (RDB + AOF)
- Single-process DRb → multi-process safe Redis
- Atomic INCR/DECR across Puma workers
- One less custom process to manage
2026-05-17 16:42:09 +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
7364de2a45
transit
2026-03-28 18:23:35 -05:00
bterkuile
2711edb167
remove omniauth also from the production check
2026-02-26 08:51:50 -05:00
bterkuile
e624ec2d0b
User flow updates
2026-02-10 11:38:56 -05:00
bterkuile
f76ff718a0
updates
2025-11-02 19:50:08 -05:00
bterkuile
6596693238
Do not modify standard symbol in JSON behaviour. It seems to be good now
2025-09-23 12:56:42 -05:00
bterkuile
6a100555bc
Make the products controller specs green
2025-09-23 12:15:09 -05:00
bterkuile
54f86078f5
More accessible, still not good environment based settings
2025-09-20 18:06:18 -05:00
bterkuile
0e051b1f93
rename qwaiter to mozo
2025-09-20 17:35:58 -05:00
bterkuile
73f430eadf
Try new event_host proxy pass strategy
2025-08-30 12:20: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
cf7f5d0f16
updates for new development env
2021-04-30 15:22:16 -05:00
bterkuile
8288595b3f
Force set omniauth full_host for redirection
2020-03-05 19:18:44 -05:00
bterkuile
aec5364f2e
Infrastructure connection updates
2020-03-04 19:52:28 -05:00
bterkuile
73c207c324
many important fixes
2020-02-29 11:43:00 -05:00
bterkuile
8740300b9a
work off today
2020-02-25 11:09:27 -05:00
bterkuile
eb368a31ca
upgrade refactor
2016-06-02 14:40:30 +02:00
bterkuile
546e1fe10d
Better debugging and fix click on mobile devices that implement draggable
2015-10-07 17:43:45 +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
6a085b1ca2
Base progress
2015-09-16 11:50:55 +02:00
bterkuile
4ef7ecba41
mozo-user connection changes
2015-09-06 17:29:34 +02:00
bterkuile
7336585416
JSONAPI stuff
2015-09-04 17:39:11 +02:00
bterkuile
e4dde28dd0
JSONApi progress
2015-09-03 20:42:48 +02:00
bterkuile
f47a8a9ed0
JSONApi part1
2015-09-02 15:52:48 +02:00
bterkuile
afb7687b93
Upgrade emblem template
2015-08-28 19:09:11 +02:00
bterkuile
6e97f74b0a
Product variant fix
2015-08-13 16:53:34 +02:00
bterkuile
3458384732
End of day commit
2015-07-16 19:26:19 +02:00
bterkuile
61d1a5998d
Use the rails 4.2 active job
2015-03-11 08:15:16 +01:00
bterkuile
046058b5d2
Poltergeist in the green, and resourceful refactor
2015-02-27 15:12:08 +01:00
bterkuile
bfc0f336d1
Fix employee adding
2015-02-27 11:09:16 +01:00
bterkuile
d9e69beb5f
All the little details
2015-02-20 19:21:25 +01:00
bterkuile
cde551dc7f
Better settings coupling with spec coverage
2015-02-20 11:51:35 +01:00
bterkuile
c1858455e9
End of day commit
2015-02-18 22:36:47 +01:00
bterkuile
82670f271b
extend form builder with error messages
2015-02-17 12:05:44 +01:00
bterkuile
36525849bd
Time dependant product categories for users
2015-01-22 17:49:32 +01:00
bterkuile
22bbe5bbfa
Add instagram background implementation and generalize application for other identity providers
2014-12-22 15:34:23 +01:00
bterkuile
711f878a3a
Upgrades and simple_form dependency removal
2014-12-11 14:37:09 +01:00
bterkuile
f76c883bb9
minor fixes and reload button
2014-09-01 10:12:34 +02:00
bterkuile
afc604bb69
Secure faye publishing
2014-08-29 16:37:15 +02:00
bterkuile
3b410bd493
Working app now yeah
2014-08-26 18:31:11 +02:00
bterkuile
7a16650129
New facebook data
2014-08-25 11:24:48 +02:00
bterkuile
bfa6bb66b0
Progress and cleanup code
2014-08-18 15:41:14 +02:00
bterkuile
15005f332f
Rebrand to mozo.bar
2014-08-06 12:58:16 +02:00
bterkuile
99a9536c68
Replace couchbase counters with drb version
2014-08-05 17:49:16 +02:00
bterkuile
a302123c6b
Basic site flow improvements and devise handling
2014-07-16 11:20:11 +02:00