mirror of
https://github.com/plausible/analytics.git
synced 2024-12-28 12:01:39 +03:00
99fe03701e
* Add Ecto.Network dependency * Migration: Add ip block list table * If Cachex errors out, mark the cache as not ready * Add IPRule schema * Seed IPRules * Add Shields context module * Implement IPRuleCache * Start IPRuleCache * Drop blocklisted IPs on ingestion * Cosmetic rename * Add settings sidebar item * Consider IPRuleCache readiness on health checks * Fix typo * Implement IP blocklist live view * Update moduledocs * Extend contextual module tests * Convert IPRules LiveView into LiveComponent * Keep live flashes on the tabs view * Update changelog * Format * Credo * Remove garbage * Update drop reason typespecs * Update typespecs for cache keys * Keep track of who added a rule and when * Test if adding via LV prefills the updated_by tooltip * Update ecto_network dependency * s/updated_by/added_by * s/drop_blocklist_ip/drop_shield_rule_ip * Add docs link * s/Updated/Added
8 lines
187 B
Plaintext
8 lines
187 B
Plaintext
<%= live_render(@conn, PlausibleWeb.Live.Shields.Tabs,
|
|
session: %{
|
|
"site_id" => @site.id,
|
|
"domain" => @site.domain,
|
|
"remote_ip" => PlausibleWeb.RemoteIP.get(@conn)
|
|
}
|
|
) %>
|