Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
358ec5a3 01/20/2013 10:06 AM Dominic Cleal

fixes #2121, #2069 - restrict importers and ENC to puppetmasters and users

CVE-2013-0171: report and fact importers parse YAML directly from the remote
host without authentication. Untrusted YAML can instantiate objects and be
used to exploit Foreman.

CVE-2013-0174: external nodes (ENC) output is available to any source and...

958d69cd 01/14/2013 01:24 PM Dmitri Dolguikh

v2 api for configuration_templates and template_combinations

d4e8938a 12/26/2012 09:58 AM Ohad Levy

fixes #1944 - Listing VMWare virtual machines under Computer resources is slow.

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

6670e58c 12/02/2012 08:07 AM Ivan Necas

Clear the thread values outside of handling request

Adding an around filter to clear the thread values. Without this there
is a risk that the thread value from previous request will be used in
other request, which can lead to security issues.

We clear the current user at the beginning of the request (except the...

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

611f5bff 11/28/2012 05:38 AM Amos Benari

Add organization and location to foreman.

This feature allows foreman to provide multi location, multi tenant and
multi organizations capablities.

the idea is that resources within foreman (e.g. hosts, subnets, users,
environments etc) can belong to one or more locations and organization,...

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)...
3f482b82 11/19/2012 02:25 AM Ohad Levy

fixes #1957 - remove old libvirt hypervisors code

Since foreman 1.0 libvirt hypervisors are now part of compute resources
this patch removes the old code and migrate any existing hypervisors to
be libvirt based compute resources.

f1a5a067 11/04/2012 03:29 PM Sam Kottler

Fixed array structure in API v1 user controller test

9f6de1e7 11/01/2012 07:45 AM Greg Sutcliffe

Refs #1920 : Fix failing tests for Setting[:foreman_url] Ensure plain 'http' protocol is used in templates Add a test to ensure http is used when https is in @request

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

518d50bb 10/17/2012 05:13 AM Petr Chalupa

auto create admin-user when missing in API requests

add getter for admin user User.admin which auto creates admin when missing

81159d4b 10/04/2012 11:14 AM Greg Sutcliffe

Use tokens for discovery of host identity during installation

- fixes #1069
- fixes #1720
- refs #969

f8d94608 09/24/2012 10:41 AM Amos Benari

fixes #832 - adds parameterized class support

Credits:
This patch is based on the original work of Olivier Favre
<> many many thanks!

This patch adds the following features
  • import class parameters, and try to understand their types
  • support a complex matrix of environments, puppet classes and their...
a424ba79 09/03/2012 10:09 AM Ohad Levy

trying to fix/figure out travis complains

399dca9e 09/03/2012 02:39 AM Ohad Levy

fixes #1843 - Accepts a plain hash as facts source

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

00de4f4b 08/26/2012 03:44 AM Dmitri Dolguikh

fix failing 'show nested fact json' test in fact_values_controller_test

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

7adf0ee3 08/13/2012 09:58 AM Nacho Barrientos

fixes #1820 - Authenticate API calls via REMOTE_USER

This patch allows API requests authentication via REMOTE_USER
only if authorize_login_delegation and authorize_login_delegation_api
are enabled.

50e78f00 08/08/2012 07:01 AM Hannes Schaller

fixes #1799 moved REMOTE_ADDR verification to settings

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

316a4ccd 07/22/2012 07:38 AM Ohad Levy

couple of test fixes after upgrading to a newer mocha/shoulda

32f4c2ed 06/27/2012 03:35 PM Ohad Levy

minor fix and added a few tests to ensure config templates works correctly

22a2bcb1 06/21/2012 08:34 AM Amos Benari

fixes #1649 Puppet class and environment import works only on the first smart-proxy

79cb5cc0 06/17/2012 05:24 AM Ohad Levy

fixes #1115 Host parameters are not available via the API

dc072ade 06/17/2012 03:49 AM Ohad Levy

add a test to ensure that assoicated template oss are failing to delete the template

267f1ea2 06/07/2012 07:24 AM Ohad Levy

fixes #1619 - X-Forwarded-For multiple IPs

e170c321 05/30/2012 08:47 AM Olivier Favre

fixes #1597 - Restrict compute resources access by user

And add some rights to give non admin users so they can perform some normal actions on the hosts they own.

unit/domain_parameter_test.rb self-broke... added a tiny fix.
Removing compute_resources/vms nesting, it is such a nightmare for functional tests....

dd42df0a 05/29/2012 03:41 AM Ohad Levy

adds ec2 provisioning support fixes #1223

