Commit Graph

98 Commits (v8.0.1)

Author SHA1 Message Date
Aidaho 202513fcfd v8.0.1: Refactor password handling and integrate group_id
Enhance function signatures to include group_id parameter for fetching settings in a multi-group context. Additionally, improve password handling by cleaning up special characters to ensure proper authentication.
2024-09-13 13:11:10 +03:00
Aidaho 6004147073 v8.0.1: Add group_id to service-related functions utilizing user params
Enhance various service functions to accept and process group_id from user parameters. This update ensures that settings and actions are correctly scoped to the user's group, improving access control and accuracy of the returned data.
2024-09-13 12:39:54 +03:00
Aidaho 720616da95 v8.0.1: Implement cluster reconfiguration after creation and update
Add support for reconfiguring clusters by calling `_install_service` method within both the `create` and `update` operations. Enhanced `install_service` method to handle `HAClusterRequest` data, and introduced `reconfigure` flag within the `HAClusterRequest` model.
2024-09-10 11:14:34 +03:00
Aidaho 3423595d9b v8.0.1: Remove keepalived service and improve service status handling
Removed all references and functionality related to keepalived service. Added detailed status handling for various services including nginx, haproxy, and apache, improving the accuracy of the status checks and error handling for each service. Adjusted user interface elements to reflect the service status changes more clearly.
2024-09-04 21:16:22 +03:00
Aidaho 6d11d04577 v8.0.1
https://roxy-wi.org/changelog#8_0_1
2024-09-03 12:09:03 +03:00
Aidaho c6e6988209 v8.0: Update credential endpoints and proxy settings
Replaced hostname lookups with unified server object retrieval in metrics and credential management endpoints. Added proxy environment variables to ModSecurity download tasks and improved error handling across various modules.
2024-08-30 17:25:31 +03:00
Aidaho 791cd1ed57 v8.0: Handle missing system info and refactor server installation
Introduce a custom exception `RoxywiResourceNotFound` to manage cases where system information cannot be found. Refactor the server installation process to use server IDs instead of IPs, improving data consistency and reliability.
2024-08-28 15:25:27 +03:00
Aidaho a0866b9e88 v8.0: Refactor slave routes and clean up redundant code
Removed unused variable `req_method` and refactored URL assignment logic in `ha.js` for clarity. Updated route in `routes.py` to use defaults for `vip_id` and adjusted method checks accordingly. Removed unnecessary print statement in `ha_cluster.py`.
2024-08-28 15:10:39 +03:00
Aidaho 3ca7ca86a1 v8.0: Increase menu font size and streamline server IP handling
Updated the menu font size from 1.1em to 1.2em for better readability. Refactored JavaScript and Python code to consistently retrieve server IPs using server IDs, improving code clarity and maintainability.
2024-08-28 14:03:27 +03:00
Aidaho 975a49d818 v8.0: Handle exceptions and update data structure
Added try-except blocks for better exception handling and updated VIP retrieval logic. Changed the structure from using server names and IPs to using IDs in both backend and frontend code. Updated template selections and introduced new expected version options.
2024-08-28 11:30:05 +03:00
Aidaho c54f42f65b v8.0: Refactor HA cluster master selection logic
Remove obsolete HTML template and streamline server selection to use JSON. Enhanced server selection and error handling in AJAX calls, fixed minor syntax issues, and updated various routes for consistency.
2024-08-28 09:18:38 +03:00
Aidaho 0391dff9eb v8.0: Remove redundant requirement files and update VIP handling
Removed outdated Debian, EL7, EL8, and EL9 requirement files. Improved various VIP handling and validation functionalities, including changes to VIP endpoints and associated JavaScript functions. Minor enhancements and bug fixes across multiple modules and views.
2024-08-27 12:40:15 +03:00
Aidaho a1ed81b0a2 v8.0: Comment out duplicate HAProxy installation task
Disabled a redundant HAProxy installation section in the Ansible playbook by commenting it out. Also removed the unnecessary `distro` library import and standardized the Python interpreter path in the service installation module for cleanup and consistency.
2024-08-13 00:21:42 +03:00
Aidaho a7a8b4b10d v8.0: Delete check_version.html and refactor version checking logic
Removed the `check_version.html` template and moved version checking to `script.js`. This refactoring simplifies the codebase by consolidating version check handling into JavaScript, removing deprecated HTML templates, and enhancing the backend logic and API routes.
2024-08-12 23:41:31 +03:00
Aidaho 41764ad4ca v8.0: Refactor admin views and JS scripts
Simplified imports and cleaned up unused functionalities in `admin/views.py`. Switched `var` to `let` in `script.js` for better scope management. Adjusted `showOverviewWaf` function for consistency. Removed `check_services` decorator from `ServiceActionView`. Enhanced `Checker` class model and improved error handling in `CheckerView`. Added `update_checker_setting_for_server` method in `checker.py`.
2024-08-04 19:24:23 +03:00
Aidaho 075d2b935b v8.0: Refactor code and fix various issues across modules
Added return_master setting, removed unnecessary code, and improved exception handling throughout the project. Key updates include enabling return_master by default, simplifying database update methods, handling empty IP exceptions more appropriately, and refining JavaScript validations.
2024-08-04 17:44:11 +03:00
Aidaho 108773c564 v8.0: Refactor user module and simplify server status check
Refactor user-related modules, updating data handling, roles, and methods. Simplify server status check process by removing event-based handling and replacing it with straightforward AJAX requests.
2024-08-03 09:25:02 +03:00
Aidaho 7559530ca2 v8.0: Fix several bugs and update API
Corrected JavaScript methods to properly store language settings and trigger events. Fixed error handling in multiple scripts, and improved handling of keepalived version checks. Updated the requirements to use a specific ansible-core version for better compatibility.
2024-08-02 21:12:14 +03:00
Aidaho 8f50e1b8bf v8.0: https://roxy-wi.org/changelog#8 2024-08-02 12:50:02 +03:00
Aidaho 051234b0f4 v7.3.2.0: Update WSGI configurations and Ansible version
Updated the WSGIDaemonProcess for roxy-wi-app to include a request timeout. The WSGIApplicationGroup was also added to the httpd configurations. Additionally, the Ansible galaxy command in the installation.py script has been updated to use nginxinc.nginx version 0.24.3 instead of 0.24.1.
2024-07-17 09:24:21 +03:00
Aidaho 730e145ab8 v7.3.2.0: Update WSGI configurations and Ansible version
Updated the WSGIDaemonProcess for roxy-wi-app to include a request timeout. The WSGIApplicationGroup was also added to the httpd configurations. Additionally, the Ansible galaxy command in the installation.py script has been updated to use nginxinc.nginx version 0.24.3 instead of 0.24.1.
2024-07-17 08:42:11 +03:00
Aidaho e09103de7d v7.3.3.0
https://roxy-wi.org/changelog#7_3_3
2024-07-16 08:45:28 +03:00
Aidaho 04e2edf517 v7.3.2.0: Refactor auth.py and rollback version in installation.py
In auth.py, removed an unnecessary pass statement and reassigned unused bind variables. Also, added a check to assign a default value to 'session_ttl' if it is None. In installation.py, rolled back the nginxinc.nginx version used during ansible galaxy installation from 0.24.2 to 0.24.1.
2024-07-07 21:03:47 +03:00
Aidaho 60bc04d5af v7.3.2.0: Update nginx version in ansible-galaxy install command
The version of nginx being installed via the ansible-galaxy command in the installation.py file has been updated. The version number has been changed from 0.23.2 to 0.24.2, adhering to up-to-date libraries and compatibility improvements that the new version provides.
2024-07-06 13:08:59 +03:00
Aidaho 61dc21c822 v7.3.2.0
https://roxy-wi.org/changelog#7_3_2
2024-07-06 11:14:01 +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 7d47e94160 v7.3.0.0
https://roxy-wi.org/changelog#7_3
2024-06-05 10:20:43 +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 8c28c5128c v7.2.2.0
https://roxy-wi.org/changelog#7_2_2
2024-04-04 14:30:07 +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 af25700ede v7.2.0.0
Small logging fixes
2024-02-17 15:28:34 +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 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 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 87657806ab v7.1.0.0
Fix install service
2023-12-19 11:08:52 +03:00
Aidaho 8405d1f11f v7.1.0.0
New cluster via API
2023-12-18 11:34:35 +03:00
Aidaho 1cb12d12e6 v7.1.0.0
Fix SSH port in Ansible
2023-12-17 15:02:20 +03:00
Aidaho 7c899092cc v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-17 11:24:26 +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 3ed145aac4 v7.1.0.0
Changelog: https://roxy-wi.org/changelog#7.1.0
2023-12-16 12:48:58 +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 95dc978c3b v7.0.1.0
Changelog: https://roxy-wi.org/changelog#7.0.1
2023-10-19 16:53:37 +03:00