UTF-8 was causing BOMs to appear in the precompiled CSS, which then prevented these styles being applied, so bullet points appeared on the dashboard.
Pin rbovirt a bit in preparation for a jump in versions.
fast_gettext/gettext_i18n_rails are both runtime dependencies, not optional. gettext_i18n_rails_js moved to assets as it provides no runtime functionality.
Also cleans up some unused validators looking for trailing whitespace that is stripped by the StripWhitespaces concern. Tried to make some sense from unmatching regexps and validation error messages. Some validations might need a different regexp to check for what they are actually supposed to validate - but atleast now messages fit the actual validation.
gettext is only used when loading gettext_i18n_rails 1.x rake tasks, so it's only marked as a development dependency. In production we won't have it, but still ship this .rake file, so permit loading to fail.
Regex used for validation was wrong, raising error on multiple white spaces instead of on trailing white space. Trailing white space is stripped anyways by StripWhitespace concern before validation. Original bug was concerning " " passing validation. However, that is not a single white space but rather quotes with a space between them; while not useful, it is a valid name. (The quotes are escaped in the db)
in non index pages which uses auto complete (e.g. filters) the clear button was not inside the input field.
For some reason we save host without running valdiations when we import attributes from facts. Therefore we have to take care of mac normalization by ourselves. We have to normalize it just after setting new value because save can occure anytime.
config/application.rb, we are adding the controller concerns twice folder to autoload_paths
… turn red in Puppet Class edit form
This commit considers a nil host reference equivalent to a non-conflicting one for the purposes of uniq_with_hosts validation.