Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
be0b9bee 09/15/2015 09:33 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...

7f9dd3fa 06/15/2015 10:07 AM Jan Pazdziora

fixes #10586 - make the 401 status comparison actually match.

(cherry picked from commit 3196ebaa009ca1d79e1330d36a0362b7ca04aade)

8da3be9c 05/20/2015 07:28 AM Dominic Cleal

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

(cherry picked from commit 0fd7412faaa76787bf15ed1901ffc9eb4d6353fa)

18f5cd8c 05/20/2015 07:16 AM Avi Tal

fixes #10342 - adding :host_parameters_attributes to except list in template_used()

(cherry picked from commit d4e53f27fefffc4a1b2b0f25f2d35accf5d4de6e)

e2855a46 05/20/2015 07:13 AM Stephen Benjamin

fixes #9773 - correctly render template URL

(cherry picked from commit f7174439285708c3010605230fec16797f3a0763)

0c46acd4 05/20/2015 07:11 AM Shimon Shtein

Fixes #9391 - Added validation code to NIC, so it validates that host's location/org is compatible with the one set on NIC's subnet

(cherry picked from commit 8f695d94a2f32fea3363cc017fc59baf6ca15b17)

efc01016 05/20/2015 07:11 AM Daniel Lobato Garcia

Fixes #10123 - Tests API v2 external user groups

The addition of a .refresh call after create, update and delete, caused
our tests to fail because of many failed calls to LDAP.
We can just expect the method to return true as we're not testing the
refresh functionality in these methods....

1c3f4398 05/20/2015 07:10 AM Marek Hulán

Fixes #9884 - refresh deleted external usergroups

(cherry picked from commit e780381933a7838af4be9a550942ef0f22608fd4)

f30caf97 04/09/2015 12:08 PM Julien Pivotto

Fixes #8812 - Pass model type so search_for is called on Host

At least on version 1.6.1, the absence of this second parameter leads to a
runtime crash when it's time to validate if the current user (non-admin) is
allowed to perform a power operation on given a host via the APIv2....

349074c5 04/09/2015 12:06 PM Keenan Brock

Fixes #10002 - Add attribute ancestry to taxonomies API v2

(cherry picked from commit 1f47202ce4e70fd036437f1d81646b6b811bf02d)

0d6ea512 03/26/2015 09:03 AM Martin Bacovsky

Fixes #7378 - fixed API lookup keys filters

(cherry picked from commit bc68c48da5b718084c3e531e61e48124e8e00d36)

5b28a835 03/16/2015 11:17 AM Tomáš Strachota

Fixes #9657 - merge NICs from compute profile in host create API

- updated api docs for hosts and interfaces
- host create/update api actions now merge interfaces from compute
profiles
- NIC type mapping extracted into a separate class
- return full host detail after host update...

ff3aabbb 03/10/2015 09:48 AM Tomáš Strachota

Fixes #9678 - Can't update admin flag for users via API

find_resource needs to be defined prior to UsersMixin is included as it
requires the variable @user being set.

(cherry picked from commit 1b1b39861e485523b0cc0c6435fef30c38df7e07)

72bbd72c 03/06/2015 08:33 AM Shimon Shtein

Fixes #9427 - Return meaningful errors from subnets/freeip and parse the error response to the UI

(cherry picked from commit b9521a8dc7f4e61a011cabbfdfe78657bd3c24d2)

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

Refs #3809 - Remove classcheck cop

9271a4bf 02/18/2015 03:54 AM Daniel Lobato Garcia

Refs #3809 - Remove various small cops

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

e5280f3e 02/18/2015 02:43 AM Dominic Cleal

fixes #9358 - match unattended template requests against provision interface

fa941058 02/08/2015 01:45 PM Shlomi Zadok

fixes #9030 - Adds support to clone config template via api

43c4bd72 01/27/2015 11:58 AM Marek Hulán

Fixes #7456 - Extract primary interface from host

Contributions from:

