Commit Graph

227 Commits

Author SHA1 Message Date
Mike Dalessio 9126c42eef Remove the "mirror" storage service
because we've updated all the blobs to point to "purestorage"
2025-06-01 13:04:30 -04:00
Mike Dalessio a43db94a83 Update production storage to write to the Pure blob store
Modify the blob copying script to update the blob service name.

This completes the migration and allows us to (at some point) clean up
local disk and remove the "mirror" service from the config.
2025-06-01 12:57:54 -04:00
Mike Dalessio 6d7fbd2175 Clean up the purestorage config, and add explanatory comments.
We're keeping beta on local disk for now.
2025-06-01 12:48:59 -04:00
Mike Dalessio 29644ba122 Mount mission control under /admin/jobs
and add credentials for beta and production (in 1password).
2025-06-01 11:50:47 -04:00
Mike Dalessio bddfed3419 Flip the storage mirror to write to Pure as the primary 2025-05-31 16:02:50 -04:00
Mike Dalessio 704e215eca Production mirrors Active Storage to :purestorage
Also include a script to copy existing blobs to Pure.

Local is still the primary.

Beta will keep using local disk service for Active Storage because I
think there are constraints on source IPs for the Pure cluster.
2025-05-31 14:37:35 -04:00
Mike Dalessio df682cdfe1 Make sure Sentry is configured for the beta env. 2025-05-31 13:35:53 -04:00
Mike Dalessio c3a9ac7391 Create a distinct "beta" environment
and move secrets into Rails credentials for both beta and production
environments.
2025-05-31 10:57:26 -04:00
Mike Dalessio 1c85d8f270 Add a kamal "ssh" alias 2025-05-30 17:44:02 -04:00
Mike Dalessio febab0758a Drop the unnecessary initializer creating storage paths 2025-05-30 15:13:10 -04:00
Jorge Manrubia fa04016cbe Revert "Revert "Replace House with Lexical"" 2025-05-29 14:25:16 +02:00
Jorge Manrubia 08d8b2e5ff Revert "Replace House with Lexical" 2025-05-29 14:22:27 +02:00
Jorge Manrubia 62bef018ea Merge branch 'main' into lexical
* main:
  Don't choke when rendering commands where the card was deleted
  Update tests
  Rework system events
  test: add missing assertions
  dep: bump active_record-tenanted to fix URI support
  Remove hyphen from "Un-do"
  Prevent default when handling keyboard shortcuts
  dep: update AR::Tenanted to support database URIs
  Detect platform and label the correct hotkey shortcut
  Things got too tight
  Don't require TLS for Beamer at the moment
  dep: update dependencies

# Conflicts:
#	Gemfile
#	Gemfile.lock
#	app/assets/stylesheets/comments.css
2025-05-29 12:44:14 +02:00
Jorge Manrubia 2594bf90a7 Bye house! 2025-05-28 22:36:43 +02:00
Kevin McConnell c2c3a8d8ab Don't require TLS for Beamer at the moment 2025-05-26 15:26:31 +01:00
Jorge Manrubia 10b2aad647 Replace House with lexical-powered actiontext 2025-05-23 11:41:08 +02:00
Jorge Manrubia 202088fc8e Comment AI in tests 2025-05-16 17:28:37 +02:00
Jorge Manrubia 40b78e4115 Move extension configuration to config file
Kudos to Mike for the tip
2025-05-16 16:17:54 +02:00
Jorge Manrubia b8f94c4ecb Add VCR and some initial tests 2025-05-16 13:29:18 +02:00
Jorge Manrubia 4c7b99e39d Add separated API key for test environment 2025-05-16 13:29:18 +02:00
Jorge Manrubia b079be8388 Be explicit about the model 2025-05-16 13:29:18 +02:00
Jorge Manrubia b7b89541c6 Update README with a note about credentials 2025-05-16 13:29:18 +02:00
Jorge Manrubia 007492add0 Primitive insight queries 2025-05-16 13:29:18 +02:00
Jorge Manrubia 67984bf589 WIP for LLM experiment 2025-05-16 13:29:18 +02:00
Mike Dalessio (aider) 2f9a0bbe75 Introduce a recurring job to delete unused tags
ref: https://37s.fizzy.37signals.com/collections/693169850/cards/999009072
2025-05-14 12:35:52 -04: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
Jorge Manrubia 3e8896ef93 Undo working for assignments 2025-05-06 09:25:52 +02:00
Jorge Manrubia 7a51e13d7c Remove old code 2025-05-06 08:56:56 +02:00
Jorge Manrubia 65d809dd8d Basic models for Fizzy do and searches working with them 2025-05-06 06:42:33 +02: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
Jason Zimdars c964c87d5b Don't strip lightbox attributes 2025-04-30 10:52:47 +02:00
David Heinemeier Hansson c5bce10d23 Set ARTENANT until we can fix AR::Tenanted for clean boot 2025-04-28 14:44:04 +02:00
David Heinemeier Hansson 4531e7f9d9 Dont need proxy 2025-04-28 14:25:35 +02:00
David Heinemeier Hansson 44169ac5ba Test PVE deployment 2025-04-28 14:21:59 +02:00
Kevin McConnell d96db67734 Configure deployment for load balancing
- Adds a load balancer accessory
- Disables SSL from the app's proxy (since the LB will handle it)
2025-04-25 14:18:04 +01:00
Jorge Manrubia 88fceb3123 Add brakeman rule 2025-04-25 10:40:26 +02:00
Jorge Manrubia 13b0c0fc41 First pass to tidy up activity time rendering 2025-04-24 12:28:16 +02:00
Kevin McConnell 330ac16923 Run Beamer primary on beta as well
Although we aren't currently replicating anywhere there, this allows us
to still capture transactions, and trim the old ones. It also keeps beta
a little closer in configuration to production.
2025-04-24 08:24:45 +01:00
Mike Dalessio ea56968c05 Remove "primary_original" database
which was created to perform the tenanting migration from 300dffd3,
and can now be cleaned up.
2025-04-23 15:39:50 -04:00
Jorge Manrubia b08326ccbe Merge branch 'main' into plain-text-mentions
* main: (48 commits)
  Improve layout and truncation
  This is annoying
  Fix summary
  Remove index columns
  Same treatment for the events index
  New menu filters and navigates
  Don't test for _Added by_ events
  Indention
  @collection is always available when card scoped
  Style
  Remove check for _Added by..._ line
  The placeholder attribute is on the `house-md` element
  Duh, no before destroy commit, but this is still not right!
  No long transactions!
  Don't display published event in threads
  But feels more essentially part of the User, so list first
  Not related to the other two
  Missing controller
  Style
  Errant `bubbles` => `cards` replacement
  ...

# Conflicts:
#	app/models/card.rb
#	app/models/user.rb
#	db/schema.rb
#	db/schema_cache.yml
2025-04-23 17:24:01 +02:00
Jorge Manrubia f258b05b23 Delegate target to the notifiable objects 2025-04-23 16:19:50 +02:00
Jorge Manrubia 5dac14ab50 Move logic to the model 2025-04-23 16:06:20 +02:00
Jorge Manrubia 07d3447e7e Resolve notifications URLs 2025-04-23 14:34:59 +02:00
David Heinemeier Hansson 3d28203224 Use singular staging resource and beef up testing 2025-04-22 14:44:55 +02:00
David Heinemeier Hansson e1b2b623e8 --skip-server in ci setup 2025-04-21 15:26:19 +02: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
Kevin McConnell 09e544a881 Run beamer accessories in production only 2025-04-17 16:31:09 +01:00