Commit Graph

2981 Commits

Author SHA1 Message Date
Jorge Manrubia e2939e846c Consistent verb forms 2025-06-03 02:53:03 +02:00
Mike Dalessio 76a3564c28 Merge pull request #571 from basecamp/flavorjones/autolink-punctuation
Autolinking shouldn't include final punctuation.
2025-06-02 16:47:32 -04:00
Mike Dalessio 1302fe9da2 Autolinking shouldn't include final punctuation. 2025-06-02 14:16:02 -04:00
Mike Dalessio 01f286b2a6 Merge pull request #570 from basecamp/flavorjones/kamal-host
dep: update kamal to edge
2025-06-02 13:35:53 -04:00
Mike Dalessio 1f694cf7f1 dep: update kamal to edge
so we can use KAMAL_HOST
2025-06-02 13:25:28 -04:00
Mike Dalessio ba2340ff57 Merge pull request #569 from basecamp/flavorjones/remove-auto-close-delegation
No need to delegate `Card#auto_closing?` anymore
2025-06-02 12:43:55 -04:00
Mike Dalessio 3a5ce1ca4c No need to delegate auto_closing? anymore
Related to #568
2025-06-02 12:41:55 -04:00
Jorge Manrubia c0cd5e1967 Merge pull request #566 from basecamp/fix-caching
Invalidate card caches when editing workflows
2025-06-02 18:09:52 +02:00
Jorge Manrubia 334ea7f76b Merge pull request #568 from basecamp/fix-entropy-nil-error
Fix entropy nil error
2025-06-02 18:05:19 +02:00
Jorge Manrubia 08c5abfbdb Extract common method to query when entropy is cleaned
We were always quering auto_close_at
https://37s.fizzy.37signals.com/collections/2/cards/743
2025-06-02 18:04:14 +02:00
Jorge Manrubia a3866348fd Aria selected is a better fit here 2025-06-02 13:37:29 +02:00
Jorge Manrubia 51dcf8b25f Invalidate card caches when editing workflows
https://37s.fizzy.37signals.com/collections/2/cards/607
2025-06-02 13:08:54 +02:00
Jorge Manrubia db9ee1b3b2 Merge pull request #564 from basecamp/auto-link-render
Autolink emails and URLs at rendering time
2025-06-02 12:12:39 +02:00
Jorge Manrubia d7c06702e3 Add controller to retarget links
So that internal links can skip turbo frames, and external links
open in new pages
2025-06-02 12:04:43 +02:00
Jorge Manrubia e973df97e2 Use more complete regexp
https://github.com/basecamp/fizzy/pull/564/files#r2119855866
2025-06-02 11:43:07 +02:00
Mike Dalessio f0e1de5208 Merge pull request #565 from basecamp/flavorjones/dep-bundle-update-20250601
dep: bundle update
2025-06-01 17:10:58 -04:00
Mike Dalessio e0d23b10f3 dep: bundle update 2025-06-01 17:08:30 -04:00
Mike Dalessio e94b11e84d Merge pull request #508 from basecamp/flavorjones/entropy-concern
refactor: Extract a Card::Entropy concern
2025-06-01 16:55:14 -04:00
Mike Dalessio 28ed744d0c refactor: Extract a Card::Entropy concern
to encompass behavior related to auto-closing and auto-reconsidering.

Note that putting this code in a single place reveals an asymmetry
between the actions:

- Auto-closing period is an optional attribute of a collection
- Auto-reconsidering period is hard-coded to 30 days for all collections
2025-06-01 16:50:12 -04:00
Jorge Manrubia 5214a74c03 Autolink emails and URLs at rendering time 2025-06-01 22:24:24 +02:00
Mike Dalessio 922018935a Merge pull request #562 from basecamp/flavorjones/pure-migration-cleanup
Remove the "mirror" storage service
2025-06-01 13:05:28 -04:00
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 6c85136c3f Merge pull request #561 from basecamp/flavorjones/pure-storage-step-4
Complete the prod cutover to the Pure blob store.
2025-06-01 12:58:20 -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 b489220b9e Merge pull request #560 from basecamp/flavorjones/drop-markdowns-table
Drop the action_text_markdowns table
2025-06-01 12:33:52 -04:00
Mike Dalessio 4d5fbc9ff3 Drop the action_text_markdowns table
The model was removed in 10b2aad6 / fa04016c

ref: https://37s.fizzy.37signals.com/collections/7/cards/731
2025-06-01 12:31:48 -04:00
Mike Dalessio cb1c199530 Merge pull request #559 from basecamp/flavorjones/mission-control
Add mission control for jobs.
2025-06-01 11:58:47 -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 80e84f31fc dep: add mission_control-jobs 2025-06-01 11:40:35 -04:00
Mike Dalessio 0f5b207798 Merge pull request #558 from basecamp/flavorjones/pure-storage-primary
Flip the storage mirror to write to Pure as the primary
2025-05-31 22:31:40 -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 88a4422600 Merge pull request #557 from basecamp/flavorjones/pure-storage-step-2
Production mirrors Active Storage to `:purestorage`
2025-05-31 15:30:14 -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 89573226ef Merge pull request #554 from basecamp/flavorjones/real-beta-environment
Create a distinct "beta" environment and move secrets into Rails credentials
2025-05-31 12:42:56 -04:00
Jorge Manrubia a3f64f149e Merge pull request #555 from basecamp/creation-bugs
Fix description missing when creating cards
2025-05-31 18:22:25 +02:00
Jorge Manrubia 8924e7b42f Merge branch 'main' into creation-bugs
* main:
  update lexical
  Update AR::Tenanted to have tenanted blob keys
  Delete old multitenancy migration script
  Drop the unnecessary initializer creating storage paths
  Card shadow tweaks
2025-05-31 18:21:47 +02:00
Jorge Manrubia 9e0b18d5ac Update lexical 2025-05-31 18:21:40 +02:00
Jorge Manrubia b6d10da625 Merge pull request #556 from basecamp/fix-morph
Update lexica (fix issues with morphing)
2025-05-31 18:16:56 +02:00
Jorge Manrubia 75832857e3 update lexical 2025-05-31 18:16:06 +02:00
Jorge Manrubia 74435dc517 update lexical 2025-05-31 16:59:22 +02: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
Jorge Manrubia 5d662f1ec9 Revert "Patch for cards missing description"
This reverts commit 257c0902f4.
2025-05-31 12:30:04 +02:00
Mike Dalessio 1c85d8f270 Add a kamal "ssh" alias 2025-05-30 17:44:02 -04:00
Mike Dalessio 7fe02c3ec5 Merge pull request #552 from basecamp/flavorjones/pure-storage-step-1
Update AR::Tenanted to have tenanted blob keys
2025-05-30 15:58:04 -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
Mike Dalessio febab0758a Drop the unnecessary initializer creating storage paths 2025-05-30 15:13:10 -04:00
Andy Smith 80f89ba905 Merge pull request #551 from basecamp/card-adjustments
Card shadow tweaks
2025-05-30 13:15:41 -05:00