Fixes #23843 - Exclude requests to local host from proxying
Fixes #19781 - Fix Layout/LeadingCommentSpace cop
Fixes #23254 - Utilize webmock to prevent network connection
in tests
Fixes #23077 - Fix Style/TrailingCommaInArrayLiteral cop
Fixes #22624 - User selectable columns model + api
Adding initial bindings to user selectable columns. This model + api isgoing to be used in work related Katello plugin's subscription pages.The main intesnt of this PR is to provide a basic model where a user can...
Fixes #17316 - templates feature is subnet association
Fixes #21204 - introduced global_setting helper function (#4891)
Fixes #22354 - Make SilencedLogger thread safe
Refs #22164 - use cheaper FactoryBot methods
in- test/unit/*- test/models/shared/taxonomies_base_test.rb- test/controllers/hosts_controller_test.rb
Fixes #21851 - Remove deprecations for 1.17
Fixes #21718 - Test
Fixes #15402 - Moved puppet to separate api controller
Fixes #21424 - use factory_bot_rails
Fixes #20201 - Global HTTP proxy for outgoing requests
This introduce two new settings to proxy outgoing HTTPrequests and one to except certain hosts from it.
The extensions for Excon::Connection and Net::HTTPallow setting a proxy on their requests.
Fixes #20953 - Remove assert_nothing_raised args
Refs #16740 - migration templates to use param macros
fixes #20645 - stub templates proxy url call
fixes #18500 - replace quiet_assets with sprockets-rails flag
The app.assets environment is no longer always configured, and insteadis only configured when the regular Rails environment is loaded. Loadingonly the 'assets' group initializers isn't sufficient....
Fixes #18892 - Do not show 'undefined method' in error message
fixes #19977 - Fetch a value for a given subnet parameter name
This code will add a function to lookup a subnet parameter by name,and returns it's value. It will return `nil` if no value was found.
The function is added to the renderer, so it can be called from...
fixes #19131 - upgrade minitest to latest 5.x
- override minitest's `_` expectation method with the gettext method- rename `location` let helper, conflicted with a minitest method name- fix `assert_equal nil, [..]` deprecation warnings, prefer `assert nil`...
Fixes #19213 - use provision interface in foreman_url
Before this patch, we were using primary interface for checking on ftfpproxy and its template feature. Provision interface is more appropriatefor this purposes.
refs #18760 - exclude test routes from permission checks
Running test/controllers/concerns/csv_responder_test.rb andaccess_permissions_test in sequence (e.g. in `rake test`) would causefailures against the "fake" routes introduced by CsvResponderTest as no...
Fixes #18345 - Improve templates error handling
fixes #18735 - truncate encryption key to match preferred length (#4350)
Ruby 2.4's OpenSSL bindings raise an ArgumentError during encryption ifthe key length exceeds the cipher's configured length (32 bytes with thedefault cipher), but the verification hash algorithm still uses the full...
Fixes #18581 - conditionalize SUSE mediapath
Fixes #18227 - clean up variables after rendering
Fixes #18205 - Add save_to_file macro
Refs #18143 - extend snippet_if_exists too
Fixes #18143 - enable variables for snippets (#4205)
Fixes #17680 - templates_used host helper
templates_used contains the names of all of the provisioning templateskickstart used during a host build. This allows users to be able toshow the name of a provisioning template during PXEBoot, for example
Fixes #16740 - Access host params through macro
fixes #8290 - remove foreman_url redundancy
Fixes #16990 - make access_perm test reusable
Fixes #16806 - include renderer url dependencies
Fixes #16649 - PXE helper pxe_kernel_options rendering
fixes #16557 - move tests into modern Rails layout
Models, controllers, mailers and helpers are now in test/ subdirsmatching app/ subdirs. Service, miscellaneous and old test/lib/ testsare now in test/unit/ separated from models, which obsoletes the custom...