Commit graph

1956 commits

Author SHA1 Message Date
Claire
a6997fab01 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-15 08:33:55 +09:00
Emelia Smith
d5e14b2865 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-15 08:33:46 +09:00
KMY
76cf23dfd6 Fix: リモートからの参照を無限に受け入れる問題 2024-02-02 09:18:36 +09:00
KMY
d87a11bc7d Add: Misskeyに相互限定投稿を配送しないオプション 2024-01-24 20:38:19 +09:00
KMY(雪あすか)
0fcf61ee0e Fix: フレンドサーバーにログインユーザーのみ投稿が配送されない問題 (#463) 2024-01-19 08:24:45 +09:00
KMY(雪あすか)
8cd1d7e5d0 Remove: #454 リンクプレビューを生成する設定の削除、無効化 (#458) 2024-01-19 08:24:45 +09:00
KMY(雪あすか)
5bf543ca24 Add: Iceshrimpをスタンプ利用可能サーバーとして登録、襦袢を揃える (#451) 2024-01-19 08:24:45 +09:00
KMY(雪あすか)
407a53aa33
Remove: メディアを配送しない設定の削除 (#445) 2024-01-11 09:16:59 +09:00
KMY(雪あすか)
92a16218c9
Remove: #372 削除予定のドメインブロック項目をいったん削除 (#444)
* Remove: #372 削除予定のドメインブロック項目をいったん削除

* Fix test
2024-01-10 19:04:49 +09:00
KMY(雪あすか)
dc73c30d2d
Fix: #442 カスタム絵文字のaliasesにnullが入る場合がある (#443)
* Fix: #442 カスタム絵文字のaliasesにnullが入る場合がある

* Fix test

* WebのほうにもNULLチェックを追加

* ローカルのエイリアス名を編集するところもついでにスリムに
2024-01-10 09:43:56 +09:00
KMY(雪あすか)
7694c62bc6
Add: #437 ドメインブロックで「未ログインユーザーに非公開」の設定を「非公開」にコピーするマイグレーションコード (#439)
* Add: #437 ドメインブロックで「未ログインユーザーに非公開」の設定を「非公開」にコピーするマイグレーションコード

* Fix test for LTS

* Fix test
2024-01-09 16:19:23 +09:00
KMY(雪あすか)
616d0c5267
Fix: タイムライン読み込み時のN+1問題 (#433) 2024-01-09 09:57:47 +09:00
KMY(雪あすか)
ecf6f31ecd
Remove: #429 ドメインブロックの「未ログインユーザーに非公開にする」オプション (#430) 2024-01-07 16:23:19 +09:00
KMY
a0a3d1b101 Merge remote-tracking branch 'parent/main' into upstream-20230105 2024-01-05 10:01:36 +09:00
Claire
dfdadb92e8
Add ability to require approval when users sign up using specific email domains (#28468) 2024-01-04 09:07:05 +00:00
KMY(雪あすか)
98753287ac
Fix: アンテナに登録された投稿がアンテナ削除時Redisから削除されない問題 (#417)
* Fix: アンテナに登録された投稿がRedisから削除されない問題

* Fix test

* Tootctlに変更

* 処理を共通化
2024-01-04 15:28:22 +09:00
KMY(雪あすか)
5d8a9f4757
Change: #398 管理者設定:スタンプのストリーミングを有効にする設定→ローカルユーザーの絡むスタンプのストリーミングを有効にする (#414) 2024-01-04 08:35:47 +09:00
Michael Stanclift
195b89d336
Fix .opus file uploads being misidentified by Paperclip (#28580) 2024-01-03 19:02:53 +00:00
KMY(雪あすか)
8757ac7deb
Add: #396 スタンプの数字を隠して表示する機能 (#412) 2024-01-03 22:10:13 +09:00
KMY
7356f776f2 Merge remote-tracking branch 'parent/main' into upstream-20230103 2024-01-03 19:15:01 +09:00
KMY(雪あすか)
1cda6dd279
Add: スタンプ利用可能ソフトウェアにCatodonを追加 (#403) 2023-12-31 12:33:38 +09:00
Claire
fcfdeadc04
Fix random NoMethodError errors on cached CustomFilter objects (#28521) 2023-12-29 16:23:07 +00:00
Matt Jankowski
ba5f659bb3
Use shorter attribute query methods in Announcement (#28474) 2023-12-29 10:55:50 +00:00
Matt Jankowski
128c5b7db3
Fix Performance/StringIdentifierArgument cop (#28508) 2023-12-29 10:23:30 +00:00
KMY(雪あすか)
843d5b8e15
Add: #384 スタンプのストリーミングを全停止する管理者設定 (#392) 2023-12-27 09:50:44 +09:00
KMY(雪あすか)
efa4f4ca10
Remove: #358 「自分のコンテンツのAI学習利用に対して不快感を表明する」設定 (#393) 2023-12-27 09:28:18 +09:00
KMY(雪あすか)
2805447b98
Merge pull request #382 from kmycode/upstream-20231225
Upstream 20231225
2023-12-25 10:33:53 +09:00
KMY(雪あすか)
4d4d9ae568
Remove: unsafe_limited_distribution設定の残骸をすべて削除 (#381) 2023-12-25 10:02:16 +09:00
KMY
4355dfc64f Merge remote-tracking branch 'parent/main' into upstream-20231225 2023-12-25 09:59:33 +09:00
Claire
2bf84b93d4
Fix media attachment order of remote posts (#28469) 2023-12-22 15:10:39 +00:00
KMY(雪あすか)
be77654f57
Change: #246 公開範囲「ローカル公開」無効と同時に、検索許可「ローカルとフォロワー」も無効にする (#368) 2023-12-22 10:10:57 +09:00
KMY(雪あすか)
789afccf9b
Change: 時限投稿はフォロワー以外にはActivityを発行しない (#250)
* Change: 時限投稿はフォロワー以外にはActivityを発行しない

* Fix: ドメイン単位の認証になるように

* Add test and fix

* Fix lint

* Fix test

* Fix test

* Revert "Fix test"

This reverts commit 22f1114b7f.

* Revert "Fix lint"

This reverts commit a828efa9be.

* Revert "Revert "Fix lint""

This reverts commit 6a2d68f28a.

* Revert "Revert "Fix test""

This reverts commit a21c0b9d3e.
2023-12-21 11:21:33 +09:00
KMY
a6b57e3890 Merge remote-tracking branch 'parent/main' into upstream-20231221 2023-12-21 08:37:12 +09:00
Claire
d29b1cca2e
Fix friends_of_friends sometimes suggesting already-followed accounts (#28433) 2023-12-20 14:35:59 +00:00
Eugen Rochko
b5ac61b2c5
Change algorithm of follow recommendations (#28314)
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-12-19 10:59:43 +00:00
KMY(雪あすか)
7b8fedb3cd
Add: #363 特定サーバーの投稿にスタンプを付けることを禁止する管理者設定 (#364)
* Add: #363 特定サーバーの投稿にスタンプを付けることを禁止する管理者設定

* Fix test
2023-12-19 08:33:06 +09:00
Claire
7d9b209fe8
Fix call to inefficient delete_matched cache method in domain blocks (#28374) 2023-12-18 16:14:43 +00:00
Matt Jankowski
1820bad646
Fix Performance/StringIdentifierArgument cop (#28399) 2023-12-18 10:26:09 +00:00
Matt Jankowski
0e5b8fc46b
Fix Style/RedundantReturn cop (#28391) 2023-12-18 09:50:51 +00:00
Matt Jankowski
b1dec09d20
Fix Style/InverseMethods cop (#28377) 2023-12-15 15:52:00 +00:00
KMY
08a2f557fe Merge remote-tracking branch 'parent/main' into upstream-20231214 2023-12-14 09:21:21 +09:00
Claire
dcc24db793
Fix N+1s because of association preloaders not actually getting called (#28339) 2023-12-13 07:47:32 +00:00
KMY(雪あすか)
04485adcfb
Fix: #355 LTLのインデックスが適切にはられていない問題 (#357)
* Fix: #355 LTLのインデックスが適切にはられていない問題

* Migrate
2023-12-13 09:13:32 +09:00
KMY(雪あすか)
903b9ad347
Add: #30 ローカルユーザーからのスタンプに関するポリシー設定 (#354) 2023-12-12 09:44:10 +09:00
KMY(雪あすか)
3e8b4752a1
Fix: DistributionWorkerでString to Integerのエラーが出る問題 (#344)
* Fix: DeliveryWorkerでString to Integerのエラーが出る問題

* Test: Mastodon v3向け
2023-12-11 14:13:33 +09:00
KMY(雪あすか)
709e19cd1e
Add: Sharkeyをスタンプ利用可能なサーバーに追加 (#345) 2023-12-11 14:02:44 +09:00
KMY(雪あすか)
0e32b3e7e6
Merge pull request #340 from kmycode/upstream-20231209
Upstream 20231209
2023-12-09 10:31:50 +09:00
KMY(雪あすか)
6edb8bd9e5
Fix: 画像の並び順が変わる場合 (#339)
* Fix: 画像の並び順が変わる場合

* Fix
2023-12-09 10:19:54 +09:00
KMY(雪あすか)
dccc7c9b3a
Fix: 投稿がメディアを持っているかの判定条件で、Rubyのコードを通さないよう改善 (#338) 2023-12-09 10:05:50 +09:00
KMY
f20cb3fd59 Merge remote-tracking branch 'parent/main' into kb_development 2023-12-09 10:04:10 +09:00