5 Commits

Author SHA1 Message Date
joaodunas 7a0d1e5e37 🔧 UPDATE: Enhanced wrangler.jsonc with routing configuration for leakhub.ai and added crons module import in api.d.ts for improved functionality. 2026-01-07 21:31:55 +00:00
2alf 427a047984 User-closed request cron job
1. Added `closedBy` field to schema which can be either "user" | "verification"
2. When user closes request => closedBy: "user"
3. When verification closes request => closedBy: "verification"
4. Cron only deletes requests where closedBy === "user" after 1 day

Reduces clustering in UI and database.
2025-12-24 21:36:56 +01:00
2alf f8352cfe5b XSS fix
- Bug:
xss vector in the "Target URL *" field on `/requests`.

- Fix:
added a regex validator on submition for http and https only for leaks.ts and requests.ts
2025-12-22 19:35:41 +01:00
joaodunas ebd62cdeae 🔧 OPTIMIZATION: Implemented batch fetching for user and leak data in queries to resolve N+1 query issues, enhancing performance across multiple functions. Updated App component to remove blocking auth loading pattern for improved user experience. 2025-12-21 14:45:43 +00:00
joaodunas 0ead24711a 🚀 Full overhaul of the app 2025-12-21 13:00:30 +00:00