Project

General

Profile

Statistics
| Branch: | Tag: | Revision:
Name Size
  auth_sources
  compute_resources
  concerns
  host
  host_status
  lookup_keys
  nic
  operatingsystems
  parameters
  setting
  taxonomies
  trends
architecture.rb 625 Bytes
auth_source.rb 2.79 KB
bookmark.rb 1.28 KB
cached_user_role.rb 225 Bytes
cached_usergroup_member.rb 158 Bytes
compute_attribute.rb 1.28 KB
compute_profile.rb 732 Bytes
compute_resource.rb 8.8 KB
config_group.rb 1.23 KB
config_group_class.rb 517 Bytes
domain.rb 2.96 KB
environment.rb 1.74 KB
environment_class.rb 2.42 KB
external_usergroup.rb 1.62 KB
fact_name.rb 898 Bytes
fact_value.rb 4.3 KB
feature.rb 357 Bytes
filter.rb 6.33 KB
filtering.rb 133 Bytes
host.rb 844 Bytes
host_class.rb 425 Bytes
host_config_group.rb 407 Bytes
host_status.rb 241 Bytes
hostgroup.rb 9.99 KB
hostgroup_class.rb 561 Bytes
image.rb 1.19 KB
key_pair.rb 268 Bytes
log.rb 450 Bytes
lookup_value.rb 3.35 KB
mail_notification.rb 1.64 KB
medium.rb 2.41 KB
message.rb 422 Bytes
model.rb 642 Bytes
operatingsystem.rb 9.63 KB
os_default_template.rb 390 Bytes
parameter.rb 1.64 KB
permission.rb 714 Bytes
provisioning_template.rb 7.62 KB
ptable.rb 2.33 KB
puppetclass.rb 9.1 KB
realm.rb 949 Bytes
report.rb 6.11 KB
role.rb 5.43 KB
setting.rb 8.47 KB
smart_proxy.rb 4.57 KB
source.rb 375 Bytes
subnet.rb 8.84 KB
subnet_domain.rb 256 Bytes
taxable_taxonomy.rb 348 Bytes
taxonomy.rb 6.94 KB
template.rb 2 KB
template_combination.rb 335 Bytes
template_kind.rb 304 Bytes
token.rb 316 Bytes
trend.rb 646 Bytes
trend_counter.rb 341 Bytes
user.rb 19.6 KB
user_mail_notification.rb 715 Bytes
user_role.rb 2.11 KB
usergroup.rb 3.92 KB
usergroup_member.rb 3.57 KB
widget.rb 599 Bytes

Latest revisions

# Date Author Comment
4e08a71c 10/27/2015 11:16 AM Shlomi Zadok

Fixes #12132 - [API] Host all parameters should include host parameters

565dc8e5 10/26/2015 08:45 AM Tomer Brisker

Fixes #12241 - Correct counter_cache deadlock fix

Previous fix had a bug - in `:after_commit` `self.changes` is empty, and the
changes are in `self.previous_changes`. Also this only needs to run on
update.
This commit adds tests to make sure cached_counters continue to work...

5f7e1ee4 10/26/2015 08:44 AM Tom Caspy

fixes #11965 - hostgroup with config group - clone should not run validations more than once

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...

01f0b231 10/23/2015 06:34 AM Tom Caspy

fixes #12109 - removing owner_id presence validation

in rails 4, owner is not populated when creating a join model
(user.roles << role created a UserRole on the background)
in rails 3, this is not a problem, in rails 4, the presence validation
fails because no owner_id exists nor does an owner exist. at that...

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

208a655e 10/21/2015 02:10 PM Timo Goebel

fixes #11345 - API GET request available_clusters sends empty hash

eb8d0ff5 10/21/2015 06:37 AM Shlomi Zadok

Fixes #12004, #11999 - Remove reserved words from Environment friendly_id

Restores use of friendly_id, but removes 'new', 'edit' etc from the
reserved words list to ensure they can be used as identifiers.

Reverts the id-name parameterization to purely name, which fixes...

1f5d2516 10/21/2015 06:21 AM Tom Caspy

refs #12147 - adding permissions setter to roles

Problem

Calling FactoryGirl.build(:role, :permissions => []) needs a setter
directly on role. Otherwise it fails on Rails 4 with:
ActiveRecord::HasManyThroughNestedAssociationsAreReadonly: Cannot modify...

7bfc21fc 10/21/2015 06:13 AM Tom Caspy

refs #12147 - adding safety guards to method_missing on compute attributes

There's no need to pass to vm_atts when the method is a setter, also,
there's no need to pass if vm_attrs is blank. Those safety guards are
required in rails4, and compatible with 3.

View revisions

Also available in: Atom