Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
9d43fc71 06/14/2018 12:05 PM Michael Moll

Fixes #19789 - fix Layout/SpaceAroundOperators cop

630061d2 06/14/2018 09:50 AM Michael Moll

Fixes #19775 - Fix Layout/ExtraSpacing cop

f5ea70ad 06/13/2018 10:26 AM Zachary Bedell

fixes #23909 - vsphere: prefer network search by key

Creating a new VMware image fails during provisioning with
"Could not match network interface". Searching for distributed
virtual switch via key BEFORE searching with the nic_attrs structure
resolves a false positive match when vCenter contains VDS migrated...

e0910b7e 06/12/2018 03:06 PM Michael Moll

Fixes #23857 - Fix Performance/InefficientHashSearch cop

f57d42f5 06/10/2018 05:49 PM Tristan Robert

Fixes #23859 - Fix vm_exists? method

Fix related tests

2a6bce4d 06/10/2018 05:49 PM Tristan Robert

Fixes #23859 - Queue orchestration compute

c372e97e 06/06/2018 11:27 AM Tomer Brisker

Fixes #23813 - Allow searching audits by type=auth_source

22f3f533 05/29/2018 02:23 PM Timo Goebel

fixes #23686 - filter audits by settings type

68388bc2 04/26/2018 04:29 PM Michael Moll

Fixes #19781 - Fix Layout/LeadingCommentSpace cop

d5f17078 04/24/2018 03:34 PM Timo Goebel

fixes #21657 - remove facets when host is removed

7ccbc550 04/24/2018 03:31 PM Tomer Brisker

Fixes #23195 - Audit associations on creation and destruction (#5455)

Also includes a bit of refactoring to the AuditAssociations module.

02a26515 04/12/2018 06:46 PM Ondřej Pražák

Fixes #15411 - Move smart_proxy_ids_for to Host

d7a9d13f 04/12/2018 12:06 PM Ivan Necas

Fixes #23145 - fix strong params for compute attributes on fail (#5412)

3cd8c84b 04/11/2018 07:21 AM Michael Moll

Fixes #19787 - Fix Layout/SpaceAfterComma cop

b03dcd1b 04/05/2018 11:56 AM Michael Moll

Fixes #23081 - Fix Style/SafeNavigation cop

ee360810 04/05/2018 11:56 AM Michael Moll

Fixes #19894 - Fix Style/RedundantParentheses cop

74275f51 04/05/2018 11:56 AM Michael Moll

Fixes #19840 - Fix Rails/ReadWriteAttribute cop

85021506 04/05/2018 11:56 AM Michael Moll

Fixes #19839 - Fix Rails/Present cop

20b2ec5b 04/05/2018 11:56 AM Michael Moll

Fixes #22331 - Fix Rails/Presence cop

8ac0ffd9 04/05/2018 11:56 AM Michael Moll

Fixes #19832 - Fix Rails/FindBy cop

9ae8fa19 04/05/2018 11:56 AM Michael Moll

Fixes #23123 - Fix Rails/ActiveRecordAliases cop

a3aaa02f 04/04/2018 10:36 AM Tomer Brisker

Fixes #23098 - Allow searching on all audited models by type (#5395)

This automatically adds all the audited models in an after_initilize
block so that models defined in plugins are also included. All the
search related definitions for audit have been extracted to a seperate...

be933765 04/04/2018 09:27 AM Marek Hulán

Fixes #6752 - log audit events (#5391)

7c229d49 04/03/2018 12:53 PM Tomer Brisker

Refs #22096 - Assign taxonomy to taxonomy audits (#5387)

d611c53b 04/01/2018 12:39 PM Michael Moll

Fixes #19857 - Fix Style/EachWithObject cop

a03e5341 03/22/2018 07:15 PM Marek Hulán

Fixes #22918 - Audit all taxonomies assignments

We need to move all audited definitions to top of models because all
concerns can use audit_associations call which relies on audit being
already activated.

6ed2083b 03/20/2018 06:51 PM Kavita Gaikwad

Fixes #22927 - method in audit_associations to get class

With this commit, we can override association_class method
in other plugins like Katello.

4a1f6711 03/20/2018 11:28 AM Marek Hulán

Fixes #22892 - allow extending audited associations

b12736cd 03/19/2018 08:45 AM Tomer Brisker

