refs #3930 - ensure a user can actually update itself.
fixes #3930 - refactoring of edit_self implementation.
fixes #3811 - merge with new layout
fixes #3752 - move data population from migrations into seed script
fixes #3280 - authenticate returns true for API requests when login:false
fixes #3339 - nested fact support, allow fact importers to be registered by plugins
fixes #3693 - API v2 - accept GET json format of object in PUT/POST requests to add/remove has_many associations
fixes #3885 - sort IDs in test to prevent random failures
Fixes #3721 - Map OS family to a display variant
Fixes #3720 - Add description field to operatingsystem
Fixes #3753 - always use main_app to determine paths for running an isolated namespace plugin
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 #3794 - don't validate IP address that's later provided by a CR
fixes #3020 - API v2 - option to specify version in URL as well as in header
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 #3673 - auditing added to ptable w/ test
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 #3493 - check if auto user reg is allowed for auth source
Fixes #3468 - Move token expiry to scope to avoid FK issues
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
refs #3569 - fix URL validation test error on merge
Fixes #3569, #3210 - Use port from foreman_url for templates
fixes #3587, #2855 - print an error on invalid json vs 500 error
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 #3182 - Make IP optional in some circumstances
fixes #2951 - Host API documentation lacks compute_resource_id
fixes #3205 - Extract and refactor report importing logic
This patch extracts all report importing logic into seperate importer and status classes.long term this could allow:
1. aliases methods for async operations2. different types of reports imports (based on reporting type).
fixes #1830 - auto assign puppet proxy if its not defined upon facts/reports event
[REFACTOR] fixes #2967 - refactored Fact Importer
Based on Dmitri Dolguikh <dmitri@appliedlogic.ca> original patch.
- renamed original fact_importer class to fact_parser class- moved fact handling logic to its own fact_importer class- fact importer now assumes single-value facts...
fixes #3364 Add option to disable automatc host creation when a report is received
fixes #3140 - API to allow importing of puppet classes
Fixes #3293 add FactoryGirl to tests
fixes #3239 - pxelinux spoofing on postgres now works
fixes #2818 - validation of OS families in ptables
fixes #2741 - remove dash from -%> to %>
fixes #3136 - host cloning should auto-suggest a new IP address
fixes #3170 - dash separated mac address notation
fixes #3222 - nil the certname when handling certs if UUID certs have now been disabled
fixes #3111 - v2 API calls to /api/[class]/[object]/parameters/[parameter] return wrong object
fixes #3206 - prevent any user including admin from creating lookup_value with fdqn= or hostgroup= if host/hostgroup does not exist
fixes #3190 - Fix STI auditable_type - Audit should say updated Location/Organization rather than updated Taxonomy and ComputeResource should not use STI class
fixes #3048 - Non Admin user fails to override parameters when creating new host
fixes #3160 - sanitize host/host group names in lookup_value associations (CVE-2013-4386)
fixes #2756 - update setting descriptions at startup
Fixes #3177: a 'G' suffix is automatically appended to libvirt volume capacity value if none was specified
fixes #2975 added setting for using the shortname instead of FQDN for new virtual machines
Fixes #2244: avoid constantly changing os.release_name
Tests thanks to Sam Kottler <shk@redhat.com>
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 #3091 - strip leading and trailing whitespace before_save on names of all objects
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 #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 #3093 - invalid data for a subnet address or mask returns "is invalid and is invalid"
fixes #3097 - foreign key error on deleting trend
fixes #3090 - new puppetclass creation fails when adding smart variable
Fixes #3043 - Support Signo on API level using BasicAuth
Fixes #2272 - added Capybara integration tests, but without javascripts tests
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 #2179 - validate the owner type, preventing the API returning errors for a wrong owner_type
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 #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 #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 #2932 - add find_by_fullname for Operatingsystem
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...
fixed #2970 - modified inflections.rb to handle 'Puppetclass'.singularize and classify
fixes #2877: deletion of the organization or location in the context no longer breaks the session
fixes #2945 - extend AR to add getter/setters *_name(s) for has_many/belongs_to associations
fixes #2431 - handle fact uploads where host is missing $fqdn
fixes #863 - added ldap_filter to LDAP auth sources to filter lookups using RFC 2254 filters
Fixes #2721 - Allow use of spice for libvirt via checkbox per-CRFixes #1711 - Add a per-CR checkbox for console passwords
fixes #2424 - encrypts compute resource password
fixes #2871 - params search works with nested hostgroups
Fixes #2501 - Allow my_hosts scope to include all subclasses of Host::Base
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