mastodon/app/models/concerns
Renato "Lond" Cerqueira 9aba44ea79 Rescue when there's no extension in the remotable ()
* Rescue when there's no extension in the remotable
Sometimes the remotable is pointing to a directory with no file
extension. Maybe it should not be expecting to identify based on
extensions to begin with, but since it's the case, it should be ready
for it.

* Fix codeclimate issue

* Check if filename is nil instead of rescueing exception
Suggestion made in the PR

* Avoid concatenation issue if filename is nil
If filename is nil, extname was undefined

* Invert condition
Address PR comments
2018-03-08 02:25:10 +01:00
..
account_avatar.rb Fix : Increase avatars to 400x400 max () 2018-03-06 06:29:01 +01:00
account_finder_concern.rb Fix AccountFinderConcern::AccountFinder#with_usernames () 2017-11-16 12:13:03 +01:00
account_header.rb Fix : Make sure file is opened in LazyThumbnail processor () 2018-02-22 00:28:19 +01:00
account_interactions.rb Allow hiding of reblogs from followed users () 2017-11-28 15:00:35 +01:00
attachmentable.rb Fixes unknown mime type () 2017-05-05 21:32:14 +02:00
cacheable.rb Fix - Reload all accounts when fetching from cache 2016-12-03 18:21:26 +01:00
omniauthable.rb Add additional first_name and last_name SAML attribute statement options, and modify Omniauthable concern to use full_name or first_name + last_name if not available () 2018-03-07 06:19:10 +01:00
paginable.rb Fix prev/next links on public profile page () 2018-02-26 03:31:28 +01:00
relationship_cacheable.rb Cache relationships in API () 2018-02-18 03:14:46 +01:00
remotable.rb Rescue when there's no extension in the remotable () 2018-03-08 02:25:10 +01:00
status_threading_concern.rb Introduce StatusThreadingConcern () 2017-06-05 16:07:44 +02:00
streamable.rb Define instance method outside #included () 2017-05-19 11:41:45 +02:00