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

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

Fixes #23857 - Fix Performance/InefficientHashSearch cop

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

Fixes #23081 - Fix Style/SafeNavigation cop

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

Fixes #23123 - Fix Rails/ActiveRecordAliases cop

4a22ccda 04/01/2018 12:39 PM Michael Moll

Fixes #19874 - Fix Style/MultilineMemoization cop

18013319 02/01/2018 11:24 AM Oleh Fedorenko

Fixes #7451 - Review whitespace in extracted strings

e2194150 01/26/2018 10:50 AM Ondřej Pražák

Fixes #20807 - Remove deprecations for 1.18

33a09887 01/15/2018 04:28 PM Michael Moll

Fixes #19895 - Fix Style/RedundantReturn cop

d4449f45 01/15/2018 01:25 PM Tomer Brisker

Fixes #11389 - Remove API v1

API v1 has been deprecated since Foreman 1.9 - over 2 years ago.
This is more then enough time for anyone needing to migrate to v2.
Even though the original issue requests extraction to a plugin, I do not
see any point in investing the time and effort to maintain a long...

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

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

6aaeffa0 11/07/2017 11:14 AM Shimon Shtein

Fixes #15402 - Moved puppet to separate api controller

f17c9611 10/19/2017 05:49 PM Marek Hulán

Fixes #21119 - set taxonomies in API

With this we correctly set the default taxonomy for non-admin users
in API calls. Admins are not touched at all, their context remains
"any context" for API calls. This also refactors various places
where tried to set the right taxonomy and combines them into single...

cade5cc2 06/22/2017 02:34 PM Ori Rabin

Fixes #17087 - default and overrides values converted to string

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 =~ ()...

c1685291 04/03/2017 09:33 AM Dominic Cleal

fixes #18982 - replace AC::Params#each using one-arg block

ActionController::Parameters#each works differently in Rails 5.0: it no
longer yields an array of [key, value] entries for hashes, only the
key when given a block with arity of one. This method now iterates over...

9b5a4677 02/23/2017 11:05 AM Tomáš Strachota

Fixes #18582 - add missing id params to taxonomy apidoc

00ed8ba5 02/20/2017 04:03 PM Ondřej Pražák

Fixes #12294 - Update existing params using API

35c14172 01/26/2017 08:18 AM Ivan Necas

Refs #15779 - make background processing unavailable for now (#4217)

The original PR got vetted in the packaging phase and including
foreman-task as dependency of Foreman was refused. We need to rethink
our approach for getting the foreman-tasks functionality available...

38a9ed0c 01/24/2017 06:12 AM Ori Rabin

Refs #17653 - fix typo in show_hidden_parameters and add tests

3b9d7933 01/20/2017 07:22 AM Ori Rabin

Refs #17653 - add show_hidden to apidoc

eb0834f5 01/17/2017 06:47 AM Sebastian Gräßl

Fixes #6502 - List ignored classes and environments on import

When importing environments and classes from puppet, ignored
environments and classes defined in ignored_environments.yml
aren't aparent.

This will add them to the list to import as ignored and...

eb371ca3 11/25/2016 04:48 AM Marek Hulán

Fixes #15779 - make background processing available

27752930 11/25/2016 02:43 AM Kavita Gaikwad

Fixes #17343 - set deep munge config off

deep_munge was introduced as a solution to keep
Rails secure by default which results in
'empty array becomes nil in params'.
Thats why, set deep_munge config off in application.rb.
Also, added changes which will cast param argument to string...

08763fc2 11/14/2016 06:07 AM Dominic Cleal

fixes #16798 - move scoped_search definitions to STI subclasses

scoped_search doesn't support class inheritance with STI, so registering
definitions on the subclass fixes various issues. This fixes an issue
where scoped_search on CommonParameter calls Parameter.all and is...

719f4d21 10/26/2016 08:55 AM Marek Hulán

Fixes #17104 - ignore resource via API

5284a31d 09/23/2016 04:16 AM Ondřej Pražák

Fixes #15703 - Singularize media in api doc for orgs

40b69114 08/03/2016 02:01 AM Martin Bacovsky

Fixes #15833 - remove duplicities in smart params listings

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

e263719a 07/25/2016 05:18 AM David Davis

Refs #3809 - Using defaults for AndOr cop

df6a9f34 07/19/2016 05:44 AM Dominic Cleal

