Commit graph

2059 commits

Author SHA1 Message Date
KMY(雪あすか)
76b24193c4
Remove: #608 ドメインブロック「リプライを拒否」 (#624) 2024-03-01 12:03:31 +09:00
KMY(雪あすか)
dc3aabb4f4
Change: NGルール・NGワードのテキストマッチはHTMLタグを除外する (#623) 2024-03-01 12:01:09 +09:00
KMY(雪あすか)
2ab9ea642a
Add: #595 リモート保留中アカウントからメンションが来た場合にuriを記録し、承認時にフェッチしに行く処理 (#620)
* Add: #591 リモート保留中アカウントからメンションが来た場合にuriを記録し、承認時にフェッチしに行く処理

* Rename fetch_remove_status_worker.rb to fetch_remote_status_worker.rb

* Wip

* Add lock code
2024-02-29 12:54:47 +09:00
KMY(雪あすか)
aec832e257
Remove: #611 グループシステム関係のカラムを複数削除 (#618) 2024-02-27 13:08:30 +09:00
KMY(雪あすか)
04b3f9fc4f
Merge pull request #614 from kmycode/upstream-20240227
Upstream 20240227
2024-02-27 10:15:06 +09:00
KMY(雪あすか)
9dd11117db
Add: #605 リモート投稿に適用するセンシティブワード設定 (#612) 2024-02-27 10:14:42 +09:00
KMY
78446fead4 Merge remote-tracking branch 'parent/main' into upstream-20240227 2024-02-27 08:53:15 +09:00
Matt Jankowski
8429d07454
Add RankedTrend concern for trends classes (#29388) 2024-02-26 13:45:39 +00:00
KMY(雪あすか)
7d96d5828e
Add: #600 NGルール (#602)
* Wip

* Wip

* Wip: History

* Wip: テストコード作成

* Fix test

* Wip

* Wip

* Wip

* Fix test

* Wip

* Wip

* Wip

* Wip

* なんとか完成、これから動作確認

* spell miss

* Change ng rule timings

* Fix test

* Wip

* Fix test

* Wip

* Fix form

* 表示まわりの改善
2024-02-26 17:45:41 +09:00
KMY
a23f77a5b8 Merge remote-tracking branch 'parent/main' into upstream-20240218 2024-02-22 07:48:56 +09:00
Matt Jankowski
0ef44ee720
Move AccountSuggestions::Source subclasses default limit value to constant (#29282) 2024-02-20 09:21:49 +00:00
Matt Jankowski
785e2f9399
Add scope providing_styles to UserRole (#29286) 2024-02-20 09:18:05 +00:00
KMY
7684b5de6f Merge remote-tracking branch 'parent/main' into upstream-20240218 2024-02-20 09:25:49 +09:00
Matt Jankowski
245064bb98
Move "everyone" role and "instance actor" account magic number IDs to constants (#29260) 2024-02-19 11:09:43 +00:00
KMY
a1f88f6001 Merge remote-tracking branch 'parent/main' into upstream-20240218 2024-02-18 14:39:40 +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(雪あすか)
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(雪あすか)
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
Wolfgang Fournès
cfadb87077
Update enum syntax to use the new Rails 7.0 style (#29217) 2024-02-16 14:54:23 +00:00
KMY(雪あすか)
2b078b83c0
Fix: NGワード履歴重複チェックのクエリミス (#570) 2024-02-16 19:31:12 +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(雪あすか)
7421c89431
Add: #545 NGワード指定で実際に除外された投稿のログ (#561) 2024-02-16 17:52:59 +09:00
KMY(雪あすか)
8a29aef842
Add: #446 スタンプ上限の設定を、ローカルユーザー向けと外部サーバーユーザー向けのものに分ける (#553) 2024-02-15 12:53:11 +09:00
KMY
9ef5c05ea0 Merge remote-tracking branch 'parent/main' into upstream-20241015 2024-02-15 08:37:59 +09: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
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
KMY
05e52a09a8 Merge remote-tracking branch 'parent/main' into upstream-20230209 2024-02-09 12:53:59 +09:00
Claire
7ee93b7431
Change source attribute of Suggestion entity in /api/v2/suggestions back to a string (#29108) 2024-02-06 17:10:17 +00:00
Claire
66dda7c762
Fix already-invalid reports failing to resolve (#29027) 2024-02-06 09:35:27 +00:00
Matt Jankowski
86500e3312
Extract scenic view model common methods to concern (#28111) 2024-02-06 09:08:07 +00:00
KMY(雪あすか)
57341a82ac
Change: ローカルタイムラインを無効にしている時、/api/v1/timelines/publicタイムライン取得で「リモートユーザーのみ」指定も無効化 (#526)
* Change: ローカルタイムラインを無効にしている時、「リモートユーザーのみ」指定も無効化

* Fix test
2024-02-06 10:03:41 +09:00
KMY(雪あすか)
4e1e675939
Add: #374 拡張ドメインブロックのインポート・エクスポートについてkmyblue独自の項目のサポート (#520)
* Fix: #374 拡張ドメインブロックのインポート・エクスポートについてkmyblue独自の項目が反映されない問題

* Fix test
2024-02-05 09:52:37 +09:00
KMY
7333390e88 Fix: リモートからの参照を無限に受け入れる問題 2024-02-02 09:05:53 +09:00
KMY
92ef42d697 Merge remote-tracking branch 'parent/main' into upstream-20240201 2024-02-01 11:32:27 +09:00
Eugen Rochko
fa0ba67753
Change materialized views to be refreshed concurrently to avoid locks (#29015) 2024-01-30 18:21:30 +00:00
Eugen Rochko
c4af668e5c
Fix follow recommendations for less used languages (#29017) 2024-01-30 17:24:40 +00:00
KMY
3dd9591a4b Merge remote-tracking branch 'parent/main' into upstream-20240126 2024-01-26 11:14:21 +09:00