Project

General

Profile

Download (7.75 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
d7c67746 06/20/2018 07:20 AM Michael Moll

Fixes #19873 - Fix Style/MultilineIfModifier cop (#5705)

  • Refs #20891 - fix for new rubocop rules
  • Fixes #19873 - Fix Style/MultilineIfModifier cop
20b2ec5b 04/05/2018 11:56 AM Michael Moll

Fixes #22331 - Fix Rails/Presence cop

5f5b13a9 04/02/2018 08:54 AM Michael Moll

Fixes #19895 - Fix Style/RedundantReturn 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.

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

Fixes #19907 - Configure Style/TernaryParentheses cop

ce76bd81 09/15/2017 11:52 AM Tomer Brisker

Fixes #20470 - Audit role filter changes

be92dc95 07/12/2017 03:00 AM Daniel Lobato Garcia

Fixes #20274 - Filter fixtures have many resource_types

Filters cannot have many resource_types - each filter needs to have its
own resource type, e.g: one filter does not accommodate permissions for
"Host" and "DiscoveredHost".

This is enforced by a validator in the model, but our fixtures are able...

be13c5e5 07/10/2017 09:32 AM Lukas Zapletal

Fixes #20258 - better unique permission types error

4deab2f3 04/12/2017 02:31 AM Lukas Zapletal

Fixes #13772 - orchestration now uses app logger

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.

72a28408 03/24/2017 11:02 AM Ondřej Pražák

Fixes #18001 - Add plugin permissions to core's roles

3ab02530 01/16/2017 03:31 AM Kavita Gaikwad

Fixes #12547 - Added validators to interger fields

With this commit, instead of postgresql exception it will
show proper validation message for interger fields.

ed67b8c9 12/18/2016 10:21 AM Dominic Cleal

fixes #17574, #17364 - update scoped_search to 4.x

scoped_search's sort() now accepts a replacement for params which is
filtered in an overridden Foreman sort helper, permitting additional
parameters used in Foreman's index pages.

Replaces :in and :alias in search definitions with preferred keywords.

1e7ae521 09/15/2016 06:44 AM Dominic Cleal

fixes #16527 - replace where_values calls on relations

f619eb4d 08/26/2016 05:33 AM Marek Hulán

Fixes #7806 - allow taxonomy association on role level

12612809 07/29/2016 05:58 AM Dominic Cleal

fixes #3917 - replace protected_attrs with strong parameters

Filtering of attributes has moved from the protected_attributes gem to
strong parameters in controller concerns, to be in line with current
Rails recommendations.

Concerns are shared between UI and both API controllers and list the...

3fe2ea3d 05/27/2016 06:48 AM Ori Rabin

Fixes #14546 - ability to restrict *_external_variables
Fixes #14535 - corrects permissions for smart class parameters

473ba1c6 03/15/2016 10:00 AM Marek Hulán

Fixes #14184 - allow filter creation for users with taxonomies

0dbd3e78 12/07/2015 07:02 AM Daniel Lobato Garcia

Fixes #12676 - Filter contains two attr_accessible declarations

The 2nd one was just the leftovers of the old declaration.
Organization/location attr_accessible are loaded via Taxonomies, and
:unlimited was missing from the first declaration so I moved it there.

3326499a 12/01/2015 07:17 AM Daniel Lobato Garcia

Fixes #7568 - Use attr_accessible for Rails 4 upgrade

996b3db5 10/07/2015 08:39 AM Daniel Lobato Garcia

Refs #10409 - Rails 4 compatible changes with Rails 3

This includes some changes that can be applied to Rails 3 without
any issue and don't follow any particular pattern/deprecation, In
general these are minor things we have to change. Other PRs with
retrocompatible changes that aim to fix particular deprecations...

bb3572ff 09/02/2015 05:58 AM Daniel Lobato Garcia

Refs #3809 - Stabby lambda syntax for oneliners

I started by spotting log.rb which didn't have a lambda wrapping its
default scope, as needed by Rails 4. Since the style guide and most
Rails 4 documents used the stabby lambda, I turned on the cop so that we...

75e3743d 07/02/2015 05:03 PM Eric Helms

Fixes #10803: Return nil if no resource_type when creating a filter.

In some instances, such as during DB seed, when a filter is being
created for the first time the before_validation callback to
build_taxonomy_search is triggered. Since, the filter hasn't been...

01e78260 06/09/2015 10:29 AM Ivan Necas

Fixes #10713 - improved backtrace logging

  • full trace in 500 page in production shows really the full trace
  • Foreman::Logging.exception as an unified entry point for exceptions logging
  • the backtrace cleaner doesn't delete the plugins
  • the orchestration exceptions gets the backtrace covered by logger...
ea71c8a7 06/02/2015 04:34 PM Dominic Cleal

fixes #6332 - skip taxonomy queries when features are disabled

76fca93b 04/09/2015 06:09 AM Marek Hulán

Fixes #7615 - filter ignore current context

1b784c5b 12/24/2014 05:38 AM Tomer Brisker

Fixes #7523 - Removed autocomplete search from id fields

2312cccf 11/19/2014 06:03 AM Daniel Lobato Garcia

Refs #3809 - Remove useless assignments

0b1527e4 09/15/2014 08:26 AM Marek Hulán

Fixes #5541 - disallow taxonomy assignment

If a filter resource does not support taxonomy assignment, we don't
allow to assign them to filter.

fb69591a 09/15/2014 07:32 AM Lukas Zapletal

Fixes #7418 - fixed capitalization for some AR errors

3034e8e2 07/31/2014 06:00 AM Ori Rabin

fixes #6636, #6657, #6694 - add field length validations, extend audit field length

70acceb5 07/22/2014 07:17 PM Greg Sutcliffe

Fixes #6065 - Update TopbarSweeper to clear cache for other users than User.current

0545fd10 07/07/2014 10:58 AM Dmitri Dolguikh

fixes #5235: it's impossible to create filters with invaid searches

aec2cede 06/19/2014 02:51 PM Joseph Magen

fixes #5777 - search on filters returns error

82b4749e 05/19/2014 09:45 AM Marek Hulán

Fixes #5664 - Host filters can use taxonomies

Also disables taxonomy filters on resources that do not support them.

46da92f0 05/01/2014 04:19 PM Daniel Lobato Garcia

Fixes #4370 - Filters list show permissions

acfbc458 03/03/2014 02:26 PM Marek Hulán

fixes #812 - new permissions model, user group role and nest support, role filters for better granularity

Contributions from: