show running process in process viewer and add limiting to the notification system
This commit is contained in:
@@ -72,6 +72,46 @@
|
||||
Monitor clipboard content for keyword matches
|
||||
</label>
|
||||
<div class="mt-2 text-xs text-slate-500" id="keyword-hint"></div>
|
||||
|
||||
<!-- Anti-Spam Settings -->
|
||||
<div class="mt-4 pt-4 border-t border-slate-800">
|
||||
<h3 class="text-sm font-semibold text-slate-300">Anti-Spam Limits</h3>
|
||||
<p class="text-xs text-slate-500 mt-1">
|
||||
Block a keyword for a client when it fires too many times in a short window.
|
||||
</p>
|
||||
<div class="mt-3 grid grid-cols-1 sm:grid-cols-3 gap-3">
|
||||
<div>
|
||||
<label class="block text-xs text-slate-400 mb-1">Max hits before block</label>
|
||||
<input
|
||||
id="antispam-max-hits"
|
||||
type="number"
|
||||
min="1"
|
||||
max="10000"
|
||||
class="w-full rounded-lg bg-slate-950 border border-slate-800 text-slate-100 px-3 py-2 text-sm focus:outline-none focus:border-blue-500"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-xs text-slate-400 mb-1">Detection window (minutes)</label>
|
||||
<input
|
||||
id="antispam-window"
|
||||
type="number"
|
||||
min="1"
|
||||
max="1440"
|
||||
class="w-full rounded-lg bg-slate-950 border border-slate-800 text-slate-100 px-3 py-2 text-sm focus:outline-none focus:border-blue-500"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<label class="block text-xs text-slate-400 mb-1">Cooldown (minutes)</label>
|
||||
<input
|
||||
id="antispam-cooldown"
|
||||
type="number"
|
||||
min="1"
|
||||
max="1440"
|
||||
class="w-full rounded-lg bg-slate-950 border border-slate-800 text-slate-100 px-3 py-2 text-sm focus:outline-none focus:border-blue-500"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Per-user Webhook Delivery -->
|
||||
|
||||
Reference in New Issue
Block a user