Files
growstuff/spec/models
google-labs-jules[bot] 406286d07a Implement blocking feature
This commit introduces a blocking feature that allows members to block other members.

A blocked member is prevented from:
- following the blocker
- sending private messages to the blocker
- replying to the blocker's posts
- liking the blocker's content

The implementation includes:
- A new `Block` model and a corresponding database table.
- Updates to the `Member` model to include associations for blocks.
- A new `BlocksController` to handle blocking and unblocking actions.
- New routes for the `BlocksController`.
- UI changes to add block/unblock buttons to the member profile page.
- Validations in the `Follow`, `Comment`, and `Like` models to enforce the blocking rules.
- A check in the `MessagesController` to prevent sending messages to a member who has blocked the sender.
- A callback in the `Block` model to destroy the follow relationship when a block is created.
- New feature and model specs to test the blocking functionality.
2025-09-01 22:07:41 +00:00
..
2022-11-08 00:23:38 +10:30
2025-09-01 22:07:41 +00:00
2022-11-06 16:34:36 +10:30
2022-11-08 00:21:23 +10:30
2024-01-22 08:31:33 +00:00
2022-11-08 00:23:38 +10:30
2025-09-01 22:07:41 +00:00
2022-11-08 00:21:23 +10:30
2020-01-21 13:12:28 +13:00
2025-08-24 21:10:16 +09:30