Commit graph

10610 commits

Author SHA1 Message Date
Claire
eebd6ba39a Automatically switch from open to approved registrations in absence of moderators (#29318) 2024-02-24 08:28:49 +09:00
KMY
9669a25d46 Fix: 公開投稿禁止中、ローカル公開以外を投稿できない問題 2024-02-21 10:54:50 +09:00
KMY(雪あすか)
8a9a29cba1 Fix: 新規登録可能時間帯を空欄にすると、画面が表示できなくなる問題 (#603)
* Fix: 新規登録可能時間帯を空欄にすると、画面が表示できなくなる問題

* リファクタリング

* Fix test
2024-02-20 09:25:22 +09:00
KMY(雪あすか)
ad723b0cbd Change: ホワイトリストが空でも設定が有効であればアカウント作成を保留 (#601)
* Change: ホワイトリストが空でも設定が有効であればアカウント作成を保留

* Fix test
2024-02-19 09:21:28 +09:00
KMY(雪あすか)
c8c8c873f4
Fix: #596 リモート保留中のアカウントにおいて「活動を完全に停止する」を行ったときも「却下」と同様の動きをするように (#598) 2024-02-18 14:32:35 +09:00
KMY(雪あすか)
c35c13ffba
Add: ローカルからフォローされていない全てのアカウントからのフォローを拒否する設定 (#592)
* Add: ローカルからフォローされていない全てのアカウントからのフォローを拒否する設定

* Fix test

* Fix test
2024-02-18 11:39:09 +09:00
KMY(雪あすか)
1efeedf896
Change: ホワイトリスト全体を有効にするオプション (#593) 2024-02-18 11:16:42 +09:00
KMY(雪あすか)
dfc9f35d71
Add: #586 保留中のリモートアカウントからのフォローが飛んできた場合に記録する (#590)
* Add: #586 保留中のリモートアカウントからのフォローが飛んできた場合に記録する

* 本家に戻す処理を修正

* Fix test

* Fix worker link

* Fix test

* リモートアカウント拒否時に既存のリクエストを削除
2024-02-18 10:48:48 +09:00
KMY(雪あすか)
1b3c0e3fb7
Fix: #588 リモート保留中ユーザーに関して、サスペンドから戻す操作を削除 (#589)
* Fix: #588 リモート保留中ユーザーに関して、サスペンドから戻す操作を削除

* 条件を書く場所を変更

* 各アカウントの画面を調整
2024-02-18 08:37:22 +09:00
KMY(雪あすか)
0a6e68255f
Fix: アカウント一覧、カスタム絵文字一覧画面を高速化 (#585)
* Change: アカウント一覧、カスタム絵文字一覧でCOUNTを発行しないように

* Add index

* Fix test
2024-02-18 07:45:42 +09:00
KMY(雪あすか)
0f680a21b4
Add: ホワイトリスト運用時、承認待ちリモートアカウントの概念ならびに操作画面 (#584)
* Add: ホワイトリスト運用時、承認待ちリモートアカウントの概念ならびに操作画面

* Fix test

* Fix test
2024-02-17 21:07:37 +09:00
KMY(雪あすか)
0048a8368e
Add: #573 新規のアカウント認識を全て停止するオプション (#583) 2024-02-17 16:48:13 +09:00
KMY(雪あすか)
28b15ab268
Fix: スパム対策のメンション数に、フェッチできなかったアカウント情報がカウントされない問題 (#582)
* Fix: スパム対策のメンション数に、フェッチできなかったアカウント情報がカウントされない問題

* ごめん
2024-02-17 15:15:48 +09:00
KMY(雪あすか)
80be9b38a0
Change: #576 公開範囲「公開」を禁止する設定について、ブーストにも適用されるように (#580) 2024-02-17 12:32:48 +09:00
KMY(雪あすか)
e5ab4a3eb2
Add: #568 ハッシュタグ・メンション上限を超えた投稿もNGワード履歴に記録 (#579) 2024-02-17 12:16:41 +09:00
KMY(雪あすか)
a6b5e64e15
Add: #577 メンション数上限設定を、メンションされた全てのローカルアカウントが相手をフォローしている場合、そうでない場合で分けられるように (#578) 2024-02-17 11:05:29 +09:00
KMY(雪あすか)
9a3c8c5bda
Add: 絵文字リアクションのレートリミット (#575) 2024-02-17 10:42:34 +09:00
KMY(雪あすか)
7411941885
Add: メンション数上限 (#565)
* Add: メンション数上限

* Fix test
2024-02-17 09:50:06 +09:00
KMY
c5782a87b7 Merge remote-tracking branch 'origin/kb_development' into upstream-20240216 2024-02-16 22:08:36 +09:00
KMY(雪あすか)
dbbca0300d
Fix: 登録時間帯のテストのエラー (#569)
* Fix: 登録時間帯のテストのエラー

* Fix test
2024-02-16 21:54:53 +09:00
KMY
54ee9772fb Merge remote-tracking branch 'parent/main' into upstream-20240216 2024-02-16 20:33:24 +09:00
Claire
9fee5e8526
Merge pull request from GHSA-jhrq-qvrm-qr36
* Fix insufficient Content-Type checking of fetched ActivityStreams objects

* Allow JSON-LD documents with multiple profiles
2024-02-16 11:56:12 +01:00
KMY(雪あすか)
2b078b83c0
Fix: NGワード履歴重複チェックのクエリミス (#570) 2024-02-16 19:31:12 +09:00
KMY
d000e56393 Merge remote-tracking branch 'parent/main' into upstream-20240216 2024-02-16 18:49:35 +09:00
KMY(雪あすか)
c534c3d7fe
Add: #559 公開投稿を禁止する管理者設定 (#564) 2024-02-16 18:43:43 +09:00
KMY(雪あすか)
f1ce14e396
Add: #400 検索結果(投稿)にフィルター (#563) 2024-02-16 18:43:33 +09:00
KMY(雪あすか)
76b5d4f2c6
Change: #538 NGワード「フォローしていないアカウントへのメンションで利用できないキーワード」を、参照投稿にも適用する (#544)
* Change: #538 NGワード「フォローしていないアカウントへのメンションで利用できないキーワード」を、参照投稿にも適用する

* Update create.rb

* Update create.rb

* Update create.rb

* Fix test
2024-02-16 18:19:14 +09:00
KMY(雪あすか)
5c543c602b
Fix: #554 概要画面の連絡先がメールアドレスでなかった場合に、リンクにmailtoを強制的につけない (#562) 2024-02-16 17:53:09 +09:00
KMY(雪あすか)
7421c89431
Add: #545 NGワード指定で実際に除外された投稿のログ (#561) 2024-02-16 17:52:59 +09:00
github-actions[bot]
1c93d625c6
New Crowdin Translations (automated) (#29195)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-02-16 07:51:13 +00:00
KMY(雪あすか)
0ca2a73fd2
Fix: 新規登録制限をかけている場合、招待されても登録できない問題 (#558) 2024-02-16 11:44:11 +09:00
KMY(雪あすか)
91cb329e18
Change: #420 絵文字リアクションストリーミングWorkerのキューの種類を新規作成 (#551)
* Change: #420 絵文字リアクションストリーミングWorkerのキューの種類を`push`に変更

* `perishable`キュー新規作成に変更

* 優先順位を`ingress`と一緒に
2024-02-15 12:59:27 +09:00
KMY(雪あすか)
8a29aef842
Add: #446 スタンプ上限の設定を、ローカルユーザー向けと外部サーバーユーザー向けのものに分ける (#553) 2024-02-15 12:53:11 +09:00
KMY(雪あすか)
a51da9243e
Change: インスタンス情報取得Workerのキューをpullに変更 (#552) 2024-02-15 12:42:04 +09:00
KMY(雪あすか)
dae8985e41
Fix: #531 投稿フォームの公開範囲の選択肢で、スマホから見ると常に「ログインユーザーのみ」が表示される (#549) 2024-02-15 12:34:38 +09:00
KMY(雪あすか)
0508671f4e
Change: #475 絵文字リアクションの絵文字サイズをもう少し大きく (#550) 2024-02-15 12:34:25 +09:00
KMY
9ef5c05ea0 Merge remote-tracking branch 'parent/main' into upstream-20241015 2024-02-15 08:37:59 +09:00
Claire
d4d0565b0f
Fix user creation failure handling in OAuth paths (#29207) 2024-02-14 21:49:45 +00:00
Claire
b31af34c97
Merge pull request from GHSA-vm39-j3vx-pch3
* Prevent different identities from a same SSO provider from accessing a same account

* Lock auth provider changes behind `ALLOW_UNSAFE_AUTH_PROVIDER_REATTACH=true`

* Rename methods to avoid confusion between OAuth and OmniAuth
2024-02-14 15:16:07 +01:00
Emelia Smith
68eaa804c9
Merge pull request from GHSA-7w3c-p9j8-mq3x
* Ensure destruction of OAuth Applications notifies streaming

Due to doorkeeper using a dependent: delete_all relationship, the destroy of an OAuth Application bypassed the existing AccessTokenExtension callbacks for announcing destructing of access tokens.

* Ensure password resets revoke access to Streaming API

* Improve performance of deleting OAuth tokens

---------

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-02-14 15:15:34 +01:00
Emelia Smith
e8b66a0525
Ignore legacy moderator and admin columns on User model (#29188) 2024-02-13 17:14:49 +00:00
Nicolas Hoffmann
476a043fc5
Fix modal container bounds (#29185) 2024-02-13 12:58:21 +00:00
github-actions[bot]
5de1ce23c3
New Crowdin Translations (automated) (#29182)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-02-13 09:08:55 +00:00
KMY(雪あすか)
eb9d8a8679
Fix: リモートアカウント情報のNgWord検査でNULLが出る問題 (#541)
* Fix: リモートアカウント情報のNgWord検査でNULLが出る問題

* Add test
2024-02-13 14:19:30 +09:00
KMY(雪あすか)
bc0fefe76d
Fix: #517 「絵文字リアクション機能を使用する」設定を無効にしている時、絵文字リアクションの通知も表示されないようにする (#537)
* Fix: 新規登録のテストが特定時刻で落ちる問題

* Fix: #517 「絵文字リアクション機能を使用する」設定を無効にしている時、絵文字リアクションの通知も表示されないようにする
2024-02-13 09:06:43 +09:00
KMY(雪あすか)
f2fb829e63
Add: #518 コンテンツキャッシュについて、リアクションのあった投稿は削除しないオプション (#535)
* Add: #518 コンテンツキャッシュについて、リアクションのあった投稿は削除しないオプション

* Fix: 新規登録のテストが特定時刻で落ちる問題
2024-02-13 08:56:55 +09:00
KMY(雪あすか)
ba776d3677
Refactor: InstanceInfoと絵文字リアクション利用可能判定テスト (#534)
* Refactor: `InstanceInfo`と絵文字リアクション利用可能判定テスト

* Fix: 新規登録のテストが特定時刻で落ちる問題
2024-02-13 08:56:46 +09:00
KMY(雪あすか)
e317edecb8
Add: #348 新規登録の上限人数 (#527)
* Add: #348 新規登録の上限人数

* Fix test

* Fix test

* Wip

* Fix test

* Add invite support

* Wip

* Fix test

* Fix test

* Fix test
2024-02-12 22:05:32 +09:00
github-actions[bot]
6482948547
New Crowdin Translations (automated) (#29156)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-02-12 09:59:05 +00:00
github-actions[bot]
c07028b2fa
New Crowdin Translations (automated) (#29152)
Co-authored-by: GitHub Actions <noreply@github.com>
2024-02-09 09:55:30 +00:00