instante-social/lib
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
2019-08-03 19:11:09 +02:00
..
assets
devise Fix wrong string being used on login failure when using LDAP (#8534) 2018-09-01 03:35:37 +02:00
generators Add post-deployment migration system (#8182) 2018-08-13 13:40:01 +02:00
json_ld Bump json-ld-preloaded from 3.0.2 to 3.0.3 (#11316) 2019-07-28 13:48:43 +02:00
mastodon Add option to exclude suspended domains/subdomains from tootctl domains crawl (#11454) 2019-08-03 19:11:09 +02:00
paperclip Fix converted media being saved with original extension and mime type (#11130) 2019-06-20 10:52:36 +02:00
tasks Add translators to AUTHORS.md (#9865) 2019-01-19 22:01:12 +01:00
templates Add post-deployment migration system (#8182) 2018-08-13 13:40:01 +02:00
cli.rb Add `tootctl preview_cards remove` (#11320) 2019-07-28 13:48:19 +02:00