Commit Graph

105 Commits

Author SHA1 Message Date
Mike Dalessio e3a7eae3a0 dep: bump dependencies 2025-04-29 05:31:28 -04:00
Mike Dalessio 94b1082091 dep: bump AR::Tenanted to avoid errors on a fresh deploy
ref: https://37s.fizzy.37signals.com/collections/693169862/cards/999008994
ref: https://github.com/basecamp/active_record-tenanted/pull/88
2025-04-28 15:01:56 -04:00
Mike Dalessio 579c76f58a dep: AR::Tenanted: no implicit db migrations
ref: https://github.com/basecamp/active_record-tenanted/pull/86
ref: https://37s.fizzy.37signals.com/collections/693169862/cards/999008694
2025-04-24 15:07:08 -04:00
Mike Dalessio 344e79c06c dep: update AR::Tenanted to fix production deploy migrations 2025-04-23 23:08:27 -04:00
Mike Dalessio 6ae00d12cd dep: update active_record-tenanted
to a version that preserves current tenant across console reloads in development
2025-04-23 16:52:14 -04:00
Mike Dalessio 93cec7beb9 Update to latest AR::Tenanted to pick up some db task improvements
Notably, `db:migrate` will run tenanted database migrations in
production now.
2025-04-23 15:47:46 -04:00
Mike Dalessio 28ce005e8a dep: update rails to 0ed3cd46
which includes the fix for a stable schema cache file.
2025-04-23 14:06:44 -04:00
dependabot[bot] 682da733da Bump nokogiri from 1.18.7 to 1.18.8
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.7 to 1.18.8.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.18.7...v1.18.8)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-version: 1.18.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 04:58:30 +00:00
Mike Dalessio 01d741b3f4 dep: update rails 2025-04-21 13:03:49 -04:00
David Heinemeier Hansson 883a225946 Use upstreamed assert_in_body 2025-04-19 10:08:08 +02:00
Mike Dalessio 30b6dcad05 dep: update active_record-tenanted to 8758240b 2025-04-07 11:33:55 -04:00
Mike Dalessio 1b6daa55c6 dep: bump Rails to 32d96235 2025-04-07 09:55:28 -04:00
dependabot[bot] d2e4b0e9a3 Bump the development-dependencies group across 1 directory with 2 updates
Bumps the development-dependencies group with 2 updates in the / directory: [brakeman](https://github.com/presidentbeef/brakeman) and [selenium-webdriver](https://github.com/SeleniumHQ/selenium).


Updates `brakeman` from 7.0.0 to 7.0.2
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/main/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v7.0.0...v7.0.2)

