Mike Dalessio
e70047ca0f
Default development environment to app.fizzy.localhost ( #2822 )
...
Using fizzy.localhost causes CORS errors when using minio for Active
Storage because the minio endpoint is at minio.fizzy.localhost — a
sibling subdomain, not a subdomain of the app host. Switching to
app.fizzy.localhost makes both hosts subdomains of fizzy.localhost,
resolving the CORS issue. See #2814 for the related minio CORS fix.
fizzy.localhost will continue to work if people want to use it, but all
docs and scripts have been updated to point to app.fizzy.localhost.
2026-04-09 12:43:01 -04:00
Mike Dalessio
45d165749f
Fix CORS issues when using minio in development ( #2814 )
...
Move MinIO from minio.localhost to minio.fizzy.localhost, which makes
it same-site with the app, so the CORS redirect succeeds.
The service worker fetches Active Storage URLs with `mode: "cors"` so
it can inspect response sizes for offline caching. Active Storage's
redirect controller returns a 302 to the MinIO presigned URL. When
that redirect crosses site boundaries (from fizzy.localhost to
minio.localhost), the browser sets the Origin header to "null" on the
redirected request per the Fetch spec, which fails the CORS check and
produces net::ERR_FAILED.
2026-04-08 16:06:38 -04:00
Jeremy Daer
d913ef5b6a
Fix that caching should be disabled in dev by default. References 3cf841d463.
2026-01-08 12:26:18 -08:00
Jay Ohms
ea43d81850
Support mobile app local development access from devices over nip.io
2026-01-05 09:31:27 -05:00
Jeremy Daer
97ffe00672
My life for a trailing comma
2025-12-16 09:54:04 -08:00
Jeremy Daer
a68bd2775d
Fix Tailscale host match. Rails wraps the regexp in its own anchors and port-match.
2025-12-16 09:35:26 -08:00
Jeremy Daer
82626f020d
Tailscale serve support ( #2126 )
...
Ensure we can serve the app from multiple hosts without breaking links.
* Switch unnecessary full URLs to paths
* Drop default host/port URL options for controllers
Shell 1
```bash
bin/dev
```
Shell 2
```bash
tailscale serve http://fizzy.localhost:3006
```
2025-12-13 09:29:50 -08:00
Mike Dalessio
7d6cf62665
CSP config to allow Minio in development
2025-12-12 17:00:17 -05:00
Jorge Manrubia
081586c0a6
This was moved to the engine
...
https://github.com/basecamp/fizzy-saas/commit/27d4d34091de8db53bb01ac604c56e1a83b3adc3
2025-11-29 21:46:34 +01:00
Jorge Manrubia
c61dba0641
Format
2025-11-28 15:53:58 +01:00
Jorge Manrubia
fa9ee0381d
Move more settings to the gem
2025-11-28 15:53:58 +01:00
Jorge Manrubia
18e1badfb5
Prevent choking when no structured logging for now
2025-11-28 15:53:58 +01:00
Mike Dalessio
aca00d6218
Configure a reading: connection for solid gems
...
because I'm getting exceptions from Mission Control
2025-11-17 09:12:41 -05:00
Kevin McConnell
915c1202f8
Initial minimal primary/replica switching
2025-11-17 09:11:57 -05:00
Mike Dalessio
ffc0c86f36
Minio support in development
...
for when we need to debug direct upload problems
2025-10-14 19:11:50 -04:00
Stanko K.R.
d3816bc212
Create testbed to test beamer scenarios in Fizzy
2025-10-13 13:46:00 +02:00
Mike Dalessio
bf04f4f12d
Configure action_controller.default_url_options
...
so that using url helpers will work in turbo stream notifications sent
by background jobs.
ref: https://fizzy.37signals.com/5986089/collections/2/cards/1469
2025-09-01 11:19:26 -04:00
Jorge Manrubia
cd6ff41eea
Fix port for local dev
2025-08-27 11:21:11 +02:00
Jorge Manrubia
218519d075
Configure letter opener
2025-08-26 10:21:13 +02:00
Jorge Manrubia
b911a12833
Configure action mailer
2025-08-26 10:15:27 +02:00
Mike Dalessio
3444427d32
Don't run solid queue in dev by default
...
but allow it to be turned on by touching tmp/solid-queue.txt
2025-05-08 13:44:05 -04:00
Mike Dalessio
7dee9ed9d6
Log the authenticated user
...
to help track down issues reported by individuals in the logs
2025-05-07 17:13:25 -04:00
Mike Dalessio
9d8d38873e
Backup the tenant databases nightly.
...
This is probably not a permanent solution, but should provide some
disaster recovery capability while we're building up Fizzy operationally.
2025-04-30 06:15:25 -04:00
David Heinemeier Hansson
167563d9f8
Stlye
2025-04-21 14:01:53 +02:00
David Heinemeier Hansson
4b294ccaa6
No need to run Solid Cache in development
2025-04-21 13:55:09 +02:00
David Heinemeier Hansson
70275c9f04
Yank Solid Queue from development
...
It clogs up the test log and occasionally causes the puma to hang when
you want to quit.
2025-04-18 16:30:30 +02:00
Mike Dalessio
4992c3f971
Set up tenanted Action Mailer URL helpers
...
and update AR::Tenanted to a version that supports it.
2025-03-20 21:58:36 -04:00
Kevin McConnell
2681d76e12
Allow all hosts in development, for testing
2025-01-27 14:16:41 +00:00
Kevin McConnell
90538afb3b
Add Solid Queue
...
We'll run jobs via the Puma plugin for now, to simplify the deployment.
2025-01-08 14:02:45 +00:00
Kevin McConnell
2e892e0766
Add Solid Cache
2025-01-08 14:02:45 +00:00
Jose Farias
dd1752de2a
Implement bucket access form
2024-10-09 11:53:05 -04:00
Jason Zimdars
3cf841d463
Proper ordering
2024-09-13 09:52:55 -05:00
Kevin McConnell
b9cf8c5e9d
Set up Rubocop
2024-06-21 16:42:48 +01:00
Kevin McConnell
564a0f48ae
New Rails app
2024-06-21 13:19:56 +01:00