KMY
055045981f
Merge remote-tracking branch 'parent/main' into upstream-20241119
2024-11-19 08:49:55 +09:00
Matt Jankowski
03ee08c2da
Use nil
instead of false
for datetime value in spec ( #32926 )
2024-11-18 09:31:25 +00:00
KMY
910eafda63
Merge remote-tracking branch 'parent/main' into upstream-20241113
2024-11-13 08:17:38 +09:00
Matt Jankowski
884bbf7ae2
Prepare the way for banning a bunch of usernames ( #32856 )
2024-11-12 15:43:55 +00:00
Matt Jankowski
c78dc23b49
Move account sensitize-related methods to concern ( #28865 )
2024-11-11 13:08:23 +00:00
Matt Jankowski
d033920b7e
Move account silence-related methods to concern ( #28866 )
2024-11-11 08:29:55 +00:00
KMY
0c99b8fbb0
Merge remote-tracking branch 'parent/main' into upstream-20241026
2024-10-26 10:41:00 +09:00
Matt Jankowski
2e3bbb6861
Move account suspension related coverage to concern spec ( #32432 )
2024-10-25 07:58:41 +00:00
KMY
f18eabfe75
Merge remote-tracking branch 'parent/main' into upstream-20240906
2024-09-06 08:42:24 +09:00
Matt Jankowski
f1003b2560
Enable "zero monkey patching" mode in RSpec ( #31614 )
2024-09-04 05:12:25 +00:00
KMY
44f4a93430
Merge remote-tracking branch 'parent/main' into upstream-20240422
2024-04-22 08:58:37 +09:00
Matt Jankowski
6fed108703
Use Rails upsert
to generate update_count! query in Counters concern ( #28738 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-04-17 08:16:51 +00:00
KMY
8e94ed2cec
Merge remote-tracking branch 'parent/main' into upstream-20240308
2024-03-12 09:27:01 +09:00
Jeong Arm
4a6ddbc9c0
Normalize idna domain before account unblock domain ( #29530 )
2024-03-11 09:28:08 +00: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
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
Matt Jankowski
1820bad646
Fix Performance/StringIdentifierArgument
cop ( #28399 )
2023-12-18 10:26:09 +00:00
KMY
94c2396a34
Merge remote-tracking branch 'parent/main' into upstream-20231204
2023-12-04 12:04:52 +09:00
Matt Jankowski
5631f139c1
Fix Lint/SymbolConversion
cop ( #28175 )
2023-12-01 15:53:35 +00:00
Matt Jankowski
440b80b2e7
Model concerns organization into module namespaces ( #28149 )
2023-12-01 11:00:41 +00:00
KMY
bfc7b0101d
Merge remote-tracking branch 'parent/main' into upstream-20231110
2023-11-10 09:02:03 +09:00
Matt Jankowski
63c9102f8a
Fix RSpec/MessageChain
cop ( #27776 )
2023-11-09 12:57:23 +00:00
KMY
fc1b280d59
Merge remote-tracking branch 'parent/main' into upstream-20231109
2023-11-09 12:33:50 +09:00
Matt Jankowski
69d00e2721
Fix RSpec/InstanceVariable
cop ( #27766 )
2023-11-08 15:42:30 +00:00
KMY
08f86bcb8f
Merge commit ' 389a6cc4c0
' into upstream-20231108
2023-11-08 10:41:10 +09:00
Matt Jankowski
49e2772064
Fix RSpec/MessageSpies
cop ( #27751 )
2023-11-07 09:46:28 +00:00
KMY
acb29e5b11
Test: 参照コンテキスト取得
2023-10-08 19:14:41 +09:00
KMY
af44c20d50
Add circle/mutuals test
2023-09-11 17:08:12 +09:00
jsgoldstein
30c191aaa0
Add new public status index ( #26344 )
...
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2023-08-24 16:40:04 +02:00
Matt Jankowski
4c5aa0e470
Update rubocop-rspec to version 2.22.0, fix RSpec/IndexedLet
cop ( #24698 )
2023-06-14 16:44:37 +02:00
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop ( #24739 )
2023-05-04 05:49:08 +02:00
Claire
1e75eb690d
Fix own posts not getting delivered to own lists ( #24810 )
2023-05-03 19:17:40 +02:00
Matt Jankowski
3df665fd23
Fix Lint/ConstantDefinitionInBlock cop ( #24763 )
2023-05-03 10:32:30 +02:00
Claire
6693a4fe7c
Change lists to be able to include accounts with pending follow requests ( #19727 )
2023-05-02 14:40:36 +02:00
Nick Schonning
84cc805cae
Enable Style/FrozenStringLiteralComment for specs ( #23790 )
2023-02-22 09:55:31 +09:00
Nick Schonning
717683d1c3
Autofix Rubocop remaining Layout rules ( #23679 )
2023-02-20 06:58:28 +01:00
Nick Schonning
4552685f6b
Autofix Rubocop RSpec/LeadingSubject ( #23670 )
2023-02-20 13:24:14 +09:00
Nick Schonning
38a1d8bb85
Autofix Rubocop RSpec/ImplicitSubject ( #23721 )
2023-02-20 05:00:48 +01:00
Nick Schonning
65ba0d92ef
Enable Rubocop RSpec/NotToNot ( #23723 )
2023-02-20 02:33:27 +01:00
Nick Schonning
b4cbfff3eb
Autofix Rubocop RSpec/ExcessiveDocstringSpacing ( #23666 )
2023-02-18 12:47:37 +01:00
Nick Schonning
54318dcd6d
Autofix Rubocop RSpec/ClassCheck ( #23685 )
2023-02-18 03:24:16 +01:00
Nick Schonning
669f6d2c0a
Run rubocop formatting except line length ( #23632 )
2023-02-18 06:56:20 +09:00
Nick Schonning
68b1071f86
Autofix Rubocop RSpec/BeNil ( #23653 )
2023-02-17 21:45:27 +09:00
Nick Schonning
ed570050c6
Autofix Rails/EagerEvaluationLogMessage ( #23429 )
...
* Autofix Rails/EagerEvaluationLogMessage
* Update spec for debug block syntax
2023-02-07 03:44:36 +01:00
Eugen Rochko
50948b46aa
Add ability to filter followed accounts' posts by language ( #19095 )
2022-09-20 23:51:21 +02:00
Takeshi Umeda
17f4e457b3
Add remove from followers api ( #16864 )
...
* Add followed_by? to account_interactions
* Add RemoveFromFollowersService
* Fix AccountBatch to use RemoveFromFollowersService
* Add remove from followers API
2021-10-18 12:02:35 +02:00
Claire
5efb1ff337
Fix followers synchronization mechanism not working when URI has empty path ( #16510 )
...
* Fix followers synchronization mechanism not working when URI has empty path
To my knowledge, there is no current implementation on the fediverse
that can use bare domains (e.g., actor is at https://example.org instead of
something like https://example.org/actor ) that also plans to support the
followers synchronization mechanism. However, Mastodon's current implementation
would exclude such accounts from followers list.
Also adds tests and rename them to reflect the proper method names.
* Move url prefix regexp to its own constant
2021-08-11 17:48:42 +02:00
Claire
741d0952b1
Improve account counters handling ( #15913 )
...
* Improve account counters handling
* Use ActiveRecord::Base::sanitize_sql to pass values instead of interpolating them
Keep using string interpolation for `key` as it is safe and using
“ActiveRecord::Base::sanitize_sql_hash_for_assignment” would require stitching
bits of SQL in a way that is not more easily checked for safety.
* Add migration hook to catch PostgreSQL versions earlier than 9.5
2021-03-19 13:14:57 +01:00