Commit graph

440 commits

Author SHA1 Message Date
KMY
32f5604499 Merge remote-tracking branch 'parent/main' into upstream-20250403 2025-04-03 08:36:36 +09:00
Matt Jankowski
b4e56822c7
Fix Style/MapToHash cop (#34327) 2025-03-31 14:08:02 +00:00
KMY
6548462ecb Merge commit '9c2d5b534f' into upstream-20250314 2025-03-14 08:35:27 +09:00
Jonny Saunders
46e13dd81c
Add Fetch All Replies Part 1: Backend (#32615)
Signed-off-by: sneakers-the-rat <sneakers-the-rat@protonmail.com>
Co-authored-by: jonny <j@nny.fyi>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Kouhai <66407198+kouhaidev@users.noreply.github.com>
2025-03-12 09:03:01 +00:00
KMY
a8e3749320 Fix lint 2025-02-25 08:46:31 +09:00
KMY
5d79bd078c Merge remote-tracking branch 'parent/main' into upstream-20240117 2025-01-17 16:29:11 +09:00
Matt Jankowski
50013b10a5
Add Status::Visibility concern to hold visibility logic (#33578) 2025-01-14 14:32:57 +00:00
KMY
055045981f Merge remote-tracking branch 'parent/main' into upstream-20241119 2024-11-19 08:49:55 +09:00
Matt Jankowski
477412d62a
Use hash arguments to select when possible (Rails 7.2) (#32917) 2024-11-18 14:58:45 +00:00
KMY
910eafda63 Merge remote-tracking branch 'parent/main' into upstream-20241113 2024-11-13 08:17:38 +09:00
Matt Jankowski
68b545ef33
Add Status.not_direct_visibility scope (#32065) 2024-11-07 10:32:33 +00:00
KMY
1c1f76697b Merge remote-tracking branch 'parent/main' into upstream-20241101 2024-11-01 08:04:03 +09:00
Jonny Saunders
9074c1fac9
Use likes and shares totalItems on status creations and updates (#32620) 2024-10-28 04:55:18 +00:00
KMY
fc9d27ff91 Merge remote-tracking branch 'parent/main' into upstream-20240913 2024-09-13 10:31:48 +09:00
Christian Schmidt
8cdc148167
Handle invalid visibility (#31571) 2024-09-12 13:29:55 +00:00
KMY
adee1645a3 Merge remote-tracking branch 'parent/main' into upstream-20240716 2024-07-16 09:01:12 +09:00
Claire
d41b43ed4f
Limit attachments to MEDIA_ATTACHMENTS_LIMIT when returning posts through the API (#30932) 2024-07-08 07:41:50 +00:00
KMY
13ad383039 Merge remote-tracking branch 'parent/main' into upstream-20240531 2024-05-31 08:27:09 +09:00
Eugen Rochko
128987eded
Add support for fediverse:creator OpenGraph tag (#30398) 2024-05-29 01:34:33 +02:00
Matt Jankowski
c61e356475
Add Status::MEDIA_ATTACHMENTS_LIMIT configuration constant (#30433) 2024-05-27 09:49:44 +00:00
KMY
89b71363ae Merge remote-tracking branch 'parent/main' into upstream-20240507 2024-05-07 08:05:04 +09:00
Claire
e5062b7135
Fix post deletion not being deferred when those are part of an account warning (#30163) 2024-05-06 09:52:34 +00:00
KMY
80789a603a Merge remote-tracking branch 'parent/main' into upstream-20240503 2024-05-03 11:17:22 +09:00
Matt Jankowski
88882fbbee
Move Rails/HABTM cop out of todo (#30118) 2024-05-02 09:40:05 +00:00
Matt Jankowski
ac7f4d57bb
Use composable query in Status.without_replies scope (#30086) 2024-04-29 09:55:37 +00:00
KMY(雪あすか)
f79fb3adae
Add: #483 特定の公開範囲を無効にするオプション (#712)
* Add: #483 特定の公開範囲を無効にするオプション

* Fix test partically

* Complete
2024-04-18 12:40:18 +09:00
KMY
51cf7b3eb4 Merge remote-tracking branch 'parent/main' into upstream-20240417 2024-04-17 12:51:32 +09:00
Matt Jankowski
caad1e2628
Add scope Status.distributable_visibility (#29950) 2024-04-16 13:16:54 +00:00
Matt Jankowski
3159c0a547
Add scope Status.list_eligible_visibility (#29951) 2024-04-16 09:17:03 +00:00
KMY(雪あすか)
1c054ed3a3
Add: #699 引用・参照対応サーバーをAPIで取得 (#711)
* Add: #699 引用・参照対応サーバーをAPIで取得

* Complete

* ごめん
2024-04-16 12:58:54 +09:00
KMY
52c5784910 Merge remote-tracking branch 'parent/main' into upstream-20240409 2024-04-09 12:15:51 +09:00
Claire
babbf6017d
Remove caching in cache_collection (#29862) 2024-04-08 13:46:13 +00:00
KMY
bef755a577 Merge remote-tracking branch 'parent/main' into upstream-20240401 2024-04-01 08:52:35 +09:00
Matt Jankowski
1d0a43f6a3
Use composable query in Status.not_domain_blocked_by_account scope (#29766) 2024-03-27 09:59:45 +00:00
KMY
48747d0fb2 Fix test 2024-03-19 10:17:34 +09:00
KMY
76598bd542 Merge remote-tracking branch 'parent/main' into upstream-20240319 2024-03-19 09:15:20 +09:00
Matt Jankowski
6c3e718b86
Remove setting of sensitive value (default false, not null) in Status model (#29589) 2024-03-14 13:56:59 +00:00
Matt Jankowski
0bc17a3d48
Use enum-generated public_visibility scope on Status (#28156) 2024-03-14 09:31:57 +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
a1f88f6001 Merge remote-tracking branch 'parent/main' into upstream-20240218 2024-02-18 14:39:40 +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(雪あすか)
c534c3d7fe
Add: #559 公開投稿を禁止する管理者設定 (#564) 2024-02-16 18:43:43 +09:00
KMY
9fa938eb0f Merge remote-tracking branch 'parent/main' into upstream-20240125 2024-01-25 18:15:21 +09:00
Matt Jankowski
9d413cbaf8
Fix Rails/WhereExists cop in app/models (#28863) 2024-01-24 09:57:49 +00:00
KMY
a4cc73438e Merge remote-tracking branch 'parent/main' into upstream-20240122 2024-01-22 10:07:33 +09:00
KMY(雪あすか)
989efcd78e
Remove: 現在使われていないドメインブロック無視設定のデッドコード (#476)
* Remove: 現在使われていないドメインブロック無視設定のデッドコード

* Refactoring

* Fix test
2024-01-19 08:39:58 +09:00
Matt Jankowski
aaa6f2e930
Group common class_name options in associations (#28779) 2024-01-18 12:29:41 +00:00
KMY(雪あすか)
d79b56bb86
Fix: フレンドサーバーにログインユーザーのみ投稿が配送されない問題 (#463) 2024-01-15 18:32:35 +09:00
KMY
e65fb9fb51 Merge remote-tracking branch 'parent/main' into upstream-20240112 2024-01-12 14:48:17 +09:00
KMY(雪あすか)
616d0c5267
Fix: タイムライン読み込み時のN+1問題 (#433) 2024-01-09 09:57:47 +09:00