fixes #5540 - also clone builtin roles during migration
(cherry picked from commit 5f72ef39f3bee84942d6706e2d9954d219a56ee4)
fixes #5427 - skip user roles FK removal if it's missing
(cherry picked from commit 90f0a0b0b85ec589a8951b5bc0cddf7499bfc186)
Fixes #5391 - Authorizer test should use testing permission
Also change order of seed so admin user can be saved andexisting Anonymous role is assigned.
(cherry picked from commit 29a52c6c51afc55f36e7135a8c6794604173a5aa)
fixes #5200 - set config group counters to zero by default
fixes #4204 - add config groups feature - assign multiple config groups to a host or hostgroup
fixes #3914 - set current taxonomies on login from user defaults
fixed #5120 - fixed migration for discovered hosts
fixes #1809 - foreman realm integration
fixes #4691 - add search for hosts' managed status
fixes #4703 - reset_counters doesn't work for has_many :through relationships on rails 3.2.8
fixes #4682 - smart variable for a puppet class not showing in UI
fixes #4256 - makes columns sortable in the UI
fixes #4626 - update Facter calls for 2.0 compatibility
fixes #4123 - libvirt imaging support using backing volumes
fixes #3827 - adds ldap avatar support
Fixes #4536 - store fix_db_cache setting values correctly as YAML
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4393 - rename ancestry label to title
fixes #4015 - support oVirt using templates like images
fixes #3912 - add inheritance for locations / organizations
Fixes #3927 - Allow VMs to provision via user-data
fixes #3178 - add feature for compute profiles for hostgroups and hosts
fixes #3752 - move data population from migrations into seed script
fixes #3339 - nested fact support, allow fact importers to be registered by plugins
Fixes #3720 - Add description field to operatingsystem
fixes #3737 - added PXEGrub specific PXE localboot template
fixes #3722 - changed partition tables default names
fixes #3673 - auditing added to ptable w/ test
fixes #3669 - migration: minimize amount of User model exposed to migration
Fixes #3569, #3210 - Use port from foreman_url for templates
[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 #2741 - rails 3 syntax
fixes #3190 - Fix STI auditable_type - Audit should say updated Location/Organization rather than updated Taxonomy and ComputeResource should not use STI class
fixes #3202 - PG constraints deferred and change destroy_all to delete_all
Fixes #3144 Remove user_id and inherited_from
Fields user_id in model User and inherited_from in model UserRole areabsolutely superfluous as they are not being used anywhere and result inunnecessary lines of code and clutter in the database, which contains...
Fixes #3130 - Use the standard CentOS mirror
fixes #2400 continuation - match all host STI classes when finding orphaned records
fixes #2400 migration to remove orphaned records and add foreign keys constraints to database tables
fixes #1719 - Add support for GCE
fixes #1853 - Users now have a new filter to subscribe to new hostgroups
Fixes #3030 - require facter where necessary
syncing with upstream community-templates
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 #863 - added ldap_filter to LDAP auth sources to filter lookups using RFC 2254 filters
fixes #2424 - encrypts compute resource password
fixes #2829 - remove environment field from hosts table
fixes #2695: Updated fedora and ubuntu mirror urls
Fixes #2038 - updated config and partition table templates using ones from the community repository
fixes #2587 - migration to increase varchar length of media.name and other string fields
Fixes #2519 - Protect locale changes from validation failure so thatpassword validation can be run
fixes #2509, fixes #2507: few issues around Host::Base#merge_facts and fact names
fixes #2444 - locale selector in user account
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 #2410 - Set auditable type to 'Host'
Adds an id primary key field to the user_hostgroup relationship
refs 28d1dd18
fixes #2263 continuation - turn off auditing for migration of adding Hostgroup label
fixes #2263 search Hostgroup by label
fixes #2377 - refresh column info after editing Medium
Fixes error in 20110725142054_add_suse_templates referencing non-existentoperatingsystem_id column.
fixes #2376 Update migrations to match new rails3.2 paths
fixes #2358 - remove duplicate epel/HTTP proxy snippets
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 #2264 - replace fulltext sources.value index with digest
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 #2229 add an IAM role field to a compute image.
This allows use of IAM to control access to AWS services within an instance.
fixes #1999 - Allow org/location to selectively ignore a domain, subnet etc
TODO: excluding views
fixes #2126 Large report messages won't fit in PostgreSQL's index_messages_on_value
fixes #2083 - DB migration fails with Postgres with bmc nics
fixed postgres migrations
fixes #1814 - converts sp_* attributes into a BMC interface class
this patch also includes the following
- Allows mysql2 usage with Puppet < 2.7.10 - Fixes #1350
Fixes #2059: Completely remove email_replay_address from settings
fixes #1964 lookup_keys.default_value can hold > 255 characters
replaced default taxonomy migration with a multiple actions for assigning hosts to orgs and locations.
Initial migration fixes for postgresql
ensure all taxonomies migration pass on pgsql as well.
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
fixes wrong method name, #refs 1957
fixed wrong old hypervisor migration refs #1957
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.
fixed typo - "replay_address" should be called "reply_address"
added migration for typo in replay_adress variable
fixes #1550 : Test existance before removing index and column.
In case where reference_id exist, but domain_id, hostgroup_id, domain_id don't, migration should'nt fail
Fixes #1911 - removes limit from change_column's in a few migrations
refs #1906 - checked in wrong migration file
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
fixes #1873 changed domain character count to 254 chars
fixes #1755 - changed limit on path from 100 to 255
Use tokens for discovery of host identity during installation
- fixes #1069- fixes #1720- refs #969
adds BMC proxy feature.
This patch simply allows foreman to save a proxy with BMC feature.
without this, Foreman will error out and the proxy won't be usable at all.
fixes #832 - adds parameterized class support
Credits:This patch is based on the original work of Olivier Favre<olivier@yakaz.com> many many thanks!
fixes #1837 add some indexes to improve performance
fixes #1783 - Default template set incorrect snippet names if snippet name uses underscore
fixes #1736 - fixes odd errors with db migrate
minimal fix for unexplained db migrations failures, refs #1736
refs #1589, ensure that vmware public key is automaticilly imported when testing connection
fixes #1729 safer migration code.
avoid breaking mysql migration from an empty db
missing syntax
Fixed migrations for mysql2