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