discourse/app
Sam 5adf5b527d FEATURE: support filter_auto_bump_topics event
Use this event to filter the list of auto bumped topics.

EG:

  on(:filter_auto_bump_topics) do |_category, filters|
    filters.push(->(r) { r.where(<<~SQL)
        NOT EXISTS(
          SELECT 1 FROM topic_custom_fields
          WHERE topic_id = topics.id
          AND name = 'accepted_answer_post_id'
        )
      SQL
    })
  end
2018-07-18 10:56:09 +10:00
..
assets Remove pointless method 2018-07-17 12:34:20 -04:00
controllers FIX: Create empty user_avatar row if not exist 2018-07-16 14:06:49 +05:30
helpers FEATURE: Groundwork for user-selectable theme components 2018-07-12 14:18:21 +10:00
jobs correct auto bump topic logic 2018-07-17 09:33:33 +10:00
mailers PERF: reduce querying when creating notifications 2018-07-11 12:38:11 +10:00
models FEATURE: support filter_auto_bump_topics event 2018-07-18 10:56:09 +10:00
serializers FEATURE: navigate to first post and auto bump category settings 2018-07-16 18:10:35 +10:00
services FEATURE: Groundwork for user-selectable theme components 2018-07-12 14:18:21 +10:00
views FEATURE: Groundwork for user-selectable theme components 2018-07-12 14:18:21 +10:00