Improvements and new features to the ACL (Access Control List) y Delay Pools management UI#56
Merged
Conversation
…and HTTP access management
- Implemented a new JavaScript file (acls.js) to handle ACL management features including adding, editing, and deleting ACLs. - Created modals for adding and editing ACLs in a new HTML template (acls_modals.html). - Developed a new HTML page (acls_new.html) for displaying and managing ACLs, including dynamic value input fields and type information. - Added descriptions, examples, and icons for various ACL types to enhance user experience. - Included functionality for handling options and comments associated with ACLs.
🔧 New functionality: Squid configuration splitting service and modal UI for ACLs.
Update application version to 2.2
…ability - Updated the constructor of SquidConfigSplitter to use multi-line formatting for parameters. - Reformatted the rules in SquidConfigSplitter for better readability and consistency. - Enhanced logging messages in SquidConfigManager for clarity. - Improved formatting and structure of ACL type metadata in SquidConfigManager. - Cleaned up whitespace and indentation throughout the code for consistency. - Updated method signatures to use modern type hints where applicable.
…ions in ACLs and delay pools sections
…t modal for file display
… lines exist in original config
…er for auth line handling
…s for cautionary guidance
…mplates for improved clarity and consistency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces several improvements and new features to the ACL (Access Control List) management UI, updates the application version, and enhances configuration flexibility. The main focus is on providing a better user experience for managing ACLs, including improved empty states, modal forms for adding and editing ACLs, and ensuring CSRF protection.
ACL Management UI Enhancements:
templates/admin/acls_modals.html.acls.htmlto display a helpful message and call-to-action when no ACLs are configured, along with guidance for initial setup.Configuration and Versioning:
config.py,example.env, andinstall.shto reflect the new features and changes. [1] [2] [3]SQUID_CONFIG_PATHconfiguration setting for specifying the Squid configuration file location, defaulting to/etc/squid/squid.conf.Other UI/UX Improvements:
showCustomConfirmfunction inconfirm_modal.jsto allow HTML in confirmation messages, enabling richer dialog content.These changes collectively make ACL management more intuitive and secure, while also improving the flexibility and maintainability of the application configuration.