Commit graph

1273 commits

Author SHA1 Message Date
KMY
45c5c7b055 Merge remote-tracking branch 'parent/main' into upstream-20240408 2024-04-08 07:44:47 +09:00
Matt Jankowski
b61ae28f8d
Separate methods for theme style and meta color tags (#29802) 2024-04-05 09:52:43 +00:00
Matt Jankowski
966d7f5bf9
Add missing snowflake range correction (#29841) 2024-04-04 11:33:17 +00:00
Jeong Arm
4045c069f8
Use public_visibility (#29847) 2024-04-04 07:31:30 +00:00
KMY
479c4fecc1 Merge remote-tracking branch 'parent/main' into upstream-20240403 2024-04-03 12:12:09 +09:00
Matt Jankowski
921c4c1273
Match comment style of FeedManager list/tags checks (#29639)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-04-02 14:07:31 +00:00
KMY
bef755a577 Merge remote-tracking branch 'parent/main' into upstream-20240401 2024-04-01 08:52:35 +09:00
Renaud Chaput
672c9f5f05
Change the theme-color value automatically when using a built-in theme (#29795) 2024-03-29 13:32:07 +00:00
KMY
ace193fda3 Merge remote-tracking branch 'parent/main' into upstream-20240327 2024-03-27 12:13:55 +09:00
Renaud Chaput
02ea161506
Support "system" theme setting (light/dark theme depending on user system preference) (#29748)
Co-authored-by: Nishiki Liu <hello@nshki.com>
2024-03-26 09:25:49 +00:00
KMY(雪あすか)
95ab1f729c
Change: #647 NGワードの入力フォーム (#663)
* Change: #647 NGワードの入力フォーム

* Wip: 画面改造

* テストコード、画面

* Fix: 複数の問題
2024-03-26 08:44:16 +09:00
KMY
76598bd542 Merge remote-tracking branch 'parent/main' into upstream-20240319 2024-03-19 09:15:20 +09:00
Matt Jankowski
d39d625561
Use inclusive range in ActivityTracker#get (#29413) 2024-03-14 21:21:01 +00:00
Matt Jankowski
2c0441acd7
Use rails built-in tag methods in TextFormatter.shortened_link (#28976) 2024-03-13 09:19:54 +00:00
Matt Jankowski
7e6eb64f1e
Use full snowflake range in admin/metrics classes (#29416) 2024-03-13 08:56:37 +00:00
KMY(雪あすか)
a8fbcb3fb6
Change: #532 ElasticSearch設定の外出し (#650)
* Change: #532 ElasticSearch設定の外出し

* バージョンチェック

* 起動時にエラー
2024-03-12 12:11:13 +09:00
KMY
8e94ed2cec Merge remote-tracking branch 'parent/main' into upstream-20240308 2024-03-12 09:27:01 +09:00
Matt Jankowski
a7284690fc
Add coverage for admin/metrics base classes, simplify subclass generation (#29527) 2024-03-11 09:16:19 +00:00
KMY(雪あすか)
0a3007a9b0
Add: 管理画面で特に負荷の大きい処理を無効にする環境変数 (#633) 2024-03-05 12:05:52 +09:00
KMY
42b5727723 Merge remote-tracking branch 'parent/main' into upstream-20240304 2024-03-04 10:37:41 +09:00
KMY(雪あすか)
76b24193c4
Remove: #608 ドメインブロック「リプライを拒否」 (#624) 2024-03-01 12:03:31 +09:00
Matt Jankowski
e1fcb02867
Align TagServersMeasure to use WITH query style similar to others (#29435) 2024-02-29 11:00:58 +00:00
KMY(雪あすか)
5646b4e1e6
Merge pull request #622 from kmycode/upstream-20240229
Upstream 20240229
2024-02-29 12:54:54 +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
4b5fc77b6e Merge remote-tracking branch 'parent/main' into upstream-20240229 2024-02-29 09:23:59 +09:00
KMY(雪あすか)
b2acc7dbb8
Add: #581 NGワード検出履歴を定期的に削除する処理 (#619)
* Add: #581 NGワード検出履歴を定期的に削除する処理

* マイグレーションコードを修正
2024-02-28 08:34:47 +09:00
Matt Jankowski
ea8e7f3e9d
Align TagServersMeasure query style with other classes (#29414) 2024-02-27 16:25:12 +00:00
Matt Jankowski
76d256138e
Wrap media attachment size calculation in COALESCE (#29415) 2024-02-27 11:52:37 +00:00
KMY(雪あすか)
9dd11117db
Add: #605 リモート投稿に適用するセンシティブワード設定 (#612) 2024-02-27 10:14:42 +09: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(雪あすか)
c35c13ffba
Add: ローカルからフォローされていない全てのアカウントからのフォローを拒否する設定 (#592)
* Add: ローカルからフォローされていない全てのアカウントからのフォローを拒否する設定

* Fix test

* Fix test
2024-02-18 11:39:09 +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(雪あすか)
28b15ab268
Fix: スパム対策のメンション数に、フェッチできなかったアカウント情報がカウントされない問題 (#582)
* Fix: スパム対策のメンション数に、フェッチできなかったアカウント情報がカウントされない問題

* ごめん
2024-02-17 15:15: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(雪あすか)
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(雪あすか)
7421c89431
Add: #545 NGワード指定で実際に除外された投稿のログ (#561) 2024-02-16 17:52:59 +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
9ef5c05ea0 Merge remote-tracking branch 'parent/main' into upstream-20241015 2024-02-15 08:37:59 +09: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
KMY(雪あすか)
f2fb829e63
Add: #518 コンテンツキャッシュについて、リアクションのあった投稿は削除しないオプション (#535)
* Add: #518 コンテンツキャッシュについて、リアクションのあった投稿は削除しないオプション

* Fix: 新規登録のテストが特定時刻で落ちる問題
2024-02-13 08:56:55 +09:00
KMY
05e52a09a8 Merge remote-tracking branch 'parent/main' into upstream-20230209 2024-02-09 12:53:59 +09:00
Claire
eff447a455
Rewrite signature verification using regexps and StringScanner (#29133) 2024-02-07 17:24:42 +00:00
Claire
7efc33b909
Move HTTP Signature parsing code to its own class (#28932) 2024-02-07 13:35:37 +00:00
KMY(雪あすか)
230c621843
Change: #457 サイレンスされているユーザーに、フォロー相手以外への絵文字リアクションを禁止 (#522) 2024-02-06 09:29:46 +09:00
KMY(雪あすか)
64a149b338
Fix: 投稿編集時にハッシュタグ拒否のドメインブロックが動作しない問題 (#519) 2024-02-05 09:07:51 +09:00
KMY
9a5f80c41d Merge remote-tracking branch 'parent/main' into kbtopic-fix-security 2024-02-02 07:38:19 +09:00