Commit Graph

39 Commits

Author SHA1 Message Date
Mike Dalessio 8e13ce5b78 Drop Current.account and just use Account.sole
I had reintroduced this in dacb53b8 after David removed it in
6bbf68a4, but now I agree we don't need it.

Also, fix a CORS error when trying to redirect a user to an untenanted
path after login (see
https://fizzy.37signals.com/5986089/collections/2/cards/1032).
2025-07-20 13:00:09 -04:00
Mike Dalessio 99fc5664a8 Script to load prod db in development 2025-07-18 10:13:23 -04:00
Mike Dalessio 4955cb6647 First iteration on adding new users, from the console. 2025-07-16 12:59:47 -04:00
Jorge Manrubia fef9e74503 Avoid duplicated queries and, instead, bump the last ones 2025-07-03 21:52:58 +02:00
Mike Dalessio 84ed83a2c6 Script to create Users for existing 37id accounts
intended for staging
2025-07-01 17:41:54 -04:00
Mike Dalessio 8e666a5247 Script to update URLs and attachments in cards and comments 2025-07-01 15:56:14 -04:00
Mike Dalessio 444b7aa69f Script to rename tenants after the QB account id 2025-07-01 15:56:14 -04:00
Mike Dalessio 27c288406b Update to Kevin's preferred signal identity. 2025-06-26 09:47:13 -04:00
Mike Dalessio 8a6d153864 Update a few users' email to link to a valid identity. 2025-06-20 17:13:02 -04:00
Mike Dalessio a7f5ba55cd Script to create QB and SignalID accounts, and SignalID users 2025-06-20 15:16:57 -04:00
Jorge Manrubia 7013b7f378 Pagination working for public collections 2025-06-09 14:36:53 +02: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 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 a17b024681 Update AR::Tenanted to have tenanted blob keys
Also, a script to migrate blobs (on disk and in the database) to the
new convention.

ref: https://37s.fizzy.37signals.com/collections/7/cards/246
2025-05-30 15:54:31 -04:00
Mike Dalessio bd44d0558f Delete old multitenancy migration script 2025-05-30 15:13:10 -04:00
Jorge Manrubia ee3a9503cd Update script to deal with duplicated records
We are not enforcing unique keys for markdowns, and we have some dups
2025-05-29 15:44:43 +02: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 1f051896a1 Format 2025-05-29 12:51:08 +02:00
Jorge Manrubia 9287d03d78 Cleanup 2025-05-29 12:39:14 +02:00
Jorge Manrubia b8a810df8c Script to convert markdowns 2025-05-25 23:38:10 +02:00
Jorge Manrubia 10b2aad647 Replace House with lexical-powered actiontext 2025-05-23 11:41:08 +02:00
Jorge Manrubia 8b45e999eb Script to reset ids for collections 2025-05-22 10:56:39 +02:00
Jorge Manrubia 081e9077f7 Script to reset card ids 2025-05-22 10:35:00 +02:00
Jorge Manrubia 2d2cd702ca Remove summary id column too 2025-04-30 10:18:02 +02:00
Jorge Manrubia e7400fe129 Script to re-create system comments 2025-04-30 09:57:00 +02:00
David Heinemeier Hansson 6bbf68a4f9 The tenanted db is the account scope 2025-04-12 20:06:34 +02:00
Jorge Manrubia 695247ae9b Paginate collection cards 2025-04-10 15:09:56 +02:00
Jorge Manrubia 30dcefb14a Migration to migrate URLs after renaming bubbles => cards 2025-04-09 17:15:42 +02:00
Jorge Manrubia 221bbb3247 Fix renames that the scripts missed 2025-04-09 14:56:59 +02:00
Jorge Manrubia 723e6d94f5 Rename bubbles => cards 2025-04-09 14:50:58 +02:00
Jorge Manrubia 950aebb409 Script to merge duplicated tags 2025-04-07 06:18:01 +02:00
Jorge Manrubia 0e3f756a27 Merge pull request #351 from basecamp/close-with-label
Close as...
2025-04-04 15:09:47 +02:00
Jorge Manrubia afcc65d6fb Create default pop reasons when creating accounts 2025-04-04 12:10:28 +02:00
Jorge Manrubia a4a2ea47ba Add script to populate last active at 2025-04-04 10:15:21 +02:00
Jason Zimdars 87304f1e27 Merge branch 'main' into two-cols
* main:
  Linting
2025-04-02 09:46:43 -05:00
Jorge Manrubia d2cd20fe5b Add script to populate some buckets and cards 2025-04-02 11:17:23 +02:00
Jorge Manrubia 27229e8f89 Linting 2025-04-02 08:36:34 +02:00
Mike Dalessio c5c0ff86ec dev: move script from /bin to /script 2025-04-01 12:14:58 -04:00