Fixes #4022: Make api puppetrun a PUT for REST standards
fixes #3515 - API handles not found objects with 404
Fixes #4020 - enable @static to work on all OS template types
fixes #3178 - add feature for compute profiles for hostgroups and hosts
refs #3928 - use updated test fixture
fixes #3928 - API v2 - update os_default_templates for operating system
refs #3930 - ensure a user can actually update itself.
fixes #3930 - refactoring of edit_self implementation.
fixes #3752 - move data population from migrations into seed script
fixes #3280 - authenticate returns true for API requests when login:false
fixes #3693 - API v2 - accept GET json format of object in PUT/POST requests to add/remove has_many associations
fixes #3491 - API v2 rabl templates base, main, show for each controller
fixes #2983 - Add autosign#index to API v1 and v2 and remove from UI controller
fixes #3646 - API v2 change default root name for api json single object response to no root node but make it configurable
fixes #3137 - API v2 - show error if optional nested object does not exist for nested route
fixes #3018 - API v2 metadata for pagination, search, order in index collection json response
fixes #3011 - default root node name for api collections json response to :results but make it configurable
fixes #3736 - users API uses login name as an identifying attribute
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #2763 - correcting doco links
fixes #3603 - replaced a relation with a collection in 'where' conditions
fixes #3017 - split APIv2 controllers from v1 parents
fixes #3312 - support /users/extlogin as a login page based on REMOTE_USER
Fixes #3569, #3210 - Use port from foreman_url for templates
fixes #3597 - removing rr gem, make tests consistent by using just mocha
fixes #3566 - exposes orchestration tasks via the API at /api/orchestration/id/tasks
fixes #3577 - do not treat `params[:dryrun]` with value `false` as true
fixes #2951 - Host API documentation lacks compute_resource_id
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
fixes #3140 - API to allow importing of puppet classes
Fixes #3293 add FactoryGirl to tests
fixes #3239 - pxelinux spoofing on postgres now works
fixes #3136 - host cloning should auto-suggest a new IP address
fixes #3111 - v2 API calls to /api/[class]/[object]/parameters/[parameter] return wrong object
refs #3141 - added tests around Foreman::Controller::SmartProxyAuth
Fixes #3128 - add json format back to images_controller
fixes #1244 - add smart proxy feature refresh link + API call
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 #3101 - list available images for CRs, add iam_role field to images API
Fixes #2984 - API v1/v2 StatisticsController and remove JSON from UI controller
fixes #3089 - Updating settings causes settings page to load again within the page
fixes #2764 - settings defined in settings.yaml file are now read-only
fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables
fixes #2969 - remove all legacy api code in UI controllers, add deprecation response
fixes #2996 - VM show screen syntax error on ruby 1.8
fixes #1853 - Users now have a new filter to subscribe to new hostgroups
fixes #3046 - add NIC CRUD, power and boot operations API
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)
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 #2988 - merge authentication code, enables REMOTE_USER auth on new API controllers
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 #2877: deletion of the organization or location in the context no longer breaks the session
fixes #2788 - changes to fixtures and tests in preparation for testing adding/removing puppetclasses
fixes #2788 - adding / removing puppet classes updates the change even if the form is not submitted
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 #1770 - Refactored rdeckfacts definition to use facts_hash
fixes #2142 add Smart Parameters and Smart Class Parameters to API v2
fixes #2782 - LDAP password overwritten as blank
Remove some unnecessary variables from the hostgroups functional test
fixes #2713 - do not update nics table on every host update as a workaround to bug #2489
fixes #2728 - POST /api/hostgroups does not accept ancestry
fixes #2489 - fixes BMC password caused by rails bug accepts_nested_attributes_for and serialized child field
fixes #2484 - host, hostgroup, and BMC passwords were overwritten as blank
fixes #2639 After creating user with empty e-mail it becomes impossible to add it.
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 #2602 - scoped_search error when using postgresql
fixes #2539 - added API puppetrun access permission and test
Fixes #2571 - Deleted admin is recreated
fixes #2553 let setting admin attribute on user creation
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...
fixes #2440 remove unused files, code, unnecessary require statements
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
fixes #2281 - don't allow admin flag to be removed from admin account
fixes #2444 - locale selector in user account
refs #2400 clean up tests so there are no orphaned foreign keys
fixes #2420 - extract strings for i18n from JavaScript, various i18n fixes
fixes #2401 - cannot create new admin user
fixes #2426 - translate model and column names to English
fixes #2472 - prevent duplicate users from hostgroup ancestors
fixes #2463 - move test files to follow controller move
Fix tests misusing assert and assignment vs. comparison
Fix finder_needs_type check in sti mixin
fixes #2378 - added Minitest and other code cleanups
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 #2263 search Hostgroup by label
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 #2324 Refactoring of Host STI
Allows plugins to render a different STI-type edit form and savethe changed type. Also allows the /fact_values upload to specifya type. Adds tests for the STI type changes.
fixes #2299 - Parameters Controller (API v2) can reset parameters (delete them all)
fixes #2219 - Hostgroup ownership is hierarchical
fixes #2273 - authorization over environment model
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 broken build
one extra / unused test was added by mistake
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