KMY(雪あすか)
bfa1700909
Fix : #959 NGルールで絵文字リアクションを拒否した場合、自分のサーバーのカスタム絵文字は常に拒否される ( #963 )
...
* Fix : #959 NGルールで絵文字リアクションを拒否した場合、自分のサーバーのカスタム絵文字は常に拒否される
* Fix test
* Fix test
2025-01-28 12:22:20 +09:00
KMY
d35fa72842
Merge remote-tracking branch 'parent/main' into upstream-20240109
2025-01-09 13:20:56 +09:00
Matt Jankowski
7cbdcd7b3f
Add role-specific user fabricators ( #33437 )
2025-01-03 08:28:14 +00:00
KMY
951fe226c8
Fix test
2024-09-09 07:46:44 +09: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
8b09a57a91
Merge remote-tracking branch 'parent/main' into upstream-20240731
2024-07-31 13:00:13 +09:00
Emelia Smith
c40e481169
Implement UI for Admin Search of Hashtags ( #30880 )
2024-07-29 15:49:44 +00:00
KMY
adee1645a3
Merge remote-tracking branch 'parent/main' into upstream-20240716
2024-07-16 09:01:12 +09:00
Matt Jankowski
f1300ad284
Rename jobs/attachments rspec tag names ( #29762 )
2024-07-08 16:01:08 +00:00
KMY
90f2ea9015
Merge remote-tracking branch 'parent/main' into upstream-20240610
2024-06-10 08:19:27 +09:00
Matt Jankowski
a662c6d1d8
Use sidekiq_inline
in admin/account_action model spec ( #30565 )
2024-06-06 14:12:58 +00:00
KMY
c4017eb993
Merge remote-tracking branch 'parent/main' into upstream-20240426
2024-04-26 09:16:08 +09:00
Claire
4ef0b48b95
Add in-app notifications for moderation actions/warnings ( #30065 )
2024-04-25 17:26:05 +00:00
KMY(雪あすか)
95ab1f729c
Change: #647 NGワードの入力フォーム ( #663 )
...
* Change: #647 NGワードの入力フォーム
* Wip: 画面改造
* テストコード、画面
* Fix: 複数の問題
2024-03-26 08:44:16 +09:00
KMY(雪あすか)
ed246f0d03
Change: #648 センシティブワードの入力フォーム ( #653 )
...
* Change: #648 センシティブワードの入力フォーム
* Wip: 行の追加削除
* Wip: 設定の保存、マイグレーション
* 不要な処理を削除
* マイグレーションコード調整
2024-03-19 08:18:34 +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
Matt Jankowski
00341c70ff
Use Sidekiq fake!
instead of inline!
in specs ( #25369 )
2024-01-10 11:06:58 +00:00
Matt Jankowski
973597c6f1
Consolidate configuration of Sidekiq::Testing.fake!
setup ( #28046 )
2023-11-23 09:43:43 +00:00
Matt Jankowski
49e2772064
Fix RSpec/MessageSpies
cop ( #27751 )
2023-11-07 09:46:28 +00:00
Daniel M Brasil
d9c6f70cc6
Fix ArgumentError
in /api/v1/admin/accounts/:id/action
( #25386 )
2023-06-14 15:21:36 +02:00
Matt Jankowski
d2e5430d4a
Fix RSpec/ExpectChange cop ( #25101 )
2023-05-24 11:23:40 +02:00
Matt Jankowski
c97b611b6b
Fix RSpec/InferredSpecType cop ( #24736 )
2023-05-04 05:49:53 +02:00
Matt Jankowski
710745e16b
Fix RSpec/ContextWording cop ( #24739 )
2023-05-04 05:49:08 +02:00
Matt Jankowski
688287c59d
Coverage improvement round-out following up previous work ( #23987 )
2023-03-10 13:33:30 +01: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
bd1d57c230
Autofix Rubocop RSpec/EmptyLineAfterSubject ( #23719 )
2023-02-20 02:46:00 +01:00
Eugen Rochko
44b2ee3485
Add customizable user roles ( #18641 )
...
* Add customizable user roles
* Various fixes and improvements
* Add migration for old settings and fix tootctl role management
2022-07-05 02:41:40 +02:00
Claire
e38fc319dc
Refactor and improve tests ( #17386 )
...
* Change account and user fabricators to simplify and improve tests
- `Fabricate(:account)` implicitly fabricates an associated `user` if
no `domain` attribute is given (an account with `domain: nil` is
considered a local account, but no user record was created), unless
`user: nil` is passed
- `Fabricate(:account, user: Fabricate(:user))` should still be possible
but is discouraged.
* Fix and refactor tests
- avoid passing unneeded attributes to `Fabricate(:user)` or
`Fabricate(:account)`
- avoid embedding `Fabricate(:user)` into a `Fabricate(:account)` or the other
way around
- prefer `Fabricate(:user, account_attributes: …)` to
`Fabricate(:user, account: Fabricate(:account, …)`
- also, some tests were using remote accounts with local user records, which is
not representative of production code.
2022-01-28 00:46:42 +01:00
Takeshi Umeda
d6fe0c94ca
Add account sensitized ( #14361 )
...
* Add account sensitized
* Fix i18n normalize
* Fix description and spec
* Fix spec
* Fix wording
2020-11-04 20:45:01 +01:00
Eugen Rochko
73ca0bb925
Add option to include reported statuses in warning e-mail ( #11639 )
2019-08-23 22:37:23 +02:00
ysksn
c059999ab3
Add a spec for Admin::ActionLog ( #9775 )
2019-01-11 07:28:09 +00:00
ysksn
09c3c96607
Add specs for Admin::AccountAction ( #9767 )
2019-01-11 07:26:03 +00:00
Eugen Rochko
3c033c4352
Add moderation warnings ( #9519 )
...
* Add moderation warnings
Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.
Additionally, there are warning presets you can configure to save
time when performing the above.
* Use Account#local_username_and_domain
2018-12-22 20:02:09 +01:00
aus-social
1f98eae1cf
Lint pass ( #8876 )
2018-10-04 12:36:53 +02:00
Eugen Rochko
e84fecb7e9
Add logging of admin actions ( #5757 )
...
* Add logging of admin actions
* Update brakeman whitelist
* Log creates, updates and destroys with history of changes
* i18n: Update Polish translation (#5782 )
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* Split admin navigation into moderation and administration
* Redesign audit log page
* 🇵🇱 (#5795 )
* Add color coding to audit log
* Change dismiss->resolve, log all outcomes of report as resolve
* Update terminology (e-mail blacklist) (#5796 )
* Update terminology (e-mail blacklist)
imho looks better
* Update en.yml
* Fix code style issues
* i18n-tasks normalize
2017-11-24 02:05:53 +01:00