bterkuile
4bee13aae7
activate ActionCable messaging instead of Faye
2026-05-17 11:44:53 -05:00
bterkuile
12836dd14b
Switch to Redis counter
2026-05-17 10:48:05 -05:00
bterkuile
5dbb6dbeae
Explicitly require action_cable
2026-05-17 09:42:48 -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
0559ede912
remove non English locales for easy redesign
2026-03-11 10:43:59 -05:00
bterkuile
4e1d3bd052
Add spanish locales and gravatar options
2026-03-09 11:17:25 -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
63b19cb78a
Infrastructure and add removeListNeedsHelp to users
2026-02-09 17:56:05 -05:00
bterkuile
f0c561311f
progress today, clicking and fixing
2026-02-04 15:09:46 -05:00
bterkuile
a72559666d
Better list users frontend connection and setup of payment page
2025-12-07 16:57:33 -05:00
bterkuile
63d334eb48
work movement to other machine
2025-11-23 10:05:12 -05:00
bterkuile
f76ff718a0
updates
2025-11-02 19:50:08 -05:00
bterkuile
dcd6b807ed
Day's worth of debugging
2025-09-26 11:55:22 -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
e04400d1df
remove linked file puma.rb, think of a solution later
2025-09-20 17:44:48 -05:00
bterkuile
7276da7977
set the proper git repository in deploy
2025-09-20 17:41:30 -05:00
bterkuile
a3b652500c
try the new deploy
2025-09-20 17:40:54 -05:00
bterkuile
0e051b1f93
rename qwaiter to mozo
2025-09-20 17:35:58 -05:00
bterkuile
7212d9041e
add puma lines to deploy
2025-09-19 14:02:08 -05:00
bterkuile
73f430eadf
Try new event_host proxy pass strategy
2025-08-30 12:20:48 -05:00
bterkuile
381a7feb08
remove the culprit
2025-08-30 11:20:08 -05:00
bterkuile
8c1295aaf5
deploy changes, again the credentials
2025-08-30 11:13:55 -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
948a787bea
make list spec pass
2025-08-28 09:07:47 -05:00
bterkuile
1531722db5
Credentials
2025-02-13 14:54:39 -05:00
bterkuile
1c7e391fbd
Update dependencies and add sprockets-rails
2025-02-13 11:38:35 -05:00
bterkuile
58178cc66d
Changes for Fedora ruby 3.4 and rails 8
2025-02-10 10:39:21 -05:00
bterkuile
01a6953df7
upgrade things
2024-01-14 10:38:01 -05:00
bterkuile
8b0ddff515
Fixes and add label to tables
2022-04-16 15:21:07 -05:00
bterkuile
711cd95ad4
See if it deploys
2022-01-31 12:17:03 -05:00
bterkuile
0e917ccdb4
New versions
2022-01-27 09:32:01 -05:00
bterkuile
cf7f5d0f16
updates for new development env
2021-04-30 15:22:16 -05:00
Benjamin
d64772bdfc
Darwin fixes
2021-04-22 17:50:59 -05:00
Benjamin
714ce8f8c6
some updates
2021-04-21 17:22:56 -05:00
Benjamin
46fc427694
updates
2021-04-19 15:14:37 -05:00
bterkuile
e8410b64e7
updates
2020-03-12 10:54:58 -05:00
bterkuile
96a7f6eacb
fix net http issu questionmark
2020-03-07 11:42:52 -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
8288595b3f
Force set omniauth full_host for redirection
2020-03-05 19:18:44 -05:00
bterkuile
cf464aed8d
deploy upgrades
2020-03-05 18:12:59 -05:00
bterkuile
b170521619
changes
2020-03-05 17:53:35 -05:00
bterkuile
840bac4d54
infra updates
2020-03-05 11:36:49 -05:00