Fixes #22096 - Make Audits taxable (#5269)

b3648b07 03/19/2018 08:19 AM Dominik Hlavac Duran

Fixes #18854 - Search by usergroup on hosts (#5317)

5f10b6af 03/16/2018 12:57 PM Lukas Zapletal

Fixes #21120 - orchestration tasks are added only once (#5079)

abbe2a04 03/13/2018 09:50 PM Lukas Zapletal

Fixes #22493 - structured logging support

348ec9c0 03/09/2018 07:46 PM Sebastian Gräßl

Fixes #22779 - Calculate out of sync host via origin interval (#5221)

d0eef9af 03/07/2018 07:01 AM Swapnil Abnave

Fixes #22199 - Audit has_many associations (#5187)

3de2d5aa 02/19/2018 02:34 PM Michael Moll

Fixes #22104 - adapt to Rails 5.1 change tracking

2aea2a05 02/19/2018 02:26 PM Tomer Brisker

Fixes #22616 - Allow searching hosts by status as integer

c6294926 02/15/2018 09:21 AM Lukas Zapletal

Fixes #17083 - log skipped orchestration steps

6beb3d8b 02/13/2018 05:14 PM Tomer Brisker

Fixes #22556 - Correct host search for parent hostgroup

Currently, searching on a non-existant parent fails due to
`hostgroup.subtree_ids` throwing a NoMethodError when no matching
hostgroup is found. This is rescued by scoped search, causing the
search to run with no conditions instead....

1fa10070 01/23/2018 09:41 AM Marek Hulán

Fixes #21465 - load owners from any context

da9865b8 01/15/2018 04:28 PM Michael Moll

Fixes #19907 - Configure Style/TernaryParentheses cop

b04c8304 01/15/2018 04:28 PM Michael Moll

Fixes #19879 - Fix Style/NestedParenthesizedCalls cop

59f0a945 01/12/2018 01:18 PM Tomer Brisker

Fixes #22208, #21920 - Refactor password auditing (#5162)

Recent changes in Rails 5.1 and audited gem cause our method of auditing
passwords to break. This PR refactors password auditing, so that instead
of recording a change to attribute `password_changed`, we will now...

638d98a9 01/08/2018 12:20 PM Ivan Necas

Fixes #20931 - unify parameters and templates renderer (#4835)

  • Fixes #20931 - unify parameters and templates renderer

Before this patch, we used separate renderer for the parameters. This
caused issues when introducing more dsl methods for the templates that...

d5d2d63f 01/04/2018 08:26 PM Ondřej Pražák

Fixes #5790 - Add compute resource to hostgroup (#4593)

e876cc34 12/27/2017 09:59 AM Michael Moll

Fixes #22078 - Fix Rails/EnvironmentComparison cop

e5c21815 12/26/2017 06:06 PM Tomer Brisker

Fixes #19833 - Fix Rails/FindEach cop

4efcf484 12/19/2017 03:22 PM Ondřej Pražák

Fixes #21851 - Remove deprecations for 1.17

98433fce 12/19/2017 12:23 PM Lukas Zapletal

Fixes #21120 - DHCP update no longer queued twice

3adfb7d1 12/18/2017 11:14 AM Tomer Brisker

Fixes #20667 - Reduce implicit searching on host index (#4768)

3576f8fb 12/16/2017 01:42 PM Marek Hulán

Fixes #21343 - support multiple orgs supported for non-admin users

  • Fixes #21343 - support multiple orgs supported for non-admins

This adds a full support for taxonomies in API for non-admin users. It
fixes the issue with dirty associations module that only track _ids...

69205f5c 12/15/2017 03:34 PM Tomer Brisker

Fixes #19772, #19773, #19774 - Fix some empty line cops

3e94c50c 11/21/2017 12:24 PM Daniel Lobato Garcia

Fixes #21675 - OpenStack create host tab fails to load

Currently the tab is not loading as there are a few methods that are not
being overridden properly by the FogExtension.

After fixing that and adding the metadata key the tab loads

2a663a34 11/16/2017 01:38 PM Timo Goebel

fixes #21374 - audit host interfaces (#4929)

9e892b43 11/13/2017 09:20 AM Tomer Brisker

Fixes #21611 - Improve *_name lookup speed

8fe2ad71 10/31/2017 10:14 AM Tomer Brisker

