cyberpanel/firewall
Master3395 3a78551762 Add export and import functionality for firewall rules
- Implemented `exportFirewallRules` method in `FirewallManager` to export custom firewall rules to a JSON file, excluding default rules.
- Added `importFirewallRules` method to handle the import of firewall rules from a JSON file, with validation and error handling.
- Updated `urls.py` to include routes for exporting and importing firewall rules.
- Created corresponding view functions in `views.py` to manage requests for exporting and importing rules.
- Enhanced the frontend with buttons for exporting and importing rules, along with appropriate loading and error handling in `firewall.js`.
- Updated the HTML template to include export/import buttons and loading indicators for better user experience.
2025-09-25 02:39:35 +02:00
..
migrations Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
static/firewall Add export and import functionality for firewall rules 2025-09-25 02:39:35 +02:00
templates/firewall Add export and import functionality for firewall rules 2025-09-25 02:39:35 +02:00
.DS_Store Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
EXPORT_IMPORT_FIREWALL_RULES.md Enhance CyberPanel with new features and improvements, including a file integrity verification system, IP blocking functionality, and support for resetting Apache and vHost configurations to default. Update documentation and guides for better user experience. Fix bandwidth reset issues and improve overall system stability. 2025-09-18 20:45:34 +02:00
__init__.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
admin.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
firewallManager.py Add export and import functionality for firewall rules 2025-09-25 02:39:35 +02:00
models.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
pluginManager.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
signals.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
tests.py Initial commit for v2.4.3 2025-08-01 14:56:30 +05:00
urls.py Add export and import functionality for firewall rules 2025-09-25 02:39:35 +02:00
views.py Add export and import functionality for firewall rules 2025-09-25 02:39:35 +02:00