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
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
Matt Jankowski
95da28d201
Add common ThreadingHelper
module for specs ( #29116 )
2024-02-07 14:53:29 +00:00
Claire
66dda7c762
Fix already-invalid reports failing to resolve ( #29027 )
2024-02-06 09:35:27 +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
92ef42d697
Merge remote-tracking branch 'parent/main' into upstream-20240201
2024-02-01 11:32:27 +09:00
Matt Jankowski
6d35a77c92
Combine repeated subjects in models/user
spec ( #28937 )
2024-01-26 16:22:44 +00:00
KMY
3dd9591a4b
Merge remote-tracking branch 'parent/main' into upstream-20240126
2024-01-26 11:14:21 +09:00
Matt Jankowski
42ab855b23
Add specs for Instance
model scopes and add with_domain_follows
scope ( #28767 )
2024-01-25 15:28:27 +00:00
Matt Jankowski
2866106ec1
Reduce factory creation in spec/models/account_statuses_cleanup_policy
( #28361 )
2024-01-25 13:37:25 +00:00
Matt Jankowski
6b6586f5d0
Add CustomFilterKeyword#to_regex
method ( #28893 )
2024-01-25 13:00:34 +00:00
KMY
54f5113b46
Merge remote-tracking branch 'parent/main' into upstream-20240124
2024-01-24 08:38:14 +09:00
Matt Jankowski
b0207d7757
Add coverage for Tag.recently_used
scope ( #28850 )
2024-01-23 09:10:11 +00:00
Matt Jankowski
18004bf227
Add Account.matches_uri_prefix
scope and use in activitypub/followers_synchronizations controller ( #28820 )
2024-01-22 13:55:37 +00:00
KMY
1771cb8cb4
Fix test
2024-01-22 10:31:03 +09: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
1480573c83
Add Account.auditable
scope, fix N+1 in admin/action_logs#index ( #28812 )
2024-01-19 01:39:30 +00:00
Matt Jankowski
d0b3bc23d7
Remove unused matches_domain
scopes on Account, DomainAllow, DomainBlock ( #28803 )
2024-01-18 16:11:04 +00:00
Matt Jankowski
07e10e3747
Combine assertions about same setup in Account#suspend!
spec ( #28787 )
2024-01-18 09:36:59 +00:00
KMY
2b51fabe9c
Merge remote-tracking branch 'parent/main' into upstream-20240118
2024-01-18 09:17:39 +09:00
Matt Jankowski
1b0cb3b54d
Announcement reactions query spec improvement and refactor ( #28768 )
2024-01-17 09:18:13 +00:00
Claire
98b5f85f10
Rename and refactor User#confirm!
to User#mark_email_as_confirmed!
( #28735 )
2024-01-15 18:04:58 +00:00
KMY(雪あすか)
90bd2a0f00
Merge pull request #462 from kmycode/upstream-20240115
...
Upstream 20240115
2024-01-15 19:58:03 +09:00
KMY(雪あすか)
aefe147c2b
Remove: #454 リンクプレビューを生成する設定の削除、無効化 ( #458 )
2024-01-15 12:27:20 +09:00
KMY
673e09d645
Merge remote-tracking branch 'parent/main' into upstream-20240115
2024-01-15 11:08:37 +09:00
Matt Jankowski
cd37048439
Move followable_by coverage to suggestions ( #28697 )
2024-01-12 09:11:34 +00:00
KMY
e65fb9fb51
Merge remote-tracking branch 'parent/main' into upstream-20240112
2024-01-12 14:48:17 +09:00
Matt Jankowski
8b26614fa7
Combine results include check in spec/models/account ( #28471 )
2024-01-11 16:17:45 +00:00
Matt Jankowski
0a7cff53c2
Add coverage for Account.followable_by
scope ( #28689 )
2024-01-11 09:30:29 +00:00
Matt Jankowski
543d7890fd
Use normalizes to prepare User
values ( #28650 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-10 13:36:06 +00:00
Matt Jankowski
00341c70ff
Use Sidekiq fake!
instead of inline!
in specs ( #25369 )
2024-01-10 11:06:58 +00:00
KMY(雪あすか)
dc73c30d2d
Fix : #442 カスタム絵文字のaliasesにnullが入る場合がある ( #443 )
...
* Fix : #442 カスタム絵文字のaliasesにnullが入る場合がある
* Fix test
* WebのほうにもNULLチェックを追加
* ローカルのエイリアス名を編集するところもついでにスリムに
2024-01-10 09:43:56 +09:00
Claire
10203bd57a
Clean up Setting
model and remove dead code ( #28661 )
2024-01-09 14:01:53 +00:00
Jean Boussier
1781849884
Inline what remains of the rails-settings-cached gem ( #28618 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-01-09 11:50:21 +00:00
Matt Jankowski
5dc634796a
Misc coverage improvements re: sidekiq/inline ( #28651 )
2024-01-09 09:40:08 +00:00
Matt Jankowski
e677eb164c
Remove unused Announcement#time_range?
( #28648 )
2024-01-08 15:26:30 +00:00
Matt Jankowski
3e43cd095c
Remove unused scope Announcement.without_muted
( #28645 )
2024-01-08 15:26:14 +00:00
Matt Jankowski
aa6d07dbd9
Use normalizes to prepare CustomEmoji domain
value ( #28624 )
2024-01-08 11:20:59 +00:00
Matt Jankowski
12bed81187
Add validation specs to CustomFilter
model ( #28600 )
2024-01-05 15:13:59 +00:00
KMY
4355dfc64f
Merge remote-tracking branch 'parent/main' into upstream-20231225
2023-12-25 09:59:33 +09:00
Matt Jankowski
bb8077e784
Fix RSpec/LetSetup
cop in models/account_status_cleanup_policy ( #28470 )
2023-12-22 15:29:50 +00:00
Matt Jankowski
e6e217fedd
Clean up tagged_with_*
Status specs, fix RSpec/LetSetup
cop ( #28462 )
2023-12-22 08:32:27 +00:00
Matt Jankowski
c753b1ad35
Clean up of RSpec/LetSetup
within spec/models
( #28444 )
2023-12-21 09:18:38 +00: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