Fixes #16835 - Allow implicit search with org_id

Previously, any resource with many taxonomies would fail when using
implicit search when passing organization_id parameter to the api. This
is due to scoped_search incorrectly adding the taxonomy table to search...

7d8b5c2e 10/24/2017 09:35 AM Timo Goebel

fixes #21394 - user login with access token api

1f6a9b2c 09/27/2017 02:39 AM Ivan Necas

Refs #21037 - address review comments

b1438ff0 09/27/2017 02:39 AM Ivan Necas

Fixes #21037 - use Host::Base as auditable_type

Otherwise, we are hitting "Invalid single-table inheritance type:
Host::Discovered is not a subclass of Host::Managed" when converting the
host from discovered to managed.

715d097c 09/26/2017 03:18 PM Shimon Shtein

Fixes #15409 - Separated puppet facts from core

38964973 09/22/2017 11:45 AM Dominic Cleal

Fixes #20957 - Replace alias_method_chain with Module prepend

Deprecated in Rails 5.0 and will be removed in 5.1. Some instances of
classes overwriting existing methods can be handled with `super`, other
concerns or modules are changed to use prepend instead of include....

408774ae 09/20/2017 03:13 AM Dominic Cleal

Fixes #20952 - Replace AC::Parameters Hash methods

Replaces any methods that used to be from Hash with the more limited
ActionController::Parameters API.

7f8fd14d 09/19/2017 09:29 AM Sebastian Gräßl

Fixes #20201 - Global HTTP proxy for outgoing requests

This introduce two new settings to proxy outgoing HTTP
requests and one to except certain hosts from it.

The extensions for Excon::Connection and Net::HTTP
allow setting a proxy on their requests.

92845892 09/19/2017 04:27 AM Dominic Cleal

Fixes #20949 - Replace deprecated AM::Errors usage

ff1e9ffc 09/18/2017 10:50 AM Dominic Cleal

Fixes #20950 - Use 'distinct' in AR finders

83775e63 09/08/2017 09:34 AM Marek Hulán

Fixes #20708 - fix templates auditing

Templates were audited under parent class. This keeps separate audits
per template type and allows searching by provisioning_template and
partition_table names. It also fixes broken associations in
taxable_taxonomies table.

07ff65c0 08/24/2017 04:52 AM Ivan Necas

Fixes #19113 - use fog-ovirt method for rebooting

While fixing the waiting for stopped vm in reboot there.

c8f5cd53 07/31/2017 06:20 AM Tomer Brisker

Fixes #20248, #20327 - Respect context in CSV export

Since CSV export is done using an enumerator which is executed by a
different thread to the one that creates it, we need to manually pass in
the context (user, location, organization) to the enumerator.

f079f90a 07/25/2017 09:43 AM Marek Hulán

Fixes #20384 - seed resources before admin exists

For seed scripts that executes before internal admin exist we need to
ignore creation permission check on resources that includes Authorizable
concern.

23abc7dc 07/23/2017 12:12 PM Klaas Demter

refs #19623 - fix if key method is not present for network

credit to jsherrill for the one line solution :)

8dcc90be 07/20/2017 11:02 AM Marek Hulán

Fixes #16884 - enforce granular filters even during save

0e8f2cac 07/18/2017 08:30 AM Ondřej Pražák

Fixes #19677 - Add settings for local boot templates

bcb74718 07/13/2017 07:57 AM Kavita Gaikwad

Fixes #17360 - Prevent % string interpolation in scoped_search

364c5208 07/12/2017 05:03 AM Ori Rabin

Fixes #17918,#19354 - Smart class parameters appear in audits

4dec807a 07/06/2017 03:15 PM Tomer Brisker

Fixes #19828 - Fix Rails/Blank cop

I disabled the default UnlessPresent value since sometimes it's clearer
to use `unless attribute.present?` instead of `if attribute.blank?`.

523d8010 06/30/2017 01:03 PM Marek Hulán

Fixes #20165 - improve org/loc error messages

cccc26e7 06/27/2017 02:56 PM wiad

Fixes #19623 - add comparison to portkey for vmware networks

52e5776e 06/22/2017 03:34 AM Shimon Shtein

Fixes #20066 - added safe renderer to global params

d96635ce 06/19/2017 05:45 AM Ohad Levy

