2016-11-15 17:56:29 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-02-20 23:53:20 +02:00
|
|
|
source 'https://rubygems.org'
|
2017-01-11 16:39:31 +02:00
|
|
|
ruby '2.3.1'
|
2016-02-20 23:53:20 +02:00
|
|
|
|
2016-12-21 20:09:59 +02:00
|
|
|
gem 'rails', '~> 5.0.1.0'
|
2016-02-20 23:53:20 +02:00
|
|
|
gem 'sass-rails', '~> 5.0'
|
|
|
|
gem 'uglifier', '>= 1.3.0'
|
|
|
|
gem 'coffee-rails', '~> 4.1.0'
|
|
|
|
gem 'jquery-rails'
|
|
|
|
gem 'jbuilder', '~> 2.0'
|
|
|
|
gem 'sdoc', '~> 0.4.0', group: :doc
|
|
|
|
gem 'puma'
|
|
|
|
|
2016-09-24 14:40:42 +03:00
|
|
|
gem 'hamlit-rails'
|
2016-02-20 23:53:20 +02:00
|
|
|
gem 'pg'
|
2016-11-04 19:35:04 +02:00
|
|
|
gem 'pghero'
|
2016-02-20 23:53:20 +02:00
|
|
|
gem 'dotenv-rails'
|
2016-03-12 17:09:46 +02:00
|
|
|
gem 'font-awesome-rails'
|
2017-01-12 21:46:24 +02:00
|
|
|
gem 'best_in_place', '~> 3.0.1'
|
2016-02-20 23:53:20 +02:00
|
|
|
|
2017-01-19 10:37:07 +02:00
|
|
|
gem 'paperclip', '~> 5.1'
|
2016-09-12 19:22:43 +03:00
|
|
|
gem 'paperclip-av-transcoder'
|
2016-11-29 15:20:15 +02:00
|
|
|
gem 'aws-sdk', '>= 2.0'
|
2016-02-20 23:53:20 +02:00
|
|
|
|
|
|
|
gem 'http'
|
2016-10-02 15:58:06 +03:00
|
|
|
gem 'httplog'
|
2016-02-20 23:53:20 +02:00
|
|
|
gem 'addressable'
|
|
|
|
gem 'nokogiri'
|
Fix #24 - Thread resolving for remote statuses
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.
2016-09-21 02:34:14 +03:00
|
|
|
gem 'link_header'
|
2016-02-20 23:53:20 +02:00
|
|
|
gem 'ostatus2'
|
|
|
|
gem 'goldfinger'
|
2016-03-05 14:12:24 +02:00
|
|
|
gem 'devise'
|
2017-01-27 21:28:46 +02:00
|
|
|
gem 'devise-two-factor'
|
2016-03-07 13:42:33 +02:00
|
|
|
gem 'doorkeeper'
|
|
|
|
gem 'rabl'
|
2017-01-27 21:28:46 +02:00
|
|
|
gem 'rqrcode'
|
2016-03-07 13:42:33 +02:00
|
|
|
gem 'oj'
|
2016-03-11 17:47:36 +02:00
|
|
|
gem 'hiredis'
|
2016-03-08 21:16:11 +02:00
|
|
|
gem 'redis', '~>3.2'
|
2016-03-11 17:47:36 +02:00
|
|
|
gem 'fast_blank'
|
|
|
|
gem 'htmlentities'
|
2016-03-12 21:47:22 +02:00
|
|
|
gem 'simple_form'
|
2016-08-17 18:56:23 +03:00
|
|
|
gem 'will_paginate'
|
2016-03-19 15:57:30 +02:00
|
|
|
gem 'rack-attack'
|
2016-11-09 19:06:01 +02:00
|
|
|
gem 'rack-cors', require: 'rack/cors'
|
2016-03-25 03:50:48 +02:00
|
|
|
gem 'sidekiq'
|
2017-01-12 21:46:24 +02:00
|
|
|
gem 'rails-settings-cached'
|
2016-11-12 15:33:21 +02:00
|
|
|
gem 'pg_search'
|
2016-12-13 14:42:10 +02:00
|
|
|
gem 'simple-navigation'
|
2017-01-19 00:44:29 +02:00
|
|
|
gem 'statsd-instrument'
|
2017-01-20 02:00:14 +02:00
|
|
|
gem 'ruby-oembed', require: 'oembed'
|
2016-02-20 23:53:20 +02:00
|
|
|
|
2016-08-24 18:56:44 +03:00
|
|
|
gem 'react-rails'
|
|
|
|
gem 'browserify-rails'
|
2016-11-07 19:23:36 +02:00
|
|
|
gem 'autoprefixer-rails'
|
2016-08-24 18:56:44 +03:00
|
|
|
|
2016-02-20 23:53:20 +02:00
|
|
|
group :development, :test do
|
|
|
|
gem 'rspec-rails'
|
|
|
|
gem 'pry-rails'
|
2016-02-25 01:17:01 +02:00
|
|
|
gem 'fuubar'
|
2016-02-26 16:28:08 +02:00
|
|
|
gem 'fabrication'
|
2016-11-16 00:56:03 +02:00
|
|
|
gem 'i18n-tasks', '~> 0.9.6'
|
2016-02-25 01:17:01 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :test do
|
|
|
|
gem 'simplecov', require: false
|
2016-02-28 22:22:56 +02:00
|
|
|
gem 'webmock'
|
2016-03-26 14:42:10 +02:00
|
|
|
gem 'rspec-sidekiq'
|
2016-02-20 23:53:20 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :development do
|
|
|
|
gem 'rubocop', require: false
|
2016-02-22 17:00:20 +02:00
|
|
|
gem 'better_errors'
|
|
|
|
gem 'binding_of_caller'
|
2016-03-19 15:57:30 +02:00
|
|
|
gem 'letter_opener'
|
2017-01-21 11:22:49 +02:00
|
|
|
gem 'letter_opener_web'
|
2016-03-26 14:42:10 +02:00
|
|
|
gem 'bullet'
|
2016-09-08 21:36:01 +03:00
|
|
|
gem 'active_record_query_trace'
|
2016-02-20 23:53:20 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
group :production do
|
|
|
|
gem 'rails_12factor'
|
2016-11-02 14:30:52 +02:00
|
|
|
gem 'redis-rails'
|
2017-01-26 15:52:07 +02:00
|
|
|
gem 'lograge'
|
|
|
|
gem 'rack-timeout'
|
2016-02-20 23:53:20 +02:00
|
|
|
end
|