0
0
instrumental/lib/mastodon
tateisu 370e38ee15
Add tootctl email-domain-blocks (#13589)
* Add tootctl email_domains (block|unblock)

* fix codeclimate issues.

* fix codeclimate issues.

* fix codeclimate issues.

* add list subcommand, remove log_action.

* fix codeclimate issues.

* filter duplicate hostnames,ips before block

* rebase from currnet master branch.
rename email_domains_cli.rb to email_domain_blocks_cli.rb .
rename Mastodon::EmailDomainsCLI to Mastodon::EmailDomainBlocksCLI .
rename command email_domains to email-domain-blocks . (Thor recognizes both of - and _ )
rename subcommand block to add .
rename subcommand unblock to remove .
change the color in list subcommand to while for domain or cyan for childlen.
don't use include() in list subcommand.
suppress console output about succeeded entry.
add console output about count of processed/skipped.
remove capitalization in subcommand description.
remove long_desc in subcommand 'remove'.
remove duplicate where in subcommand 'remove'.

* fix codeclimate issue.
2020-06-25 12:17:10 +02:00
..
accounts_cli.rb Add --reset-password option to tootctl accounts modify (#13126) 2020-02-22 01:29:14 +01:00
cache_cli.rb Change tootctl to use inline parallelization instead of Sidekiq (#11776) 2019-09-10 13:48:48 +02:00
cli_helper.rb Add separate cache directory for non-local uploads (#12821) 2020-04-26 23:29:08 +02:00
domains_cli.rb Change tootctl domains purge to accept multiple domains at once (#12046) 2019-10-02 04:49:53 +02:00
email_domain_blocks_cli.rb Add tootctl email-domain-blocks (#13589) 2020-06-25 12:17:10 +02:00
emoji_cli.rb Add tootctl emoji export (#13534) 2020-04-27 22:17:49 +02:00
feeds_cli.rb Fix tootctl not allocating enough database connections for main thread (#12097) 2019-10-07 05:05:02 +02:00
media_cli.rb Fix tootctl media remove-orphans choking on unknown files in storage (#13765) 2020-05-15 18:41:27 +02:00
migration_helpers.rb Do not suggest to login into the GitLab database (#13084) 2020-02-15 12:52:57 +01:00
premailer_webpack_strategy.rb ASSET_HOST is wrong env variable. Fix to CDN_HOST (#6372) 2018-01-29 01:06:39 +01:00
preview_cards_cli.rb Change tootctl to use inline parallelization instead of Sidekiq (#11776) 2019-09-10 13:48:48 +02:00
redis_config.rb Fix installation failing when Redis password contains special characters (#13156) 2020-02-29 03:00:43 +01:00
search_cli.rb Add parallelization to tootctl search deploy (#12051) 2019-10-02 21:50:43 +02:00
settings_cli.rb Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
snowflake.rb Fixes/do not override timestamps (#7336) 2018-05-03 23:02:46 +02:00
statuses_cli.rb Add --skip-media-remove option to tootctl statuses remove (#13080) 2020-03-08 16:01:07 +01:00
upgrade_cli.rb Fix tootctl upgrade storage-schema S3 ACL (#13768) 2020-05-17 17:27:36 +02:00
version.rb Bump version to 3.1.4 (#13750) 2020-05-14 07:46:11 +02:00