This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app
Akihiko Odaki (@fn_aki@pawoo.net) e07b57852e Remove some code in TagManager and spec (#3547)
* Do not fall back to StreamEntry if object_type is unavailable in TagManager

Since 6d6a429af8, when Status, the only model
with stream_entry, and StreamEntry got its own logic in uri_for and
url_for, the purpose of the fallbacks to activity_type of StreamEntry
became unclear.

This commit removes the fallbacks. When adding another model with
stream_entry in future, consider to update uri_for and url_for.

* Cover TagManager more
2017-06-04 16:14:25 +02:00
..
controllers Fix limit_param in favourites_controller.rb (#3553) 2017-06-04 14:52:26 +02:00
helpers Resolve custom application stylesheet with Webpack (#3373) 2017-06-01 20:56:32 +02:00
javascript i18n: Updated Polish translation (#3555) 2017-06-04 15:18:42 +02:00
lib Remove some code in TagManager and spec (#3547) 2017-06-04 16:14:25 +02:00
mailers Remove unnecessary .keep files (#2976) 2017-05-11 01:45:42 +02:00
models Remove Targetable (#3548) 2017-06-04 14:56:10 +02:00
policies Add status destroy authorization to policy (#3453) 2017-05-30 22:56:31 +02:00
presenters Bump version, improve how version is stored for better commit history (#2526) 2017-04-27 15:22:19 +02:00
services change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00
validators Stricter whitelist rules (#2213) 2017-04-26 01:22:51 +02:00
views Resolve custom application stylesheet with Webpack (#3373) 2017-06-01 20:56:32 +02:00
workers change sidekiq queueing to bulk push (#3536) 2017-06-04 00:11:15 +02:00