discourse/spec/lib/middleware
Krzysztof Kotlarek c7cb7388c5
DEV: move crawler ASN list to hidden site setting (#39480)
Replaces the hardcoded `CrawlerDetection::CRAWLER_ASNS` constant with a
new hidden `crawler_asns` site setting, so the list can be adjusted at
runtime without a deploy while we experiment with ASN-based crawler
detection.

The default is temporarily scoped down to Baidu (AS55967) so we can
observe the impact in isolation before expanding to other providers.
2026-04-23 12:34:06 +08:00
..
anonymous_cache_spec.rb DEV: Fix AnonymousCache for pitchfork in dev/test modes (#37852) 2026-02-17 09:12:02 +00:00
crawler_hooks_spec.rb DEV: Check for setting prior to applying transformation on crawler view (#34478) 2025-08-22 14:17:45 +08:00
discourse_public_exceptions_spec.rb DEV: Don’t replace Rails logger in specs (#29721) 2024-11-13 08:47:39 +08:00
enforce_hostname_spec.rb DEV: Apply syntax_tree formatting to spec/* 2023-01-09 11:49:28 +00:00
overload_protections_spec.rb PERF: Reject anonymous requests with 503 upon aggressive queuing (#36519) 2025-12-18 10:23:42 +08:00
processing_request_spec.rb PERF: Reject anonymous requests with 503 upon aggressive queuing (#36519) 2025-12-18 10:23:42 +08:00
request_tracker_spec.rb DEV: move crawler ASN list to hidden site setting (#39480) 2026-04-23 12:34:06 +08:00