Fixes #19789 - fix Layout/SpaceAroundOperators cop
Fixes #19775 - Fix Layout/ExtraSpacing cop
fixes #23178 - seeded location should be in seeded org
When creating a host in the seeded org and seeded loc, host saves andthen organization becomes invalid: "Locations expecting locations usedby hosts or inherited (check mismatches report)."
Refs #22984 - fix the type for all templates
Fixes #23376 - subnet.vlanid size is 4 bytes
Fixes #23736 - Add RancherOS templates into seeds
Fixes #23679 - Nil error in migrate_template_to_parameters_macros (#5606)
Fixes #23635 - Centralize use of facter
We have a bundler group for facter. That implies it's optional butbefore this change it wasn't With this change it's only required if nodomain and fqdn are set. This is still the default so in most cases it'sno difference, but at least we have centralized all use of facter to one...
Fixes #19781 - Fix Layout/LeadingCommentSpace cop
Fixes #19787 - Fix Layout/SpaceAfterComma cop
Fixes #22809 - Turn VM attributes to hash (#5403)
Fixes #19839 - Fix Rails/Present cop
Fixes #22331 - Fix Rails/Presence cop
Fixes #23123 - Fix Rails/ActiveRecordAliases cop
Fixes #23067 - expose option to use oVirt APIv4
Also handle v4 certificate error and v3 path migration
fixes #21694 - Add MTU to subnet
Fixes #23077 - Fix Style/TrailingCommaInArrayLiteral cop
Sync community templates
Syncing the templates now so nightly keeps working after we remove allthe templates from Katello. Katello needs the new redhat_registersnippet.
Fixes #15634 - RancherOS support
New OS support.
Fixes #19895 - Fix Style/RedundantReturn cop
Fixes #23002 - seed Installation Media with taxonomies
We currently do the same thing with Templates,lets also do it for Installation Media.
Fixes #22624 - User selectable columns model + api
Adding initial bindings to user selectable columns. This model + api isgoing to be used in work related Katello plugin's subscription pages.The main intesnt of this PR is to provide a basic model where a user can...
Fixes #22984 - Migrate templates auditable_type
https://github.com/theforeman/foreman/pull/4778 Changed `Ptable`& `ProvisioningTemplate` `auditable_type` this commit adds themissing migration.
Fixes #15286 - New API for auth sources (#4865)
refs #22857 - remove separate kickstart for RHEL
Fixes #22875 - Fix digest limits
Fixes #22721 - Rename setting to trusted_hosts
The setting trusted_puppetmaster_hosts is used to allow hosts to submitstuff to the facts/reports API endpoint.The name made sense a long time ago, but these days other plugins andany user can submit stuff to this API to generate...
Refs #17316 - Ensure the proxy exists before assigning tftp
If the subnet.tftp proxy didn't exist, the migration fails with
undefined method `has_feature?' for nil:NilClass'
so we rather make sure it exists before trying to set the templateproxy to nil.
Fixes #17316 - templates feature is subnet association
Fixes #22310 - Implement report scanner to identify origin (#5186)
Fixes #22050 - Create built-in audit viewer role
Fixes #22382 - Remove ldap_filter 255 chars limit
Fixes #22339 - normalize empty values for User.timezone
Otherwise, we would need to deal with two values for the browser'stimezone. Less variants is better in this case.
Fixes #19776 - Configure Layout/FirstParameterIndentation cop
Fixes #19907 - Configure Style/TernaryParentheses cop
Fixes #19877 - Fix Style/NegatedIf cop
Fixes #1916 - Subnet vlan id should be integer
Fixes #21926 - Ensure uniqueness on image names and uuids (#5081)
Image names should be unique per CR and OS. UUID uniqueness is alreadyenforced by ActiveRecord but not in the DB, which could cause conflictsin multi-proccess environments. Also cleaned up a bit of the image tests...
Fixes #21748 - Removed gravatar images
As gravatar urls use MD5 hashes
Fixes #5790 - Add compute resource to hostgroup (#4593)
Fixes #22111 - add taxonomy indexes to hosts
Fixes #19788 - fix Layout/SpaceAroundBlockParameters cop
Fixes #22068 - Add version column to auditable_index
Audits table queries cause high load in large deployments.
Foreman regularly does queries like this:SELECT MAX AS max_id FROM `audits` WHERE `audits`.`auditable_id` = 7555 AND `audits`.`auditable_type` = 'LookupKey';...
Fixes #21851 - Remove deprecations for 1.17
Fixes #21343 - support multiple orgs supported for non-admin users
This adds a full support for taxonomies in API for non-admin users. Itfixes the issue with dirty associations module that only track _ids...
Fixes #19772, #19773, #19774 - Fix some empty line cops
Fixes #21100 - set DB migration compatibility to 4.2
Put all existing DB migrations into 4.2 compatibility mode as they don'tspecify null => true on timestamp columns etc.
Fixes #18292 - Make notifications from an RSS feed (#4240)
This adds a task to connect to an RSS feed, by default the one from ourcommunity blog. The idea is to make this run every night with 'cron' onevery Foreman installation to keep people updated about changes, and...
Fixes #21766 - Enforce uniquness of TaxableTaxonomy in DB
Fixes #21669 - Use $major on CentOS media, $version deprecated
As we can see, CentOS fixed their repos so thathttp://mirror.centos.org/centos/7 returns the latest version we need forvmlinuz, etc..For a long time they only offered these files under specific version...
Fixes #12054 - Openstack v3 support
fixes #18004 - increase fact value size
fixes #21394 - user login with access token api
Fixes #21342 - fix core roles seeding
Core roles should always be up to date based on what's defined in seedfiles. Users have no other way to update locked roles in newer Foremanversions.
Fixes #12216 - support http proxies for compute resources
templates - sync from community-templates
Fixes #21206 - Fix templates taxonomies migration
In 0969b62, we added a migration to change the type of taxabletaxonomies. Unfortunatelly, it was not working rightas migratios don't run with any user and Ptable.all returnedempty set. We need to make sure to unscope when loading the data.
Fixes #21037 - use Host::Base as auditable_type
Otherwise, we are hitting "Invalid single-table inheritance type:Host::Discovered is not a subclass of Host::Managed" when converting thehost from discovered to managed.
Fixes #21010 - add higher granularity and reorder seeds
Fixes #20955 - Remove conditions to {destroy, delete}_all calls
Fixes #20950 - Use 'distinct' in AR finders
Fixes #20470 - Audit role filter changes
Refs #16740 - migration templates to use param macros
Refs #20708 - reset default templates type
Fixes #20708 - fix templates auditing
Templates were audited under parent class. This keeps separate auditsper template type and allows searching by provisioning_template andpartition_table names. It also fixes broken associations intaxable_taxonomies table.
Fixes #19730 - Add vendor to provisioning templates
Before unlocking a provisioning template, a warning is shown on thescreen. This warning should contain the vendor that provided thetemplate (normally Foreman or Katello).
Fixes #20737 - add default description to roles
Fixes #20736 - improve bookmark permissions
Fixes #20416 - fix UI under email preferences
Fixes #20608 - Adding index for ssh_keys
Adds a index :user_id to ssh_keys
Fixes #20483 - seed all permission for core roles
Fixes #20384 - seed resources before admin exists
For seed scripts that executes before internal admin exist we need toignore creation permission check on resources that includes Authorizableconcern.
Fixes #16884 - enforce granular filters even during save
Fixes #16112 - support for netgroups in LDAP auth source
Fixes #17918,#19354 - Smart class parameters appear in audits
Fixes #20143 - changed kind for Preseed default PXEGrub2 (#4630)
Fixes #20033 - load seed data just once
Fixes #20034 - add Organization admin role
fixes #19913 - fixes rubocop Style/ZeroLengthPredicate
Fixes #19728 - set admin user in rake console
Fixes #19934 - Don't limit smart class parameter order length
Fixes #15861 - increase size of audited_changes column
In mysql text type is limited to 64K, while in psqlthere's no limit. Changeing type to MEDIUMTEXT,which limited to 16MB, should solve this issue in mysql
Fixes #19700 - update rubocop rules
The following changes have been made:
- Performance/RedundantMerge:changes lines such as:```not_found_message.merge! :message => options```to:```not_found_message[:message] = options```
- converts str.match() to str =~ ()...
Fixes #16159 - Rename mail alerts to not be Puppet specific
Right now, under 'my account', users get emails with alerts about thestatus of their hosts regarding configuration management (e.g: if therewas an error, get an alert, or get a weekly summary of all hosts...
Fixes #19491 - properly i18n notification seed
Fixes #19125 - Add description to hostgroup
Fixes #13772 - orchestration now uses app logger
Fixes #19169 - remove image password from audit
Fixes #19064 - seed the external auth source
Fixes #19148 - Add description field to subnets
fixes #19068 - list newly synced templates in DB seeds
Fixes #18954 - Add CSV export to facts table
Fixes #18640 - realign templates structure
fixes #18940 - adds caching to notification api calls.
this implementation reduce the notification fetching time onmy production system from avg response times of 80ms to 20ms,and siginficantly reducing server load (db, cpu etc)
it also removes total counts from the implementation, as that was not...
Fixes #18639 - lock all templates we seed
Fixes #18001 - Add plugin permissions to core's roles
Fixes #18893 - Improve latest events widget performance
fixes #18476 - users have ssh keys
fixes #18681 - moves polymorphic subject into notification object
also adds host build, destroyed and missing owner UI notifications
Fixes #18767 - keep cloning info