-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Major refactor of PFSenseModuleBase supporting generate_module pfsensible module generator #112
base: master
Are you sure you want to change the base?
Commits on Apr 29, 2024
-
- Allow for managing root_elt, elements - Add _find_this_element_index - Handle no existing elements - Implement _create_target and _find_target for node
Configuration menu - View commit details
-
Copy full SHA for c6933dd - Browse repository at this point
Copy the full SHA c6933ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cf4c74 - Browse repository at this point
Copy the full SHA 5cf4c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a67cda - Browse repository at this point
Copy the full SHA 4a67cdaView commit details -
[module_base] Allow setting root_is_exclusive; self.obj default to {}…
…; _find_target only for root_is_exclusive == False
Configuration menu - View commit details
-
Copy full SHA for d7b929c - Browse repository at this point
Copy the full SHA d7b929cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe33ad8 - Browse repository at this point
Copy the full SHA fe33ad8View commit details -
[module_base] Add key, root_is_exclusive defaults to True; root_is_ex…
…clusive affects _copy_and_add_target(); _get_obj_name() uses key
Configuration menu - View commit details
-
Copy full SHA for dbc449d - Browse repository at this point
Copy the full SHA dbc449dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7ca82f - Browse repository at this point
Copy the full SHA d7ca82fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9185d9 - Browse repository at this point
Copy the full SHA f9185d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for bb235e1 - Browse repository at this point
Copy the full SHA bb235e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22e40a8 - Browse repository at this point
Copy the full SHA 22e40a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for af6a85b - Browse repository at this point
Copy the full SHA af6a85bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2397e58 - Browse repository at this point
Copy the full SHA 2397e58View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9370d4 - Browse repository at this point
Copy the full SHA e9370d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd58189 - Browse repository at this point
Copy the full SHA fd58189View commit details -
[pfsense_alias] Refactor _params_to_obj() and add url
- Add url parameter, deprecate address for urltable/urltable_ports - Use map_param_if and param_force
Configuration menu - View commit details
-
Copy full SHA for 2d1dd71 - Browse repository at this point
Copy the full SHA 2d1dd71View commit details -
Configuration menu - View commit details
-
Copy full SHA for db0f352 - Browse repository at this point
Copy the full SHA db0f352View commit details -
[pfsense_alias] Use PFSenseModuleBase _get_obj_name and _log_fields
Remove unneeded test for type presence, don't mark it default
Configuration menu - View commit details
-
Copy full SHA for 254360b - Browse repository at this point
Copy the full SHA 254360bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ad5ecac - Browse repository at this point
Copy the full SHA ad5ecacView commit details -
Configuration menu - View commit details
-
Copy full SHA for 998a629 - Browse repository at this point
Copy the full SHA 998a629View commit details -
[generate_module] Better name generation; Do not overwrite module fil…
…e; Detect "type"; Scrape more web help text
Configuration menu - View commit details
-
Copy full SHA for 8ed3cb6 - Browse repository at this point
Copy the full SHA 8ed3cb6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2c7775 - Browse repository at this point
Copy the full SHA b2c7775View commit details -
[pfsense_authserver_ldap] Use have_refid, create_default more PFSense…
…ModuleBase methods
Configuration menu - View commit details
-
Copy full SHA for 2d1ee75 - Browse repository at this point
Copy the full SHA 2d1ee75View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1beca47 - Browse repository at this point
Copy the full SHA 1beca47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c52c2d - Browse repository at this point
Copy the full SHA 5c52c2dView commit details -
- Drop .py - Store files in tmpdir - Option to keep tmpfile, overwrite output - Use '-' in options - Handle number and password inputs - Collect min, step, and placeholder attributes - Template fixes - Collect info in params_full and merge
Configuration menu - View commit details
-
Copy full SHA for 723bf26 - Browse repository at this point
Copy the full SHA 723bf26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c5953b - Browse repository at this point
Copy the full SHA 8c5953bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 031b2f7 - Browse repository at this point
Copy the full SHA 031b2f7View commit details -
[generate_module] Mark items required if they have "element-required"…
… class, add to REQUIRED_IF; Add key to PFSenseModuleBase init
Configuration menu - View commit details
-
Copy full SHA for 8a667b2 - Browse repository at this point
Copy the full SHA 8a667b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f91f037 - Browse repository at this point
Copy the full SHA f91f037View commit details -
[module_base] Store refid in obj; Use diff["after"] for logging compa…
…rison instead of obj, handle bool better
Configuration menu - View commit details
-
Copy full SHA for 814955a - Browse repository at this point
Copy the full SHA 814955aView commit details -
[pfsense_ca] Use PFSenseModuleBase _create_target, logging; Drop pfSe…
…nse < 2.5.0 support; Fix certificate in tests to not have extra newlines
Configuration menu - View commit details
-
Copy full SHA for cd2b183 - Browse repository at this point
Copy the full SHA cd2b183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f1be15 - Browse repository at this point
Copy the full SHA 5f1be15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 665648d - Browse repository at this point
Copy the full SHA 665648dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f20ba2 - Browse repository at this point
Copy the full SHA 8f20ba2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ad7928 - Browse repository at this point
Copy the full SHA 8ad7928View commit details -
[generate_module] Handle web pages with different input methods that …
…do not create different types of elements
Configuration menu - View commit details
-
Copy full SHA for 633ef2e - Browse repository at this point
Copy the full SHA 633ef2eView commit details -
[module_base] Use root_elt.findall() instead of get_elements; Reset s…
…elf.elements in _copy_and_add_target - needed by some modules like user
Configuration menu - View commit details
-
Copy full SHA for 295ae99 - Browse repository at this point
Copy the full SHA 295ae99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1df96cd - Browse repository at this point
Copy the full SHA 1df96cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9069191 - Browse repository at this point
Copy the full SHA 9069191View commit details -
[module_base] Initialize instance vars; Add arg_route for parsing and…
… validating - implement _validate_params
Configuration menu - View commit details
-
Copy full SHA for 42692a6 - Browse repository at this point
Copy the full SHA 42692a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for edb2e85 - Browse repository at this point
Copy the full SHA edb2e85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 13b0e3f - Browse repository at this point
Copy the full SHA 13b0e3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71e9a5f - Browse repository at this point
Copy the full SHA 71e9a5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4378b7a - Browse repository at this point
Copy the full SHA 4378b7aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40c8606 - Browse repository at this point
Copy the full SHA 40c8606View commit details -
[generate_module] Enhancements
- Add --name-param, and default to key - Strip 'manage' from url for module name - Detect lists in XML - Better list doc/example
Configuration menu - View commit details
-
Copy full SHA for 61503bd - Browse repository at this point
Copy the full SHA 61503bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 59fab4b - Browse repository at this point
Copy the full SHA 59fab4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec59b80 - Browse repository at this point
Copy the full SHA ec59b80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 396c0c6 - Browse repository at this point
Copy the full SHA 396c0c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a12ed88 - Browse repository at this point
Copy the full SHA a12ed88View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9c2ee3 - Browse repository at this point
Copy the full SHA c9c2ee3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e73cd7 - Browse repository at this point
Copy the full SHA 6e73cd7View commit details -
[pfsense_ipsec] Start using expanded PFSenseModuleBase; Start droppin…
…g support for older pfsense
Configuration menu - View commit details
-
Copy full SHA for c6cb4f1 - Browse repository at this point
Copy the full SHA c6cb4f1View commit details -
[module_base] Bugfixes and enhancements
- Handle root paths - Make diff['after'] reflect _remove_deleted_params - Allow map_param to move items into nested dictionaries - Fix handling lack of 'state' - Fix bool_style - Allow passing obj to params_to_obj - Remove bool params from obj, unset bools from parameters - Add fail message for not finding package
Configuration menu - View commit details
-
Copy full SHA for 95cd167 - Browse repository at this point
Copy the full SHA 95cd167View commit details -
[pfsense_nat_outbound] Refactor
- Use bool_values, set root - targetip -> target for pfSense 2.7.1 pf+ 23.09 - Add diff support
Configuration menu - View commit details
-
Copy full SHA for efdb97a - Browse repository at this point
Copy the full SHA efdb97aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91032dc - Browse repository at this point
Copy the full SHA 91032dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 011c8d5 - Browse repository at this point
Copy the full SHA 011c8d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20c43a8 - Browse repository at this point
Copy the full SHA 20c43a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5734adb - Browse repository at this point
Copy the full SHA 5734adbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85b1249 - Browse repository at this point
Copy the full SHA 85b1249View commit details -
Configuration menu - View commit details
-
Copy full SHA for 266ab05 - Browse repository at this point
Copy the full SHA 266ab05View commit details -
Configuration menu - View commit details
-
Copy full SHA for c6a6a78 - Browse repository at this point
Copy the full SHA c6a6a78View commit details