Commit Graph

4602 Commits

Author SHA1 Message Date
Jorge Manrubia 8f1a6852fa Preferred form of passing the tenant slug 2025-08-28 18:09:13 +02:00
Jorge Manrubia c2fe32cdfc Fix email 2025-08-28 17:59:13 +02:00
Jorge Manrubia 4427524e53 We do need the host! 2025-08-28 17:55:12 +02:00
Jorge Manrubia 02c538bbb7 Run for each tenant 2025-08-28 17:38:52 +02:00
Jorge Manrubia 5fe66dd602 Fix job class 2025-08-28 17:37:35 +02:00
Jorge Manrubia 9ba9a5758b Remove hosts for now
Docker subnets causing trouble and this is not really part of the email change
2025-08-28 17:21:15 +02:00
Jorge Manrubia 5c890bbc34 Bundle every few hours by default 2025-08-28 17:08:22 +02:00
Jorge Manrubia e4ab1366be Add unsubscribe links and headers for emails
https://3.basecamp.com/2914079/buckets/37331921/todos/9002504172
2025-08-28 16:59:24 +02:00
Jorge Manrubia 243779dbcf Copy 2025-08-28 13:07:27 +02:00
Jorge Manrubia 960f074b3f Don't bundle new notifications is bundling is disabled 2025-08-28 12:53:19 +02:00
Jorge Manrubia 4e2717a61f Merge main into bundle-emails branch 2025-08-28 12:42:43 +02:00
Jorge Manrubia c1c359f030 Review existing bundles when changing the pending bundles 2025-08-28 12:29:40 +02:00
Jorge Manrubia 2adb4571e1 Copy 2025-08-28 12:03:49 +02:00
Jorge Manrubia fb95c8aa92 Copy 2025-08-28 12:02:12 +02:00
Jorge Manrubia 53144a379c Add option to change the bundled email notification frequency 2025-08-28 11:56:40 +02:00
Jorge Manrubia 082a10e3d0 Add notification settings model 2025-08-28 11:20:28 +02:00
Stanko Krtalić 41edfae2b5 Alphabetically order concerns (#992) 2025-08-28 11:07:56 +02:00
Jorge Manrubia 169bf490eb Leverage existing polymorphic routes 2025-08-28 10:34:36 +02:00
Jorge Manrubia 65d90b73bd Use URLs instead of paths so that these work from emails
Having to do this is not ideal but it's the simpler way of reusing
other custom route resolvers. The alternative would be to duplicate the code
for resolving comments and such.
2025-08-28 10:32:01 +02:00
Jason Zimdars ff130401b1 Copy 2025-08-27 19:03:58 -05:00
Jason Zimdars 2cb98a2e31 Don't show the filter if there aren't any tags 2025-08-27 18:56:06 -05:00
Jason Zimdars f54ee090b8 Add clearer labels for sorting options 2025-08-27 18:49:51 -05:00
Jason Zimdars 65c61c4bab Rename engagement columns 2025-08-27 13:48:36 -05:00
Andy Smith 8d7a24e854 Merge pull request #986 from basecamp/pinned-card-alignment
Fix timestamp alignment on pinned cards
2025-08-27 12:41:21 -05:00
Andy Smith d4f048df9b Fix timestamp alignment on pinned cards 2025-08-27 11:37:09 -05:00
Jason Zimdars eff5185a17 Stub unsubscribe footer 2025-08-27 11:32:16 -05:00
Jason Zimdars 2fb3e192b8 Need to url for collection/card/comment
@jorgemanrubia for some reason `url_for` is not including the host in
here. It seems to be correctly set in the environment configs
2025-08-27 10:55:12 -05:00
Jason Zimdars a106069b7e Link to index 2025-08-27 10:42:12 -05:00
Jason Zimdars adc91b9823 Can just put this in the header 2025-08-27 10:42:02 -05:00
Jason Zimdars e3f5348865 Plain text layout and spacing, squish whitespace to remove action text junk 2025-08-27 10:41:30 -05:00
Jason Zimdars 16d2cd4836 Allow a few more more words 2025-08-27 10:40:36 -05:00
Jason Zimdars 9710be65d2 Smaller avatars, aligned to the top of the title 2025-08-27 10:39:14 -05:00
Jorge Manrubia 93c9855a05 Use URL so that the helper works from emails 2025-08-27 16:52:05 +02:00
Jorge Manrubia 88976806b9 Format 2025-08-27 15:56:58 +02:00
Jorge Manrubia 5a4c40fd56 Test to make sure it skips bundles that are not due 2025-08-27 15:51:20 +02:00
Jorge Manrubia ccceeb1699 Add method for delivery job 2025-08-27 15:48:27 +02:00
Jorge Manrubia 6b0fa409ae Merge pull request #985 from basecamp/refactor-summarizer
Refactor: Separate method with two outputs into two
2025-08-27 14:33:24 +02:00
Jorge Manrubia 80e37bef36 Separate method with two outputs into two 2025-08-27 14:32:13 +02:00
Jorge Manrubia dae5cd426c Merge pull request #984 from basecamp/refactor-rubby-llm-costs
Unify AI usage cost calculations
2025-08-27 13:19:34 +02:00
Jorge Manrubia 744faf12c0 Extract "response cost" object to unify calculations around LLM usage costs 2025-08-27 13:18:41 +02:00
Jorge Manrubia 0a32cfd611 Add newline to separate 2025-08-27 12:06:21 +02:00
Jorge Manrubia d9a19a85b1 Add text templates counterparts for the bundle mailer 2025-08-27 12:03:51 +02:00
Jorge Manrubia 13d053d285 Flatten dirs 2025-08-27 11:57:01 +02:00
Jorge Manrubia 1b608ab67b Fix link source 2025-08-27 11:53:49 +02:00
Jorge Manrubia 75a830e9b3 Link to the event/notification source directly
E.g: link to comments
2025-08-27 11:46:48 +02:00
Jorge Manrubia 30d8848057 Move mailer templates to the mailers root 2025-08-27 11:44:11 +02:00
Jorge Manrubia 45d3bb4b3e Set current tenant in mailers 2025-08-27 11:30:08 +02:00
Jorge Manrubia cd6ff41eea Fix port for local dev 2025-08-27 11:21:11 +02:00
Jorge Manrubia e696c69d60 Merge branch 'main' into bundle-emails 2025-08-27 10:17:32 +02:00
Jorge Manrubia cfdf0afa5f Merge pull request #979 from basecamp/reduce-summaries-content
Remove comments from card prompts
2025-08-27 09:57:37 +02:00