Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

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

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

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

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.

1b1b3986 03/10/2015 04:21 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.

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

Refs #3809 - Remove various small cops

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

Refs #3809 - Remove cops for empty lines

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

Refs #3809 - Remove useless assignments

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

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

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

Refs #3809 - Use parentheses in method definitions

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

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

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

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

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

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

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

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

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

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

111cde57 04/13/2014 09:24 PM Joseph Magen

fixes #4204 - add config groups feature - assign multiple config groups to a host or hostgroup

e4fde4e3 04/02/2014 11:01 AM Ivan Necas

Fixes #4976 - ensure the process is really running inside a rake task

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

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

a44dd094 03/13/2014 11:21 AM Dominic Cleal

fixes #4314 - ignore default scope ordering on host search by puppet class

e44f5c1c 03/04/2014 11:55 AM Daniel Lobato Garcia

fixes #3001 - Facts searchable by both host id and name

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:
34897490 02/17/2014 11:15 PM Joseph Magen

fixes #3939 - add option to 'inherit from parent' for hostgroup attributes

c4bfd47f 02/05/2014 05:24 PM Stephen Benjamin

fixes #3725, #4167 - root password validations, remove default password

f9bc5a8e 01/21/2014 12:02 PM Daniel Lobato Garcia

fixes #3920 - prevent 500 ScopedSearch errors on the API, raise UI errors correctly

8c68024a 01/17/2014 12:09 PM Daniel Lobato Garcia

fixes #2231 - hostgroup deletion is restricted to hostgroups without children

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

fixes #3515 - API handles not found objects with 404

0fa5d146 12/25/2013 09:22 AM Dominic Cleal

fixes #3752 - move data population from migrations into seed script

9f16bd9e 12/05/2013 03:37 PM Joseph Magen

fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller

df4c1afc 11/23/2013 07:24 PM Dominic Cleal

fixes #3736 - users API uses login name as an identifying attribute

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

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

74346b1b 10/31/2013 11:57 AM Martin Bacovsky

fixes #2951 - Host API documentation lacks compute_resource_id

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

fixes #3140 - API to allow importing of puppet classes

3035495f 10/18/2013 02:03 PM Greg Sutcliffe

Fixes #3293 add FactoryGirl to tests

c3d8dd61 09/25/2013 03:39 PM Dominic Cleal

fixes #1244 - add smart proxy feature refresh link + API call

f78b4651 09/19/2013 07:43 AM Joseph Magen

Fixes #2984 - API v1/v2 StatisticsController and remove JSON from UI controller

4e057da2 09/10/2013 10:02 PM Joseph Magen

fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables

76e5dd41 09/10/2013 09:12 PM Joseph Magen

fixes #2969 - remove all legacy api code in UI controllers, add deprecation response

ce13ab5d 09/03/2013 07:50 AM Marek Hulán

fixes #2863 - restrict APIs to resources that a user is permitted to manage (CVE-2013-4182)

5f7b64bd 07/01/2013 03:23 AM Joseph Magen

fixes #2728 - POST /api/hostgroups does not accept ancestry

93ce3a18 06/03/2013 01:28 PM Joseph Magen

fixes #2602 - scoped_search error when using postgresql

7fab6ba6 05/24/2013 04:46 AM Ivan Necas

fixes #2553 let setting admin attribute on user creation

7507fbce 05/23/2013 08:13 AM Daniel Lobato Garcia

fixes #2550 Puppetclass search_by_host doesn't return all classes for an unknown host

Tests for puppetclass API searches on nonexistent hosts

Puppetclass search_by_host does not fail if Host does not belong to any Hostgroup

Puppetclass search_by_host query looks for distinct puppetclasses instead of pruning them afterwards...

7d1d44cf 05/09/2013 05:54 AM Joseph Magen

refs #2400 clean up tests so there are no orphaned foreign keys

8838eb42 12/26/2012 08:49 AM Ohad Levy