- added progress bar for instance creation
- minor fixes for certname based deployments
- added ssh provisioning support to orchestartion, which utilize finish
scripts by default
- added images support (part of the vm compute tab)...

370a7ac7 05/14/2012 04:19 AM Ohad Levy

fixes #137 - Better support for non-hostname certnames

This patch introduce a new setting :use_uuid_for_certificates which
defaults to false.

users who wish to deploy their hosts using a random unique id, should
enable that setting, and use the certname directive in their puppet.conf...

334d0359 03/19/2012 06:51 AM Amos Benari

fixes #1540 added suport for provisioning on ovirt/rhvem using fog.

This patch addes a compute resource concept within foreman

Signed-off-by: Ohad Levy <>

67799065 03/15/2012 10:34 AM Ohad Levy

code smell

ace6fbad 03/14/2012 05:46 AM Ohad Levy

fixes #1503 - When creating a host, it should be possible to define a Puppet CA and a Puppet Master to use

a989a617 02/27/2012 05:40 AM Ohad Levy

fixes #1509 - Foreman should use the proxy to import puppet classes

54358a76 02/23/2012 08:23 AM Greg Sutcliffe

fixes #1324 - Separate permssions on hosts from permissions for objects within hosts.

This allows a user to be granted permission to edit the host (and so change the group or proxy) but not, for example, edit the parameters
This could probably be extended further if necessary.

77440fe6 01/29/2012 09:11 AM Ohad Levy

fixes #1175 - PXELinux does not render with spoof

6f0fc8f1 01/24/2012 01:46 PM Ohad Levy

fixes a couple of broken tests + show full error trace in development mode.

d7bd2f22 01/15/2012 03:14 AM Ohad Levy

fixes #1446 - expire idle web sessions

9b41cf08 11/28/2011 08:02 AM Ohad Levy

fixes #402 - Add noops/pending to metric handling, and provide pending hosts for dashboard views.

This change adds the ability to see noops in metric reports inside
foreman graphs, charts and lists. The business reason for this is to allow
users to run their puppet agents in noop mode, and see where nodes have...

017e1049 11/28/2011 03:44 AM Ohad Levy

WIP rails3 migration

0423daa9 10/30/2011 09:34 AM Ohad Levy

fixes #1174 - some error messages may show up twice

224783a1 10/25/2011 11:02 AM Ohad Levy

fixes #1208 - Unauthenticated IP spoofing should not be allowed

137f08b9 10/09/2011 04:39 PM Ohad Levy

fixed broken test - refs #1211

a7f81b9e 10/05/2011 04:06 AM Ohad Levy

clean up unused views and tests, refs #1184

5d264a2d 09/05/2011 07:26 AM Ohad Levy

refactor - various facts cleanups

a7f78b19 09/04/2011 03:13 AM Ohad Levy

fixes #1148 - CRUD on lookup values via the API

6285a614 08/23/2011 07:37 AM Ohad Levy

fixes #1125 - tftp proxy might not always be initialized

a6f4f5f7 08/18/2011 04:00 PM Ohad Levy

fixes #1120 - Replaced DHCP functionaitlity by the new net dhcp record classes

f1ff5404 07/31/2011 07:27 AM Ohad Levy

fixes #1077 - Ensure that host OS attributes are related to the OS itself

b96931f2 07/28/2011 02:48 AM Ohad Levy

FEATURE #982 API call to get fact keys

Signed-off-by: Corey Osman <>

c0bbcc71 07/17/2011 03:36 AM Paul Kelly

Fixes #1047 - settings controller tests fail to set_session_user

Signed-off-by: Paul Kelly <>

9afa092e 07/06/2011 10:07 AM Ohad Levy

fixes #322 Ability to add custom variables and multiple values resovled
in a dynamic Hierarchally order

This commits introduces the ability to define variables per puppet
class.

additionally, each class can have multiple values, depends on the host
which is requesting that variable....

76607ed5 06/29/2011 02:17 PM Ohad Levy

fixes #100 - Setting is now a ActiveRecord object

This allows users to manage foreman settings via the UI.

the UI is a bit ugly, but works :)

4d4b84f6 06/20/2011 07:07 AM Ohad Levy

fixes #35 - Allow hostgroup nesting for puppet classes and parameters

a6db0470 06/15/2011 07:03 AM Paul Kelly

Fixes #820 - Intel Solaris support

Signed-off-by: Paul Kelly <>

7159f2a2 06/09/2011 02:06 AM Ohad Levy

fixes #967 - bookmark fails if its name includes a "."

