mirror of
https://github.com/karant-dev/AutoRedact.git
synced 2026-04-26 00:05:52 +03:00
[PR #15] [MERGED] Add Global Allowlist for Safe IPs/Domains #19
Labels
No labels
bug
enhancement
enhancement
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AutoRedact#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/karant-dev/AutoRedact/pull/15
Author: @Copilot
Created: 12/12/2025
Status: ✅ Merged
Merged: 12/12/2025
Merged by: @karant-dev
Base:
main← Head:copilot/add-safe-values-allowlist📝 Commits (4)
f35146bInitial plandb23420Add Global Allowlist feature for safe IPs/domains51f8481Address code review feedback: improve accessibility and remove 0.0.0.0 from defaultsff9e2beMake remove buttons visible on mobile/touch devices📊 Changes
8 files changed (+231 additions, -27 deletions)
View changed files
📝
src/App.tsx(+8 -2)📝
src/components/Header.tsx(+17 -2)📝
src/components/SettingsDropdown.tsx(+110 -5)📝
src/constants/config.ts(+17 -0)📝
src/hooks/useDetectionSettings.ts(+28 -0)📝
src/hooks/useOCR.ts(+15 -7)📝
src/types/index.ts(+1 -0)📝
src/utils/ocr.ts(+35 -11)📄 Description
allowlisttoDetectionSettingstype with default safe values (127.0.0.1, localhost, local IP ranges, public DNS like 8.8.8.8, etc.)useDetectionSettingshook to manage allowlist state (add/remove entries, persist to localStorage)useOCRhook (filter detected matches)processImageForBatchfunctionSettingsDropdowncomponent to include allowlist UI (display, add, remove entries)Screenshots
Desktop
Mobile
Security Summary
No security vulnerabilities were found by CodeQL analysis.
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.