Commit Graph

76 Commits (6b24e8d39ee479ac5649b01bc30f6626eee066a5)

Author SHA1 Message Date
Aidaho 6b24e8d39e v7.3.1.0: Remove OpenVPN code and update error handling in alert system
This commit removes unneeded OpenVPN related code and improves error handling in the alert system. All OpenVPN related functions and html files have been removed. Also, changes are made in the alerting module to raise exceptions instead of returning error messages, which provides a more pythonic way of error handling.
2024-06-17 16:09:34 +03:00
Aidaho 112ecd5ce6 v7.3.1.0: Refactor and optimize server applications for better error handling and accuracy
The code changes focus on enhancing the server application's functionality by improving the error handling mechanism and streamlining the logic. Modifications include refining how servers get created, updated, and deleted, optimizing how ssh related actions are performed, and ensuring more accurate server scanning. The changes help reduce potential errors and make the application more efficient.
2024-06-16 22:54:41 +03:00
Aidaho ea8e51ee29 v7.3.1.0: Refactor server-side code to use JSON-based APIs
The commit refactors the server-side modules of the Roxy-WI web interface to use JSON-based APIs for improved data exchange. Specifically, methods for user, group and SSH management have been updated to accept and return JSON data. Simultaneously, error handling is improved to give more informative responses instead of plain strings. The client-side JavaScript code is also refactored to accommodate these changes. Additionally, some minor corrections are made in the UI templates.
2024-06-16 19:20:18 +03:00
Aidaho 9c5bc5ca4b v7.3.1.0: Refactor error handling and improve README.md readability
The error handling has been refactored in the Roxywi overview and routes files to raise and return more comprehensive exceptions. Unnecessary commented out JSON parsing code in the service installation file has been removed for better code clarity. Aside from these, various minor grammar and formatting fixes have been made to the README.md to improve readability.
2024-06-16 12:27:47 +03:00
Aidaho 4e16398f2a v7.3.0.1
https://roxy-wi.org/changelog#7_3_1
2024-06-16 08:02:08 +03:00
Aidaho be262b0e88 v7.3.0.0: Refactor check_user_group_for_flask function and improve error handling
Introduced an optional parameter in check_user_group_for_flask function to accept API tokens and return if it is provided. Enhanced error handling in get_all_statuses function in api_funct.py to catch and inform specific exceptions instead of returning a generic error message. Minor cleanups and import optimizations in other modules.
2024-06-06 08:53:11 +03:00
Aidaho 7d47e94160 v7.3.0.0
https://roxy-wi.org/changelog#7_3
2024-06-05 10:20:43 +03:00
Aidaho e5106db5ba v7.2.5.0: Add exception handling and remove commented code
This commit applies exception handling for the network operations methods and removes unused/commented-out code. The added exception handling checks for incorrect input to nettools methods and raises explicit exceptions with descriptive messages. This dramatically simplifies the debugging process, providing better visibility into runtime errors.
2024-05-19 20:14:09 +03:00
Aidaho 27494d631a v7.2.5.0: Update ansible_status with dynamic service name
In the install/routes.py, the 'run_ansible' method call in the 'install' function has been updated to dynamically pass the 'service' name, resulting in a more flexible and adaptable code. Previously, it was hardcoded to run only the 'waf_service', which limited its usage.
2024-05-18 13:47:53 +03:00
Aidaho c6b2085938 v7.2.5.0: Refactor WAF installation process for better error handling
The code for the WAF installation process has been refactored to improve error handling. The `service_mod.generate_waf_inv` function is now called with `service` instead of hardcoded service names, and error messages are now more descriptive. Additionally, the Ansible role file for WAF has been renamed from `waf.yml` to `waf_haproxy.yml` to better represent its role.
2024-05-18 10:16:27 +03:00
Aidaho c56d105ef5 v7.2.5.0: Refactor execution of group changes in user settings
This commit streamlines the way user group data is handled, both in scripts and server-side logic. The group settings URL has been simplified and the logic for updating user groups also has been optimized. Eliminated unnecessary checks in the user.py module, and updated the routing logic for group data to utilize a single route with HTTP GET and PUT methods. Removed unsuccessful group changing errors.
2024-05-15 21:35:38 +03:00
Aidaho 88471af613 v7.2.6.0
https://roxy-wi.org/changelog#7_2_6
2024-05-15 15:38:05 +03:00
Aidaho a5174a152d v7.2.5.0
Fix interface bugs
2024-05-13 12:08:51 +03:00
Aidaho 54ca0f73f0 v7.2.5.0: Add middleware to get user params in create methods
This commit adjusts the 'create_user' and 'create_server' routes to include a decorator for getting user parameters. This will improve the handling of these methods, ensuring they receive any necessary user specific parameters.
2024-05-03 19:58:43 +03:00
Aidaho b66c4d0793 v7.2.5.0
https://roxy-wi.org/changelog#7_2_5
2024-05-03 15:22:58 +03:00
Aidaho b205d47372 v7.2.4.0
https://roxy-wi.org/changelog#7_2_4
2024-04-17 11:06:29 +03:00
Aidaho f17fec9403 v7.2.2.0: Add timezone support to WAF rule configuration
The update adds timezone handling for web application firewall (WAF) rule configurations using roxy_wi_tools.GetDate method. This provides flexibility to manage configurations based on the specified timezone in SQL setting.
2024-04-05 10:20:16 +03:00
Aidaho 8c28c5128c v7.2.2.0
https://roxy-wi.org/changelog#7_2_2
2024-04-04 14:30:07 +03:00
Aidaho 715187b075 v7.2.2.0
Add new deps
2024-03-18 09:36:13 +03:00
Aidaho c7570ec4bd v7.2.2.0
https://roxy-wi.org/changelog#7_2_2
2024-03-17 09:38:00 +03:00
Aidaho 666fc39e1d v7.2.1.0
SQL fixes
2024-03-04 09:34:24 +03:00
Aidaho d1a81f937b v7.2.1.0
https://roxy-wi.org/changelog#7_2_1
2024-03-03 10:11:48 +03:00
Aidaho c0d667547f v7.2.0.0
Small fix interface for SMON
2024-03-01 11:40:58 +03:00
Aidaho 392e4f4465 v7.2.0.0
SMON agent fixes
2024-02-24 21:07:18 +03:00
Aidaho 447739c644 v7.2.0.0
Small bugs fix
2024-02-24 11:05:31 +03:00
Aidaho 2b1f3b647a v7.2.0.0
Remove service check decorator from action_service route

