Commit Graph
4 Commits
Author SHA1 Message Date
Yogesh Ojha c9ba856ea7 imorove app sidebar 2026-09-02 13:04:50 +05:30
Yogesh Ojha c58aca0b1d fix(targets,scans): cascade target delete + checkbox click + scan bulk actions
- Target delete failed when scan data existed: scans.target_id and
  activity_logs.target_id FKs had no ON DELETE rule. Add ondelete CASCADE
  (scans) / SET NULL (activity_logs) to the models + a migration that
  alters the existing constraints. Deleting a target now cascades its
  scans (and their subdomains/activities/commands) and nulls audit-log refs.
- Targets list: clicking the row checkbox bubbled to the row and navigated
  to the target summary. Wrap the checkbox in a stopProp container.
- Scan history: add per-row + select-all checkboxes and a bulk action bar
  (cancel running / delete selected) mirroring the targets pattern, backed
  by scansStore.removeMany/cancelMany.
2026-06-24 08:22:11 +05:30
Yogesh Ojha 69239333bc Refactor validation and DNS tools, implementation of onboarding wizard
- Added `clean_name` function to `validation.py` for name validation with max length.
- Simplified docstrings in `dnsx` client, parser, and service files for clarity.
- Enhanced error handling in `ViewDNSService` to prevent disabling keys on rate limits.
- Improved WHOIS service to handle concurrent inserts gracefully with integrity checks.
- Updated `Settings` class in worker config to inherit from `BaseAppSettings`.
- Added new dependencies in `pyproject.toml` for `apprise` and `cryptography`.
2026-06-21 21:56:20 +05:30
Yogesh Ojha 08965b98ca add activity log model, service, and enums for structured logging 2026-02-21 18:23:50 +05:30