Commit Graph

88 Commits (41a8c905569f93078477b19fcf88806d75cf06c5)

Author SHA1 Message Date
Aidaho 41a8c90556 v8.0: Add DELETE endpoint for version deletion in ServiceConfigView
Added support for deleting configuration file versions via the DELETE method in ServiceConfigVersionsView. Updated corresponding routes, templates, and scripts to handle this functionality.
2024-08-20 10:39:40 +03:00
Aidaho 89022e59be v8.0: Add port scanner functionality and refactor codebase
Integrated port scanner endpoints to manage and retrieve scanner configurations. Removed unused imports and redundant code blocks across multiple files for better performance and readability. Simplified error handling and consolidated port scanner settings operations.
2024-08-19 11:49:19 +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 178116b9c1 v8.0
https://roxy-wi.org/changelog#8
2024-08-02 13:00:17 +03:00
Aidaho 8f50e1b8bf v8.0: https://roxy-wi.org/changelog#8 2024-08-02 12:50:02 +03:00
Aidaho 5033cc9667 v7.3.3.0
https://roxy-wi.org/changelog#7_3_3
2024-07-16 12:33:36 +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 45b964d341 v7.3.2.0: Refactor action_service method in roxy module
Refactoring of the function 'action_service' has been completed in the roxywi module. The function for different actions ('start', 'stop', and 'restart') has been replaced by a dictionary for more clean and efficient code. This change also enhances code readability and maintainability.
2024-07-13 11:04:16 +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 811255ba0b v7.3.1.0: Improve error handling and streamline data formatting
This update reviews and adjusts multiple code segments across the project. The improvements are mainly focused on error handling with more informative exceptions and error messages. Additionally, data formatting and retrieval have been streamlined, mainly regarding JSON data preparation and use in several functions, which should expedite the data processing and enhance the code maintainability. Minor changes were also done on the front-end logic for error handling and improved user interaction.
2024-06-19 20:52:24 +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 ce1995bbb9 v7.3.0.0: Update CSS styles, HTML templates, and Ansible tasks
The code adjustments primarily focus on improving layout management and enhancing backend functionality. Specifically, the CSS styles have been modified to adjust the alignment and width of certain elements. Additionally, new HTML templates have been created to refine the display of server details and a new link has been added. In the ansible tasks, logic has been added to handle the installation of packages and modification of NGINX version retrieval. In the logs module, an exception has been added to handle cases where the syslog server IP is not defined.
2024-06-12 09:47:14 +03:00
Aidaho f049daeb3c v7.3.0.0: Refactor user and group id retrieval in Roxy-WI module
The method `check_user_group_for_flask` has been updated to first check for 'user_uuid' and 'user_group_id' within the given kwargs. If these are not available, it will fall back to retrieve 'uuid' and 'group' from the cookies. This change makes the method more flexible in terms of data source it can utilize, and improves the module's usability when parameters are directly provided.
2024-06-07 07:50:49 +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 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 b66c4d0793 v7.2.5.0
https://roxy-wi.org/changelog#7_2_5
2024-05-03 15:22:58 +03:00
Aidaho 7df8cbad8b v7.2.4.0: Update script paths and add a new script
The JavaScript paths in many files have been updated to "/app/static/js". A new script for handling checker settings updates, "checker.js", has been added. The commit improves organisation of JavaScript resources by grouping them under a single directory and introduces new functionality for the checker service.
2024-04-19 12:32:13 +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 b185ee78c8 v7.2.1.0
Improve error handling in tools list and adjust status check command

Enhanced error handling in tools list loop within the 'common.py' file to provide more specific error messages. Additionally, the command for checking a tool's status was adjusted to remove unnecessary sudo usage. Also, updated the service check in the 'roxy.py' file from 'sshd' to 'rsyslog'.
2024-03-14 11:20:16 +03:00
Aidaho 2448b04426 v7.2.1.0
https://roxy-wi.org/changelog#7_2_1
2024-03-13 13:06:02 +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 447739c644 v7.2.0.0
Small bugs fix
2024-02-24 11:05:31 +03:00
Aidaho af25700ede v7.2.0.0
Small logging fixes
2024-02-17 15:28:34 +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 ac133b5e9c v7.1.1.0
Fix HA cluster installation via API
2024-01-26 11:03:46 +03:00
Aidaho bfcead6430 v7.1.1.0
Fix interface bugs
2024-01-23 09:49:47 +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 62071588e9 v7.0.2.0
Changelog: https://roxy-wi.org/changelog#7.0.2
2023-11-02 15:38:04 +03:00
Aidaho ec6db8265c v7.0.1.0
Changelog: https://roxy-wi.org/changelog#7.0.1
2023-10-16 13:48:38 +03:00
Aidaho 9ce85fdff0 v7.0.1.0
Changelog: https://roxy-wi.org/changelog#7.0.1
2023-10-16 13:12:36 +03:00
Aidaho 835a451937 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-10 16:26:31 +03:00
Aidaho 8d3111c15f v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-09 19:32:59 +03:00
Aidaho 5e2fadc75e v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-07 21:48:23 +03:00
Aidaho c54248dd47 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-04 21:58:39 +03:00
Aidaho 6aaeeef565 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-03 22:56:34 +03:00
Aidaho 38be0f4dbb v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-01 14:35:01 +03:00
Aidaho 9f022fb614 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-01 00:38:22 +03:00
Aidaho 70507cd85e v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-30 12:10:23 +03:00
Aidaho 658a41706e v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-30 11:48:54 +03:00
Aidaho 3edd512c91 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-20 13:11:10 +03:00
Aidaho f4b7e67bc4 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-19 09:50:10 +03:00