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

d041d4bb 12/11/2017 10:11 PM Dominic Cleal

Fixes #21098 - Use positional args in functional test requests

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

Fixes #15402 - Moved puppet to separate api controller

ea98080f 09/24/2016 03:20 AM Dominic Cleal

fixes #16557 - move tests into modern Rails layout

Models, controllers, mailers and helpers are now in test/ subdirs
matching app/ subdirs. Service, miscellaneous and old test/lib/ tests
are now in test/unit/ separated from models, which obsoletes the custom...

8cc04d55 09/23/2016 10:34 AM Daniel Lobato Garcia

Fixes #16633 - AuthSourceLDAP uses *_authenticators filters

Prior to this, non-admin users who were granted *_authenticators
permissions were not able to use them, as the controllers were looking
for *_auth_source_ldaps permissions instead.

a56e7de3 09/13/2016 05:40 AM Dominic Cleal

refs #15846 - hide API deprecation warnings in tests

3357cdaf 09/12/2016 10:17 AM Daniel Lobato Garcia

Fixes #16219 - Interfaces API works with scoped view_hosts

Before this commit, parent_scope called 'merge' on a scope that may
contain conditions that do not make sense on 'resource_class'.

In this case, when a user with a filter :view_hosts and search
'hostgroup_fullname = foo' tried to view...

d33fe9cd 09/12/2016 05:03 AM Shimon Shtein

Fixes #16397 - set nested template_combo. objects to optional

9bdc4fea 09/08/2016 04:49 AM Marek Hulán

Fixes #16461 - expose override in filter API

569650b7 09/08/2016 02:44 AM Shimon Shtein

Fixes #15846 - Renamed use_puppet_default to omit in LookupValue

7c5b8bd6 09/07/2016 05:42 AM Shlomi Zadok

Fixes #16380 - Eager load hosts attributes
Since Rails 4, in order to load delegated attributes,
we need to use 'eager_load' instead of 'includes'

eb9a7a49 09/07/2016 04:57 AM Shlomi Zadok

Fixes #16415 - Accept unwrapped hash with 'layout' attribute

d301d11d 08/26/2016 10:39 AM Ondřej Pražák

Fixes #14771 - Show corresponding os list for arch

4cbf879e 08/24/2016 06:41 AM Lukas Zapletal

Fixes #12634 - New HW Model flag pxe_loader

Implementation of

https://github.com/theforeman/rfcs/blob/master/text/0001-PXE-Booting-UEFI.md

In short, new host/hostgroup flag PXE loader is added to specify TFTP
DHCP filename and Foreman now orchestrates all PXE-capable templates...

a86dcf44 08/22/2016 07:31 AM Klaas Demter

Fixes #16061 - auto ip assignment for non-primary interfaces

Squashed commit with a test case and the changes Timo suggested thanks
for the help also tried to decrease complexity of my change.

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

7a86dcfe 07/19/2016 08:27 AM Daniel Lobato Garcia

Fixes #15653 - CVE-2016-5390 fix permissions for host API

Non-admin users with the view_hosts permission containing a filter are
able to access API routes beneath "hosts" such as GET
/api/v2/hosts/secrethost/interfaces without the filter being taken into...

94265cf7 07/06/2016 07:32 AM Ori Rabin

Refs #13164 - Consistent parameters authorization in api

1a753b07 06/30/2016 10:13 AM Partha Aji

Fixes #15336 - Enables proper deletion of Orgs

Prior to this commit if you had an Org/Location with a host and tried to
the delete the Org. You would end up with an error that looks like

<Org> is used by <Host> (RuntimeError)

Basic error is these 2 areas...

7b7d7d1d 06/27/2016 05:56 AM Timo Goebel

fixes #14665 - support IPv6 via API

83ee7350 06/23/2016 04:15 AM Timo Goebel

fixes #9110 - add freeip route to API

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

Fixes #15268 - limit user taxonomies using my scopes

Fixes CVE-2016-4475

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

e2fcc321 05/09/2016 04:22 AM Shlomi Zadok

Fixes #14877 - Adds glossary to dashboard API

e9c175b8 05/05/2016 03:32 PM Guido Günther

Fixes #14701: Mention image password in API docs and tests

Setting the image password is well supported but not documented.

