Commit Graph

6866 Commits

Author SHA1 Message Date
Mike Dalessio ff8d786144 Filter boards by account 2025-11-17 09:11:57 -05:00
Mike Dalessio dbf66f9a50 Constrain user queries to the current or relevant account 2025-11-17 09:11:57 -05:00
Mike Dalessio 93b2cef419 Delete unused script migrate-primary-db 2025-11-17 09:11:57 -05:00
Mike Dalessio 29cf6485e4 Drop the migrations audit from CI 2025-11-17 09:11:57 -05:00
Mike Dalessio b5197fe6d3 Fix notifications to use the user's account 2025-11-17 09:11:57 -05:00
Mike Dalessio 9697f7b43d Replace some instances of Current.account with model account 2025-11-17 09:11:57 -05:00
Mike Dalessio bca694f9f8 Fix action cable connection 2025-11-17 09:11:57 -05:00
Mike Dalessio 4ac87a9ad9 Fix seeds 2025-11-17 09:11:57 -05:00
Mike Dalessio 5f15966ecc Fix PWA manifest 2025-11-17 09:11:56 -05:00
Mike Dalessio 895f5514b5 rubocop fixes 2025-11-17 09:11:52 -05:00
Mike Dalessio c38f27f3b4 test: fix or skip signup controller tests 2025-11-17 09:11:47 -05:00
Mike Dalessio 905cf759d8 test: fixing or skipping more tests 2025-11-17 09:11:47 -05:00
Mike Dalessio 89d1299ec0 Fix authentication on "untenanted" controllers
trying out the name "disallow_account_scope" for this, but I don't
think it's quite right yet.
2025-11-17 09:11:47 -05:00
Mike Dalessio 086a9ceada Revert some auth pieces of "Account.sole → Current.account" 2025-11-17 09:11:45 -05:00
Mike Dalessio f1a53f3088 test: fix join codes view 2025-11-17 09:11:42 -05:00
Stanko K.R. c894bcc3b2 Fix event creation 2025-11-17 09:11:42 -05:00
Stanko K.R. 8b1ca5e7fb Remove unused account associations 2025-11-17 09:11:42 -05:00
Stanko K.R. 1d6dd09272 Update fixutres 2025-11-17 09:11:42 -05:00
Stanko K.R. ba3f6b188e Add account_id to everything 2025-11-17 09:11:42 -05:00
Mike Dalessio bca4318cd4 Turbo test helper 2025-11-17 09:11:42 -05:00
Mike Dalessio 7bd697f75e test: Skip search tests, fix others, and skip a few hard ones 2025-11-17 09:11:42 -05:00
Mike Dalessio 157708aeb8 test: Set up Current.account to get more tests passing
this is hacky so I left a todo to come back and unwind this
2025-11-17 09:11:42 -05:00
Mike Dalessio 006aa4d6b3 Tests need to set up the script_name properly
which requires tweaking fixtures for the memberships and the account
2025-11-17 09:11:42 -05:00
Stanko K.R. 65f97babd9 Create SQLite import script 2025-11-17 09:11:42 -05:00
Mike Dalessio 030433b99d Remove debugging statements 2025-11-17 09:11:42 -05:00
Mike Dalessio 0414befdfa Restore solid database schemas. 2025-11-17 09:11:42 -05:00
Mike Dalessio ec54014832 Add account slug middleware
and set Current.account
2025-11-17 09:11:42 -05:00
Mike Dalessio 15b25faaa6 Remove untenanted controller code from fizzy-saas 2025-11-17 09:11:42 -05:00
Mike Dalessio 4ad1718d86 Stub searchable functionality and start to restore login/auth 2025-11-17 09:11:42 -05:00
Mike Dalessio d6c7fc9e0a Database config for mysql 2025-11-17 09:11:42 -05:00
Mike Dalessio 52ce8b50cc Switch to mysql
- trilogy adapter
- lots of small migration changes
- notably we lose the search tables which case lots of tests to fail
2025-11-17 09:11:42 -05:00
Mike Dalessio 362427b383 More changes to get setup and tests to run 2025-11-17 09:11:42 -05:00
Mike Dalessio d41d50d52b Account.sole → Current.account
and some other de-tenant changes, including removing the controller
tenanting concerns
2025-11-17 09:11:40 -05:00
Stanko K.R. 6705b5225f Remove the untenanted database 2025-11-17 09:11:36 -05:00
Mike Dalessio 4d3c265042 Rip out activerecord-tenanting
Co-authored-by: Stanko K.R. <stanko@stanko.io>
2025-11-17 09:11:35 -05:00
Kevin McConnell 9fa68c0ea9 Add Trilogy adapter 2025-11-17 09:11:28 -05:00
Kevin McConnell dc40d2b5b0 Remove custom read/writer routing 2025-11-17 09:11:28 -05:00
Kevin McConnell ea64ba6f9e Use regular db:prepare now 2025-11-17 09:11:28 -05:00
Kevin McConnell f66544b97a Remove testbed 2025-11-17 09:11:28 -05:00
Kevin McConnell e5bbe6cf64 Remove Beamer 2025-11-17 09:11:28 -05:00
Jorge Manrubia ffc00801ab Merge pull request #1607 from basecamp/csrf-caching
Do not use HTTP caching since the page is full of forms, and can result in 422s due to CSRF tokens
2025-11-17 13:57:13 +01:00
Jorge Manrubia a1bc6b7939 Do not use HTTP caching since the page is full of forms, and can result in 422s due to CSRF tokens
https://app.fizzy.do/5986089/cards/2977
2025-11-17 13:55:23 +01:00
Jorge Manrubia 906c5245ce Prefer inline partials 2025-11-17 11:29:08 +01:00
Jorge Manrubia c247a430fb Favor consistent style that avoids explicit dom_id calls 2025-11-17 11:21:50 +01:00
Mike Dalessio 8c2b42d8dc Merge pull request #1603 from basecamp/flavorjones/fix-logging
Re-enable SQL query logging
2025-11-14 13:23:13 -05:00
Mike Dalessio 19df86aef9 Re-enable SQL query logging 2025-11-14 13:19:35 -05:00
Jorge Manrubia b86a3a8a5b Merge pull request #1600 from basecamp/broadcasts-cards
Restore card perma live refreshes
2025-11-14 15:40:08 +01:00
Jorge Manrubia d6b602b7d7 Restore refreshes: make sure they play well with cards in editing mode 2025-11-14 15:37:43 +01:00
Jorge Manrubia 83aae71568 Merge pull request #1599 from basecamp/notifications-dismiss
Dismiss grouped notifications from the tray
2025-11-14 13:02:09 +01:00
Jorge Manrubia eea9afb639 Fix: dismiss grouped notifications by card from the notifications tray
This also splits the templates into two: index and tray, since the URL now changes.
2025-11-14 12:58:24 +01:00