Commit Graph

1290 Commits

Author SHA1 Message Date
David Heinemeier Hansson c834cce504 Simplify join code creation and validation and test controller
cc @monorkin
2025-11-02 15:58:33 +01:00
David Heinemeier Hansson f09183bc9a Don't want to balloon txn, but also don't want to end up with a state with broken data 2025-11-02 15:46:05 +01:00
David Heinemeier Hansson 2c9845eb62 No need to hide that the top-level entropy is tied to the Account 2025-11-02 15:24:55 +01:00
David Heinemeier Hansson a1543f2660 Inline anemic helper method with no additional explaining purpose 2025-11-02 14:20:07 +01:00
David Heinemeier Hansson d6c88736bd No need for validation when we have rely on update!/create! on db constraints 2025-11-02 14:19:26 +01:00
David Heinemeier Hansson 966aa51a37 Get rid of unnecessary touch jobs
touch_all on 10K cards took 6ms in testing
2025-11-02 14:15:53 +01:00
David Heinemeier Hansson 105585c26c Merge pull request #1451 from basecamp/entropies
Entropy::Configuration -> Entropy
2025-11-02 13:59:43 +01:00
David Heinemeier Hansson 2c4159d11a Style 2025-11-02 13:29:07 +01:00
David Heinemeier Hansson fb395c8b07 Keep all entropy definitions together in the concern 2025-11-02 13:17:55 +01:00
David Heinemeier Hansson b3474ec97d Rename Entropy::Configuration to just Entropy 2025-11-02 13:11:41 +01:00
Jason Zimdars ccbc7cd416 Need a special human name for this one, move to a method 2025-10-31 16:41:50 -05:00
Mike Dalessio 18f70c3312 Do not bundle notifications for inactive users
https://app.box-car.com/5986089/cards/2671
2025-10-31 14:51:09 -04:00
Stanko Krtalić ff5ca7d9b8 Merge pull request #1436 from basecamp/fix-cookie-clash-with-old-path-scoped-session-token
Delete scoped session tokens when encountered
2025-10-31 19:14:03 +01:00
Stanko K.R. 49d865ffd1 Delete scoped session tokens when encountered 2025-10-31 19:00:37 +01:00
Jason Zimdars c7b520180c Fussy capitalization for shared text 2025-10-31 11:18:25 -05:00
Stanko K.R. ece9008459 Remove dead code 2025-10-31 16:28:08 +01:00
Stanko K.R. dd583206ee Allow changes to the Account name 2025-10-31 16:26:08 +01:00
Stanko K.R. 2be8f1bbb2 Replace context with simple join_code 2025-10-31 16:26:08 +01:00
Stanko K.R. 452c6a8373 Rework the email change flow to tie to memberships 2025-10-31 16:26:08 +01:00
Stanko Krtalić 98755844a1 Remove the internal API
* Bind sessions to identities
* Remove references to the identity token
* Move email changes to identity
* Move account menu into a turbo-frame
* Create tenants from a tenanted route
2025-10-31 16:26:08 +01:00
Stanko K.R. 201c3e27d3 Update tests for the Internal API 2025-10-31 16:26:08 +01:00
Stanko K.R. 79b012f319 Add Join Codes 2025-10-31 16:24:30 +01:00
Stanko K.R. c8843360fe Clean up and simplify magic links 2025-10-31 16:23:38 +01:00
Stanko K.R. 5cef4ffeb0 Add sign in flow using magic links 2025-10-31 16:22:12 +01:00
Mike Dalessio d0215e9fd2 Introduce untenanted Identity and Membership models
and a script to populate these tables for existing 37id users
2025-10-31 16:22:12 +01:00
Jorge Manrubia 1a78de6f71 Fixes for refresh stream subscriptions
This will make the system listen for changes via the filtered
collections, when any, or via all the collections otherwise.
2025-10-31 12:25:05 +01:00
Jorge Manrubia 2a083bd82f Fix typo 2025-10-31 11:09:41 +01:00
Jorge Manrubia 3ee4eb731a Comment 2025-10-31 11:00:19 +01:00
Jorge Manrubia 19b286180f Rename method 2025-10-31 10:41:22 +01:00
Jorge Manrubia f437159da0 Reorder 2025-10-31 10:41:22 +01:00
Jorge Manrubia 214b465da1 This method should be private 2025-10-31 10:41:22 +01:00
Jorge Manrubia 12d461f8d1 Use last_active_at column for sorting since we are now touching updated_at for invalidating 2025-10-31 10:41:20 +01:00
Jorge Manrubia 3c8c4abc17 Invalidate cards when entropy configuration changes 2025-10-31 10:40:45 +01:00
Jorge Manrubia 75b18d8b3b Touch cards when column is destroyed too 2025-10-31 10:40:45 +01:00
Jorge Manrubia 6cfc0978a4 Columns touch the cards when the name/color changes 2025-10-31 10:40:45 +01:00
Jorge Manrubia ae4a07f843 Collections touch the cards when the name changes 2025-10-31 10:40:45 +01:00
Jorge Manrubia 2a79cb413e Remove cacheable concern, inline cache helper 2025-10-31 10:38:52 +01:00
Jorge Manrubia e8630159ab Not need to cache on the associations since we load those via turbo frames in the perma now 2025-10-31 10:37:36 +01:00
David Heinemeier Hansson eeeff7a19f Can't find any record of this to any turbo_stream_from 2025-10-30 14:53:36 +01:00
David Heinemeier Hansson c79d425e9d Easier to see orders when aligned 2025-10-30 14:45:01 +01:00
Jorge Manrubia 9d548e77ef Merge pull request #1418 from basecamp/sort-columns
Sort columns
2025-10-30 08:39:53 +01:00
Jorge Manrubia 51f07b286f Merge pull request #1416 from basecamp/move-events
Add events for moving cards between columns
2025-10-30 08:38:51 +01:00
Jorge Manrubia e1d2455c01 Remove unused events 2025-10-30 07:53:21 +01:00
Jorge Manrubia 0af3e76a6a Don't track triage events when postponing cards 2025-10-30 07:52:26 +01:00
Jason Zimdars 2ab737b032 Open should mean everything except closed and not now 2025-10-29 16:07:29 -05:00
Jason Zimdars 7b92a098e4 We don't have due dates anymore 2025-10-29 11:02:39 -05:00
Jason Zimdars d147215175 No longer used 2025-10-29 11:01:29 -05:00
Jason Zimdars fd96648e3f Add move events to webhooks 2025-10-29 11:00:41 -05:00
Jason Zimdars 6d2a919a88 Typo 2025-10-29 11:00:19 -05:00
Jason Zimdars e594f89919 Add missing events to comment thread 2025-10-29 10:51:47 -05:00