Merge commit '0d7340380cf3094335d8bc67f7c465e2b154566a' into glitch-soc/merge-upstream
Conflicts: - app/controllers/application_controller.rb: Upstream added an `include` where we had an extra `include` due to glitch-soc's theming system. Added upstream's new `include`.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'connection_pool'
|
||||
require_relative './shared_timed_stack'
|
||||
require_relative 'shared_timed_stack'
|
||||
|
||||
class ConnectionPool::SharedConnectionPool < ConnectionPool
|
||||
def initialize(options = {}, &block)
|
||||
|
@@ -37,7 +37,7 @@ class InlineRenderer
|
||||
private
|
||||
|
||||
def preload_associations_for_status
|
||||
ActiveRecord::Associations::Preloader.new.preload(@object, {
|
||||
ActiveRecord::Associations::Preloader.new(records: @object, associations: {
|
||||
active_mentions: :account,
|
||||
|
||||
reblog: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative './connection_pool/shared_connection_pool'
|
||||
require_relative 'connection_pool/shared_connection_pool'
|
||||
|
||||
class RequestPool
|
||||
def self.current
|
||||
|
@@ -16,7 +16,7 @@ class RSS::Channel < RSS::Element
|
||||
end
|
||||
|
||||
def last_build_date(date)
|
||||
append_element('lastBuildDate', date.to_formatted_s(:rfc822))
|
||||
append_element('lastBuildDate', date.to_fs(:rfc822))
|
||||
end
|
||||
|
||||
def image(url, title, link)
|
||||
|
@@ -20,7 +20,7 @@ class RSS::Item < RSS::Element
|
||||
end
|
||||
|
||||
def pub_date(date)
|
||||
append_element('pubDate', date.to_formatted_s(:rfc822))
|
||||
append_element('pubDate', date.to_fs(:rfc822))
|
||||
end
|
||||
|
||||
def description(str)
|
||||
|
Reference in New Issue
Block a user