Commit Graph

79 Commits

Author SHA1 Message Date
Jose Farias ae497aae85 Clear up dependency destruction chain
Buckets destroy their bubbles, which destroy their thread entries, which destroy their threadables, which is how comments end up destroyed, and then rollups end up deleting their events
2024-10-23 14:51:12 -06:00
Jose Farias 35a31e3203 Model threadables 2024-10-23 14:10:04 -06:00
Jose Farias 06ea38a9f7 Denormalize event data 2024-10-23 13:38:00 -06:00
Jose Farias 0a5854e02e Merge pull request #121 from basecamp/workflows-spike
Spike workflows
2024-10-22 11:32:44 -06:00
Jason Zimdars 128fc22eb1 Make it look like the filter 2024-10-21 16:39:39 -05:00
Jose Farias b0565fbf20 Spike workflows 2024-10-21 15:33:30 -06:00
David Heinemeier Hansson b1f5498914 Encapsulate tagging as a taggable domain method
Tag scope control should not float around in the controller
2024-10-19 20:14:59 -07:00
David Heinemeier Hansson 255435a38f No need for a non-standard factory method for something this simple 2024-10-19 19:53:20 -07:00
David Heinemeier Hansson 1d404830f4 Must touch to bust bubble caches 2024-10-19 17:42:06 -07:00
David Heinemeier Hansson 0bffcb8b86 Actually need to do all work outside of transaction loop
We can be more efficient as just as descriptive with an explaining
variable
2024-10-19 17:08:05 -07:00
David Heinemeier Hansson 942eb9fd64 Extract explaining method
And keep parent method at a consistent level of abstraction
2024-10-19 17:03:37 -07:00
Jose Farias d9d473723b Clean up Bucket::BubbleFilter initializer 2024-10-18 11:15:53 -06:00
Jose Farias 09c003431e Pull out Bucket::BubbleFilter 2024-10-18 11:11:23 -06:00
Jose Farias bd2f4fc476 Fix tag_filters and assignee_filters calls 2024-10-17 23:02:59 -06:00
Jose Farias e7cc426fdc Move bubble filtering to the model 2024-10-17 22:51:02 -06:00
Jose Farias 6dc01479b7 Fix search form 2024-10-17 21:34:48 -06:00
Jose Farias a7a9c46327 Put tag summary first 2024-10-17 17:46:49 -06:00
Jose Farias e754b5bf92 Move all of Bubble's searchable concerns into Searchable 2024-10-17 17:38:33 -06:00
Jose Farias eb68fbe8ff Simplify Bucket::View validations 2024-10-17 17:15:45 -06:00
Jose Farias 8fd28c3809 Remove unnecesary compact_blank 2024-10-16 17:10:48 -06:00
Jose Farias 5c7b3bd21f Split up Bucket::View 2024-10-16 17:09:00 -06:00
Jose Farias f4b5210ca1 Spike persisted filters 2024-10-16 16:41:11 -06:00
Jose Farias df83c72d6e Use dependent: :destroy for comments 2024-10-15 12:42:07 -06:00
Jose Farias a4461d38d1 TOC order in Rollup 2024-10-12 23:28:16 -06:00
Jose Farias 1d6acb6119 Stop caching threads — YAGNI 2024-10-12 23:23:12 -06:00
Jose Farias 2c6c821e20 Use local time for rollups 2024-10-12 23:03:27 -06:00
Jose Farias 9e64f3d62a Remove unused boost_count 2024-10-12 22:49:36 -06:00
Jose Farias f13a8a3cd5 equivalent_boosts? -> repeated_boosts? 2024-10-12 22:49:20 -06:00
Jose Farias dcb5fbbe85 index -> position 2024-10-11 20:27:32 -05:00
Jose Farias ec7fc75054 Spike events system 2024-10-11 20:14:09 -05:00
Jose Farias 3be4ba745d Test that bucket creators are given access
`#grant_to` was previously private, which raised upon bucket  creation
2024-10-09 13:18:17 -04:00
Jose Farias dd1752de2a Implement bucket access form 2024-10-09 11:53:05 -04:00
Jeffrey Hardy d38bab9664 Scope tags by bucket 2024-10-07 09:03:17 -04:00
Jason Zimdars 9e28359587 Add proper avatars for users 2024-10-04 10:54:11 -05:00
Jeffrey Hardy 462032155c Always set a default Bubble title 2024-10-03 15:40:51 -04:00
Kevin McConnell b7feddf6b7 Temporarily wire up filtering on the form 2024-10-03 16:11:29 +01:00
Kevin McConnell e50144d97f Add modelling for "popped" bubbles 2024-10-03 12:54:13 +01:00
Jeffrey Hardy da21a071b8 Introduce scopes for finding bubbles assigned to or by someone 2024-10-02 15:49:36 -04:00
Jeffrey Hardy 889dfdd06a Introduce a Bubble.tagged_with scope to simplify controller finding 2024-10-02 15:49:36 -04:00
Jeffrey Hardy 7f7b953a8c Introduce Bubble#assign 2024-10-02 12:49:13 -04:00
Jeffrey Hardy 497906010b Track assignment assignees 2024-10-02 12:45:34 -04:00
Jeffrey Hardy 044117f9c1 Extract Bucket::Assignable and rename Assignment#user to #assignee 2024-10-02 12:29:59 -04:00
Jeffrey Hardy 49a3e569c2 Use chained scopes 2024-10-02 09:09:12 -04:00
Kevin McConnell 518828883c Make bubbles and comments searchable 2024-10-02 13:51:12 +01:00
Jeffrey Hardy 774fbb6060 Scope tags by account
We may want these to be bucket-scoped eventually, but they should
be scoped by something for now.
2024-10-01 16:25:18 -04:00
Jeffrey Hardy 7863bb5862 Prompt for first-run setup when no accounts exist 2024-09-30 13:17:31 -04:00
Jeffrey Hardy dc60c9b1a2 Require a bucket name 2024-09-30 13:03:45 -04:00
Jeffrey Hardy ee67d485c4 Forbid account self-removal 2024-09-24 15:48:29 -04:00
Jeffrey Hardy 4e579e5a34 Rename Project to Bucket 2024-09-24 15:32:44 -04:00
Jeffrey Hardy e6bb6ad76b Join links for user registration 2024-09-24 14:30:22 -04:00