fixes #15720 - rename *_filter to *_action

The older 'filter' name is changing in Rails to 'action' and is being
deprecated.

a30ab44e 06/23/2016 02:36 AM Marek Hulán

Fixes #15268 - limit user taxonomies using my scopes

Fixes CVE-2016-4475

1144040f 05/27/2016 07:34 AM Marek Hulán

Fixes #15182 - limit user taxonomies in API (CVE-2016-4451)

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

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

3e05c127 05/25/2016 10:07 AM Ivan Necas

Fixes #15174 - make sure to return 404 when taxonomy not found

f4459c11 05/12/2016 09:56 AM David Davis

Refs #3809 - Turning on some rubocop cops

5c028a17 02/17/2016 06:58 AM Ori Rabin

Fixes #13257 - nested locations can be created via api

7ee381e9 01/14/2016 07:48 AM Lukas Zapletal

Fixes #12566 - host_parameters_attributes accepts nested flag

fb9f45e8 12/18/2015 08:03 AM Daniel Lobato Garcia

Fixes #7230, #12021 - Upgrade to Rails 4.1.5

This commits upgrades Rails to Rails 4.1.5. See a description of the
changes included here, and go to the pull request in GitHub to see more
detailed explanations:

  • Update gems to a Rails 4 compatible version, including dependencies...
c1755e07 10/12/2015 06:54 AM Daniel Lobato Garcia

Fixes #10988 - Remove 1.11 deprecations

6b4b489f 09/03/2015 02:54 AM Ori Rabin

fixes #10832 - separating lookup keys into puppet and variable

d1e6d79e 07/28/2015 08:06 AM Shlomi Zadok

fixes #11175 - [API] Add taxonomies to ptables, display ptables in taxonomies

4cd44e26 07/06/2015 06:56 AM Dominic Cleal

fixes #11018 - correct syntax error in version number

319d1ffb 07/02/2015 07:11 AM Alon Goldboim

Fixes #10635 - Formalize deprecation warning

1efc5f1a 06/22/2015 11:40 AM Martin Bacovsky

Fixes #10853 - add config_template_ids back to organization

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...
2950fe11 06/08/2015 04:01 AM Tomáš Strachota

Fixes #10715 - api build_pxe_default returns non-JSON message

The fix adds a new method `render_message` for responding with a status
text.

bc68c48d 03/25/2015 11:36 AM Martin Bacovsky

Fixes #7378 - fixed API lookup keys filters

afe02d30 02/18/2015 03:54 AM Daniel Lobato Garcia

Refs #3809 - Remove cop IndentationConsistency

abd8f1d1 02/18/2015 03:54 AM Daniel Lobato Garcia

Refs #3809 - Remove cops for empty lines

c6c50b21 01/13/2015 09:21 AM Tomer Brisker

Fixes #8838 - Replace HTTP error codes with human-readable symbols

581d3b6b 01/13/2015 08:41 AM Ori Rabin

Fixes #8764 - adds description to taxonomies

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

Refs #3809 - Remove useless assignments

453dc693 10/14/2014 04:10 AM Joseph Magen

fixes #3492 - API v2 nested routes for each controller

96144a47 10/06/2014 01:57 PM Daniel Lobato Garcia

Refs #3809 - Remove rubocop TODOs

Removed the following TODOs so that cops for these will run from now on:

Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethods
EnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,
UselessAccessModifier,...

4c59b8da 09/30/2014 08:12 AM Joseph Magen

fixes #6856 - API v2 - more efficient import puppetclasses for single environment

8b737c9c 09/29/2014 07:17 AM Joseph Magen

fixes #4386 - gem friendly_id to simplify find by id, name, label, etc

93eb9f09 09/24/2014 05:38 AM Tomáš Strachota

Fixes #2524 - adding taxonomy scope parameters

915b2918 09/24/2014 05:38 AM Tomáš Strachota

Fixes #5088 - adding location_ids and organizations_ids to apidocs of taxable resources

fb5ac616 09/03/2014 05:01 AM Joseph Magen

Fixes #7261 - API v2 - mark wrapped params hash for POST/PUT as required instead of optional

ce690b76 08/27/2014 11:28 AM Tomáš Strachota

Fixes #7028 - completing api docs for taxonomies

9c1029fa 08/15/2014 08:12 AM Tomer Brisker

