Fixed tiny typo in the hostgroup unit test
Fixes #1789 - Parent hostgroup name is truncated when its sub-group is a sub-string of the parent hostgroup name
[SQL optimizations] - many small optimizations
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
api v1 - fisrt version of bookmarks controller
Fixed bookmark tests (API v1)
api v1 - Authorization
api v1 - architectures controler and tests
api v1 - tests for operating systems controller
api v1 - fixing permissions
cleanups in base controller
api v1 - render errors with rabl
better detection of permission failure in modelfix ApiConstraintscatch bad routes in api and return json
couple of test fixes after upgrading to a newer mocha/shoulda
fixes parameters whitespace validations
fixes #1716 - remove whitespace from hostname
fixes #1463 - let Foreman run on a sub path
e.g. for it being available on http://localhost:3000/foreman you run:
RAILS_RELATIVE_URL_ROOT=/foreman rails s
fixed wrong test - refs #1677
disk layout should really not be unique.
fixes #1638 - remove whitespaces for user email instead of validation error
minor fix and added a few tests to ensure config templates works correctly
fixes #1700 audit page performance improved
fixes #1613 - Email address format validation preventing admin user creation
fixes #1649 Puppet class and environment import works only on the first smart-proxy
fixes #1586 -Root password inheritance doesn't seem to work properly
fixes #1544 - Updating a host fails if you cannot reach the SOA nameservers
and added the missed tests
fixes #1115 Host parameters are not available via the API
add a test to ensure that assoicated template oss are failing to delete the template
minor test failure - missed that
fixes #1619 - X-Forwarded-For multiple IPs
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>
code smell
Fixes #944 - clear network conflicts
When a network conflict is detected (such as conflicting ip/name dns ordhcp records), foreman would try to suggest a resolution.
Signed-off-by: Paul Kelly <paul.ian.kelly@googlemail.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
removed failing tests in travis
refactor - added an importing class for puppet facts
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 #1456 - renaming the admin account should not be allowed
fixes #1175 - PXELinux does not render with spoof
fixes a couple of broken tests + show full error trace in development mode.
fixes #1392 - change root password back to system wide defaults
fixes #1446 - expire idle web sessions
fixes #1281 - assingn more than one domains to a subnet
fixes #1313 ensure all host names are lowercased
Signed-off-by: Florian Koch <florian.koch1981@googlemail.com>
fixes #1421 - expose subnet ranges for automatic IP address allocations
Revert "Fixes #944 - clear network conflicts"
This reverts commit 117ba92a758e4589ef5fdf1f1b9083402b2d317b.
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 #1174 - some error messages may show up twice
added missing test update, refs #1269
fixes #1208 - Unauthenticated IP spoofing should not be allowed
fixed broken test - refs #1211
clean up unused views and tests, refs #1184
fixes #1186 foreman does not forward sparc dhcp vendor options when creating a sparc Solaris host
fixes #1179 - exposes foreman attributes in encthis includes:
fixes test, refs #1150
refactor - various facts cleanups
fixes #1148 - CRUD on lookup values via the API
fixes #1125 - tftp proxy might not always be initialized
refs #1128 - ensure that parameters cache is cleared between tests
fixes #1121 - convert dns handling to real network objects
fixes #1120 - Replaced DHCP functionaitlity by the new net dhcp record classes
Fixes #1095 - Vendor_class error reporting is incorrect
fixes #724 - Allow default VM specs to be tied to a hostgroup
fixes #762 - Check class assignment consistency
fixes #1077 - Ensure that host OS attributes are related to the OS itself
fixes #1078 - Foreman should accept minimal parameters when creating a new host
FEATURE #982 API call to get fact keys
Signed-off-by: Corey Osman <corey@logicminds.biz>
fixes #1064 - last login info for a user without admin rights is not updated
fixes #1058 Adds support for OpenSuSE provisioning
Fixes #989 - Add Sparc Solaris support
wrong setting category - refs #636
fixes #685 - records per page should be configurable
This patch adds a new setting how many records should be per page.
note that since the code is in the ActiveRecord::Base class, and thatits in lib (e.g. loaded once) you would need to restart foreman everytime you change this value....
Fixes #1047 - settings controller tests fail to set_session_user
fixes #1044 - Adds ERB templates to disk layouts
fixes #1043 - make autosign optional
fixes #777 - this enable auditing of when a host is changing its puppet class assignmetns
one limitation of this patch is that at the moment, each class changegets its own audit record.
fixes #322 Ability to add custom variables and multiple values resovledin a dynamic Hierarchally order
This commits introduces the ability to define variables per puppetclass.
additionally, each class can have multiple values, depends on the hostwhich is requesting that variable....
splitted setting default data from the migrationthis allows to add new data and modify its defaultsimproved settings UI a bit morerefs #100
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 :)
fixes #35 - Allow hostgroup nesting for puppet classes and parameters
Fixes #820 - Intel Solaris support
fixes #967 - bookmark fails if its name includes a "."
fixes #903 - Show resulting provisioning options at the Host edit screen
fixes #948 - better support for API config_templates api
Fixes #943 - Use the Sandbox renderer for host's PXE menu
Fixes 867 - Allow update_multiple to clear hostgroup
Also added the facility for clearing the environment to update_multiple_environments
fixes #930 - Skipped resources should not put systems in 'error' state
fixed broken test - refs #836
Fixes #883 - Enable Authorization checking during rake tests
Feature #882 - add api call to reports page to get the index section
Signed-off-by: Corey Osman <corey@logicminds.biz>Signed-off-by: Ohad Levy <ohadlevy@gmail.com>
Feature #896 add json response for statistics page
a few test fixtures had to be changed, in order to ensure thatstatistics are returned correctly.