Commit graph

673 commits

Author SHA1 Message Date
Matt Jankowski
2ec9bff36e
Fix Rubocop Rails/UniqueValidationWithoutIndex cop (#27461)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-22 08:04:05 +00:00
KMY(雪あすか)
07c6d896e0
Merge pull request #691 from kmycode/upstream-20240403
Upstream 20240403
2024-04-03 18:21:00 +09:00
KMY
479c4fecc1 Merge remote-tracking branch 'parent/main' into upstream-20240403 2024-04-03 12:12:09 +09:00
KMY(雪あすか)
ff2860d0df
Change: #591 ホワイトリストのドメイン一覧の保存先・画面変更 (#689)
* Change: #591 ホワイトリストのドメイン一覧の保存先・画面変更

* Update account_batch.rb

* 表示まわりを改善

* Update dangerous.rake
2024-04-03 12:09:43 +09:00
KMY
ace193fda3 Merge remote-tracking branch 'parent/main' into upstream-20240327 2024-03-27 12:13:55 +09:00
Claire
de740dfb9c
Use upsert_all and insert_all to reduce back-and-forth in costly migrations (#29752) 2024-03-26 15:57:08 +00:00
KMY
6c9b221cb2 Merge remote-tracking branch 'parent/main' into upstream-20240326 2024-03-26 09:08:20 +09:00
KMY(雪あすか)
95ab1f729c
Change: #647 NGワードの入力フォーム (#663)
* Change: #647 NGワードの入力フォーム

* Wip: 画面改造

* テストコード、画面

* Fix: 複数の問題
2024-03-26 08:44:16 +09:00
Claire
dfa43707eb
Change AccountRelationshipSeveranceEvent model to store lost followers and following counts separately (#29714) 2024-03-22 15:44:31 +00:00
Claire
70a8fcf07d
Fix notification policy migration not preserving filter_private_mentions correctly (#29699) 2024-03-21 21:52:29 +00:00
Claire
954b470fbc
Fix error when attempting to delete posts that triggered a notification request (#29666) 2024-03-20 16:48:24 +00:00
Claire
d4449cc682
Fix account_relationship_severance_events unique indexes (#29665) 2024-03-20 16:08:34 +00:00
Claire
44bf7b8128
Add notifications of severed relationships (#27511) 2024-03-20 15:37:21 +00:00
KMY(雪あすか)
ed246f0d03
Change: #648 センシティブワードの入力フォーム (#653)
* Change: #648 センシティブワードの入力フォーム

* Wip: 行の追加削除

* Wip: 設定の保存、マイグレーション

* 不要な処理を削除

* マイグレーションコード調整
2024-03-19 08:18:34 +09:00
KMY
8e94ed2cec Merge remote-tracking branch 'parent/main' into upstream-20240308 2024-03-12 09:27:01 +09:00
Eugen Rochko
5b3a8737d6
Add hints for rules (#29539) 2024-03-11 08:57:07 +00:00
Eugen Rochko
e85a2aa18d
Fix interaction settings migration error when encountering no settings (#29529) 2024-03-08 09:10:07 +00:00
KMY
fa96bf2e87 Merge remote-tracking branch 'parent/main' into upstream-20240308 2024-03-08 08:08:34 +09:00
Eugen Rochko
50b17f7e10
Add notification policies and notification requests (#29366) 2024-03-07 14:53:37 +00:00
KMY(雪あすか)
76b24193c4
Remove: #608 ドメインブロック「リプライを拒否」 (#624) 2024-03-01 12:03:31 +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(雪あすか)
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
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(雪あすか)
dfc9f35d71
Add: #586 保留中のリモートアカウントからのフォローが飛んできた場合に記録する (#590)
* Add: #586 保留中のリモートアカウントからのフォローが飛んできた場合に記録する

* 本家に戻す処理を修正

* Fix test

* Fix worker link

* Fix test

* リモートアカウント拒否時に既存のリクエストを削除
2024-02-18 10:48:48 +09:00
KMY(雪あすか)
0f680a21b4
Add: ホワイトリスト運用時、承認待ちリモートアカウントの概念ならびに操作画面 (#584)
* Add: ホワイトリスト運用時、承認待ちリモートアカウントの概念ならびに操作画面

* Fix test

* Fix test
2024-02-17 21:07:37 +09:00
KMY(雪あすか)
e5ab4a3eb2
Add: #568 ハッシュタグ・メンション上限を超えた投稿もNGワード履歴に記録 (#579) 2024-02-17 12:16:41 +09:00
KMY(雪あすか)
7421c89431
Add: #545 NGワード指定で実際に除外された投稿のログ (#561) 2024-02-16 17:52:59 +09:00
KMY(雪あすか)
f8b32facb4
Fix: #540 emoji_reactionsテーブルのuriカラムへのインデックス設定時、重複を削除する処理 (#543) 2024-02-14 09:58:45 +09: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
Matt Jankowski
1e0b0a3486
Use SQL heredoc on long statement lines in migrations (#29112) 2024-02-06 16:42:25 +00:00
Matt Jankowski
dedefdc303
Move length value mapping to constant in ids to bigints migration (#29048) 2024-02-06 11:40:24 +00:00
Matt Jankowski
0bec5c0755
Remove migration base class switcher from RailsSettingsMigration (#29047) 2024-02-06 09:56:24 +00: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
KMY
9fa938eb0f Merge remote-tracking branch 'parent/main' into upstream-20240125 2024-01-25 18:15:21 +09:00
Eugen Rochko
5b1eb09d54
Add annual reports for accounts (#28693) 2024-01-24 09:38:10 +00:00
KMY
a4cc73438e Merge remote-tracking branch 'parent/main' into upstream-20240122 2024-01-22 10:07:33 +09:00
KMY(雪あすか)
8793bc286e
Add: #40 拡張ドメインブロックに「トレンドに掲載しない」を追加 (#492) 2024-01-22 09:06:05 +09:00
Matt Jankowski
f0b93ab02f
Use AR database_version in PG version checks in migrations (#28804) 2024-01-18 16:11:50 +00:00
KMY(雪あすか)
b0ce0a8dab
Fix: 過去のマイグレーションミスで生じたと思われる余分なテーブルとカラムを削除 (#470) 2024-01-17 11:34:02 +09:00
KMY
bd40486b00 Fix test 2024-01-12 15:06:18 +09:00
KMY
e65fb9fb51 Merge remote-tracking branch 'parent/main' into upstream-20240112 2024-01-12 14:48:17 +09:00
Matt Jankowski
ea1c0feb86
Remove add_column_with_default migration helper (#28654) 2024-01-10 10:35:06 +00:00
gunchleoc
173953c23e
Fix ISO code for Canadian French (#26015)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-09 10:56:13 +00:00
KMY(雪あすか)
7694c62bc6
Add: #437 ドメインブロックで「未ログインユーザーに非公開」の設定を「非公開」にコピーするマイグレーションコード (#439)
* Add: #437 ドメインブロックで「未ログインユーザーに非公開」の設定を「非公開」にコピーするマイグレーションコード

* Fix test for LTS

* Fix test
2024-01-09 16:19:23 +09:00
KMY
a0a3d1b101 Merge remote-tracking branch 'parent/main' into upstream-20230105 2024-01-05 10:01:36 +09:00
Matt Jankowski
ae39bed95b
Solve remaining db/*migrate* cops (#28579) 2024-01-04 16:40:28 +00:00