Bot releases are hidden (Show)
include rails.application.routes.url_helpers
in its helpers [#961]See the full list of changes here: https://github.com/thredded/thredded/compare/v1.0.1...v1.1.0
Published by timdiggins over 2 years ago
See the full list of changes here: https://github.com/thredded/thredded/compare/v1.0.0...v1.0.1
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.16.16...v1.0.0.
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.16.9...v0.16.10.
N+1 queries moderation pending & activity.
This also fixes ActiveRecord pool exhaustion caused by trying to obtain multiple database connections from the render threads. #788
Previously, Thredded issued a separate database query for @-mentions within each post when rendering a topic (at most 1 query per topic). Since posts are rendered in multiple threads by default, this wasn't as slow as you might expect. However, it still required a larger connection pool and could still be slow for topics with lots of @-mentions. Now, Thredded caches the @-mentioned users and the database query is under a mutex. This means Thredded no longer needs a large database connection pool (#770) and queries for repeated @-mentions across posts are avoided.
#771
Fixes new private topic form preview (regression in v0.16.2). https://github.com/thredded/thredded/commit/73a9122b6ebae338530022a9224d57c1cc434421
mark_as_read
and mark_as_unread
endpoints can now also respond to JSON. This is intended for plugins and user extensions. #763
topics#show
. #775
mark_as_read
and mark_as_unread
are now the /action/
route path scope (and so will all the future actions). #763
Due to the new /action
scope, if you have a Messageboard called "Action" you may need to change its slug:
Thredded::Messageboard.where(slug: 'action').each{|m| m.update(slug: 'action-messageboard')}
Thredded now depends on sassc-rails
instead of sass-rails
.
sassc-rails
uses sassc
, which is a wrapper for libsass
, a C++ implementation of Sass. This change was made because the Ruby implementation of Sass is now deprecated. #736
Improved pt-BR translation. Thanks @wenderjean! #766
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.16.1...v0.16.2.
Thredded.posts_per_page
. The unread+followed counter now also gets updated. #755 #759
main_app
ovverides Kaminar.config.page_method_name
. #741
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.16.0...v0.16.1.
Unread and unread followed topics are now indicated on the messageboards page like this:
Thredded no longer provides emoji functionality such as :smile:
by default, and also
no longer depends on the gemoji
gem.
It is easy to add gemoji
back in if you want to:
Follow the installation instructions at https://github.com/github/gemoji.
Add the following line to config/initializers/thredded.rb
:
Thredded::ContentFormatter.after_markup_filters.insert(1, HTML::Pipeline::EmojiFilter)
To use Twemoji instead, see https://github.com/thredded/thredded/wiki/How-to-use-Twemoji-with-Thredded.
NB: If updating to this version from 0.15.x, you must copy and run the upgrade migration after updating the gem:
cp "$(bundle show thredded)"/db/upgrade_migrations/20180930063614_upgrade_thredded_v0_15_to_v0_16.rb db/migrate
bin/rails db:migrate
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.15.5...v0.16.0.