The `check_services` decorator was removed from the `action_service` route in the file 'app/routes/service/routes.py'. This change simplifies the code and avoids unnecessary service checks when performing actions on a service.
2024-02-18 11:40:17 +03:00
Aidaho af25700ede v7.2.0.0
Small logging fixes
2024-02-17 15:28:34 +03:00
Aidaho 8030a69a05 v7.2.0.0
Additionally, import paths were corrected in the Python file 'app/routes/install/routes.py'. Error handling was improved in the 'install_service' function to return details of any encountered exceptions.
2024-02-16 20:47:02 +03:00
Aidaho f981819505 v7.2.0.0
Changelog: https://roxy-wi.org/changelog#7.2.0
2024-02-16 09:50:27 +03:00
Aidaho 2712b25515 v7.1.2.0
Changelog: https://roxy-wi.org/changelog#7.1.2
2024-02-04 10:28:17 +03:00
Aidaho 1cae0059ea v7.1.1.0
Fix showing SSL
2024-01-24 10:24:37 +03:00
Aidaho 2a5aacb5d7 v7.1.1.0
Fix Nginx upstream generation
2024-01-23 21:21:16 +03:00
Aidaho 7d528a355a v7.1.1.0
FIx add page
2024-01-23 15:41:52 +03:00
Aidaho bfcead6430 v7.1.1.0
Fix interface bugs
2024-01-23 09:49:47 +03:00
Aidaho fdc7badc61 v7.1.1.0
Changelog: https://roxy-wi.org/changelog#7.1.1
2024-01-17 09:08:27 +03:00
Aidaho 781f3f8447 v7.1.0.0
Fix PortScanner and SMON for Docker, SMON checks for groups
2024-01-06 11:42:32 +03:00
Aidaho 3f9a640cdf v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-31 13:33:02 +03:00
Aidaho d7ba3ff76c v7.1.0.0
Fix HAProxy Docker installation and HA cluster deleting
2023-12-30 22:59:56 +03:00
Aidaho dbcb5558dc v7.1.0.0
Fix install HA cluster
2023-12-27 10:59:43 +03:00
Aidaho f94c2021a7 v7.1.0.0
Fix install service
2023-12-19 10:21:59 +03:00
Aidaho 8405d1f11f v7.1.0.0
New cluster via API
2023-12-18 11:34:35 +03:00
Aidaho 5bba8c6692 v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-16 17:10:50 +03:00
Aidaho a7ab2ae888 v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-16 14:02:37 +03:00
Aidaho ec9084c7ce v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-16 11:50:35 +03:00
Aidaho d619497ab2 v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-16 11:34:45 +03:00
Aidaho 820b0cd3db v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-16 10:15:59 +03:00
Aidaho cc0edee75a v7.0.4.0
Changelog: https://roxy-wi.org/changelog#7.0.4
2023-12-03 12:36:36 +03:00
Aidaho c45532cfe4 v7.0.3.0
Changelog: https://roxy-wi.org/changelog#7.0.3
2023-11-16 10:58:37 +03:00
Aidaho 4727848abc v7.0.2.0
Fix showing Checker setting on Ubuntu
2023-11-03 08:36:54 +03:00
Aidaho 62071588e9 v7.0.2.0
Changelog: https://roxy-wi.org/changelog#7.0.2
2023-11-02 15:38:04 +03:00