gearheads
/
mastodon
Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
mastodon/app/views
Joël Quenneville d4c94fa004 DRY up reblog vs original status check
Checking reblog vs original status was happening in multiple places
across the app. For views, this logic was encapsulated in a helper
method named `proper_status` but in the other layers of the app, the
logic was duplicated.

Because the logic is used at all layers of the app, we extracted it into
a `Status#proper` method on the model and changed all uses of the logic
to use this method. There is now a single source of truth for this
condition.

We added test coverage to untested methods that got refactored.
2017-04-07 14:18:30 -04:00
..
about New admin setting: open/close registrations, with custom message, from the admin UI 2017-04-04 15:28:12 +02:00
accounts Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
activitypub Add AS2 format to RABL files 2017-02-06 17:00:55 -08:00
admin New admin setting: open/close registrations, with custom message, from the admin UI 2017-04-04 15:28:12 +02:00
api Fix some views still not using counter caches 2017-03-31 14:02:07 +02:00
auth Split 2FA login into two prompts 2017-01-28 20:43:38 +01:00
authorize_follow simplify emojification on public pages with .emojify class 2017-01-09 22:41:47 -05:00
errors Catching rack timeout from rails doesn't work 2017-04-02 21:12:18 +02:00
home Add API modifiers to limit returned toots from public/hashtag timelines 2017-02-06 23:16:20 +01:00
layouts Force UTF8 encoding on generated XML (#1140) 2017-04-07 11:09:14 +02:00
notification_mailer Add digest e-mails 2017-03-04 00:00:48 +01:00
oauth Allow setting of default language through config 2017-04-07 12:40:26 +02:00
remote_follow Adding remote follow button 2017-01-01 19:54:34 +01:00
settings Import feature for following/blocking lists (addresses #62, #177, #201, #454) 2017-03-30 19:42:33 +02:00
shared Add landing strip 2017-03-20 03:36:29 +01:00
stream_entries DRY up reblog vs original status check 2017-04-07 14:18:30 -04:00
tags Improve public tag page 2017-02-10 23:21:01 +01:00
user_mailer Update Finnish translations, add sample Minio config (#954) 2017-04-07 12:58:12 +02:00
xrd Add ability to use remote follow function on other sites 2016-12-29 16:54:54 +01:00