a9fffdb1 05/05/2016 01:25 PM Ori Rabin

Fixes #14927 - correct override value requirment

override value should only be required when use_puppet_default is false

bd622a22 04/20/2016 08:27 AM Dominic Cleal

refs #14691 - user editing self should not change User.current

Rather than changing the behaviour of #to_label to return persisted
data, the User.current object should not be modified with unsaved data
from the form submission or API update.

User.current is used for authz as well as for display purposes, so...

a322a96e 04/12/2016 08:47 AM Ori Rabin

Fixes #14190 - consistent api output and search options

1cf79b15 04/11/2016 10:15 AM Ranjan Kumar

Fixes #14261 - User API should return correct admin status

e52bc50f 04/05/2016 03:25 AM Adam Ruzicka

Fixes #14330 - Provide option in hammer to change display type for
libvirt compute resource

7ffb50b9 04/04/2016 03:34 AM Marek Hulán

Fixes #5816 - allow editing and displaying self via API

308f611d 03/22/2016 07:12 AM Marek Hulán

Fixes #14264 - improve primary interface selection

38d9333f 03/18/2016 05:15 AM Tom Caspy

fixes #14239 - when creating host from API, set first interface as primary if none set

b299f9c9 03/15/2016 10:18 AM Dominic Cleal

fixes #13980 - don't merge NIC compute attrs on New Host form

Removes merging of NIC's compute attributes when refreshing interfaces
on compute profile or resource selections on the New Host form. Instead,
overwrite NIC attributes from the profile (as it did before 85e82d0) as...

945dd6d7 03/14/2016 11:46 AM Dominic Cleal

fixes #14155 - fix leaks between tests with random ordering

- A test for the Rabl use_controller_name_as_json_root extension was
leaking as the old value was only reset in `setup` methods. When the
test was last in the test case, the configuration wasn't reset....

03261ebb 03/09/2016 02:50 AM Sean O'Keeffe

Fixes #3582 - Parameters on subnets

d0732ecf 03/07/2016 06:58 AM Dominic Cleal

fixes #13941 - expect deprecation warnings in tests

When testing deprecated routes, parameters etc, expect the deprecation
warnings to both test that it's logged and to prevent the logging from
cluttering test output.

f05b9307 03/07/2016 06:25 AM Dominic Cleal

fixes #14000 - respect custom controller permissions

Allows controller_permission method to override the permission suffix
used in resource_scope, originally from a63aa7c and removed in bb39df2.

331fcdca 03/02/2016 10:25 AM Dominic Cleal

fixes #13971 - pass IDs to model.find and .exists?

AR objects should not be passed to .exists? or .find, the ID should be
given instead. Passing AR objects is deprecated in Rails 4.2.

a2b3be55 03/02/2016 05:42 AM Tomer Brisker

Fixes #13896 - Rename Anonymous role to Default role

141dead7 03/01/2016 05:12 AM Dominic Cleal

fixes #13938 - remove reports fixtures

Under Rails 4.2, the rendering of the config_reports#show page was
failing as the reports fixtures referenced hosts that didn't exist.
Presence of host_id is validated under normal circumstances.

a61344da 02/29/2016 08:35 AM Tom Caspy

fixes #13828 - CVE-2016-2100 - only showing relevant bookmarks

1cd4a22d 02/24/2016 03:46 AM Stephen Benjamin

fixes #13852 - add user_data to images api docs

4693fe5f 02/19/2016 04:31 AM Ondřej Pražák

Fixes #6241 - Validations for associations with proxies

47990639 02/19/2016 04:31 AM Tomáš Strachota

Fixes #6342 - merge compute profile when attributes in api host#create

API v2 host#craete call now merges user specified compute attributes
with compute profile. UI functionality remains untouched.

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

Fixes #13257 - nested locations can be created via api

a977bd3b 02/16/2016 05:01 AM Daniel Lobato Garcia

Fixes #13557 - Rubocop enforce specifying a timezone

Rubocop can enforce what timezone to store in the database ,
so we can ensure everything is stored using UTC and we don't
miss these things in code reviews. When objects are displayed,
they must use the time provided by set_timezone in the...

6067d906 02/12/2016 04:48 AM Sean O'Keeffe

Fixes #13554 - Setting releated to taxonomies shouldn't be shown if they are disabled

