fixes #3752 - move data population from migrations into seed script
fixes #3603 - replaced a relation with a collection in 'where' conditions
Fixes #3569, #3210 - Use port from foreman_url for templates
Fixes #3182 - Make IP optional in some circumstances
fixes #3364 Add option to disable automatc host creation when a report is received
Fixes #3293 add FactoryGirl to tests
fixes #3239 - pxelinux spoofing on postgres now works
fixes #3206 - prevent any user including admin from creating lookup_value with fdqn= or hostgroup= if host/hostgroup does not exist
fixes #3160 - sanitize host/host group names in lookup_value associations (CVE-2013-4386)
fixes #2975 added setting for using the shortname instead of FQDN for new virtual machines
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
Fixes #3130 - Use the standard CentOS mirror
fixes #3097 - foreign key error on deleting trend
Fixes #2272 - added Capybara integration tests, but without javascripts tests
fixes #2260 Allow ERB in ENC global / class parameters
Adds code to parse the global & class parameters, and adds a setting (default true) to disable this if needed. Also has some tests.
fixes #3046 - add NIC CRUD, power and boot operations API
Fixes #3045 - Skip empty log arrays
Fixes #2414 - Move puppet report processing code to the report processor
This creates a API route for POST:/api/reports which matches the GETformat for reports. Tests are updated, with the report model testsmoving to the puppet-foreman module (along with the report fixtures).
fixes #2863 - restrict APIs to resources that a user is permitted to manage (CVE-2013-4182)
fixes #1745 - make puppetmaster hostname/domain stripping behaviour configurable
Refs #2414 - Remove Puppet from facts API and Settings
Reports are still in progress and will come in a later PRDB schema is updated to not need puppet/rails
fixes #2891 Openstack power control operations support
Compute resource helper Strings should be possible to translate
Compute resource permission to pause vms
Tests for Openstack VM pausing/resuming
VMs UI shows only available actions
I18n string issues. Vm power state cannot be properly translated yet...
fixes #2945 - extend AR to add getter/setters *_name(s) for has_many/belongs_to associations
fixes #863 - added ldap_filter to LDAP auth sources to filter lookups using RFC 2254 filters
fixes #2424 - encrypts compute resource password
fixes #2871 - params search works with nested hostgroups
fixes #2788 - changes to fixtures and tests in preparation for testing adding/removing puppetclasses
Fixes #2576 - Add optional update of Host.ip from built request
fixes #2693 - don't cause handle_ca error when no Puppet CA associated with host
fixes #2779 - permission problem with non-admin adding puppetclasses to hosts and hostgroups
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
fixes #1963 - prevent host creation when facts are uploaded via new setting
fixes #2484 - host, hostgroup, and BMC passwords were overwritten as blank
fixes #2660 - settings, improve tests and fixes
- added string settings type- fixed tests previously commented out due to CI failures- more tests for core settings functionality- parsing of string values enhanced and extracted to a separate method- setting value to nil when it equals default is back...
Fixes #2038 - updated config and partition table templates using ones from the community repository
fixes #2386 - permission failure on create_lookup_value
fixes #2539 - added API puppetrun access permission and test
fixes #2440 remove unused files, code, unnecessary require statements
Fixes #2497 - Join to the fact_values table when a user fact-filter is applied
Revert "fixes #2484 - host and hostgroup root passwords are not saving"
This reverts commit 2193afa0e33e939739a53d2918cb2e31ee92ac7a.
merged by mistake
fixes #2484 - host and hostgroup root passwords are not saving
refs #2400 clean up tests so there are no orphaned foreign keys
fixes #2407 - Add STI to settings model
Also adds some tests for rendering new/missing STI models, andrefactors the old default_settings loader into the new sub-models.
fixes #2417 - SSO abstractioning
Apache and Signo SSO reworked to a new general SSO concept.
You can use SSO service that comes with Katello for loggin in. It'sbased on OpenID protocol with slightly customized provider.
fixes #2247 Provides an option to disable the use of gravatara
A new setting is added, use_gravatar. It defaults to true. If it is set to false, then the gravatarcall out is not used and only the default user icon is used.
fixes #2263 search Hostgroup by label
fixes failing test/fixture introduced in 7ff39bfa
fixes #2153 - add trusted_puppetmaster_hosts setting to permit puppetmaster access
Connections to fact + report upload and externalNodes will be permitted fromany host listed in the trusted_puppetmaster_hosts setting, bypassing therequirement for a registered smart proxy....
upgrade foreman to rails 3.2.13
This commit updates from rails 3.0.x to 3.2.x, main changes include:
Users who uses foreman in production, make sure that you now compileyour assets, e.g...
fixes #2250 API v2 add/remove puppetclasses from hosts and hostgroups
fixes #2272 setup capybara and spork and modified test_helper for future integration testing
fixes #2254 - Add STI to hosts table
Signed-off-by: Joseph Mitchell Magen <jmagen@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
fixes #1988 - CRUD Actions for nested parameters for host, domain, hostgroup, os
e.g.
GET /api/domains/6/parametersPOST /api/hosts/6/parametersPUT /api/hostgroups/6/parameters/100DELETE /api/operatingsystems/6/parameters/100
fixes #2124 - only include classes from the host current environment.
This patch introduce a new setting, which decide how would foremanaddress a mismatch between host and hostgruop environments.
for example, when puppet classes (directly or indirectly via hostgroups) that do not...
fixes #2001 - Changing Loc or Org after compute resource selection give 500 error
fixes #2151 - use DN environment variable instead of CN
nginx is unable to pass bits of the X.509 subject, only the entire DN, sosupport that as a lowest common denominator.
fixes #2147 - param classes with multiple matchers are evaluated incorrectly
fixes #2121, #2069 - restrict importers and ENC to puppetmasters and users
CVE-2013-0171: report and fact importers parse YAML directly from the remotehost without authentication. Untrusted YAML can instantiate objects and beused to exploit Foreman.
CVE-2013-0174: external nodes (ENC) output is available to any source and...
fixes #1814 - converts sp_* attributes into a BMC interface class
this patch also includes the following
fixes #1834 to get foreman running under ruby 1.9.3
minor cleanups to the proxy resource class refs #2056
remove hypervisor vm info from tests refs #1957
Add organization and location to foreman.
This feature allows foreman to provide multi location, multi tenant andmulti 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,...
Fixes #983 - implement 3 state boot
set apiadmin user in headers before api controller tests
This commit adds most of the functionality required for API v1
The overall goal was to extract the existing JSON responseoverall controllers, and to move them to a seperate name space.
fixes #1957 - remove old libvirt hypervisors code
Since foreman 1.0 libvirt hypervisors are now part of compute resourcesthis patch removes the old code and migrate any existing hypervisors tobe libvirt based compute resources.
fixes #1872 - Adds Puppet v3 support
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
feature #1906 add Trend information
Signed-off-by: Amos Benari <abenari@redhat.com>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
fixes #1907 - audit log should contain puppet class assignments within a hostgroup
shortened fixture name so tests pass on postgresql which doesn't truncate extra string characters
Use tokens for discovery of host identity during installation
- fixes #1069- fixes #1720- refs #969
fixes #832 - adds parameterized class support
Credits:This patch is based on the original work of Olivier Favre<olivier@yakaz.com> many many thanks!
fix failing 'show nested fact json' test in fact_values_controller_test
api v1 - config templates
fixes #1820 - Authenticate API calls via REMOTE_USER
This patch allows API requests authentication via REMOTE_USERonly if authorize_login_delegation and authorize_login_delegation_apiare enabled.
fixes #1799 moved REMOTE_ADDR verification to settings
api v1 - architectures controler and tests
api v1 - tests for operating systems controller
couple of test fixes after upgrading to a newer mocha/shoulda
fixes #1700 audit page performance improved
fixes #1544 - Updating a host fails if you cannot reach the SOA nameservers
and added the missed tests
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....
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)...
fixes #137 - Better support for non-hostname certnames
This patch introduce a new setting :use_uuid_for_certificates whichdefaults to false.
users who wish to deploy their hosts using a random unique id, shouldenable that setting, and use the certname directive in their puppet.conf...
fixes #1600 - records are deleted even though host is not Managed
fixed failing test due to wrong fixture
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 <ohadlevy@gmail.com>
refs #1530 - ensure enc_environment is in a fixture
fixes #1503 - When creating a host, it should be possible to define a Puppet CA and a Puppet Master to use
fixes #1509 - Foreman should use the proxy to import puppet classes
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 parametersThis could probably be extended further if necessary.
fixes #1446 - expire idle web sessions
fixes #1281 - assingn more than one domains to a subnet
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 insideforeman graphs, charts and lists. The business reason for this is to allowusers to run their puppet agents in noop mode, and see where nodes have...
WIP rails3 migration
fixes #1257 - various fixes around bcm dhcp record
fixes #724 - Allow default VM specs to be tied to a hostgroup