mirror of
https://github.com/mastodon/mastodon
synced 2024-11-23 14:46:18 +09:00
4bec613897
This is a big one, so let me enumerate: Accounts as well as stream entry pages now contain Link headers that reference the Atom feed and Webfinger URL for the former and Atom entry for the latter. So you only need to HEAD those resources to get that information, no need to download and parse HTML <link>s. ProcessFeedService will now queue ThreadResolveWorker for each remote status that it cannot find otherwise. Furthermore, entries are now processed in reverse order (from bottom to top) in case a newer entry references a chronologically previous one. ThreadResolveWorker uses FetchRemoteStatusService to obtain a status and attach the child status it was queued for to it. FetchRemoteStatusService looks up the URL, first with a HEAD, tests if it's an Atom feed, in which case it processes it directly. Next for Link headers to the Atom feed, in which case that is fetched and processed. Lastly if it's HTML, it is checked for <link>s to the Atom feed, and if such is found, that is fetched and processed. The account for the status is derived from author/name attribute in the XML and the hostname in the URL (domain). FollowRemoteAccountService and ProcessFeedService are used. This means that potentially threads are resolved recursively until a dead-end is encountered, however it is performed asynchronously over background jobs, so it should be ok.
404 lines
9.4 KiB
Plaintext
404 lines
9.4 KiB
Plaintext
GEM
|
|
remote: https://rubygems.org/
|
|
specs:
|
|
actioncable (5.0.0.1)
|
|
actionpack (= 5.0.0.1)
|
|
nio4r (~> 1.2)
|
|
websocket-driver (~> 0.6.1)
|
|
actionmailer (5.0.0.1)
|
|
actionpack (= 5.0.0.1)
|
|
actionview (= 5.0.0.1)
|
|
activejob (= 5.0.0.1)
|
|
mail (~> 2.5, >= 2.5.4)
|
|
rails-dom-testing (~> 2.0)
|
|
actionpack (5.0.0.1)
|
|
actionview (= 5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
rack (~> 2.0)
|
|
rack-test (~> 0.6.3)
|
|
rails-dom-testing (~> 2.0)
|
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
actionview (5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
builder (~> 3.1)
|
|
erubis (~> 2.7.0)
|
|
rails-dom-testing (~> 2.0)
|
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
|
active_record_query_trace (1.5.3)
|
|
activejob (5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
globalid (>= 0.3.6)
|
|
activemodel (5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
activerecord (5.0.0.1)
|
|
activemodel (= 5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
arel (~> 7.0)
|
|
activesupport (5.0.0.1)
|
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
i18n (~> 0.7)
|
|
minitest (~> 5.1)
|
|
tzinfo (~> 1.1)
|
|
addressable (2.4.0)
|
|
arel (7.1.1)
|
|
ast (2.3.0)
|
|
av (0.9.0)
|
|
cocaine (~> 0.5.3)
|
|
babel-source (5.8.35)
|
|
babel-transpiler (0.7.0)
|
|
babel-source (>= 4.0, < 6)
|
|
execjs (~> 2.0)
|
|
bcrypt (3.1.11)
|
|
better_errors (2.1.1)
|
|
coderay (>= 1.0.0)
|
|
erubis (>= 2.6.6)
|
|
rack (>= 0.9.0)
|
|
binding_of_caller (0.7.2)
|
|
debug_inspector (>= 0.0.1)
|
|
browserify-rails (3.1.0)
|
|
railties (>= 4.0.0, < 5.1)
|
|
sprockets (>= 3.5.2)
|
|
builder (3.2.2)
|
|
bullet (5.3.0)
|
|
activesupport (>= 3.0.0)
|
|
uniform_notifier (~> 1.10.0)
|
|
climate_control (0.0.3)
|
|
activesupport (>= 3.0)
|
|
cocaine (0.5.8)
|
|
climate_control (>= 0.0.3, < 1.0)
|
|
coderay (1.1.1)
|
|
coffee-rails (4.1.1)
|
|
coffee-script (>= 2.2.0)
|
|
railties (>= 4.0.0, < 5.1.x)
|
|
coffee-script (2.4.1)
|
|
coffee-script-source
|
|
execjs
|
|
coffee-script-source (1.10.0)
|
|
concurrent-ruby (1.0.2)
|
|
connection_pool (2.2.0)
|
|
crack (0.4.3)
|
|
safe_yaml (~> 1.0.0)
|
|
debug_inspector (0.0.2)
|
|
devise (4.2.0)
|
|
bcrypt (~> 3.0)
|
|
orm_adapter (~> 0.1)
|
|
railties (>= 4.1.0, < 5.1)
|
|
responders
|
|
warden (~> 1.2.3)
|
|
diff-lcs (1.2.5)
|
|
docile (1.1.5)
|
|
domain_name (0.5.20160826)
|
|
unf (>= 0.0.5, < 1.0.0)
|
|
doorkeeper (4.2.0)
|
|
railties (>= 4.2)
|
|
dotenv (2.1.1)
|
|
dotenv-rails (2.1.1)
|
|
dotenv (= 2.1.1)
|
|
railties (>= 4.0, < 5.1)
|
|
erubis (2.7.0)
|
|
execjs (2.7.0)
|
|
fabrication (2.15.2)
|
|
fast_blank (1.0.0)
|
|
font-awesome-rails (4.6.3.1)
|
|
railties (>= 3.2, < 5.1)
|
|
fuubar (2.1.1)
|
|
rspec (~> 3.0)
|
|
ruby-progressbar (~> 1.4)
|
|
globalid (0.3.7)
|
|
activesupport (>= 4.1.0)
|
|
goldfinger (1.0.3)
|
|
addressable (~> 2.4)
|
|
http (~> 1.0)
|
|
nokogiri (~> 1.6)
|
|
haml (4.0.7)
|
|
tilt
|
|
haml-rails (0.9.0)
|
|
actionpack (>= 4.0.1)
|
|
activesupport (>= 4.0.1)
|
|
haml (>= 4.0.6, < 5.0)
|
|
html2haml (>= 1.0.1)
|
|
railties (>= 4.0.1)
|
|
hashdiff (0.3.0)
|
|
hiredis (0.6.1)
|
|
html2haml (2.0.0)
|
|
erubis (~> 2.7.0)
|
|
haml (~> 4.0.0)
|
|
nokogiri (~> 1.6.0)
|
|
ruby_parser (~> 3.5)
|
|
htmlentities (4.3.4)
|
|
http (1.0.4)
|
|
addressable (~> 2.3)
|
|
http-cookie (~> 1.0)
|
|
http-form_data (~> 1.0.1)
|
|
http_parser.rb (~> 0.6.0)
|
|
http-cookie (1.0.2)
|
|
domain_name (~> 0.5)
|
|
http-form_data (1.0.1)
|
|
http_parser.rb (0.6.0)
|
|
i18n (0.7.0)
|
|
jbuilder (2.6.0)
|
|
activesupport (>= 3.0.0, < 5.1)
|
|
multi_json (~> 1.2)
|
|
jquery-rails (4.1.1)
|
|
rails-dom-testing (>= 1, < 3)
|
|
railties (>= 4.2.0)
|
|
thor (>= 0.14, < 2.0)
|
|
json (1.8.3)
|
|
launchy (2.4.3)
|
|
addressable (~> 2.3)
|
|
letter_opener (1.4.1)
|
|
launchy (~> 2.2)
|
|
libv8 (3.16.14.15)
|
|
link_header (0.0.8)
|
|
lograge (0.4.1)
|
|
actionpack (>= 4, < 5.1)
|
|
activesupport (>= 4, < 5.1)
|
|
railties (>= 4, < 5.1)
|
|
loofah (2.0.3)
|
|
nokogiri (>= 1.5.9)
|
|
mail (2.6.4)
|
|
mime-types (>= 1.16, < 4)
|
|
method_source (0.8.2)
|
|
mime-types (3.1)
|
|
mime-types-data (~> 3.2015)
|
|
mime-types-data (3.2016.0521)
|
|
mimemagic (0.3.0)
|
|
mini_portile2 (2.1.0)
|
|
minitest (5.9.0)
|
|
multi_json (1.12.1)
|
|
nio4r (1.2.1)
|
|
nokogiri (1.6.8)
|
|
mini_portile2 (~> 2.1.0)
|
|
pkg-config (~> 1.1.7)
|
|
oj (2.17.3)
|
|
orm_adapter (0.5.0)
|
|
ostatus2 (0.3)
|
|
addressable (~> 2.4)
|
|
http (~> 1.0)
|
|
nokogiri (~> 1.6)
|
|
paperclip (4.3.7)
|
|
activemodel (>= 3.2.0)
|
|
activesupport (>= 3.2.0)
|
|
cocaine (~> 0.5.5)
|
|
mime-types
|
|
mimemagic (= 0.3.0)
|
|
paperclip-av-transcoder (0.6.4)
|
|
av (~> 0.9.0)
|
|
paperclip (>= 2.5.2)
|
|
parser (2.3.1.2)
|
|
ast (~> 2.2)
|
|
pg (0.18.4)
|
|
pkg-config (1.1.7)
|
|
powerpack (0.1.1)
|
|
pry (0.10.4)
|
|
coderay (~> 1.1.0)
|
|
method_source (~> 0.8.1)
|
|
slop (~> 3.4)
|
|
pry-rails (0.3.4)
|
|
pry (>= 0.9.10)
|
|
puma (3.6.0)
|
|
rabl (0.13.0)
|
|
activesupport (>= 2.3.14)
|
|
rack (2.0.1)
|
|
rack-attack (5.0.1)
|
|
rack
|
|
rack-protection (1.5.3)
|
|
rack
|
|
rack-test (0.6.3)
|
|
rack (>= 1.0)
|
|
rails (5.0.0.1)
|
|
actioncable (= 5.0.0.1)
|
|
actionmailer (= 5.0.0.1)
|
|
actionpack (= 5.0.0.1)
|
|
actionview (= 5.0.0.1)
|
|
activejob (= 5.0.0.1)
|
|
activemodel (= 5.0.0.1)
|
|
activerecord (= 5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
bundler (>= 1.3.0, < 2.0)
|
|
railties (= 5.0.0.1)
|
|
sprockets-rails (>= 2.0.0)
|
|
rails-dom-testing (2.0.1)
|
|
activesupport (>= 4.2.0, < 6.0)
|
|
nokogiri (~> 1.6.0)
|
|
rails-html-sanitizer (1.0.3)
|
|
loofah (~> 2.0)
|
|
rails_12factor (0.0.3)
|
|
rails_serve_static_assets
|
|
rails_stdout_logging
|
|
rails_autolink (1.1.6)
|
|
rails (> 3.1)
|
|
rails_serve_static_assets (0.0.5)
|
|
rails_stdout_logging (0.0.5)
|
|
railties (5.0.0.1)
|
|
actionpack (= 5.0.0.1)
|
|
activesupport (= 5.0.0.1)
|
|
method_source
|
|
rake (>= 0.8.7)
|
|
thor (>= 0.18.1, < 2.0)
|
|
rainbow (2.1.0)
|
|
rake (11.2.2)
|
|
rdoc (4.2.2)
|
|
json (~> 1.4)
|
|
react-rails (1.8.2)
|
|
babel-transpiler (>= 0.7.0)
|
|
coffee-script-source (~> 1.8)
|
|
connection_pool
|
|
execjs
|
|
railties (>= 3.2)
|
|
tilt
|
|
redis (3.3.1)
|
|
ref (2.0.0)
|
|
responders (2.3.0)
|
|
railties (>= 4.2.0, < 5.1)
|
|
rspec (3.5.0)
|
|
rspec-core (~> 3.5.0)
|
|
rspec-expectations (~> 3.5.0)
|
|
rspec-mocks (~> 3.5.0)
|
|
rspec-core (3.5.2)
|
|
rspec-support (~> 3.5.0)
|
|
rspec-expectations (3.5.0)
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
rspec-support (~> 3.5.0)
|
|
rspec-mocks (3.5.0)
|
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
rspec-support (~> 3.5.0)
|
|
rspec-rails (3.5.1)
|
|
actionpack (>= 3.0)
|
|
activesupport (>= 3.0)
|
|
railties (>= 3.0)
|
|
rspec-core (~> 3.5.0)
|
|
rspec-expectations (~> 3.5.0)
|
|
rspec-mocks (~> 3.5.0)
|
|
rspec-support (~> 3.5.0)
|
|
rspec-sidekiq (2.2.0)
|
|
rspec (~> 3.0, >= 3.0.0)
|
|
sidekiq (>= 2.4.0)
|
|
rspec-support (3.5.0)
|
|
rubocop (0.42.0)
|
|
parser (>= 2.3.1.1, < 3.0)
|
|
powerpack (~> 0.1)
|
|
rainbow (>= 1.99.1, < 3.0)
|
|
ruby-progressbar (~> 1.7)
|
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
|
ruby-progressbar (1.8.1)
|
|
ruby_parser (3.8.2)
|
|
sexp_processor (~> 4.1)
|
|
safe_yaml (1.0.4)
|
|
sass (3.4.22)
|
|
sass-rails (5.0.6)
|
|
railties (>= 4.0.0, < 6)
|
|
sass (~> 3.1)
|
|
sprockets (>= 2.8, < 4.0)
|
|
sprockets-rails (>= 2.0, < 4.0)
|
|
tilt (>= 1.1, < 3)
|
|
sdoc (0.4.1)
|
|
json (~> 1.7, >= 1.7.7)
|
|
rdoc (~> 4.0)
|
|
sexp_processor (4.7.0)
|
|
sidekiq (4.2.1)
|
|
concurrent-ruby (~> 1.0)
|
|
connection_pool (~> 2.2, >= 2.2.0)
|
|
rack-protection (~> 1.5)
|
|
redis (~> 3.2, >= 3.2.1)
|
|
simple_form (3.2.1)
|
|
actionpack (> 4, < 5.1)
|
|
activemodel (> 4, < 5.1)
|
|
simplecov (0.12.0)
|
|
docile (~> 1.1.0)
|
|
json (>= 1.8, < 3)
|
|
simplecov-html (~> 0.10.0)
|
|
simplecov-html (0.10.0)
|
|
slop (3.6.0)
|
|
sprockets (3.7.0)
|
|
concurrent-ruby (~> 1.0)
|
|
rack (> 1, < 3)
|
|
sprockets-rails (3.1.1)
|
|
actionpack (>= 4.0)
|
|
activesupport (>= 4.0)
|
|
sprockets (>= 3.0.0)
|
|
therubyracer (0.12.2)
|
|
libv8 (~> 3.16.14.0)
|
|
ref
|
|
thor (0.19.1)
|
|
thread_safe (0.3.5)
|
|
tilt (2.0.5)
|
|
tzinfo (1.2.2)
|
|
thread_safe (~> 0.1)
|
|
uglifier (3.0.1)
|
|
execjs (>= 0.3.0, < 3)
|
|
unf (0.1.4)
|
|
unf_ext
|
|
unf_ext (0.0.7.2)
|
|
unicode-display_width (1.1.0)
|
|
uniform_notifier (1.10.0)
|
|
warden (1.2.6)
|
|
rack (>= 1.0)
|
|
webmock (2.1.0)
|
|
addressable (>= 2.3.6)
|
|
crack (>= 0.3.2)
|
|
hashdiff
|
|
websocket-driver (0.6.4)
|
|
websocket-extensions (>= 0.1.0)
|
|
websocket-extensions (0.1.2)
|
|
will_paginate (3.1.0)
|
|
|
|
PLATFORMS
|
|
ruby
|
|
|
|
DEPENDENCIES
|
|
active_record_query_trace
|
|
addressable
|
|
better_errors
|
|
binding_of_caller
|
|
browserify-rails
|
|
bullet
|
|
coffee-rails (~> 4.1.0)
|
|
devise
|
|
doorkeeper
|
|
dotenv-rails
|
|
fabrication
|
|
fast_blank
|
|
font-awesome-rails
|
|
fuubar
|
|
goldfinger
|
|
haml-rails
|
|
hiredis
|
|
htmlentities
|
|
http
|
|
jbuilder (~> 2.0)
|
|
jquery-rails
|
|
letter_opener
|
|
link_header
|
|
lograge
|
|
nokogiri
|
|
oj
|
|
ostatus2
|
|
paperclip (~> 4.3)
|
|
paperclip-av-transcoder
|
|
pg
|
|
pry-rails
|
|
puma
|
|
rabl
|
|
rack-attack
|
|
rails (= 5.0.0.1)
|
|
rails_12factor
|
|
rails_autolink
|
|
react-rails
|
|
redis (~> 3.2)
|
|
rspec-rails
|
|
rspec-sidekiq
|
|
rubocop
|
|
sass-rails (~> 5.0)
|
|
sdoc (~> 0.4.0)
|
|
sidekiq
|
|
simple_form
|
|
simplecov
|
|
therubyracer
|
|
uglifier (>= 1.3.0)
|
|
webmock
|
|
will_paginate
|
|
|
|
BUNDLED WITH
|
|
1.13.0
|