fixes #19913 - fixes rubocop Style/ZeroLengthPredicate

60cf5a37 06/19/2017 05:09 AM Shimon Shtein

Fixes #15711 - Redesigned host info to providers.

Now you can add your own info by registering a
host method that will return info hash.

91f8ffb1 06/05/2017 06:39 AM Daniel Lobato Garcia

Fixes #19631 - ComputeResource with KeyPair can be removed

The concern for removing the compute resources with keypairs was trying
to destroy the compute resource too early. Also, this deletion already
happened because of the has_one :dependency => :destroy relation...

cf468753 06/01/2017 10:01 AM Amir Fefer

Fixes #15861 - increase size of audited_changes column

In mysql text type is limited to 64K, while in psql
there's no limit. Changeing type to MEDIUMTEXT,
which limited to 16MB, should solve this issue in mysql

cabe2c2e 06/01/2017 07:45 AM Ohad Levy

Fixes #19700 - update rubocop rules

The following changes have been made:

- Performance/RedundantMerge:
changes lines such as:
```not_found_message.merge! :message => options```
to:
```not_found_message[:message] = options```

- converts str.match() to str =~ ()...

af9edf10 06/01/2017 06:11 AM Marek Hulán

Fixes #19612 - CVE-2017-7505 don't expose admin to taxed users

8f7c12b3 05/29/2017 07:09 AM Lukas Zapletal

Fixes #19632 - changed shim and grub1 PXE names

2dc6e2dd 05/28/2017 01:35 PM Martin Ducar

Fixes #19459 - improve vm boot failure feedback

To be able to override the wait for vm ready we need to move
it to compute resource definition. Also improve Openstack one

1da8bd42 05/22/2017 07:58 AM Dominic Cleal

refs #19534 - check EncryptValue class variables are defined

bed4594 added class variables to record logging state, but failed to
check it was defined before accessing them, causing exceptions when
decryption failed. Tests added for this new behaviour.

bed45946 05/17/2017 04:13 AM Lukas Zapletal

Fixes #19534 - removed excessive encryptor logging

04d9f6ed 05/17/2017 04:12 AM Lukas Zapletal

Fixes #19534 - improved orchestration task logging

67428d62 05/11/2017 08:24 AM Marek Hulán

Fixes #19506 - reset cache after CR update

5e38d636 05/11/2017 07:29 AM Dmitri Dolguikh

Fixes #19173 - build notification succeeds with expired token.

704659e6 05/01/2017 05:54 AM Ben Plessinger

fixes #19419 - fix invalid syntax in aws fog extention

Fix invalid syntax in server.rb

3be4ca4c 04/25/2017 11:46 AM Shimon Shtein

Fixes #19374 - added check to fix double facet registration

006929d1 04/21/2017 05:18 AM Timo Goebel

fixes #19328 - autosign tasks have correct wording

7923c95d 04/06/2017 07:19 AM Dominic Cleal

fixes #18445 - always define eager_load_paths, use require_dep

Allows `eager_load!` to be called or enabled in any environment without
loading files under lib/ twice. Switches many `require` calls to Rails'
`require_dependency` to always use its dependency loader, so when eager...

26c7d10a 03/30/2017 07:37 AM Dominic Cleal

fixes #19087 - create host built notification from Host#built

Comparing the host's installed_at timestamp is unreliable on MySQL
databases, as the timestamp field has a limited granularity. Under Rails
5 in a sub-second test, this field will not be changed....

0e52ebb7 03/28/2017 10:15 AM Dominic Cleal

fixes #19035 - rewrite TopbarSweeper without rails-observers

Moves from the observer object into two mixins, one on the model and one
on the top-level controllers to observe creates/updates/destroys on
monitored models. Replaces rails-observers as it lacks Rails 5 support.

fd8bf7f1 03/28/2017 04:49 AM Lukas Zapletal

Fixes #15374 - move progress_report_id to Host::Base

637da2f2 03/22/2017 11:34 AM Timo Goebel

fixes #18064 - import host from compute resource

0ed2c98c 03/21/2017 03:04 PM Ivan Necas

Fixes #18949 - info message about current user

54db95ae 03/19/2017 03:34 AM Ivan Necas

Fixes #18952 - fix destroy of host without owner

The notifications failure caused the host not being deleted.
I don't think the notifications should interfere with the core
functionality of the objects.