d46cc693 02/10/2016 02:36 PM Timo Goebel

fixes #12436 - as a user I want to deploy vSphere vms on a storage pool

7c671609 02/09/2016 04:29 AM Dominic Cleal

fixes #13440 - rename Host#model_name to #hardware_model_name

Rails 4.2 defines a model_name instance method which is used in routing
and called from link_to. Rename our model_name methods to
hardware_model_name to prevent this overlapping and causing link_to...

9d496351 02/05/2016 11:04 AM Tom Caspy

fixes #12920 - allowing os parameters to be set via API

33d9f9ee 02/03/2016 08:35 AM Lukas Zapletal

Fixes #12718 - smart proxy log table

This patch adds a table with logs fetched from Smart Proxy /logs new API. It
returns latest N log entries from a simple memory buffer. The table supports
filtering by level, custom filtering and it introduces several overview...

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

Fixes #12566 - host_parameters_attributes accepts nested flag

9fa40c47 01/12/2016 03:32 AM Ori Rabin

Fixes #13101 - Smart class parameters show puppetclass in api

502feabe 01/12/2016 03:32 AM Ondřej Pražák

Fixes #10357 - Realms for organizations and locations can be retrieved through API

3e4b2f77 01/11/2016 05:32 AM Ori Rabin

Fixes #12965 - provisioning/config templates are shown under OS API

a4e56c45 01/08/2016 08:31 AM Marek Hulán

Fixes #12754 - adds permission name to 403 page

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...
d4b8428f 12/15/2015 07:25 AM Amir Fefer

Fixes #12180 - lookup_value presence validation moved from lookup_key

Global parameters can have empty values so smart variables that are also global should be allowed to accept empty values too.
The validation on lookup_value to make sure it isn't empty is in the LookupKey class therefore affecting both VariableLookupKey and PuppetClassLookupKey....

778655b2 12/02/2015 11:23 AM Stephen Benjamin

fixes #12666 - add locked to attr_accessible for templates

9a54e63a 12/01/2015 07:17 AM Shlomi Zadok

Fixes #12506 - Show smart proxies version in about page

8a817cb2 11/19/2015 09:37 AM Shlomi Zadok

Fixes #11643 - [API] Add preview template to host

cb71e86a 11/09/2015 08:51 AM Amir Fefer

Fixes #7537 - Adds test connection button to LDAP form

97b5cd0a 11/09/2015 06:01 AM Shimon Shtein

Fixes #12201 - Made parent associations finder less dependent on association name

a0218e66 10/29/2015 08:54 AM Marek Hulán

Fixes #12279 - add default order to roles

e8d6d2d6 10/28/2015 11:15 AM Shlomi Zadok

fixes #4151 - enable reports STI

Permits subclassing of ReportImporter and Report to import and store
new types of reports associated to hosts.

768aad03 10/26/2015 07:06 AM Tom Caspy

refs #12147 - compatible test updates for api fact value controller

2bb102ba 10/21/2015 03:41 PM Tomáš Strachota

Refs #12089 - tests for config templates controller param wrapping

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

d6436499 09/30/2015 12:55 PM Dominic Cleal

fixes #11996 - use preload to avoid multiple fact/host table joins

When retrieving fact_values as a non-admin user, the my_facts scope
performs a join to the hosts table. The .includes(:host) also performs
a join via eager loading, and when both are combined with a scoped...

08e86bf5 09/24/2015 05:07 AM Ondřej Pražák

Fixes #11764 - Taxonomy parameters can be accessed through API

3c1af256 09/15/2015 08:12 AM Shlomi Zadok

fixes #11242 - Add operatingsystem_id to os_default_templates in API

8387eb79 09/15/2015 08:06 AM Shlomi Zadok

fixes #11037 - Add ByIdName to environment model

2fba6ad7 09/14/2015 10:08 AM Ondřej Pražák

Fixes #2267 - general rebuild of TFTP, DNS, DHCP

e669d488 09/11/2015 06:06 PM Michael Alves Lobo

Fixes #3650, #11600 - Compute Resource availability_zones, flavors, security_groups API v2 endpoints

9aadd812 09/09/2015 09:45 AM Daniel Lobato Garcia

Fixes #10106 - Make tests run in parallel

