Fixes #11673 - accept integer value when setting the integer via API
Fixes #7167 - names of settings marked for translation
Fixes #10402: add to_bool function for converting to boolean.
This commit adds a to_bool function for casting values to booleanas well as an example usage.
http://projects.theforeman.org/issues/10402
Fixes #9613 - foreman_url can't be blank
Fixes #5649 - unattended_url validation fix
fixes #10343 - only log cache deletion failures when saving settings
Fixes #8566 - reorganized settings categories
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
Refs #3809 - Enable cop StringConversionInInterpolation
Refs #3809 - Remove useless assignments
Refs #3809 - Use parentheses in method definitions
Refs #3809 - Fix a few rubocop TODOs
Fixes #6874: Integers in settings can be up to 8 digits to avoid bigint out of range error
refs #3569 - fix URL validation test error on merge
Fixes #3569, #3210 - Use port from foreman_url for templates
fixes #2756 - update setting descriptions at startup
fixes #3089 - Updating settings causes settings page to load again within the page
fixes #2764 - settings defined in settings.yaml file are now read-only
fixes #2660 - settings, improve tests and fixes
- added string settings type- fixed tests previously commented out due to CI failures- more tests for core settings functionality- parsing of string values enhanced and extracted to a separate method- setting value to nil when it equals default is back...
fixes #2153 - add trusted_puppetmaster_hosts setting to permit puppetmaster access
Connections to fact + report upload and externalNodes will be permitted fromany host listed in the trusted_puppetmaster_hosts setting, bypassing therequirement for a registered smart proxy....
Rails cache returns incorrect value for false values.
while this is fixed in Rails 3.1.4, a work around is required for now:
Settings getter method correctly returns false instead of nil.
fixes #1888 - set value to default if zero or less
[SQL optimizations] - many small optimizations
removed failing tests in travis
WIP rails3 migration
fixes #100 - Setting is now a ActiveRecord object
This allows users to manage foreman settings via the UI.
the UI is a bit ugly, but works :)