Fixes #11709 - better error for DNS conflict timeouts
fixes #11723 - foreman_url usable from default PXE template
Refs #3809 - Enable Rails delegate cop
fixes #11170 - pass quoted args through foreman-rake
Use the special "$@" to correctly pass quoted arguments throughforeman-rake, through su and to the underlying rake command. Ensuresthe JSON in this command is unharmed:
foreman-rake config -- -k trusted_puppetmaster_hosts -v '["foo.bar.com"]'...
Fixes #1453 - add use_image and jumpstart helpers to Host jail
Fixes #11206 - plugin API now expose default role permissions
Refs #3809 - Enable cop Style/IfUnlessModifier
Refs #3809 - Enable cop Style/AlignArray
Fixes #11035 - template preview feature
Fixes #9603 - fixed websockets_* set of settings
Fixes #10438 - Removed trends:clean task, as it is no longer needed
Fixes #11025: Allow skip test runner to run through Jenkins test task.
The Jenkins CI gem implements its own custom test runner. When tryingto use a custom test runner in the jenkins environment, this testrunner needs to be inherited from and included as the last argument....
Fixes #10740 - ignore auditing of all models in migrations
Fixes #10815 - introduced FOREMAN_APIPIE_LANGS env variable
refs #10703 - use N_() for exception messages
Fixes #10703 - websockify is now randomly selected
Plus updated websockify to 1.6.1 version
Fixes #10713 - improved backtrace logging
Fixes #7096 - Adds STI to templates
This commit converts Ptables to be just another type of Template so itgets the same features as ConfigTemplate. ConfigTemplate was renamed toProvisioningTemplate to reflect UI and the name under it's commonly known.
Fixes #10487: Add custom logging support
This change moves away from the Rails logger to the 'logging' gemto support more configurability of logging. Further, this allows forthe creation of custom loggers that plugins can then create duringregistration (with `logger`) or through settings....
Fixes #10513 - Substitute reports:summarize docs for reports:daily
Fixes #10402: add to_bool function for converting to boolean.
This commit adds a to_bool function for casting values to booleanas well as an example usage.
http://projects.theforeman.org/issues/10402
Fixes #5568 - Improves performance of trends:clean rake task
Perform trend counter dupe counting within the database rather than in the Ruby code.
Fixes #10263 - Encrypt LDAP password in db
This commit includes a rake task to encrypt all encryptable resources.A helper function can be used to add more encryption tasks easily.
fixes #10287 - provide helper methods for proxy features
Refs #3809 - Remove semicolon cop
fixes #10020 - add next-server/filename attrs to provision NIC DHCP record
A host's DHCP record used to be constructed with PXE attributes inOrchestration::DHCP, but moved to Nic::Managed during 43c4bd7. Nic::Manageddidn't add PXE attributes, so this commit adds these when provision? is set....
Fixes #8727 - DHCP validation does not fail on discovered leases
fixes #9775 - always load Encryptable when key's missing, log runtime warning
a59972c3 causes Encryptable to be loaded before the encryption_key.rbinitialiser and the majority of the class was skipped as the key was undefined.
Now Encryptable always loads, but logs at runtime if the key is unavailable,...
Fixes #9751: Correct examples for rake config usage.
Fixes #7505 - Changed the way trends are stored in the DB. Now they are stored as intervals
Fixes #9339 - Changed the OS sorting to title
Title uses the full string, not only the name part.
Refs #4478 - Remove empty line in apipie.rake
Refs #4478 - copy in pre-built plugin caches on rake apipie:cache index
Refs #3809 - Remove various small cops
Refs #3809 - Remove cop IndentationConsistency
Refs #3809 - Remove cops for empty lines
fixes #6774 - in case of parsing of non json or broken json, return 400
Refs #3809 - Enable cop StringConversionInInterpolation
Fixes #7456 - Extract primary interface from host
All host must have at least one primary interface and one provision (can...
Fixes #9099 - Upgrade rubocop to 0.28.0
Fixes #9044 - fixes invalid mac in tests
Also do not reset invalid mac address to nil so we can propagate propervalidation error.
Refs #3809 - Enable cop BarePercentLiterals
Fixes #8796 - Fix to_gb size calculation and constentize
refs #7032 - fix documented backup filename
Fixes #7032 - Rake backup accepts destination file
Fixes #8267 - accept template_url in call to foreman from proxy
fixes #8510 - ignore gettext load failures in production without it
gettext is only used when loading gettext_i18n_rails 1.x rake tasks, so it'sonly marked as a development dependency. In production we won't have it, butstill ship this .rake file, so permit loading to fail.
Fixes #7233 - Drop Ruby 1.8.7 and revert Ruby 1.8.7 specifics
Refs #3809 - Remove useless assignments
Fixes #4478 - API documentation localized
Fixes #844 #5725 - correct hosts count in puppetclass
Refs #3809 - fix shadowing outer local variables
Fixes #7971 - DHCP hostname commutative conflict fix
Refs #969 - Foreman-side changes for serving templates from the proxy
fixes #7586, #7734, #7172 - user preferences for receiving mail notifications
Adds a framework for user-selectable mail notifications. The work isstill done in ActionMailer classes and launch by rake in cron, however awrapper called MailNotification is used to provide RBAC and make the...
fixes #8019 - convert po to JSON before refreshing pot/po files
fixes #7331 - delete unassigned os default templates
Fixes #2283 , #3135 - add config option for proxy_request_timeout
Fixes #7861 - Update rubocop version
Refs #3809 - Use parentheses in method definitions
Refs #3809 - Fix a few rubocop TODOs
Refs #3809 - Remove rubocop TODOs
Removed the following TODOs so that cops for these will run from now on:
Lint/AmbiguousOperator, DefEndAlignment, DeprecatedClassMethodsEnsureReturn, RequireParentheses, Void, BlockAlignment, EndAlignment,UselessAccessModifier,...
Refs #4611 - rake-ify foreman-config and db_pending_migration/seed in settings
This way, we can determine in the installer if the rakedb:migrate/seed should be run in the installer.
Later, we also could use this information to inform the entering userthat the application is not in ready state yet: preparation for...
fixes #4672 - added template_name template variable
fixes #7732 - specify join models as Rails 3.2.8 can't reset through associations
Fixes #6864 - adding api messages for extraction
fixes #7430 - Adds subnet mask validation
Fixes #7247 - Add migration and rake task to correct corrupted cached counters
fixes #7317 - skip rubocop rake tasks if library isn't installed
Fixes #3809 - Add rubocop to check Ruby code
fixes #6861 - provide a way to detect host group provisioning
fixes #6852 - `rake log` added to log ActiveRecord changes to stdout
Fixes #813 - External usergroups can be linked to an LDAP auth source
fixes #6618 - provide an indentation helper for provisioning templates
Fixes #3377 - Add altlinux support
fixes #3601: Use secure websockets if available
Websockets_ssl* settings must be configured with the appropriatecertificates for this to work.
fixes #6586 - allow user customizable password in rake permissions:reset
fixes #6498 simplified eval statement
fixes #6496 - Added :match helper method to saferender
fixes #3272 - allow 'admin' account to be removed and replaced
fixes #6382 - revert name change of 48bit mac address regex to fix discovery
fixes #5915 - Add support for Infiniband 64-bit MAC addresses
Fixes #5941 - Handle nil comparison object in DHCP::Record.valid?
fixes #5793 - add pkg:generate_source rake task to create tar.bz2
Fixes #5637 - Don't raise lease conflicts when reading ad-hoc DHCP leases
fixes #5444 - add param_false? host method and allow in templates
fixes #5398: replaces calls to deprecated SmartProxy.*_proxies scope with SmartProxy.with_features scope
Refs #2942: Added plugin rake task to extract translations
fixes #5077 - refactor safemode rendering to allow helpers and variables from plugins
fixes #4381: dns records are being update after changes to host when dhcp is also present
Fixes #4976 - ensure the process is really running inside a rake task
fixes #1809 - foreman realm integration
fixes #1966 - improved UI errors for proxy
fixes #3214 - set taxonomy for hosts created via Puppet from facts or a default setting
fixes #4626 - update Facter calls for 2.0 compatibility
Fixes #4226: add a Rake task for plugins that compiles their assets into core assets pipeline
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
fixes #4423 - allow puppet classes to be imported by environment
fixes #4178 - updating i18n extracting rake task and makefile
fixes #3697, #3701 - more comprehensive field validations