Run rake parallel:test to run tests in several processes. The gem will
auto split the tests in as many cores as you have available.

Keep in mind running tests in parallel could highlight race conditions
we would've missed otherwise, so some tests might to be fixed to ensure...

8076e753 09/07/2015 05:50 AM Ondřej Pražák

Fixes #11693 - removed 'destroy' for smart class parameter from API controllers

e54016da 09/04/2015 08:03 AM Marek Hulán

Fixes #10782 - global host status

Introduce new global host status that is composed of host substatuses.
Each substatus defines a mapping to the global one which can result in
three values
  • OK
  • WARN
  • ERROR

Plugins can add their own substatuses. These are automatically...

64b8c7a4 09/04/2015 05:11 AM Ondřej Pražák

Fixes #11426 - remove puppet class paremeters no longer possible during edit in UI

e2452a0b 09/03/2015 02:56 AM Brad Buckingham

fixes #11649 - taxonomies api - add description to base.json.rabl

Adding the 'description' to the base.json.rabl so that it is displayed
when a user performs commands like 'organization list' from hammer-cli-katello.

E.g.

hammer> organization list
---|----------------------|----------------------|---------------...

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

fixes #10832 - separating lookup keys into puppet and variable

293036df 09/01/2015 10:51 AM Daniel Lobato Garcia

Fixes #11579 - Reports show/destroy restricted by host authorization (CVE-2015-5233)

ReportsController 'show' and 'destroy' now perform a check to see if
the User is authorized to see the Host associated with the Report. In
case it's not, it returns 404, as to not give hints whether a Report...

09ce8a63 08/13/2015 07:13 AM Ori Rabin

Fixes #4419 - rearranging smart class parameters edit form

4269abbd 08/11/2015 03:56 AM Tomáš Strachota

Fixes #10248 - cloning volume information for virtual machines

ee464a8e 07/20/2015 05:49 PM Ondřej Pražák

Fixes #10550 - Settings API will not update when value parameter is missing

445dd7ab 07/20/2015 10:28 AM Daniel Lobato Garcia

Fixes #11089 - Adapt tests to Rails 4

This commit contains all changes to tests in branch
https://github.com/theforeman/foreman/pull/2055 that I found to be
retrocompatible with Rails 3. The more of these we can get in, the less
code we will have to review for Rails 4, and the more relevant it will...

890e765e 07/14/2015 03:35 AM Daniel Lobato Garcia

Fixes #11078 - Substitute find_all_by by where to comply with Rails 4

This commit takes away all instances up to this point of find_all_by to
improve Rails 4 compatibility. They are substituted by .where calls.

d575926a 07/13/2015 07:36 AM Alon Goldboim

Fixes #10356 - changed the POST/PUT RABL template to be the same as the GET template

HTTP response code standardized to 201 on create.

5fc2aed6 07/01/2015 03:01 PM Martin Bacovsky

Fixes #10963 - partition table can't access os ids

b95c1e1b 06/19/2015 10:00 PM Walter Huf

Refs #10720 - Use API v2 response for vm_compute_attributes

9250d8b4 06/10/2015 12:08 PM Tomáš Strachota

Fixes #6976 - Build default PXE menu should be POST request

510d53cd 06/09/2015 07:22 AM Marek Hulán

Fixes #7096 - Adds STI to templates

This commit converts Ptables to be just another type of Template so it
gets the same features as ConfigTemplate. ConfigTemplate was renamed to
ProvisioningTemplate to reflect UI and the name under it's commonly known.

7e8bfe82 06/08/2015 03:32 PM Walter Huf

fixes #10720 - Adds API to get host vm attributes

This exposes an API to fetch a host's vm_compute_attributes,
such as vmware cpus and memory. It lives at a separate endpoint
because it involves a fetch for data from the compute resource,
and may have different performance characteristics than the database.

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.

ee66b3af 06/01/2015 03:54 AM Shlomi Zadok

fixes #9031 - Add routes to view template_combinations per hostgroup / environment

0fd7412f 05/19/2015 07:39 AM Dominic Cleal

fixes #10482 - get external user group members only once during refresh

d936284f 05/04/2015 06:49 AM Shlomi Zadok

fixes #9812 - Adds validation on override value, ensure match returns error if blank