47819d54 05/29/2011 04:10 AM Ohad Levy

fixes #948 - better support for API config_templates api

  • url now uses template name as an id, instead of numerical id's.
  • index queries now respect search condtions
  • added search to the UI part too.
  • fine grained json output
bf228dd6 05/25/2011 04:59 AM Paul Kelly

Fixes 867 - Allow update_multiple to clear hostgroup

Also added the facility for clearing the environment to update_multiple_environments

Signed-off-by: Paul Kelly <>

2e587465 05/23/2011 11:00 AM Ohad Levy

fixed broken test - refs #836

2d9308eb 05/22/2011 03:14 AM Paul Kelly

Fixes #883 - Enable Authorization checking during rake tests

Signed-off-by: Paul Kelly <>

925b276b 05/15/2011 11:08 AM Corey Osman

Feature #882 - add api call to reports page to get the index section

Signed-off-by: Corey Osman <>
Signed-off-by: Ohad Levy <>

0c176a18 05/11/2011 03:50 AM Ohad Levy

Feature #896 add json response for statistics page

a few test fixtures had to be changed, in order to ensure that
statistics are returned correctly.

Signed-off-by: Corey Osman <>
Signed-off-by: Ohad Levy <>

9161008b 05/02/2011 02:56 AM Amos Benari

added search bookmarks, fixes #836

  • adds sub navigations under main menu items, each sub navigation is a bookmark.
  • adds visual improvements to main menu

    app/controllers/bookmarks_controller.rb | 74 ++++++++
    app/helpers/application_helper.rb | 2 +-...

078fbb59 05/01/2011 06:59 AM Ohad Levy

refs #815 - converted mulity host selections to a dialog box

  • added selected counter
  • checkbox are now always shown, disabled or enabled based on users permissions
  • cleanups
2b0af5e7 05/01/2011 05:07 AM Ohad Levy

Fixes #865 - adds support for api to select multiple hosts via name and id

Signed-off-by: Corey Osman <>
Signed-off-by: Ohad Levy <>

1a51088d 04/23/2011 02:16 PM Ohad Levy

fixes #815 - Redirect to login page when editing multiple hosts

this patch converts the mulitple selections to be pure javascript,
removing the buggy AJAX implementation.

2a0cffd3 04/20/2011 08:56 AM Ohad Levy

fixes #400 - Puppetca Monitor

f3c1ecd3 04/17/2011 07:14 AM Ohad Levy

fixes #847 - Retrieve last report information per host via the api

this adds two URLS to the API:

/hosts/fqdn/reports/last
/reports/last

both supports JSON output which provides all of the report information.

31207a31 04/14/2011 02:07 AM Ohad Levy

fixes #827 add support for retrieving classes per host via the api

This allows queries like
/hosts/fqdn/puppetclasses
/puppetclasses/klass/hosts

it also changes the puppetclasses urls to include the class name instead of its ID.

b3f525e2 03/31/2011 05:28 PM Ohad Levy

fixes #723 - Hypervisor details page

This also include basic functionality to power on/off guests

dbb7c2f2 03/29/2011 05:27 AM Paul Kelly

Fixes #789 - External node interpolation of puppetmaster

Signed-off-by: Paul Kelly <>

bb9a1ad1 03/22/2011 06:46 AM Paul Kelly

Fixes #565 - rake puppet:import:puppet_classes misses some changes

Signed-off-by: Paul Kelly <>

36f93e4d 03/17/2011 02:32 PM Ohad Levy

Fixes #609 - Orchestrate puppetca operations

This also includes adding support for a puppet smart-proxy target type
and providing migration support
Updated to provide backward compatability for host and hostgroup objects
Now terminates the build and incorporates other fixes...

a67e7179 03/13/2011 04:05 AM Paul Kelly

Fixes #641 - Allow editing of the host's managed atribute

Signed-off-by: Paul Kelly <>

b752d4f7 03/07/2011 05:23 AM Lukas Zapletal

Fixes #691 - Implement simple status service

Signed-off-by: Lukas Zapletal <>

e895706f 03/07/2011 03:13 AM Paul Kelly

Fixes #695 - Unattended being false should skip some tests

Signed-off-by: Paul Kelly <>

b28fdce4 02/21/2011 04:14 AM Ohad Levy

Fixes #670 - Adds proper json support for most CRUD operations

218bd6e0 02/15/2011 10:55 AM Justin Sherrill

Fixes #632 - Adds the ability to generate a PXE menu containig
provisioning template and hostgroup combinations on smart proxies