Updates `selenium-webdriver` from 4.30.1 to 4.31.0
- [Release notes](https://github.com/SeleniumHQ/selenium/releases)
- [Changelog](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES)
- [Commits](https://github.com/SeleniumHQ/selenium/commits/selenium-4.31.0)

---
updated-dependencies:
- dependency-name: brakeman
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: development-dependencies
- dependency-name: selenium-webdriver
  dependency-version: 4.31.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: development-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-05 15:23:15 +00:00
David Heinemeier Hansson 537cb7680e Add Bundler Audit for Local CI 2025-04-05 17:20:51 +02:00
David Heinemeier Hansson 6166c91759 Not needed
The Dockerfile enforces the Ruby version in production, and mise does so
in development.
2025-04-05 16:09:45 +02:00
David Heinemeier Hansson 233538c722 Going to remove Hotwire Spark for a second
It does not work well with turbo frames that error out during
development, since it changes the URL on the error to the location of
the frame. Find that more annoying than I find Spark helpful.
2025-04-05 16:07:42 +02:00
Mike Dalessio 72d2728768 dep: bundle update
Notably:

- rails e9d7ca5e → e0452e80
- active_record-tenanted to pick up `db:drop` support
2025-04-03 21:39:39 -04:00
Mike Dalessio c7e8f78253 dep: update active_record-tenanted for db:reset support
and update some other dependencies along the way.
2025-03-25 15:01:45 -04: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
Mike Dalessio 7ad6e6850f dep: bundle update (solid_queue) 2025-03-20 13:10:09 -04:00
Mike Dalessio 10d4fc0fd8 dep: bundle update (rails, nokogiri) 2025-03-20 13:05:34 -04:00
Mike Dalessio e5cbb88714 dep: update AR::Tenanted
- rails console will have the current tenant set to ARTENANT if set, else the default
- current tenant can be set via concrete classes, e.g. `User.current_tenant = "foo"`
2025-03-20 10:03:23 -04:00
Mike Dalessio 446de99b61 dep: Update active_record-tenanted to the main branch
because all of our temporary branch hacks have been fixed there.
2025-03-19 17:20:18 -04:00
Mike Dalessio 7e10455181 Merge pull request #311 from basecamp/flavorjones-extracted-resolver
Update to AR::Tenanted with the extracted tenant resolver
2025-03-19 13:38:21 -04:00
Mike Dalessio 2e70e0c3bd Update to AR::Tenanted with the extracted tenant resolver
- we no longer need to explicitly add the TenantSelector middleware
- and we can set up a properly-articulated tenant resolver proc that's
  used by both TenantSelector and Action Cable connections

ref: https://37s.fizzy.37signals.com/buckets/693169862/bubbles/999008671
2025-03-19 13:34:43 -04:00
David Heinemeier Hansson 6a49e892f1 Use latest Ruby 2025-03-19 17:10:47 +01:00
Mike Dalessio 325ec59ffd dep: bundle update
- [ ] minitest: 5.25.4 -> 5.25.5
  - used by active_record-tenanted, geared_pagination, importmap-rails, jbuilder, kamal, propshaft, rails, rails_structured_logging, sentry-rails, solid_cable, solid_cache, solid_queue, stimulus-rails, turbo-rails
- [ ] json: 2.10.1 -> 2.10.2
  - used by rails_structured_logging
- [ ] sentry-ruby: 5.22.4 -> 5.23.0
  - used by sentry-rails
2025-03-14 10:14:53 -04:00
Mike Dalessio 18db35aaa4 dep: bump active_record-tenanted 2025-03-14 10:11:41 -04:00
Mike Dalessio d1329e7985 dep: update active_record_tenanted to fix console issue
ref: https://37s.fizzy.37signals.com/buckets/693169862/bubbles/999008674
2025-03-12 13:26:09 -04:00
Mike Dalessio dcb8d52dcd dep: bump active_record-tenanted for a db:fixture:load fix 2025-03-12 09:54:39 -04:00
Mike Dalessio 11df869dfc dep: update active_record-tenanted
for the fix in https://github.com/basecamp/active_record-tenanted/pull/45
2025-03-12 09:34:03 -04:00
Mike Dalessio d8075b74b7 hack: to handle tenantname.fizzy.37signals.com
Let's do the needful thing for now, and clean it up once the gem has
exposed the tenant resolver as a config in a cleaner way.
2025-03-12 07:53:31 -04:00
Mike Dalessio b90cc9bd06 dep: bundle update rails and rack 2025-03-12 07:53:31 -04:00
Mike Dalessio 37c8ca1b65 dep: add active_record-tenanting 2025-03-12 07:53:28 -04:00
Mike Dalessio f1ec43db28 dep: bundle update
except Rails
2025-03-10 12:53:21 -04:00
Mike Dalessio 40256a4420 Merge pull request #249 from basecamp/dependabot/bundler/net-imap-0.5.6
Bump net-imap from 0.5.5 to 0.5.6
2025-03-10 12:20:07 -04:00
Mike Dalessio 2a4b85007d Merge pull request #286 from basecamp/dependabot/bundler/rack-3.1.11
Bump rack from 3.1.8 to 3.1.11
2025-03-10 12:19:38 -04:00
Mike Dalessio fa0f8fa2b1 Merge pull request #287 from basecamp/dependabot/bundler/uri-1.0.3
Bump uri from 1.0.2 to 1.0.3
2025-03-10 12:19:28 -04:00
dependabot[bot] d3d4b4c85b Bump uri from 1.0.2 to 1.0.3
Bumps [uri](https://github.com/ruby/uri) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ruby/uri/releases)
- [Commits](https://github.com/ruby/uri/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: uri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 16:16:53 +00:00
dependabot[bot] 9c6405e524 Bump net-imap from 0.5.5 to 0.5.6
Bumps [net-imap](https://github.com/ruby/net-imap) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/ruby/net-imap/releases)
- [Commits](https://github.com/ruby/net-imap/compare/v0.5.5...v0.5.6)

---
updated-dependencies:
- dependency-name: net-imap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 16:16:34 +00:00
dependabot[bot] 14ecae6aef Bump rack from 3.1.8 to 3.1.11
Bumps [rack](https://github.com/rack/rack) from 3.1.8 to 3.1.11.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.8...v3.1.11)

---
updated-dependencies:
- dependency-name: rack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-10 16:16:03 +00:00
Mike Dalessio 989600c590 Configure structured JSON logging
This configuration is emulating what we do in HEY.
2025-03-10 12:12:56 -04:00
dependabot[bot] 7494dc0aa7 Bump nokogiri from 1.18.1 to 1.18.3
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.18.1 to 1.18.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/v1.18.3/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.18.1...v1.18.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 13:33:08 +00:00
Jason Zimdars 8ee1e670f9 Remove Hotwire Combobox, adjust related styles 2025-02-10 17:01:42 -06:00
Kevin McConnell 890c754f85 Add Kamal deploy config 2025-01-27 13:02:55 +00:00
Kevin McConnell 1f3bc1134f Paginate the read notifications 2025-01-24 17:42:36 +00:00
dependabot[bot] e907cdbc41 Bump hotwire_combobox from 57ee6c9 to c280da0
Bumps [hotwire_combobox](https://github.com/josefarias/hotwire_combobox) from `57ee6c9` to `c280da0`.
- [Release notes](https://github.com/josefarias/hotwire_combobox/releases)
- [Commits](https://github.com/josefarias/hotwire_combobox/compare/57ee6c9087320fab9383a07fa919fe75e0ea72ba...c280da0f4b61386729959a28f32fbed728a0c773)

---
updated-dependencies:
- dependency-name: hotwire_combobox
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-08 14:05:47 +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
Kevin McConnell 21632f30cd Use latest Thruster 2025-01-07 08:28:08 +00:00