Commit Graph

24 Commits (fc0ccb8f9c90d1d794307e2ad33d6e73961efe57)

Author SHA1 Message Date
Aidaho a8dfe6e2c4 v8.1.1: Refactor server SQL function names
Replaced multiple SQL function calls with consistent `get_server` naming. Consolidated and streamlined the function calls to `get_server` and `get_server_by_ip` to ensure consistency and improve maintainability across the codebase. Removed obsolete and redundant function definitions that were no longer in use.
2024-11-13 21:52:41 +03:00
Aidaho 292ca51cc7 v8.1.0
https://roxy-wi.org/changelog#8_1
2024-10-02 11:51:26 +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 cde708065b v8.0: Refactor config logic to streamline cfg retrieval
Moved `cfg` retrieval inside the `if` block to ensure it is only fetched when `serv`, `edit`, and other conditions are met. Also, removed an unnecessary hidden input from the HTML template.
2024-09-01 22:39:57 +03:00
Aidaho 4e5f4b2bd1 v8.0: Add new icons and update HA view validation
Added new icons for Keepalived and Roxy services in the static images and integrated them into the main menu. Updated HA view validation to use `eth` instead of `ip` and changed certain property types from string to integer. Enhanced error handling and data processing for the configuration routes and improved JSON data handling in the script.js file.
2024-09-01 20:51:12 +03:00
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 7fb1ad4b69 v8.0: Remove python-ldap and update route handling
Removed the python-ldap dependency from requirements.txt and updated route handling to use JSON request data instead of form data. Additionally, responses are now wrapped using DataStrResponse for consistency.
2024-08-05 10:29:46 +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 9a193e43f9 v7.3.2.0: Enhance user parameter handling in various routes
Added decorator `@get_user_params()` to various route handlers in `routes.py`. Adjusted user handling in `config.py` by eliminating checks for 'login' and directly accessing user parameters from Flask's global variable `g`. Also moved user retrieval process from `routes.py` to lower level operations allowing for better abstraction and less redundancy.
2024-07-08 15:53:05 +03:00
Aidaho 9119787aa1 v7.3.2.0: Add user parameter to save_config route
Imported user module to the routes module and added a user parameter decorator to the save_config route. This parameter fetches the user ID, which is then used to fetch the username. This username is passed to the upload_and_restart functions as a login argument.
2024-07-08 11:35: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 d1a81f937b v7.2.1.0
https://roxy-wi.org/changelog#7_2_1
2024-03-03 10:11:48 +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 fdc7badc61 v7.1.1.0
Changelog: https://roxy-wi.org/changelog#7.1.1
2024-01-17 09:08:27 +03:00
Aidaho 3bcd2a5077 v7.0.1.0
Changelog: https://roxy-wi.org/changelog#7.0.1
2023-10-16 14:43:58 +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 5e2fadc75e v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-07 21:48:23 +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 9f022fb614 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-10-01 00:38:22 +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 e935edd497 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-17 17:34:56 +03:00
Aidaho 4b168e8fa8 v7.0.0.0
Changelog: https://roxy-wi.org/changelog#7.0.0
2023-09-17 12:42:39 +03:00