Commit Graph

6873 Commits

Author SHA1 Message Date
Stanko K.R. 32d96db7d9 Replace card id with card number 2025-11-17 09:12:15 -05:00
Kevin McConnell 915c1202f8 Initial minimal primary/replica switching 2025-11-17 09:11:57 -05:00
Stanko K.R. 906e82a346 Optimize card and comment imports 2025-11-17 09:11:57 -05:00
Stanko K.R. 5c86d307be Fix import bugs with a real prod account 2025-11-17 09:11:57 -05:00
Kevin McConnell 4e44cd5444 Flatten schema migrations 2025-11-17 09:11:57 -05:00
Mike Dalessio fa964240e9 Get account test passing 2025-11-17 09:11:57 -05:00
Mike Dalessio fbda61f45d Remove TODO comment that I completed 2025-11-17 09:11:57 -05:00
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