Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-04-07 | DRY up reblog vs original status check | Joël Quenneville | |
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 | Fix nil#object_type error | Eugen Rochko | |
2017-04-07 | Re-add forgotten <author> element on standalone <entry> | Eugen Rochko | |
2017-04-07 | Force UTF8 encoding on generated XML (#1140) | Eugen | |
2017-04-07 | Rewrite Atom generation from stream entries to use Ox instead of Nokogiri ↵ | Eugen | |
(#1124) * Rewrite Atom generation from stream entries to use Ox instead of Nokogiri::Builder StreamEntry is now limited to only statuses, which allows some optimization. Removed extra queries on AccountsController#show. AtomSerializer instead of AtomBuilderHelper used in AccountsController#show, StreamEntriesController#show, StreamEntryRenderer and PubSubHubbub::DistributionWorker PubSubHubbub::DistributionWorker moves n+1 DomainBlock query to PubSubHubbub::DeliveryWorker instead. All Salmon slaps that aren't based on StreamEntry still use AtomBuilderHelper and Nokogiri * All Salmon slaps now use Ox instead of Nokogiri. No touch from status on account |