You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/lib/mastodon
Darius Kazemi f96f45ef12 Add option to exclude suspended domains/subdomains from tootctl domains crawl (#11454)
* Add "--exclude-suspended" to tootctl domains crawl

This new option ignores any instances suspended server-wide as
well as their associated subdomains. This queries all domain
blocks up front, then runs a regexp on each domain. This improves
performance over what may be the obvious implementation, which is
to ask `DomainBlocks.blocked?(domain)` for each domain -- this
hits the DB many times, slowing things down considerably.

* cleaning up code style

* Compiling regex

* Removing ternary operator
6 years ago
..
accounts_cli.rb
cache_cli.rb
cli_helper.rb
domains_cli.rb Add option to exclude suspended domains/subdomains from tootctl domains crawl (#11454) 6 years ago
emoji_cli.rb Add categories for custom emojis (#11196) 6 years ago
feeds_cli.rb
media_cli.rb
migration_helpers.rb
premailer_webpack_strategy.rb
preview_cards_cli.rb Add `tootctl preview_cards remove` (#11320) 6 years ago
redis_config.rb
search_cli.rb
settings_cli.rb
snowflake.rb
statuses_cli.rb
version.rb Remove pre from version, add extra suffix variable (#11407) 6 years ago