about summary refs log tree commit diff
path: root/spec/models/domain_block_spec.rb
AgeCommit message (Collapse)Author
2023-03-04Fabricator specs (#23925)Matt Jankowski
2023-02-22Enable Style/FrozenStringLiteralComment for specs (#23790)Nick Schonning
2023-02-20Autofix Rubocop RSpec/BeEq (#23740)Nick Schonning
2020-01-08Allow blocking TLDs, and fix TLD blocks not being editable (#12805)ThibG
Fixes #12795 It was already possible to create domain blocks for TLDs, but those weren't enforced, nor editable. This commit changes it so that they are enforced and editable.
2019-06-22Change domain blocks to automatically support subdomains (#11138)Eugen Rochko
* Change domain blocks to automatically support subdomains If a more authoritative domain is blocked (example.com), then the same block will be applied to a subdomain (foo.example.com) * Match subdomains of existing accounts when blocking/unblocking domains * Improve code style
2019-05-03Provide a link to existing domain block when trying to block an ↵ThibG
already-blocked domain (#10663) * When trying to block an already-blocked domain, provide a link to the block * Fix styling for links in flash messages * Allow blocks to be upgraded but not downgraded
2017-06-19Cover DomainBlock more (#3838)Akihiko Odaki (@fn_aki@pawoo.net)
2017-04-05add more tests to modelsSamy KACIMI
2016-11-16Localizations for most server-side stringsEugen Rochko
2016-10-09Adding domain blocksEugen Rochko