@drusepth For ignoring topics, there is an issue but noone is working on it: thredded/thredded#224.
However, that issue is about manual ignoring of topics only, and not user-level mute/block like you're suggesting
We'll be happy to accept a PR but please start with a design doc (an issue with a detailed description of this will work)
Thredded::TopicPolicy#destroy?
, e.g. like this:# config/initializers/thredded.rb
module AllowUsersToDeleteOwnTopics
def destroy?
super || @topic.user_id == @user.id
end
end
Rails.application.config.to_prepare do
Thredded::TopicPolicy.prepend AllowUsersToDeleteOwnTopics
end
order_sticky_first
scope in the initializer (https://github.com/thredded/thredded/blob/master/app/models/thredded/topic.rb#L16)
thredded_create_app
, since it's failing here: https://github.com/thredded/thredded_create_app/blob/4f4e4b73e6a26a74e880da25bf0c14eb5455742d/lib/thredded_create_app/tasks/add_invisible_captcha.rb#L34 (I think)
devise_error_messages!
to a partial)
rake --tasks
)