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/lib
Eugen 6d6a429af8 Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#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
2017-04-07 05:56:56 +02:00
..
settings Add extended about page stub 2017-01-13 03:24:41 +01:00
application_extension.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00
atom_serializer.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
email_validator.rb [#817] Add email whitelist 2017-04-04 11:20:15 -04:00
exceptions.rb Add check for visibility.nil? even though it can't ever be, to check for race conditions 2017-04-03 22:54:46 +02:00
feed_manager.rb Replace calls to FeedManager#inline_render and #broadcast 2017-04-05 19:45:18 +02:00
formatter.rb Fix #408 - link @ names in bios 2017-03-28 14:16:08 +02:00
hash_object.rb Migrate from ledermann/rails-settings to rails-settings-cached which allows global settings 2017-01-12 20:46:24 +01:00
inline_rabl_scope.rb Optimize filter methods in FeedManager a bit, use redis pipelining on merge/unmerge feed methods, 2017-04-04 13:01:14 +02:00
inline_renderer.rb Replace calls to FeedManager#inline_render and #broadcast 2017-04-05 19:45:18 +02:00
status_length_validator.rb Instead of using spoiler boolean and spoiler_text, simply check for non-blank spoiler_text 2017-01-25 01:29:16 +01:00
tag_manager.rb Rewrite Atom generation from stream entries to use Ox instead of Nokogiri (#1124) 2017-04-07 05:56:56 +02:00
url_validator.rb Fix tests, add applications to eager loading/cache for statuses, fix 2017-01-15 14:01:33 +01:00