Fixes #6929 - Rephrase description string for api import_puppetclasses

f5317a04 07/31/2014 08:39 AM David Davis

Fixes #6786 - Handle error when no taxonomy params get sent

Basically, no organization params are getting sent as the bug reporter is not
using json and not using wrapped params. You can also test this by doing:

curl -X POST http://localhost:3000/api/v2/organizations...

2656873b 07/31/2014 03:49 AM Martin Bacovsky

Refs #4478 - API doc strings marked for translation

77f70152 04/02/2014 10:46 AM Stephen Benjamin

fixes #1809 - foreman realm integration

3cdaa292 03/31/2014 01:05 PM Dmitri Dolguikh

Fixes #4851: a SmartProxy.with_features scope replaces feature-specific scopes generated during class loading

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:
832c0925 02/24/2014 08:38 PM Joseph Magen

fixes #4393 - rename ancestry label to title

1fa008a4 02/19/2014 10:31 AM Joseph Magen

fixes #3912 - add inheritance for locations / organizations

4c034b3c 01/27/2014 05:54 PM Joseph Magen

fixes #3553 - add "except" option to prevent puppet class import to select types of import

2be84f3d 01/21/2014 12:02 PM Joseph Magen

fixes #3925 - create apipie param_groups for API v2 to DRY documentation

6f943886 01/20/2014 05:52 PM Joseph Magen

fixes #3760 - API v2 define metadata @total for each controller

46338cd7 01/17/2014 09:24 AM Daniel Lobato Garcia

fixes #3515 - API handles not found objects with 404

c0537928 12/30/2013 01:30 PM Thomas McKay

fixes #3853 - allow rabl template override to be specified

3853-taxonomy-rabl - changed style of override

92b7b44d 11/26/2013 04:05 PM Joseph Magen

fixes #3018 - API v2 metadata for pagination, search, order in index collection json response

cc739ab4 11/25/2013 11:36 AM Joseph Magen

fixes #3011 - default root node name for api collections json response to :results but make it configurable

b1f7f970 11/05/2013 08:39 AM Petr Chalupa

fixes #3577 - do not treat `params[:dryrun]` with value `false` as true

3b97c38f 10/31/2013 10:03 AM Dominic Cleal

fixes #3550 - correct HTTP method for puppet class import API

b1e56e3c 10/29/2013 02:57 PM Petr Chalupa

fixes #3538 - workaround for broken #pluck on lower Rails versions

40503890 10/24/2013 01:32 PM Joseph Magen

fixes #3140 continue - apipie params fix

eef1a369 10/21/2013 08:34 AM Joseph Magen

fixes #3140 - API to allow importing of puppet classes

21bf889a 09/23/2013 09:02 AM Joseph Magen

fixes #2810 - more restful API v2 JSON responses in puppetclasses

NOTE: breaking changes to API v2 api/lookup_keys does not exist, replaced by api/smart_variables and api/smart_class_parameters

c1a23d77 08/13/2013 10:26 AM Joseph Magen

fixes #2869 - refactor method find_nested_obj into API::BaseController

0bed6e7c 07/30/2013 04:22 AM Tomáš Strachota

fixes #2838 - taxonomies controller - fix in params and finder

798d002d 07/19/2013 05:31 AM Joseph Magen

fixes #2411 - move to controller/concerns

4fb88133 05/23/2013 09:43 AM Ivan Necas

fixes #2525 - apipie documentation of actions defined in a concern

Apipie now supports defining actions defined in module by including
`Apipie::DSL::Concern`. Some substitutions are preformed while
including the documentation in each controller, so that instead of...

feacea35 04/02/2013 08:30 AM Amos Benari

upgrade foreman to rails 3.2.13

This commit updates from rails 3.0.x to 3.2.x, main changes include:

  • Asset pipline support
  • cleanup of existing assets (javascript, css, images)

Users who uses foreman in production, make sure that you now compile
your assets, e.g...

866face2 03/04/2013 07:15 AM Ivan Necas

fixes #2275 - include ThreadSession::Cleaner only once

Foreman::ThreadSession::Cleaner was included in Taxonomy concern,
which postponed the session clearing (that should be the first thing
to happen in filters) to phase after :authorize filter, effectively...

e1a1fa81 02/21/2013 06:42 AM Joseph Magen

fixes #2239 API v2 CRUD for locations and organizations and added nested loc/org