Commit Graph

95 Commits

Author SHA1 Message Date
Mike Dalessio 8f73e1e1be Add console1984 and audits1984
To keep as much of this as we can in the `fizzy-saas` gem, this PR
opts to store console/audits models in a separate database, and so:

- the gem contains the migrations and the database config
- the app contains a separate schema file distinctly for SaaS concerns
  - Rails' current behavior prevents us from easily keeping this file in the gem

Also note that the stock `audits1984` schema is updated to reference
the auditor via a UUID foreign key.

Finally, in order for the database schema file to be located in the
gem directory (and not the application directory), it's necessary to
monkeypatch `AR::DatabaseTasks.schema_dump_path` to support absolute
paths. This functionality has been proposed upstream in
https://github.com/rails/rails/pull/56290 but is awaiting a decision
from the core team.

ref: https://app.fizzy.do/5986089/cards/2469
ref: #17
2025-12-04 11:43:48 -05:00
Mike Dalessio 9876307cf6 Merge pull request #19 from basecamp/flavorjones/gitleaks-allow-20251203
Mark a development token as gitleaks:allow
2025-12-03 17:05:27 -05:00
Mike Dalessio 3ab3bcc580 Mark a development token as gitleaks:allow 2025-12-03 17:03:16 -05:00
Lewis Buckley 8b1d9966d7 Merge pull request #18 from basecamp/upgrade-prometheus-client-mmap-1.4.0
Upgrade prometheus-client-mmap to ~> 1.4.0
2025-12-03 12:45:23 -08:00
Lewis Buckley 23d7c48928 Upgrade prometheus-client-mmap to ~> 1.4.0 2025-12-03 15:54:23 +00:00
Mike Dalessio 52df44c181 Merge pull request #17 from basecamp/flavorjones/console1984
Add deployment secrets for active record encryption
2025-12-02 22:38:09 -05:00
Mike Dalessio ca6caa7a92 Add deployment secrets for active record encryption
which is used by console1984 and audits1984.

ref: https://app.fizzy.do/5986089/cards/2469
2025-12-02 22:30:07 -05:00
Olivier 1bba8457e2 Fix typo in README for open source mode instructions (#13) 2025-12-02 13:34:44 -08:00
Jeremy Daer 74e968ba9d Bundler: normalize platforms 2025-12-02 13:34:20 -08:00
Jeremy Daer 9f6f4da363 Release under O'Saasy license (#16) 2025-12-02 13:33:27 -08:00
Mike Dalessio d62e8819a8 Merge pull request #12 from basecamp/flavorjones/gc-tune-20251202
Bump GC parameters
2025-12-02 12:08:35 -05:00
Mike Dalessio bf4573a7df Bump GC parameters
per autotuner advice:

    The following suggestions reduce the number of minor garbage
    collection cycles, specifically a cycle called "malloc". Your app
    runs malloc cycles in approximately 25.00% of all minor garbage
    collection cycles.
2025-12-02 11:57:59 -05:00
Jorge Manrubia a204b188b0 Fix: log identity ids 2025-12-02 15:27:22 +01:00
Jorge Manrubia b3611363a9 Merge pull request #8 from basecamp/drop-healthcheck-metrics
Drop healthcheck metrics
2025-11-30 11:14:41 +01:00
Mike Dalessio 758571f06c Merge pull request #11 from basecamp/flavorjones/fix-beta-deploy
We don't run jobs in beta
2025-11-29 19:29:00 -05:00
Mike Dalessio d2db893677 We don't run jobs in beta
I think this was hallucinated in the original commit. This is causing
racing between beta and prod, and as a result beta was attempting to
send emails for production.

Fortunately, smtp is not configured in beta and prevented bad emails
from going out. 😅
2025-11-29 19:24:03 -05:00
Jorge Manrubia f7482d5c55 Move solid-queue dev setup to the engine 2025-11-29 21:45:48 +01:00
Jorge Manrubia 17bd37d731 Merge pull request #10 from basecamp/move-env-configs
Move env-specific bits to env files
2025-11-29 16:28:25 +01:00
Jorge Manrubia 5a8b980f20 Update README 2025-11-29 16:26:49 +01:00
Stanko Krtalić eda6e63f3b Merge pull request #9 from basecamp/remove-unused-route
Remove unused route
2025-11-29 15:20:56 +01:00
Jorge Manrubia 5366b89892 Test moved to the host app as part of making signup code identical 2025-11-29 11:54:01 +01:00
Jorge Manrubia 1a74735218 We need to require this *after* or the mocks won't work 2025-11-29 11:53:47 +01:00
Jorge Manrubia 299212aae1 Move env-specific bits to env files
TIL Rails engines load these by default before loading the host app's
2025-11-29 11:46:23 +01:00
Stanko K.R. 43bf226444 Remove duplicate test 2025-11-29 11:16:01 +01:00
Stanko K.R. 0ce46ddc36 Remove unused route 2025-11-29 10:05:16 +01:00
Jorge Manrubia 230693f092 Add note about how to update Fizzy
(we need to improve this and make it more seamless)
2025-11-28 16:30:03 +01:00
Jorge Manrubia ddbbf68d8c Move scripts from the main app 2025-11-28 15:34:56 +01:00
Jorge Manrubia 2f9a34117f Bring changes from https://github.com/basecamp/fizzy/commit/91929d7c092f15fa6f145a17e61aa6493d3edd34 2025-11-28 15:32:02 +01:00
Jorge Manrubia de1e344b89 Align beta deploy config with main's 2025-11-28 15:05:56 +01:00
Lewis Buckley 92b00b744f Drop healthcheck metrics 2025-11-28 13:49:19 +00:00
Jorge Manrubia b6bb2338ed Align beta deploy descriptor 2025-11-28 14:39:23 +01:00
Jorge Manrubia 054c8ebbbd Remove AGENTS.md 2025-11-28 13:11:37 +01:00
Jorge Manrubia 45b8db4447 We will move this to shipyard 2025-11-28 13:11:05 +01:00
Jorge Manrubia 305e416cc0 Include AGENTS.md with the gem 2025-11-28 13:06:43 +01:00
Jorge Manrubia e8e4a6cf69 Move AGENTS.md here 2025-11-28 13:05:42 +01:00
Jorge Manrubia 76fb864e40 Review copy 2025-11-28 12:56:51 +01:00
Jorge Manrubia 82c4e87bf0 Require metrics once Yabeda has been loaded 2025-11-28 11:59:20 +01:00
Jorge Manrubia 61c53054da Restructure a bit 2025-11-28 11:54:33 +01:00
Jorge Manrubia d30e327f1e Move yabeda/prometheus configuration to gem 2025-11-28 11:51:24 +01:00
Jorge Manrubia 95c8a76391 Review 2025-11-28 10:59:50 +01:00
Jorge Manrubia b315bf38e4 Add link to the handbook 2025-11-28 10:59:35 +01:00
Jorge Manrubia e4fa1d3431 Review README 2025-11-28 10:31:45 +01:00
Jorge Manrubia 792c688779 Review README 2025-11-28 10:31:08 +01:00
Jorge Manrubia 71a9c56a2c Add note about saas mode 2025-11-28 10:25:33 +01:00
Jorge Manrubia 8bb27c3e31 Should not be needed 2025-11-27 16:10:17 +01:00
Jorge Manrubia 1af178b152 Only if replica configured 2025-11-27 16:09:29 +01:00
Jorge Manrubia 7298d2534a Improve test 2025-11-27 13:24:43 +01:00
Jorge Manrubia b5ca92b999 Superfluous 2025-11-27 13:21:05 +01:00
Jorge Manrubia 1217f569ad This is a number, no need to convert 2025-11-27 13:20:25 +01:00
Jorge Manrubia 00c06c61c3 Merge pull request #7 from basecamp/extract-signup
Move signup code back to the app, leave only queenbee hooks
2025-11-27 13:14:24 +01:00