Refs #3809 - Remove cops for empty lines
Fixes #8536 - can update and delete media with dot in name
Fixes #6765 - correct wrong validation on media name
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...
Refs #3809 - Use parentheses in method definitions
fixes #4386 - gem friendly_id to simplify find by id, name, label, etc
fixes #6636, #6657, #6694 - add field length validations, extend audit field length
fixes #6432 - add validation for attributes missing :presence => true and remove duplicate validation messages 'can't be blank'
fixes #3664 - support deletion of installation media that's in use
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #3752 - move data population from migrations into seed script
fixes #2818 - validation of OS families in ptables
fixes #3249 - change regex syntax from start/end of line to start/end of string
fixes #3248 - missing N_() on validation messages
fixes #2741 - rails 3 syntax
fixes #2985 - remove #as_json method from AR models since rabl views used for API
fixes #2685 incorrect and inefficient regexp checking medium name format
It takes eternity to compute something like this:
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa b" =~ /\A(\S+\s?)+\Z
Also "this is wrong " was not matched
fixes #2602 - scoped_search error when using postgresql
fixes #2422 Rails 3.2: before_destroy / dependent => :destroy ordering
fixes #2421 added missing has_many :hostgroups and missing :dependent => destroy
Feature #2368 - use N_ for model validators
As per https://github.com/grosser/fast_gettext/wiki/activerecord
Feature #2368 - i18n extracting strings
fixes #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
Add organization and location to foreman.
This feature allows foreman to provide multi location, multi tenant andmulti organizations capablities.
the idea is that resources within foreman (e.g. hosts, subnets, users,environments etc) can belong to one or more locations and organization,...
Fixes validation for hostnames containing hyphens for NFS mounts
Added OS Family attribute to Partition Tables and Installation Medium
refs #1316 - Postgres DB Error while run rake db:migrate
this is a secondary commit to the develop branch
WIP rails3 migration
fixes #898 - remove old search leftovers across the app
Fixes #1026 - Medium create fails with 'invalid nfs path'
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.com>
fixes #987 - migration fails when using postgres after #820
Fixes #820 - Intel Solaris support
fixed broken tests
added default order and paginations whichfixes #721fixes #688
Fixes #263 - Refactored Foreman to use correct singular and pluralization of medium/media