Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
02e4c535 10/26/2015 08:44 AM Daniel Lobato Garcia

Fixes #11924 - Substitute .scoped by .where(nil) to force return relation

On Rails 4 .scoped is deprecated. Calling .all on the model returns the
equivalent ActiveRecord relation object on Rails 4, but on Rails 3 it
returns an Array right away.

A proper replacement we can use is where(nil) - it's ugly but it returns...

638776c5 10/22/2015 11:07 AM Tom Caspy

fixes #12207 - objects with ancestors should not call ancestors if cached

up until now, ancestry objects always called their ancestors when
linking to the object because to_param called get_title instead of title
(which can be cached)
this caused a LOT of pointless queries, slowed down Hosts#index alot

c919008a 10/16/2015 03:58 AM Jiri Machalek

Fixes #11987 - Check exit code of deployment scripts

This commit fixes checking exit codes returned from provisioning templates, which were ignored
because of sending results through pipe to command tee. Also adds optional host deleting if deployment
fails because of non zero exit code. This can be configured by setting clean_up_failed_deployment...

c1755e07 10/12/2015 06:54 AM Daniel Lobato Garcia

Fixes #10988 - Remove 1.11 deprecations

3b75c0a7 10/07/2015 04:33 AM Daniel Lobato Garcia

Fixes #12067 - Delegated methods need to be public, not protected

generate_pxe_template and require_ip_validation? are delegated to
primary interface on Host::Managed. However, these methods are
protected. On Rails 4, protected methods cannot be called through a...

00335956 10/01/2015 11:25 AM Dominic Cleal

fixes #11375, #11782 - validate a host's lookup_values

Enabling validation ensures the casting and validation within
LookupValue runs during host/hostgroup save. Tweaks to hostgroup
cloning ensure that the newly cloned hostgroup now passes validation
when it has associated lookup values....

b0de0f65 10/01/2015 08:24 AM Dominic Cleal

fixes #11945 - fix undefined variable in param_true/false helpers

0beb0530 09/23/2015 05:56 AM Dominic Cleal

fixes #11883 - fix classes accessors when cloning host groups

Ensures parameters from classes via config group associations show up
under the parameters tab when cloning host groups.

448b447e 09/17/2015 11:01 AM Lukas Zapletal

Fixes #11850 - improved DNS error message

97ef85c1 09/17/2015 02:25 AM Daniel Lobato Garcia

Fixes #11814 - model_name needs to be stringified on Rails 4

View revisions

Also available in: Atom