fixes #5609 - backport bugfix in hosts form when location is nil
This commit fixes a bug that has been fixed inacfbc45886c4d81a2a3ca5af433a6124a0a7191a
fixes #4456 - XSS on 500 error page and bookmark name causing render error (CVE-2014-0089)
(cherry picked from commit 69e46d6d6eb230f3aa4236838999284dfffccb6e)
fixes #4194, #4459 - add main_app to root_path references for isolated engines
(cherry picked from commit 33b384f2b29363014608ac1b85061b5a8b4791d5)
fixes #4524 - The logged in user should be the default one in create new hosts
(cherry picked from commit 19579f872c1b4a512500f8e07f0b066180574e4e)
fixes #3567 Editing an oVirt compute resource can throw errors loading quotas while loading page
(cherry picked from commit 2e66b04a2c92bc40fea1bfdc7f0414435754f49b)
fixes #4159 Thin provisioning for VMware disks in compute profiles can't be saved
(cherry picked from commit 2058a91d5effb143a66f5677d6882cba4a9258ae)
fixes #3496 vSphere: add support for selectable SCSI controller
(cherry picked from commit 41ee835f2c872d09cd09af2179ef3bc2327e6b02)
fixes #3980 - Compute profiles not rendering Openstack attributes correctly
(cherry picked from commit 88daf556e39ad9c0d3bdebbe9f88ce5ff49010f6)
fixes #4220 dashboard and report-show pages chart-frame is not in place.
(cherry picked from commit cbce647fa4d83b5ea4f5a5d35313914811a4e891)
templates - sync from community-templates
(cherry picked from commit 6d755dd05f00a7f52b7bb3f791438b688ce54ba7)
Fixes #4196 "Power ON this machine" disappeared for new VMWare hosts
(cherry picked from commit 39505a60be16d5af7f1c42e5ef175bec27607190)
fixes #4188 - api/v2/status incorrectly shows api_version: 1
(cherry picked from commit 36b32e9352b7a9c23dd012efeb83cbc1bf37abdc)
fixes #3960 - wrap APIv2 errors in an "error" node
(cherry picked from commit 0f7d219a4a65cd795eecd05117b08511d9025de2)
fixes #4152 - fix syntax error in _form.html.erb for hosts and hostgroups
(cherry picked from commit 378c65e5af8ff131ae1701c78934d6bbd0a055e9)
fixes #3920 - prevent 500 ScopedSearch errors on the API, raise UI errors correctly
(cherry picked from commit f9bc5a8e5934aac9bd8d5488f84717d33e359501)
fixes #3760 - API v2 define metadata @total for each controller
(cherry picked from commit 6f9438866488180e196ff18e1372cf0773afe7b9)
Conflicts: foreman.spec
fixes #4023 - API v2 - compute resources partials should should attribute alias names and not database column names
(cherry picked from commit 8a0ffcfaa900079d628253ee7f9de2feec182914)
fixes #3998 - API v2 error on /api/compute_resources, missing gce.json.rabl
(cherry picked from commit 9926d4d3f87e439d2eaa36f5d54b07d71c57c3fe)
fixes #3940 - extlogout page layout fixed
(cherry picked from commit b4b12197e4ffecfe97b14f3ecd5631b26ebd9489)
Fixes #4024: Virtual machine state indicator is not correctly positioned for rackspace CR's
fixes #4019 Compute Resource -> New Image renders on Compute Profiles tab
Fixes #4014 - Correctly use to_label when showing OSs
fixes #3906 - Support for Junos ZTP
fixes #3099 - Adding parameters to locations and organizations
fixes #3937 - correct title wording Editing to Edit
Fixes #3927 - Allow VMs to provision via user-data
refs #3811 alerts messages cleanup and minor refactoring
fixes #3709 - explicitly say puppet environments vs just 'environments'
fixes #3967 - reworded message for OpenStack form
fixes #3178 - add feature for compute profiles for hostgroups and hosts
fixes #3937 - correct title wording for Compute Resources and Smart Proxies
fixes #3942 - restoring multiple="true" in org edit form
fixes #3935 new login page RCUE style
refs #3811 - additional bootstrap 3 updates/fixes
fixes #3932 incorrect volume delete label
fixes #3928 - API v2 - update os_default_templates for operating system
fixes #3930 - refactoring of edit_self implementation.
fixes #3811 - merge with new layout
Fixes #3811 updating to bootstrap 3
fixes #3752 - move data population from migrations into seed script
fixes #3889 - don't reload nested lookup keys during render, so validation errors aren't lost
Merge branch 'fixes-3872' of git://github.com/ehelms/foreman into ehelms-fixes-3872
Fixes 3872: Provides a better customizable application layout thatconforms to HTML5 best practices.
This change aims to provide a more customizable application layout by firstsplitting the base layout, menu and content out into their own view files.The base layout provides generic hooks and only the most basic common data...
fixes #2374 - added allocation option to libvirt VM
fixes #3339 - nested fact support, allow fact importers to be registered by plugins
Fixes #3721 - Map OS family to a display variant
Fixes #3720 - Add description field to operatingsystem
fixes #3790 - Added support for isolated engine to foreman menu
fixes #3491 - API v2 rabl templates base, main, show for each controller
fixes #2600 - fixed gettext extraction on vms forms
fixes #2572 - FreeBSD unattended installation support via mfsbsd
fixes #3768 - API v2 child nodes should not have an object root for each object
fixes #2931 - API v2 hosts JSON response, add *_name for each *_id
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 #3737 - added PXEGrub specific PXE localboot template
fixes #3724 - correcting Red Hat names in some UI texts
fixes #3684 - add IDs to top level dropdown menus
fixes #3683 - display free and available space in vSphere datastore selection
fixes #3510 - plugin interface for registering a plugin, updated menu system
fixes #2763 - correcting doco links
fixes #3659 - use URL host for hostname, not URL itself
fixes #3661 - mis-redirection from /hosts/fqdn/edit to /hosts
fixes #3107 - enable sorting of hostgroups by label, sort by default
fixes #3516 - resource names (inc. domains) are now being parametrized when used to construct urls
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 #3581 - link to reports search for failed hosts should use "host = foo.example"
fixes #3338 - grey out VM form when editing is not supported
Fixes #3182 - Make IP optional in some circumstances
fixes #2951 - Host API documentation lacks compute_resource_id
fixes #3256 - include members in usergroup show
refs #2792 - Adding comments to pxe templates
fixes #3267 - API v1 compatibility for /api/hosts
Fixes #3350 - Adds title on login page
fixes #3279 roles edit page is long and missing a filter
fixes #3138 - move CR library loading into initializers, only show available providers
fixes #3140 - API to allow importing of puppet classes
fixes #3274 moved config template to the new two-pane and add full screen editing
fixes #3277 - host search link now quotes taxonomy name
fixes #2093 - list VMs in every VMware folder
The form-vertical class is not defined nor styled anywhere.
fixes #3270 - load subnets for the domain associated with each NIC
fixes #2741 - rails 3 syntax
fixes #2741 - remove dash from -%> to %>
refs #3254 - Using the two-pane layout in some pages.
fixes #3136 - host cloning should auto-suggest a new IP address
Fixes #2875: only show URL and description for a CR if they exist
fixes #3218 - Remove Double calls to CR provider when creating a new host.
fixes #3134 - disable vSphere fields on host edit, fix clone behavior
fixes #3106 - consistent sorting of common parameters by name
fixes #3139 - duplicate Organization tabs for Organization#edit
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 #3130 - Use the standard CentOS mirror
fixes #3123 vSphere VM info misses MAC address and displays memory in bytes