All host must have at least one primary interface and one provision (can...

c3b33536 01/13/2015 04:18 AM Stephen Benjamin

fixes #8484 - make SmartProxyAuth concern more useful to plugins

02cf7a53 12/28/2014 09:52 AM Tomer Brisker

Fixes #8796 - Fix to_gb size calculation and constentize

ad998ce7 12/28/2014 07:22 AM Shlomi Zadok

fixes #8049 - Add timezone to user

be4602e8 11/20/2014 05:17 AM Greg Sutcliffe

Fixes #8405 - Filter :interfaces_attributes when calculating templates_used

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

Refs #3809 - Remove useless assignments

fae8b987 11/16/2014 07:07 PM Stephen Benjamin

fixes #5634 - save sso_method on session expiry

e1a24883 11/12/2014 05:21 AM Joseph Magen

fixes #5773 - redirect to referrer URL that includes page and search

2094e4e8 11/04/2014 12:28 PM Greg Sutcliffe

Refs #969 - Foreman-side changes for serving templates from the proxy

8553650c 10/31/2014 10:42 AM Daniel Lobato Garcia

Fixes #8091: connect-src accepts WSS

3a36bdf6 10/31/2014 09:22 AM Stephen Benjamin

fixes #7586, #7734, #7172 - user preferences for receiving mail notifications

Adds a framework for user-selectable mail notifications. The work is
still done in ActionMailer classes and launch by rake in cron, however a
wrapper called MailNotification is used to provide RBAC and make the...

0e3d0658 10/31/2014 07:07 AM Stephen Benjamin

fixes #4463 - use unattended URL for hostgroup provisioning

6e916e52 10/26/2014 02:25 PM Shlomi Zadok

Fixes #746 - Generate all the Host template when click on Build to avoid errors during installation

cad1b13c 10/23/2014 05:18 AM Tomáš Strachota

Fixes #8005 - Convert allowed NIC types to strings

- allowed NIC type classes need to be registered now
- api for interfaces use lowercase human readable values for defining types
- fixed output of api's create action to the standard format

e768c976 10/22/2014 11:56 AM Tomáš Strachota

Fixes #6710 - unicode characters in url parameters

Original methods to_param defined on resources called name.parameterize
to get rid of url-unsafe characters. This function unfortunately also
stripped off unicode characters.

Changes:
- parameterization extracted into a separate module Parameterizable...

e14b5758 10/21/2014 09:18 AM Greg Sutcliffe

Fixes #7733 - Remove hosts.yml fixtures and use FactoryGirl instead

c330aee0 10/20/2014 06:49 AM Shlomi Zadok

fixes #7331 - delete unassigned os default templates

099a9d8c 10/20/2014 05:22 AM Shlomi Zadok

fixes #7985 - add support for ws:// in secure headers

f4cecb48 10/20/2014 05:11 AM Shlomi Zadok

fixes #7898 - ensure that format can respond to json / yaml

8e0f91f5 10/14/2014 07:56 AM Joseph Magen

fixes #7372 - API v2 - accept PUT/POST requests with wrapped root node to add/remove has_many associations of child nodes

2daac55f 10/13/2014 04:01 AM Shlomi Zadok

fixes #7907 - Allow images from gravatar on secure headers

5c50ca8e 10/11/2014 06:28 AM Jan Rusnacko

fixes #7805 - Add several security related HTTP headers - security hardening.

This commit uses secure_headers gem and configures several HTTP
security related headers to be sent by server:
  • Content Security Policy
  • HTTP Strict Transport Security
  • X-XSS-Protection...
b04c9fbb 10/09/2014 01:54 PM Daniel Lobato Garcia

Fixes #7884 - Display Fog errors on vm operation

54141ab9 10/07/2014 07:42 AM Daniel Lobato Garcia

Fixes #5139 - leftovers subscribe_to_all_hostgroups

Remove user_xxx unnecessary tables and notices

Update subhostgroups removed

Fixes for migration of foreign keys

Remove users from compute_resource fixture

Remove table notices after fk are removed for pg/mysql

5f029ed6 10/07/2014 03:40 AM Daniel Lobato Garcia

Refs #3809 - Use parentheses in method definitions

4f7a4d0b 10/06/2014 02:37 PM David Davis

Refs #3809 - Fix a few rubocop TODOs

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

de19f5b9 10/06/2014 07:54 AM Ohad Levy

fixes #2321 - remove new puppet creation option

f7171e0e 10/06/2014 06:43 AM Dominic Cleal

refs #7608 - i18n fixes, tests, use POST for action + only display link if authed

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

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

b12d9add 09/29/2014 08:23 AM Ori Rabin

Fixes #7572 - remove rundeck from core

Foreman rundeck is now a plugin available in https://github.com/theforeman/foreman_host_rundeck

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

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

4e3a7e7a 09/24/2014 05:42 AM Daniel Lobato Garcia

Fixes #6999 - protect user logout against CSRF requests (CVE-2014-3590)

To avoid CSRF, logout is changed to be a POST request so
protect_from_forgery checks the CSRF token. However, in Rails 3 the only
strategy available is to nullify the session of the attacker....

553a0beb 09/22/2014 10:52 PM Joseph Magen

fixes #5896 - Set Compute Resource's 'Console passwords' option in API

7e74d71b 09/17/2014 08:05 AM Joseph Magen

fixes #3544 - Editing an oVirt compute resource allows changing the type, which is unsupported

c0717c08 09/15/2014 06:52 AM Ori Rabin

Fixes 4642: Fix intermittent test failures on rundeck functional tests

5eb88cf5 09/15/2014 05:35 AM Ori Rabin

Fixes #3085: Request to be able to clone host groups via API

777a7ddd 09/15/2014 03:55 AM Stephen Benjamin

fixes #7314 - Set settings explicitly instead of stubbing Settings

40f9c481 09/10/2014 06:24 AM Tomer Brisker

refs #6161 - Add test to make sure override is marked on create

e14b6968 09/09/2014 07:03 AM Daniel Lobato Garcia

Fixes #4596 - Change parent of host group via AJAX

Reparenting host groups requires submitting the form to see the changes
nowadays, this fix makes the host group model inherit all properties
from the parent and show them in real time.

b8391adc 09/09/2014 03:34 AM Dominic Cleal

fixes #7253 - change nil admin field on users to false, matches usergroups

When the admin field was nil, admin_changed? in user model validations can
evaluate to true if the field changed from nil to false.

4fdfa622 09/08/2014 11:26 AM Marek Hulán

Fixes #3840 - Removes unused Signo related code

d455f32c 09/03/2014 11:24 AM Marek Hulán

Fixes #6444 - add support for virtual NICs

Extend additional interface details refs #2240

NIC facts parsing change and we create interfaces in Foreman according
to facts we recieve.

Subclasses does not define their own attributes and serialize them to
attrs hash. All BMC attributes are extracted to separate columns so it's...

8fabe661 08/18/2014 09:42 AM Tomer Brisker

Fixes #6831 - expire topbar cache for admin on taxonomy updates

2821b5e2 08/15/2014 09:25 AM Andrew N

fixes #6205 Changed regex to parse CNs from SSL DNs on separator chars

fe1a2733 08/15/2014 08:12 AM Greg Petras

Fixes #6756 - exposes vmware resource pools and folders through the API

a52580f5 08/15/2014 08:12 AM Greg Petras

Fixes #6608 - expose disk usage info through available_storage_domains API

a2610e98 08/11/2014 04:41 AM Joseph Magen

fixes #6696 - API v2 - specify 'host' as the key in which parameters will be wrapped rather than Host::Base

cad9cce9 08/10/2014 04:49 AM Dominic Cleal

fixes #6964 - replace default scope that hides users with explicit scope

4b2dffae 08/07/2014 04:21 AM Daniel Lobato Garcia

Fixes #5734 - API for external groups management

7d5aaa82 08/05/2014 07:54 AM Stephen Benjamin

fixes #6861 - provide a way to detect host group provisioning

50ebc024 07/31/2014 11:17 AM David Davis

Fixes #6446 - Forbidding non-json POST/PUT requests in v2

6421fa1c 07/31/2014 10:35 AM Daniel Lobato Garcia

Fixes #813 - External usergroups can be linked to an LDAP auth source

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

1eaa44ca 07/29/2014 08:30 AM Martin Bacovsky

Fixes #6768 - Hammer set-parameter does not work

160e24ea 07/28/2014 10:10 AM Joseph Magen

fixes #6430 - validate presence of location and organization for managed host if Settings are turned on

78551af8 07/24/2014 02:24 PM Maria Nita

refs #4641 - update to functional test

49f11eb4 07/23/2014 11:44 AM Joseph Magen

fixes #6753 - fix API v1 examples in docs that show error messages by re-ordering functional tests

56c90914 07/23/2014 07:58 AM Joseph Magen

fixes #6749 - fix API v2 examples in docs that show error messages by re-ordering functional tests

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

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

b4fbdf57 07/22/2014 07:00 PM Dominic Cleal

fixes #6402 - use standard success/error handlers in UI controllers

88c35a24 07/18/2014 02:12 PM Eric Helms

Fixes #6650: Friendlier message when attempting to delete oneself.

4a28771d 07/17/2014 10:05 AM Stephen Benjamin

fixes #1646, #3103 - enable cloning and locking of templates

c980e9a8 07/15/2014 10:23 AM Joseph Magen

fixes #5178 - unify API parameters and return values. User creation should not require payload wrapped with 'user' root

8e5a869a 07/14/2014 05:08 AM Ori Rabin

Fixes #6537: Entering a very large number for idle_timeout is unchecked, crashes UI

cb49ec82 07/11/2014 02:36 AM dustin tsang

fixes #6441 - allows filtering of parameters per controller

There is an issue where certain parameters for particular
controllers are causing the log to fill up. This allows the ability
to filter parameters by controller.

This allows each controller to add additional parameters to filter....

3ccd0ef6 07/10/2014 11:43 AM Jason Montleon

fixes #4155 - enable host/CR (dis)association via api

14e81700 07/09/2014 01:27 PM Tomáš Strachota

Fixes #6532 - permission related api extensions

- usergroups#show lists associated roles
- listing available resource types
- filters#show lists associated roles
- filters#index lists associated roles and permissions and orders the results
- pagination in permissions#index...
6f087ccb 07/09/2014 07:33 AM Joseph Magen

fixes #6506 - remove x86_64 default for new architecture

225b3818 07/02/2014 10:13 AM Tomáš Strachota

Fixes #6285 - Settings API does not parse incoming values to correct data type

e07f9a12 06/30/2014 07:57 AM Dominic Cleal

fixes #3272 - allow 'admin' account to be removed and replaced

301e9dc1 06/24/2014 08:23 AM Joseph Magen

fixes #6248 - API V2 return object for POST/PUT/DELETE should not include root node

e0d618ef 06/24/2014 08:18 AM Joseph Magen

fixes #6216, #4416 - avoid foreign key errors when deleting some objects in use

6568415c 06/20/2014 08:58 AM Joseph Magen

fixes #6229 - validate installation media exists for new host if pxe_build

ecac9440 06/19/2014 01:59 PM Thomas McKay

fixes #6003 - don't render user default loc/org object directly

983075c0 06/18/2014 08:02 AM Joseph Magen

fixes #5881 - XSS from create/update/destroy notification boxes (CVE-2014-3491)

f5ab56ae 06/17/2014 12:33 PM Dmitri Dolguikh

fixes #5722: VM-based host cloning picks up existing compute attributes

1db7e820 06/06/2014 10:15 AM Joseph Magen

fixes #5826 - Using dots in kickstart template names or hostgroups causes routing errors

10ac97b0 05/12/2014 03:16 PM Joseph Magen

fixes #4250 - API v2 - add compute profiles