Add ability to remove all URLs from a specific domain from both MongoDB and MeiliSearch databases.
Changes:
- Add deleteDocumentsByDomain() to web/server/lib/mongo.js (deletes by index field)
- Add deleteDocumentsByDomain() to web/server/lib/search.js (deletes by hostname filter)
- Add adminDeleteDomainController with confirmation dialog
- Add delete button next to each domain in admin view
- Add route /admin/delete-domain to web/server/index.js
Usage:
Go to /admin, find the domain in the "Not yet indexed pages by domain" list, click Delete. Confirm to remove all URLs from that domain from both databases.
Fixes #13
Add ability to remove all URLs from a specific domain from both MongoDB and MeiliSearch databases.
## Changes:
- Add deleteDocumentsByDomain() to web/server/lib/mongo.js (deletes by index field)
- Add deleteDocumentsByDomain() to web/server/lib/search.js (deletes by hostname filter)
- Add adminDeleteDomainController with confirmation dialog
- Add delete button next to each domain in admin view
- Add route /admin/delete-domain to web/server/index.js
## Usage:
Go to /admin, find the domain in the "Not yet indexed pages by domain" list, click Delete. Confirm to remove all URLs from that domain from both databases.
Fixes #13