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