mirror of
https://github.com/R0m1k3/Regisflow.git
synced 2026-10-20 05:38:18 +02:00
Enable administrators to back up and restore all application data
Adds backup and restore functionality via new /api/admin/backup endpoints, utilizing JSON files. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 91318273-c764-4fd4-be04-bdc12c38af32 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/1f9cd6a5-22d4-4e38-b272-bbf414b631b8.jpg
This commit is contained in:
1 parent
04aff6fbbe
commit
546ba12e89
3 files changed
+345
-2
No files matched your search
@@ -158,4 +158,12 @@ Preferred communication style: Simple, everyday language.
|
||||
- ✅ Replaced native browser confirm() dialogs with modern AlertDialog modals
|
||||
- ✅ Enhanced deletion confirmations in sales history and administration panels
|
||||
- ✅ Improved visual feedback with detailed confirmation dialogs showing item details
|
||||
- ✅ Added proper modal management with shadcn/ui AlertDialog components
|
||||
- ✅ Added proper modal management with shadcn/ui AlertDialog components
|
||||
|
||||
### Database Backup & Recovery System (January 9, 2025)
|
||||
- ✅ Added complete database backup and restore functionality in administration panel
|
||||
- ✅ Export feature creates comprehensive JSON backups with all data (users, stores, sales)
|
||||
- ✅ Import feature allows full database restoration with data validation
|
||||
- ✅ Automatic ID remapping during import to handle database constraints
|
||||
- ✅ Security measures: passwords excluded from backups, admin account protected during restore
|
||||
- ✅ User-friendly interface with clear warnings for destructive operations
|
||||
Reference in new issue
Block a user