- Until this release PrivateTopic inherited from Topic and used STI to reuse that table. Over time this led to some intermingling of concerns and more than the occasional shotgun surgery. As of now the Topic class has been split into Topic AND PrivateTopic, each with their own table.
- Provide means to display, or inspect, the unread private topics count. This now allows us to see if there are any private topics that one has not read.
- Add queue support for multiple background job libraries using the Q gem. Previous to now the only instances where we really cared about shoving something in the background was when we sent out mail - this is a bit myopic. There are several cases where some processes could/should be put into the background - hence needing a queue. The explicit requirement of a specific queue library is something we should avoid so the Q gem was pulled in to provide the abstraction layer that allows one of several libraries to be used - resque, sidekiq, delayed_job, or, the default, an in-memory threaded queue.
- Update rails dependency from
'~> 4.0.0'
to'>= 4.0.0'
- Replace nested forms with form objects
- Remove unused columns in tables -
state
fromthredded_topics
. - Link to user from post on topic page (thanks @taylorkearns!)
- Fix issue where post did not inherit the test filter set per messagebard
- Building a new post for reply form must use the parent messageboard filter
- Users' messageboard preferences are created if one does not exist for a given messageboard. This had caused people who had not updated their own preferences to NOT receive @ notifications by default. As of this release they will, by default, receive @'s and private thread notifications until they change their preferences.
- A topic's categories can now be rendered in the view.
categories/category
partial addded. - Adding attachments to a post has been removed. (Attachment model and association will be removed in 0.0.15)
- Requiring the sql search builder explicitly fixes the issue where anonymous visitors would not be able to search
- Users, when they edit a topic they started, should not be able to pin/lock it. This has been changed to only allow admins to do so.
- bbcode now renders line-breaks
- html is now better sanitized
- Replace the previously used inheritance-based filter chain with html-pipeline. Much better.
- Replace bb-ruby with bbcoder gem.
- Replace
redcarpet
withgithub-markdown
- Provide a more explicit contract between the gem and the parent application with regards to the layout the thredded views will render within
:thredded_page_title
and:thredded_page_id
provided as content blocks that may be yielded to the layout- Allow gravatar image to be overridden in the config
- Thredded::PostDecorator#user_link now available for use in post-related views
- Up until now the manner by which file uploads (via Carrierwave) had its storage
location determined was in the uploaded classes themselves. This commit allows the
location to be set from the Thredded module itself -
Thredded.file_storage
- to either :file or :fog.
- Fixed: private topics not being created correctly
- Test coverage for above
- Make sure messageboard slug is populated upon creation
- Refactor controllers for a little more cleanliness
- Exceptions raised and caught instead of asking for existence of objects
- Update pagination path format
- Get search back to working
- Update rails dependency in gemspec to use a
~>
instead of>=
- Fix
convert_textile_to_markdown
migration to use proper sql syntax
- A CHANGELOG!
- Fix
PostsController#topic
to ensure theuser_topic_reads
association is eager loaded - Make that
topic
method pass along to an obviously named and intention revealing method - Delete the filter select from
posts/_form
partial - require
thredded/at_notifier
inthredded.rb
(thanks @srussking)
- Introduce a more robust
MessageboardDecorator
- Allow
messagebord
obj or collection to be decorated with#decorate
method - Introduce
NullTopic
to stand in for instances where a topic is not found - remove
rspec/autorun
fromspec_helper