Commit Graph

4727 Commits

Author SHA1 Message Date
Jorge Manrubia 287c67d1f9 Merge pull request #1035 from basecamp/plain-text-fix
Don't render HTML stripping the tags for comment bodies, use to_plain_text instead
2025-09-08 08:42:03 +02:00
Jorge Manrubia cb67352275 Don't render HTML stripping the tags for comment bodies, use to_plain_text instead
This will prevent error when generating notification bundles such as:

Type	ActionView::Template::Error
Message	undefined method 'rails_blob_path' for an instance of #<Class:0x00007fbb7e0c2a88>

We could just use the _url variant but this feels better nevertheless
2025-09-08 08:41:18 +02:00
Jorge Manrubia ebfc168266 Make sure it considers the week before if this is invoked on a sunday 2025-09-08 08:38:33 +02:00
Jorge Manrubia 0e30f73d40 Fix cron syntax (this didn't trigger) 2025-09-08 08:29:24 +02:00
Kevin McConnell 8e145a7d89 Update beta to use switchable Beamer 2025-09-05 19:37:20 +02:00
Jorge Manrubia 612df40eae Merge pull request #1032 from basecamp/more-gpt-models
Update to ruby_llm latest and add more models to try in the sandbox
2025-09-05 18:06:04 +02:00
Jorge Manrubia d13a9e01db Update VCR fixtures 2025-09-05 18:04:58 +02:00
Jorge Manrubia a86e1294fc Update to ruby_llm latest and add more models to try in the sandbox 2025-09-05 18:01:59 +02:00
Jorge Manrubia ac11d8f830 Refine comment 2025-09-05 17:23:52 +02:00
Jorge Manrubia 573f62c3b4 Add comment 2025-09-05 17:23:26 +02:00
Jorge Manrubia d9cc592566 Merge pull request #1007 from basecamp/weekly-highlights
Weekly highlights
2025-09-05 17:03:38 +02:00
Jorge Manrubia 48b5132928 remove file 2025-09-05 17:02:53 +02:00
Jorge Manrubia 70c789158a Extract constant 2025-09-05 16:46:11 +02:00
Jorge Manrubia 80ca9cac9d Use consistent US locales for dates
https://3.basecamp.com/2914079/buckets/37331921/todos/9010176047#__recording_9040694230
2025-09-05 16:40:46 +02:00
Jorge Manrubia 601411e3a9 Remove debug 2025-09-05 15:51:43 +02:00
Jorge Manrubia b15cb4541f Show summarier capturing the actual weeks in the user's timezone
https://3.basecamp.com/2914079/buckets/37331921/todos/9010176047#__recording_9037056688
2025-09-05 13:48:02 +02:00
Jorge Manrubia e15cc80929 Only process summaries for active users (not deactivated or system) 2025-09-05 13:46:28 +02:00
Jorge Manrubia aad61b36bc Generate highlights in the user timezone, now that we persist it
Also, remove the dates and duration from the highlights records. Those are not relevant, only the events-derived
key is. If two users with different timezones have different activities, they should see different summaries.
2025-09-05 12:39:09 +02:00
Jorge Manrubia cfa0149564 Persist timezones in the server
Add a beacon to persist timezones when these change (or the first time)
2025-09-05 12:11:57 +02:00
Jason Zimdars 3b500a5bf6 Justified columns aren't working 2025-09-04 17:04:14 -05:00
Andy Smith 537d26b53d Merge pull request #1027 from basecamp/current-user-acccess
Disable access switch for current user
2025-09-04 15:17:58 -05:00
Andy Smith 0316fa1da4 Disable access switch for current user 2025-09-04 15:12:37 -05:00
Andy Smith bb1315bb22 Merge pull request #1026 from basecamp/ff-button-fix
Tweak the header actions width
2025-09-04 15:04:21 -05:00
Andy Smith 4e54283b0a Tweak the header actions width 2025-09-04 15:02:12 -05:00
Andy Smith b2aa75dcd5 Merge pull request #1025 from basecamp/fix-file-attachment-layout
Correct file attachment layout and simplify icons
2025-09-04 14:55:17 -05:00
Andy Smith d67596d362 Correct file attachment layout and simplify icons 2025-09-04 14:45:15 -05:00
Jason Zimdars 3814c17d49 Be defensive about unwanted elements it sometimes inserts 2025-09-04 12:52:01 -05:00
Jason Zimdars d0431da8a7 Tighten headings 2025-09-04 12:34:07 -05:00
Jason Zimdars 96ad942f0e Copy, date format, and whitespace 2025-09-04 12:18:02 -05:00
Jason Zimdars 8d0c9852fe Use endash for date ranges 2025-09-04 11:59:57 -05:00
Jason Zimdars b5dad7684d Remove debug 2025-09-04 11:55:42 -05:00
Jason Zimdars 3b715579bd Merge pull request #1020 from basecamp/fix-new-card-form
Fix new card form
2025-09-03 12:50:30 -05:00
Jason Zimdars 379820e3e8 Safari doesn't like this 2025-09-03 12:41:46 -05:00
Jason Zimdars d6423581c9 Fix new card title/description which had drifted 2025-09-03 12:33:15 -05:00
Jason Zimdars 53f06d2554 Adjust summary, style in newspaper format 2025-09-02 22:14:13 -05:00
Jason Zimdars 72d08c8d15 Merge pull request #1016 from basecamp/fix-draft-restore-banners
Fix rendering and introduce a new style
2025-09-02 20:12:43 -05:00
Jason Zimdars 457725d597 Fix rendering and introduce a new style 2025-09-02 20:11:34 -05:00
Jason Zimdars a8a5988119 Merge pull request #1015 from basecamp/filter-by-draft-status
Filter to just drafts
2025-09-02 19:34:53 -05:00
Jason Zimdars 4d6201b8dc Filter to just drafts 2025-09-02 19:32:19 -05:00
Jason Zimdars f0f5d3949b Merge pull request #1014 from basecamp/keep-pwa-fresh
Add a simple method to refresh content when launching or switching tabs
2025-09-02 17:27:13 -05:00
Jason Zimdars c3454847a0 Add a simple method to refresh content when launching or switching tabs
Prevents stale content on load as reported in:
https://fizzy.37signals.com/5986089/collections/2/cards/1449
2025-09-02 17:24:21 -05:00
Jason Zimdars 05f3604655 Merge pull request #1013 from basecamp/reorder-collections-switcher
Order by recently accessed like the Fizzy menu for convenience
2025-09-02 14:32:08 -05:00
Jason Zimdars a44073c001 Order by recently accessed like the Fizzy menu for convenience 2025-09-02 14:30:50 -05:00
Jorge Manrubia b6b4617eec Remove unused constant 2025-09-02 17:24:22 +02:00
Jorge Manrubia 1176857ec3 Remove unused methods 2025-09-02 17:22:53 +02:00
Jorge Manrubia c412ae89e6 Only generate summaries when there is enough activity 2025-09-02 16:32:30 +02:00
Jorge Manrubia d785f9f80f Don't show summaries when using filters 2025-09-02 12:20:02 +02:00
Jorge Manrubia c96de36de5 Rename var 2025-09-02 11:42:50 +02:00
Jorge Manrubia 33710dae7b Drop old summaries table 2025-09-02 11:40:21 +02:00
Jorge Manrubia b8630bdb24 Cron jobs must process all the tenants 2025-09-02 11:35:53 +02:00