diff --git a/.github/renovate.json5 b/.github/renovate.json5
index ddca0bc239..076b2f9b1e 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -154,9 +154,15 @@
groupName: 'opentelemetry-ruby (non-major)',
},
{
- // Group Playwright Ruby & JS deps in the same PR, as they need to be in sync
- matchManagers: ['bundler', 'npm'],
- matchPackageNames: ['playwright-ruby-client', 'playwright'],
+ // The ruby portion of the Playwright group
+ matchManagers: ['bundler'],
+ matchPackageNames: ['playwright-ruby-client'],
+ groupName: 'Playwright',
+ },
+ {
+ // The node portion of the Playwright group
+ matchManagers: ['npm'],
+ matchPackageNames: ['playwright'],
groupName: 'Playwright',
},
// Add labels depending on package manager
diff --git a/.rubocop/layout.yml b/.rubocop/layout.yml
index 487879ca2c..9396674995 100644
--- a/.rubocop/layout.yml
+++ b/.rubocop/layout.yml
@@ -4,3 +4,6 @@ Layout/FirstHashElementIndentation:
Layout/LineLength:
Max: 300 # Default of 120 causes a duplicate entry in generated todo file
+
+Layout/MultilineMethodCallIndentation:
+ EnforcedStyle: indented
diff --git a/Gemfile.lock b/Gemfile.lock
index d734898522..31e331ea6e 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -470,7 +470,7 @@ GEM
net-smtp (0.5.1)
net-protocol
nio4r (2.7.5)
- nokogiri (1.19.0)
+ nokogiri (1.19.1)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
oj (3.16.15)
@@ -631,7 +631,7 @@ GEM
activesupport (>= 3.0.0)
raabro (1.4.0)
racc (1.8.1)
- rack (3.2.4)
+ rack (3.2.5)
rack-attack (6.8.0)
rack (>= 1.0, < 4)
rack-cors (3.0.0)
@@ -741,7 +741,7 @@ GEM
rspec-mocks (3.13.7)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
- rspec-rails (8.0.2)
+ rspec-rails (8.0.3)
actionpack (>= 7.2)
activesupport (>= 7.2)
railties (>= 7.2)
@@ -755,7 +755,7 @@ GEM
rspec-mocks (~> 3.0)
sidekiq (>= 5, < 9)
rspec-support (3.13.7)
- rubocop (1.84.0)
+ rubocop (1.84.2)
json (~> 2.3)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
diff --git a/app/chewy/public_statuses_index.rb b/app/chewy/public_statuses_index.rb
index 09a4dfc093..c847b0283d 100644
--- a/app/chewy/public_statuses_index.rb
+++ b/app/chewy/public_statuses_index.rb
@@ -53,9 +53,9 @@ class PublicStatusesIndex < Chewy::Index
}
index_scope ::Status.unscoped
- .kept
- .indexable
- .includes(:media_attachments, :preloadable_poll, :tags, preview_cards_status: :preview_card)
+ .kept
+ .indexable
+ .includes(:media_attachments, :preloadable_poll, :tags, preview_cards_status: :preview_card)
root date_detection: false do
field(:id, type: 'long')
diff --git a/app/controllers/admin/fasp/debug/callbacks_controller.rb b/app/controllers/admin/fasp/debug/callbacks_controller.rb
index 28aba5e489..acba4c51d8 100644
--- a/app/controllers/admin/fasp/debug/callbacks_controller.rb
+++ b/app/controllers/admin/fasp/debug/callbacks_controller.rb
@@ -5,8 +5,8 @@ class Admin::Fasp::Debug::CallbacksController < Admin::BaseController
authorize [:admin, :fasp, :provider], :update?
@callbacks = Fasp::DebugCallback
- .includes(:fasp_provider)
- .order(created_at: :desc)
+ .includes(:fasp_provider)
+ .order(created_at: :desc)
end
def destroy
diff --git a/app/controllers/api/v1/blocks_controller.rb b/app/controllers/api/v1/blocks_controller.rb
index d7516c927b..e79b292e5f 100644
--- a/app/controllers/api/v1/blocks_controller.rb
+++ b/app/controllers/api/v1/blocks_controller.rb
@@ -18,14 +18,14 @@ class Api::V1::BlocksController < Api::BaseController
def paginated_blocks
@paginated_blocks ||= Block.eager_load(target_account: [:account_stat, :user])
- .joins(:target_account)
- .merge(Account.without_suspended)
- .where(account: current_account)
- .paginate_by_max_id(
- limit_param(DEFAULT_ACCOUNTS_LIMIT),
- params[:max_id],
- params[:since_id]
- )
+ .joins(:target_account)
+ .merge(Account.without_suspended)
+ .where(account: current_account)
+ .paginate_by_max_id(
+ limit_param(DEFAULT_ACCOUNTS_LIMIT),
+ params[:max_id],
+ params[:since_id]
+ )
end
def next_path
diff --git a/app/controllers/api/v1/conversations_controller.rb b/app/controllers/api/v1/conversations_controller.rb
index 60db082a8e..5f09d0c886 100644
--- a/app/controllers/api/v1/conversations_controller.rb
+++ b/app/controllers/api/v1/conversations_controller.rb
@@ -37,20 +37,20 @@ class Api::V1::ConversationsController < Api::BaseController
def paginated_conversations
AccountConversation.where(account: current_account)
- .includes(
- account: [:account_stat, user: :role],
- last_status: [
- :media_attachments,
- :status_stat,
- :tags,
- {
- preview_cards_status: { preview_card: { author_account: [:account_stat, user: :role] } },
- active_mentions: :account,
- account: [:account_stat, user: :role],
- },
- ]
- )
- .to_a_paginated_by_id(limit_param(LIMIT), params_slice(:max_id, :since_id, :min_id))
+ .includes(
+ account: [:account_stat, user: :role],
+ last_status: [
+ :media_attachments,
+ :status_stat,
+ :tags,
+ {
+ preview_cards_status: { preview_card: { author_account: [:account_stat, user: :role] } },
+ active_mentions: :account,
+ account: [:account_stat, user: :role],
+ },
+ ]
+ )
+ .to_a_paginated_by_id(limit_param(LIMIT), params_slice(:max_id, :since_id, :min_id))
end
def next_path
diff --git a/app/controllers/api/v1/mutes_controller.rb b/app/controllers/api/v1/mutes_controller.rb
index d2b50e3336..2c213ca202 100644
--- a/app/controllers/api/v1/mutes_controller.rb
+++ b/app/controllers/api/v1/mutes_controller.rb
@@ -18,14 +18,14 @@ class Api::V1::MutesController < Api::BaseController
def paginated_mutes
@paginated_mutes ||= Mute.eager_load(target_account: [:account_stat, :user])
- .joins(:target_account)
- .merge(Account.without_suspended)
- .where(account: current_account)
- .paginate_by_max_id(
- limit_param(DEFAULT_ACCOUNTS_LIMIT),
- params[:max_id],
- params[:since_id]
- )
+ .joins(:target_account)
+ .merge(Account.without_suspended)
+ .where(account: current_account)
+ .paginate_by_max_id(
+ limit_param(DEFAULT_ACCOUNTS_LIMIT),
+ params[:max_id],
+ params[:since_id]
+ )
end
def next_path
diff --git a/app/controllers/api/v1_alpha/collections_controller.rb b/app/controllers/api/v1_alpha/collections_controller.rb
index feea6c6b32..1ca1cd6923 100644
--- a/app/controllers/api/v1_alpha/collections_controller.rb
+++ b/app/controllers/api/v1_alpha/collections_controller.rb
@@ -72,10 +72,10 @@ class Api::V1Alpha::CollectionsController < Api::BaseController
def set_collections
@collections = @account.collections
- .with_tag
- .order(created_at: :desc)
- .offset(offset_param)
- .limit(limit_param(DEFAULT_COLLECTIONS_LIMIT))
+ .with_tag
+ .order(created_at: :desc)
+ .offset(offset_param)
+ .limit(limit_param(DEFAULT_COLLECTIONS_LIMIT))
@collections = @collections.discoverable unless @account == current_account
end
diff --git a/app/javascript/images/icons/icon_verified.svg b/app/javascript/images/icons/icon_verified.svg
index 65873b9dc4..62bdcb5710 100644
--- a/app/javascript/images/icons/icon_verified.svg
+++ b/app/javascript/images/icons/icon_verified.svg
@@ -2,9 +2,9 @@
+
+
{description}
} +