fixes #1814 - converts sp_* attributes into a BMC interface class

this patch also includes the following

  • added a new interfaces table, and STI objects to represent a NIC, BMC, Managed
    and a bootable interface.
  • refactored DHCP/DNS orchestation code, so they can work on the...
8dc8a9ac 12/24/2012 10:57 AM Joseph Magen

fixes #1890 api host status

71291a46 12/20/2012 04:18 AM Dmitri Dolguikh

fixes #1834 to get foreman running under ruby 1.9.3

f528f158 12/12/2012 10:03 AM Joseph Magen

added compute resource actions and tests

25d4ca6d 12/11/2012 03:57 AM Joseph Magen

host routes api changes squashed

7838d170 12/02/2012 08:07 AM Ivan Necas

Fix inter-test dependencies

After the thread clean-up, some tests were failing because they
implicitly expected User.current to be set. Stating the dependencies
explicitly.

752d0844 12/02/2012 08:06 AM Dmitri Dolguikh

added template_kinds controller to api

8ab96869 11/22/2012 10:15 AM Joseph Magen

set apiadmin user in headers before api controller tests

4651d51f 11/22/2012 09:50 AM Tomáš Strachota

smart proxies api - filtering by proxy type

d076d573 11/21/2012 08:10 AM Joseph Magen

This commit adds most of the functionality required for API v1

The overall goal was to extract the existing JSON response
overall controllers, and to move them to a seperate name space.

  • documentation was added to all requests (available under /apidoc)...
f1a5a067 11/04/2012 03:29 PM Sam Kottler

Fixed array structure in API v1 user controller test

c2ccd27b 10/28/2012 04:41 PM Joseph Magen

used media/show partial and added to tests

30ababd4 10/28/2012 04:38 PM Joseph Magen

added dns_id, dhcp_id, tft_ip attributes even though they are nested as children to be consistent with current api

e6af1c4c 10/21/2012 10:40 AM Joseph Magen

typo on index.json.rabl for environments.

added missing s char

e24e0cf6 08/29/2012 09:13 AM Pavel Pokorný

Subnets API

938e78d6 08/26/2012 03:48 AM Dmitri Dolguikh

a bunch of fixes to get functional tests running under 1.9.2

b4f3d722 08/26/2012 03:44 AM Dmitri Dolguikh

added environment API

41c9842f 08/26/2012 03:16 AM Pavel Pokorný

api v1 - domains controller

d36619ab 08/15/2012 09:47 AM Ohad Levy

api v1 - added media and dashboard controllers

0856182e 08/15/2012 09:47 AM Ohad Levy

api v1 - config templates

ba69b49b 07/24/2012 04:12 AM Martin Bacovsky

api v1 - Users controller and tests

- split api routes to separate routes file
- better detection of permission failure in model
- fix ApiConstraints
- catch bad routes in api and return json
- render home#index links from restapi
- fixed resource params recognition

d00e1bee 07/24/2012 04:12 AM Tomáš Strachota

api v1 - fisrt version of bookmarks controller

b3b90601 07/24/2012 04:12 AM Martin Bacovsky

Fixed bookmark tests (API v1)

03abfb63 07/24/2012 04:12 AM Tomáš Strachota

api v1 - Authorization

  • added authorization handling to api and tests
  • fixed auth handling for controllers without auth
  • handling status code in permision related errors
acd8589a 07/24/2012 04:12 AM Martin Bacovsky

api v1 - architectures controler and tests

f7e6bc41 07/24/2012 04:12 AM Tomáš Strachota

api v1 - tests for operating systems controller

63efbbf5 07/24/2012 04:12 AM Petr Chalupa

api v1 - fixing permissions

cleanups in base controller

b2b47290 07/24/2012 04:12 AM Petr Chalupa

api v1 - render errors with rabl

better detection of permission failure in model
fix ApiConstraints
catch bad routes in api and return json