Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
3c80fb5
Disable HEIF tests
ClearlyClaire Sep 15, 2026
b79a801
Fix missing confirmation when leaving with an unsent post (#40478)
crafkaz Sep 14, 2026
fb93ed8
Fix replies order (#40481)
OmmyZhang Sep 14, 2026
b978235
Add logging of account data removal (#40572)
ClearlyClaire Sep 17, 2026
4b1d027
Always require typing username when self-deleting account (#40576)
ClearlyClaire Sep 17, 2026
046dece
Fix `PreviewCardsStatus` records not being deleted on account deletio…
ClearlyClaire Sep 21, 2026
651652e
Fix deleted accounts not being removed from featured collections (#40…
ClearlyClaire Sep 21, 2026
448c41e
Fix account avatar and header descriptions not being deleted when an …
ClearlyClaire Sep 21, 2026
b19cd93
Fix description text overflowing on Overview landing page (#40272)
diondiondion Aug 25, 2026
25dcd93
Fix moderators being able to issue a warning on moderators of higher …
ClearlyClaire Sep 22, 2026
73628ba
Fix rate limits not normalizing submitted e-mail addresses (#40658)
Gargron Sep 23, 2026
c4b97e6
Fix mobile navigation covering up "Next step" button during onboardin…
diondiondion Sep 21, 2026
f9d4fee
Fix reported statuses not being deleted after account deletion (#40650)
ClearlyClaire Sep 24, 2026
b51518f
Fix `POST /api/v1/accounts` still being accessible when `SSO_ACCOUNT_…
ClearlyClaire Sep 24, 2026
6d05394
Fix quotes disclaimer disappearing on posts with no quote (#40587)
crafkaz Sep 28, 2026
d547708
Fix server error on registration for wrong DOB (#40607)
sudeeptarlekar Sep 28, 2026
1842542
Fix inconsistent horizontal page padding between profile and profile …
diondiondion Sep 25, 2026
5063e3b
Update dependency doorkeeper to v5.9.9 (#40716)
ClearlyClaire Sep 30, 2026
2bea20d
Update dependency `aws-sdk-s3`
ClearlyClaire Sep 30, 2026
0cdf852
Update dependency rack-proxy
ClearlyClaire Sep 30, 2026
6678db9
Add bundler-audit configuration file to ignore irrelevant CVEs
ClearlyClaire Sep 30, 2026
e3c0d4b
Change account self-delete confirmation to be more lenient and recall…
ClearlyClaire Sep 30, 2026
28f1367
New Crowdin translations
web-flow Oct 1, 2026
32e8e7c
Bump version to v4.6.9
ClearlyClaire Oct 1, 2026
0dce695
Merge tag 'v4.6.9' into update/imastodon-v4.6.9
takayamaki Oct 23, 2026
4ace1c3
css_parser を 3.3.0 に更新する
takayamaki Oct 23, 2026
2c1f6bc
ruby/setup-ruby を ubuntu-26.04 対応版に更新する
takayamaki Oct 23, 2026
dcff67b
E2E テストのランナーを ubuntu-24.04 に固定する
takayamaki Oct 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .bundler-audit.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
---
# GHSA-42qh-8mx8-7wqm: rack-proxy のレスポンス分割。
# advisory 本文の影響範囲は 1.0.0〜1.0.2 だが、ruby-advisory-db は patched_versions(>= 1.0.3)しか
# 持たないため 0.x まで検出される。stable-4.6 の rack-proxy は 0.8.2 で影響範囲外。
# vite_ruby 3.10 が rack-proxy ~> 0.6 を要求するので 1.0.3 には上げられない。
# advisory-db に unaffected_versions が入るか、upstream stable-4.6 が対応したら外す。
ignore:
- GHSA-42qh-8mx8-7wqm
- CVE-2026-85396 # We only use rubyzip for compressing, not extracting
2 changes: 1 addition & 1 deletion .github/actions/setup-ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
${{ inputs.additional-system-dependencies }}

- name: Set up Ruby
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
uses: ruby/setup-ruby@e1bd6146574da5e0795075b5319b300edb30c5b0 # v1.333.0
with:
ruby-version: ${{ inputs.ruby-version }}
bundler-cache: true
2 changes: 1 addition & 1 deletion .github/workflows/bundler-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

- name: Set up Ruby
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
uses: ruby/setup-ruby@e1bd6146574da5e0795075b5319b300edb30c5b0 # v1.333.0
with:
bundler-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-haml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

- name: Set up Ruby
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
uses: ruby/setup-ruby@e1bd6146574da5e0795075b5319b300edb30c5b0 # v1.333.0
with:
bundler-cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6

- name: Set up Ruby
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1
uses: ruby/setup-ruby@e1bd6146574da5e0795075b5319b300edb30c5b0 # v1.333.0
with:
bundler-cache: true

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ jobs:

test-e2e:
name: End to End testing
runs-on: ubuntu-latest
# Playwright 1.60 は ubuntu-26.04 に未対応(1.61 で対応)
runs-on: ubuntu-24.04
timeout-minutes: 30

needs:
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,38 @@

All notable changes to this project will be documented in this file.

## [4.6.9] - 2026-10-01

### Security

- Update dependencies

### Added

- Add logging of account data removal (#40572 by @ClearlyClaire)

### Changed

- Change account self-deletion page to always ask to confirm username (#40576 and #40733 by @ClearlyClaire)

### Fixed

- Fix threads leak by updating dependency aws-sdk-s3
- Fix inconsistent horizontal page padding between profile and profile editor (#40700 by @diondiondion)
- Fix server error on registration for wrong DOB (#40607 by @sudeeptarlekar)
- Fix quotes disclaimer disappearing on posts with no quote (#40587 by @crafkaz)
- Fix `POST /api/v1/accounts` still being accessible when `SSO_ACCOUNT_SIGN_UP` is set (#40681 by @ClearlyClaire)
- Fix reported statuses not being deleted after account deletion (#40650 by @ClearlyClaire)
- Fix mobile navigation covering up "Next step" button during onboarding (#40634 by @diondiondion)
- Fix rate limits not normalizing submitted e-mail addresses (#40658 by @Gargron)
- Fix moderators being able to issue a warning on moderators of higher position (#40646 by @ClearlyClaire)
- Fix description text overflowing on Overview landing page (#40272 by @diondiondion)
- Fix account avatar and header descriptions not being deleted when an account is deleted (#40621 by @ClearlyClaire)
- Fix deleted accounts not being removed from featured collections (#40623 by @ClearlyClaire)
- Fix `PreviewCardsStatus` records not being deleted on account deletion (#40624 by @ClearlyClaire)
- Fix replies order (#40481 by @OmmyZhang)
- Fix missing confirmation when leaving with an unsent post (#40478 by @crafkaz)

## [4.6.8] - 2026-09-15

### Security
Expand Down
20 changes: 11 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,20 @@ GEM
attr_required (1.0.2)
aws-eventstream (1.4.0)
aws-partitions (1.1259.0)
aws-sdk-core (3.254.0)
aws-sdk-core (3.257.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
base64
bigdecimal
jmespath (~> 1, >= 1.6.1)
logger
rexml (~> 3.4, >= 3.4.2)
aws-sdk-kms (1.129.0)
aws-sdk-core (~> 3, >= 3.248.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.228.1)
aws-sdk-core (~> 3, >= 3.254.0)
aws-sdk-s3 (1.232.3)
aws-sdk-core (~> 3, >= 3.256.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sdk-ssm (1.186.0)
Expand Down Expand Up @@ -184,8 +185,9 @@ GEM
bigdecimal
rexml
crass (1.0.7)
css_parser (3.0.0)
css_parser (3.3.0)
addressable
base64
ssrf_filter (~> 1.5)
csv (3.3.5)
database_cleaner-active_record (2.2.2)
Expand Down Expand Up @@ -216,7 +218,7 @@ GEM
activerecord (>= 7.0, < 9.0)
docile (1.4.1)
domain_name (0.6.20240107)
doorkeeper (5.9.2)
doorkeeper (5.9.9)
railties (>= 5)
dotenv (3.2.0)
drb (2.2.3)
Expand Down Expand Up @@ -651,8 +653,8 @@ GEM
base64 (>= 0.1.0)
logger (>= 1.6.0)
rack (>= 3.0.0, < 4)
rack-proxy (0.8.2)
rack
rack-proxy (2.0.1)
rack (>= 2.0, < 4)
rack-session (2.1.2)
base64 (>= 0.1.0)
rack (>= 3.0.0)
Expand Down Expand Up @@ -912,11 +914,11 @@ GEM
vite_rails (3.11.0)
railties (>= 5.1, < 9)
vite_ruby (~> 3.0, >= 3.2.2)
vite_ruby (3.10.2)
vite_ruby (3.11.1)
dry-cli (>= 0.7, < 2)
logger (~> 1.6)
mutex_m
rack-proxy (~> 0.6, >= 0.6.1)
rack-proxy (>= 0.6.1)
zeitwerk (~> 2.2)
warden (1.2.9)
rack (>= 2.0.9)
Expand Down
1 change: 1 addition & 0 deletions app/controllers/admin/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def reject
def destroy
authorize @account, :destroy?
Admin::AccountDeletionWorker.perform_async(@account.id)
log_action :destroy, @account
redirect_to admin_account_path(@account.id), notice: I18n.t('admin.accounts.destroyed_msg', username: @account.acct)
end

Expand Down
2 changes: 1 addition & 1 deletion app/controllers/api/v1/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,6 @@ def invite
end

def check_enabled_registrations
forbidden unless allowed_registration?(request.remote_ip, invite)
forbidden if ENV['SSO_ACCOUNT_SIGN_UP'].present? || !allowed_registration?(request.remote_ip, invite)
end
end
1 change: 1 addition & 0 deletions app/controllers/api/v1/admin/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def reject
def destroy
authorize @account, :destroy?
Admin::AccountDeletionWorker.perform_async(@account.id)
log_action :destroy, @account
render_empty
end

Expand Down
24 changes: 24 additions & 0 deletions app/controllers/auth/registrations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ def edit

def create
super
rescue ActiveRecord::MultiparameterAssignmentErrors => e
handle_multiparameter_assignment_error(e.errors)
end

def update
Expand Down Expand Up @@ -109,6 +111,28 @@ def set_invite
end
end

def handle_multiparameter_assignment_error(errors)
build_resource(sign_up_params_without_invalid_multiparameter_attributes(errors))

errors.each do |attribute_error|
resource.errors.add(attribute_error.attribute, :invalid)
end

clean_up_passwords resource
set_minimum_password_length
respond_with resource
end

def sign_up_params_without_invalid_multiparameter_attributes(errors)
invalid_attributes = errors.map { |attribute_error| attribute_error.attribute.to_s }

sign_up_params.to_h.reject do |key, _value|
invalid_attributes.any? do |attribute|
key.to_s == attribute || key.to_s.match?(/\A#{Regexp.escape(attribute)}\(\d+i\)\z/)
end
end
end

def determine_layout
%w(edit update).include?(action_name) ? 'admin' : 'auth'
end
Expand Down
5 changes: 1 addition & 4 deletions app/controllers/oauth/authorized_applications_controller.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# frozen_string_literal: true

class OAuth::AuthorizedApplicationsController < Doorkeeper::AuthorizedApplicationsController
skip_before_action :authenticate_resource_owner!

before_action :store_current_location
before_action :authenticate_resource_owner!
prepend_before_action :store_current_location
before_action :require_not_suspended!, only: :destroy

before_action :set_last_used_at_by_app, only: :index, unless: -> { request.format == :json }
Expand Down
9 changes: 4 additions & 5 deletions app/controllers/settings/deletes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def require_not_suspended!
end

def challenge_passed?
if current_user.encrypted_password.blank?
current_account.username == resource_params[:username]
else
current_user.valid_password?(resource_params[:password])
end
username = resource_params[:username].strip.delete_prefix('@')
return false unless current_account.username.casecmp(username).zero? || current_account.local_username_and_domain.casecmp(username).zero?

current_user.encrypted_password.blank? || current_user.valid_password?(resource_params[:password])
end

def destroy_account!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

.avatar {
margin-top: -64px;
margin-left: 22px;
margin-left: calc(var(--space-4) - 2px);
position: relative;
width: 82px;

Expand Down Expand Up @@ -251,7 +251,7 @@
// Section component

.section {
padding: 24px;
padding: var(--space-6) var(--space-4);
border-bottom: 1px solid var(--color-border-primary);
font-size: 15px;

Expand Down
12 changes: 10 additions & 2 deletions app/javascript/mastodon/features/compose/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ import MenuIcon from '@/material-icons/400-24px/menu.svg?react';
import NotificationsIcon from '@/material-icons/400-24px/notifications-fill.svg?react';
import PublicIcon from '@/material-icons/400-24px/public.svg?react';
import SettingsIcon from '@/material-icons/400-24px/settings.svg?react';
import { mountCompose, unmountCompose } from 'mastodon/actions/compose';
import {
changeComposing,
mountCompose,
unmountCompose,
} from 'mastodon/actions/compose';
import { openModal } from 'mastodon/actions/modal';
import { Column } from 'mastodon/components/column';
import { ColumnHeader } from 'mastodon/components/column_header';
Expand Down Expand Up @@ -67,6 +71,10 @@ const Compose: React.FC<{ multiColumn: boolean }> = ({ multiColumn }) => {
};
}, [dispatch]);

const handleFocus = useCallback(() => {
dispatch(changeComposing(true));
}, [dispatch]);

const handleLogoutClick = useCallback(
(e: React.MouseEvent) => {
e.preventDefault();
Expand Down Expand Up @@ -168,7 +176,7 @@ const Compose: React.FC<{ multiColumn: boolean }> = ({ multiColumn }) => {
role='region'
aria-label={intl.formatMessage(navbarMessages.publish)}
>
<div className='drawer__inner'>
<div className='drawer__inner' onFocus={handleFocus}>
<ComposeFormContainer />
<FavouriteTagsContainer />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@
}

p {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
font-size: 16px;
line-height: 24px;
text-overflow: ellipsis;
}
}

Expand Down
1 change: 1 addition & 0 deletions app/javascript/mastodon/features/quotes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const Quotes: React.FC<{
emptyMessage={emptyMessage}
bindToDocument={!multiColumn}
prepend={prependMessage}
alwaysPrepend
/>

<Helmet>
Expand Down
17 changes: 11 additions & 6 deletions app/javascript/mastodon/locales/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"about.domain_blocks.preamble": "Mastodon, adətən fediverse-dəki hər hansısa bir serverdən məzmuna baxmağınıza və istifadəçilərlə qarşılıqlı əlaqədə olmağınıza imkanı verir. Bunlar, bu serverdə edilmiş istisnalardır.",
"about.domain_blocks.silenced.explanation": "Siz bu serverdəki profilləri və məzmunu xüsusi olaraq axtarmasanız və ya izləməsəniz ümumiyyətlə görməyəcəksiniz.",
"about.domain_blocks.silenced.title": "Məhdudlaşdırılmış",
"about.domain_blocks.suspended.explanation": "Bu serverdəki heç bir veri emal edilməyəcək, saxlanılmayacaq və ya mübadilə edilməyəcək, bu serverdəki istifadəçilərlə hər hansısa bir qarşılıqlı əlaqə və ya ünsiyyət mümkünsüz olacaq.",
"about.domain_blocks.suspended.explanation": "Bu serverdəki heç bir veri emal edilməyəcək, depolanmayacaq və ya mübadilə edilməyəcək, bu serverdəki istifadəçilərlə hər hansısa bir qarşılıqlı əlaqə və ya ünsiyyət mümkünsüz olacaq.",
"about.domain_blocks.suspended.title": "Qadağa qoyulub",
"about.language_label": "Dil",
"about.not_available": "Bu məlumat bu serverdə əlçatan edilməyib.",
Expand Down Expand Up @@ -236,6 +236,9 @@
"closed_registrations_modal.find_another_server": "Başqa server tap",
"closed_registrations_modal.preamble": "Mastodon desentralizasiya edilib, ona görə də hesabınızı harada yaratmağınızdan asılı olmayaraq, siz bu serverdə hər kəsi izləyə və onunla əlaqə saxlaya biləcəksiniz. Siz hətta özünüz server aça bilərsiniz!",
"closed_registrations_modal.title": "Mastodonda qeydiyyatdan keçmək",
"collections.create.basic_details_title": "Təməl məlumatlar",
"collections.edit_details": "Məlumatlara düzəliş",
"collections.last_updated_at": "Son güncəlləmə: {date}",
"column.about": "Haqqında",
"column.blocks": "Bloklanmış istifadəçilər",
"column.bookmarks": "Əlfəcinlər",
Expand Down Expand Up @@ -358,6 +361,8 @@
"domain_block_modal.you_will_lose_relationships": "Bu serverdən olan bütün izləyicilərinizi və izlədiklərinizi itirəcəksiniz.",
"domain_block_modal.you_wont_see_posts": "Bu serverdən olan paylaşımları və istifadəçilərdən olan bildirişləri görməyəcəksiniz.",
"dropdown.empty": "Bir seçim et",
"email_subscriptions.form.title": "{name} - göndərən e-poçt güncəlləmələrinə qeydiyyat",
"email_subscriptions.submitted.lead": "E-poçt güncəlləmələrinə qeydiyyat prosesini tamamlamaq üçün gələn qutunuzu yoxlayın.",
"embed.instructions": "Aşağıdakı kodu kopyalayaraq bu postu veb-saytınıza yerləşdirin.",
"embed.preview": "Belə görünəcək:",
"emoji_button.activity": "Aktivlik",
Expand Down Expand Up @@ -717,12 +722,12 @@
"notifications.filter.mentions": "Adçəkmələr",
"notifications.filter.polls": "Anket nəticələri",
"notifications.filter.statuses": "İzlədiyiniz şəxslərdən güncəlləmələr",
"notifications.grant_permission": "İcazəni ver.",
"notifications.grant_permission": "İzin ver.",
"notifications.group": "{count} bildiriş",
"notifications.mark_as_read": "Hər bir bildiriş oxunmuş olaraq işarələ",
"notifications.permission_denied": "Brauzer icazələri istəyinə daha əvvəl rədd cavabı verildiyi üçün masaüstü bildirişləri əlçatmazdır",
"notifications.permission_denied_alert": "Brauzer icazəsinə daha əvvəl rədd cavabı verildiyi üçün masaüstü bildirişləri fəallaşdırıla bilmir",
"notifications.permission_required": "Tələb olunan icazə verilmədiyi üçün masaüstü bildirişləri əlçatmazdır.",
"notifications.permission_denied": "Brauzer izin istəyinə daha əvvəl rədd cavabı verildiyi üçün masaüstü bildirişləri əlçatmazdır",
"notifications.permission_denied_alert": "Brauzer izninə daha əvvəl rədd cavabı verildiyi üçün masaüstü bildirişləri fəallaşdırıla bilmir",
"notifications.permission_required": "Tələb olunan izin verilmədiyi üçün masaüstü bildirişləri əlçatmazdır.",
"notifications.policy.accept": "Qəbul et",
"notifications.policy.accept_hint": "Bildirişlərdə göstər",
"notifications.policy.drop": "Yox say",
Expand Down Expand Up @@ -884,7 +889,7 @@
"status.continued_thread": "Davam edən mövzu",
"status.copy": "Göndəriş keçidini kopyala",
"status.delete": "Sil",
"status.detailed_status": "Detallı danışıq görünüşü",
"status.detailed_status": "Ayrıntılı danışıq görünüşü",
"status.direct": "Şəxsi olaraq adını çək: @{name}",
"status.direct_indicator": "Şəxsi olaraq adını çək",
"status.edit": "Düzəliş et",
Expand Down
3 changes: 2 additions & 1 deletion app/javascript/mastodon/locales/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@
"collections.create.basic_details_title": "Асноўныя звесткі",
"collections.create.steps": "Крок {step}/{total}",
"collections.create_collection": "Стварыць калекцыю",
"collections.create_new_collection": "Стварыць новую калекцыю",
"collections.delete_collection": "Выдаліць калекцыю",
"collections.description_length_hint": "Максімум 100 сімвалаў",
"collections.detail.author_added_you_on_date": "{author} дадаў(-ла) Вас {date}",
Expand Down Expand Up @@ -926,7 +927,7 @@
"navigation_bar.moderation": "Мадэрацыя",
"navigation_bar.more": "Больш",
"navigation_bar.mutes": "Ігнараваныя карыстальнікі",
"navigation_bar.opened_in_classic_interface": "Допісы, уліковыя запісы і іншыя спецыфічныя старонкі па змоўчанні адчыняюцца ў класічным вэб-інтэрфейсе.",
"navigation_bar.opened_in_classic_interface": "Допісы, уліковыя запісы і іншыя адмысловыя старонкі па прадвызначэнні адчыняюцца ў класічным вэб-інтэрфейсе.",
"navigation_bar.preferences": "Налады",
"navigation_bar.privacy_and_reach": "Прыватнасць і пошук",
"navigation_bar.search": "Пошук",
Expand Down
Loading
Loading