Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
d690fa77 05/23/2024 06:27 PM Markus Reisner

Fixes #36547 - Fix parsing of Ubuntu version in fact parsers

555c3d0f 04/25/2024 11:12 AM Bernhard Suttner

Fixes #36830 - transform_vars on preseed_path

Co-Authored-by: quartsize

ca34010f 04/19/2024 06:59 AM Shimon Shtein

Fixes #37367 - Switch to 'network' directive instead of ifcfg

19702927 03/27/2024 09:32 AM Matěj Mudra

Fixes #37231 - Handle incorrect domain setting display

639910bb 03/14/2024 08:21 AM Sebastian Bublitz

Fixes #37244: Add new virtual hw versions for VSphere 8.0 and 8.0U2

See https://kb.vmware.com/s/article/1003746 for reference

4abf925f 03/12/2024 05:36 PM Sebastian Bublitz

Fixes #36023: Add missing VMWare GuestOS mappings

e5d12790 03/12/2024 10:36 AM Archana Kumari

Fix Style/CommentAnnotation cop

3a55f468 03/11/2024 01:42 PM Alexander Olofsson

Fixes #37043 - Inheritance overrides host facets

59ddb0ff 03/11/2024 10:33 AM Evgeni Golov

Refs #37179 - explicitly include SelectiveClone in facets

That way plugins that try to use Hostgroup.include don't fail with

undefined method `include_in_clone' for Hostgroup
a488cd20 03/10/2024 11:55 AM Jeremy Lenz

Fixes #37179 - Clone hostgroup facets when cloning hostgroup

459f70c4 02/26/2024 09:53 AM Hao Yu

Fixes #37184 - Report template generates incorrect kernel version

2233c33c 02/21/2024 12:08 PM Adam Ruzicka

Fixes #36891 - Provide a scope for email-notification-eligible users

f1313e54 01/30/2024 09:39 AM Nofar Alfassi

Fixes #37015 - Refactor OwnerClassifier

- Introduce `classify_owner` class method for owner classification.
- Implement private method for input validation.
- Add error handling to raise the necessary exceptions.
- Add deprecation warning to the `user_or_usergroup` method.

ebaa4537 01/24/2024 11:26 AM Oleh Fedorenko

Fixes #37087 - STI preparations for Ruby 3.0

Some of our STI models (host and subnet) have redefined initialization
method signature, which cause failures in code logic due to Ruby 3.0
more strict way of dealing with keyword arguments. As a first step
we must to comply with Rails' model initialization method signature....

f1092910 12/19/2023 12:09 PM Bastian Schmidt

Fixes #36741 - Check Ubuntu version more explicitly

If no minor version is defined, the function minor.to_i makes it a "0".
Accordingly, Ubuntu 20.04 is interpreted as "no subiquity/Autoinstall" - but,
if no minor version is given, Foreman should implicitly assume "latest"...

2c4139e9 11/27/2023 08:45 AM Girija Soni

Fixes #36711 - Fix searching in settings

65f2a01f 11/10/2023 12:01 AM Archana Kumari

Fixes #36575 - Use apipie-dsl default model descriptions

a406cf2b 10/09/2023 09:42 AM Matěj Mudra

fixes #36160 - Redefine append domain names setting

This PR aims to unify the format of host names stored in the database and the way they are displayed.
With this change, the name of the host is always going to be stored with the domain name appended.
The setting formerly named `append_domain_name_for_hosts` is now renamed to `display_fqdn_for_hosts`...

c815b3dd 10/09/2023 09:39 AM Ewoud Kohl van Wijngaarden

Refs #36575 - Avoid i18n during startup in owner_type validation

Fixes: 535d232934a5 ("Fixes #14013 - add a setting for default owner of new hosts")

e2a9ee7b 10/09/2023 09:39 AM Ewoud Kohl van Wijngaarden

Refs #36575 - Avoid i18n during startup in host name validation

Fixes: 060d2004d786 ("Fixes #20119 - Be more descriptive when validating hostname")

d31714fc 10/09/2023 09:39 AM Ewoud Kohl van Wijngaarden

Refs #36575 - Avoid i18n during startup in hg root_pass

Fixes: 9c30b63eb1d2 ("fixes #6067 - UI inconsistency around root password limit 8 characters")

038c1737 10/09/2023 09:39 AM Ewoud Kohl van Wijngaarden

Refs #36575 - Avoid translations during startup on root_pass

Fixes: c4bfd47fc285 ("fixes #3725, #4167 - root password validations, remove default password")

001a7ffc 10/05/2023 02:50 PM Oleh Fedorenko

Fixes #36796 - Make host_facts_updated event visible

82d26295 10/05/2023 02:19 PM Oleh Fedorenko

Refs #36715 - Update fact_names description for facts_hash

044c105b 10/05/2023 10:08 AM Bastian Schmidt

Fixes #36786 - Permit Symbol for YAML.safe_load report parser

735b4016 09/27/2023 03:11 PM Jeremy Lenz

Fixes #36715 - Speed up host fact retrieval

b9986c96 09/01/2023 06:27 PM Oleh Fedorenko

Fixes #36466 - Allow gathering information on deleted records

943c9f4c 08/28/2023 12:37 PM Adam Ruzicka

Fixes #36699 - Reject invalid expiration dates for PATs

Previously invalid dates were silently discarded, resulting into PATs being
created without expiration dates.

def66d5a 08/22/2023 12:35 PM Oleh Fedorenko

Fixes #36104 - Distinguish host events

620a6a51 08/08/2023 10:12 AM Girija Soni

Refs #36537 - Drop description from setting search

The description is no longer a field so it can't be searched anymore. This is
not a real fix, but prevents internal server errors on the settings search.

Fixes: de56ffb28064

45afc2e0 08/01/2023 11:31 AM Evgeni Golov

Refs #36219 - allow loading HashWithIndifferentAccess from YAML

Fixes: c9b82a573f64fe54e61d55f079adeb1df3d0cae8

c9b82a57 07/13/2023 10:38 AM Ron Lavi

Fixes #36219 - use YAML.safe_load instead of YAML.load

as explained in this rubocop rule https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Security/YAMLLoad

33ff2be9 06/12/2023 12:20 PM Markus Bucher

Fixes #35942 - pass from settings not encrypted

ea998f89 05/25/2023 08:21 PM Jeremy Lenz

Fixes #36426 - Introduce human-readable host statuses

85e60a9c 05/16/2023 12:29 PM Adam Ruzicka

Fixes #36394 - Add infra facet search validators

96c6d188 04/25/2023 01:12 PM Adam Ruzicka

Fixes #36309 - Increase LDAP auth source password length limit

The database field is 255 characters long, but the encryption adds quite
a lot of fluff. From my testing, 69 characters is the longest password
than can fit in.

Both FreeIPA and openldap cli tools seem to support passwords...

6368162f 04/20/2023 03:47 AM Girija Soni

Fixes #36017 - Remove spacing for array type settings

9848aac0 03/03/2023 02:47 PM Marek Hulán

Fixes #35846 - allow Host searching by PXE loader

47b7483b 02/16/2023 11:23 AM Adam Ruzicka

Fixes #36107 - Suppress warnings from accessing undefined settings

When Foreman is installed without puppet plugin, it still receives
puppet report from installer run. Visiting dashboard then emits a lot of
warning into logs as Foreman tries to access various puppet_* settings.

80c89d75 01/17/2023 09:05 AM Marek Hulán

Fixes #35845 - Searching hosts should be possible by all reported data

When bios information was introduced in PR #9497, the searching was
not added. This make all host reported data searchable.

c791f6c7 01/16/2023 12:01 PM Ondřej Ezr

Fixes #29939 - drop category column from settings

Settings table was holding category column to support old style of
settings, but it is now ready to be decomissioned as plugins were given
enough time.

d4842738 01/09/2023 02:24 PM Marek Hulán

Fixes #35843 - add alias for configuration_status searching

Historically, the configuration status was the only status users can
search hosts by. When sub-statuses were introduced we kept "status" as
the search term representing the configuration status. However with many...

dd9f24f4 12/12/2022 07:16 PM Paul Donohue

Fixes #35326 - Rename hostname/fqdn ENC vars to avoid conflicts

c3afd8f0 11/23/2022 01:14 PM Nofar Alfassi

Fixes #35642 - update the message in the new UI to display the host's creator

Add `creator_id` property to the Host model to save the user who created each host.
This property is used in the new host details UI to display the user who created the host.

0eb81758 11/21/2022 12:18 PM Peter Koprda

Fixes #35733 - Add network category to selectable columns

b0dbefab 11/14/2022 12:38 PM Peter Koprda

Fixes #35673 - Do not allow create empty table preference

cc7af718 11/04/2022 02:46 PM Leos Stejskal

Fixes #35088 - Remove GCE Compute resource code

All code related to GCE compute resource
is now in Foreman Google plugin

https://github.com/theforeman/foreman_google

36f2892a 11/03/2022 12:10 PM Ewoud Kohl van Wijngaarden

Fixes #35708 - Avoid multiple %s placeholders in i18n

Fixes: 662c4a3a3a1749846f5fc6c114dd3363c7a3bcf1

d559505b 11/03/2022 10:48 AM Maria Agaphontzev

Fixes #35696 - add bios info to reported data facet

d7ce6881 11/01/2022 09:01 AM Ewoud Kohl van Wijngaarden

Refs #35300 - Pass arguments as keyword arguments

950040e4 10/14/2022 08:55 AM Chris Roberts

Fixes #35619 - Add kernel_version to reported data facet for new host UI

bcd468af 10/13/2022 09:40 AM Leos Stejskal

refs #35069 - ApplicationRecord.<=> undefined method 'name'

874c0d92 10/07/2022 01:01 PM Bernhard Suttner

Fixes #35569 - set correct icons

6eaf16e1 09/29/2022 01:54 PM Ewoud Kohl van Wijngaarden

Refs #35300 - Pass options as keyword arguments (#9441)

In 9089087ed7b2a7da33b73711aa5f457fe06adfc2 various keyword arguments
were fixed, but some remained.

Fixes: 9089087ed7b2a7da33b73711aa5f457fe06adfc2

d13bb354 09/21/2022 06:54 AM Maria Agaphontzev

Fixes #34764 - refactor filters page (#9186)

  • Fixes #34764 - refactor filters page
  • Refs #34764 - manage spaces in resource_type
  • Refs #34764 - hide locked roles
  • Refs #34764 - fix search disable on load
9089087e 09/12/2022 10:51 AM Ewoud Kohl van Wijngaarden

Fixes #35300 - Pass keyword arguments correctly (#9332)

In Ruby 3.0 keyword arguments are handled separate from positional
arguments1. This uses kwargs and passes it along.

[1]: https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/

4ba24376 09/08/2022 02:44 PM Leos Stejskal

Fixes #35480 - Host provisioning & OS without family

Raise an error with message about missing OS family.

08b9713e 08/22/2022 08:59 AM snemeth

fixes #35377 - allow upper case letter in device identifiers

ee9fe3a7 08/16/2022 07:08 PM Partha Aji

Fixes #35359 - Add cacert to http proxy (#9348)

This PR adds a cacert column to the http proxy and uses to this for
connecting to ec2 and other compute resources. This would also be used
by katello/other plugins when communicating to the CDN over a https...

f28bc34c 08/02/2022 07:41 AM Shimon Shtein

Fixes #35132 - Make audits host detection regex more strict

b76abb6e 07/26/2022 10:30 AM Nofar Alfassi

Fixes #35127 - migrate discovery and bootdisk templates to Foreman (#9314)

db023da3 07/25/2022 11:47 AM Nofar Alfassi

Fixes #4007 - updating users email to be optional (#9279)

4ea1a6b7 07/08/2022 08:27 AM Robert Frank

Fixes #35035 - set VNC password length to 8 chars.

VNC passwords have a maximum length of 8 characters, Foreman uses 16.
Newer versions of libvirt enforce the 8 character limit.
Improve strength of generated passwords by increasing the character pool.

9374e4c5 06/22/2022 01:37 PM Leos Stejskal

Fixes #35069 - ApplicationRecord.<=> undefined method 'name'

After 6.1 upgrade some tests (eg. Foreman Discovery)
are failing with following error:

NoMethodError: undefined method `name' for 0:Integer
app/models/application_record.rb:43:in `<=>'

d767911c 06/13/2022 12:06 PM Adam Ruzicka

Support != and ~ search on os_minor and ~ on os_major (#9243)

  • Fixes #34989 - Support != and ~ search on os_minor
  • Refs #34989 - Support ~ search on os_major
97ec33fd 06/07/2022 04:26 PM Nofar Alfassi

Fixes #28810 - changes to Any organization & Any location taxonomy's names

- Added unique name validations (English only)
- Added icons
- Fixed capitalization

35fc2038 06/07/2022 02:24 PM Bastian Schmidt

Fixes #34942 - Adapt installation media search path for Ubuntu 20.04.3+

de56ffb2 05/26/2022 10:58 AM Ondřej Ezr

Fixes #34305 - stop creating settings in DB (#9050)

With the setting DSL, we hold all the necessary values for settings in the memory.
We can now stop creating records for the settings in the database.

1cf4147a 05/24/2022 07:07 AM Leos Stejskal

Fixes #34526 - Switch Rails version to 6.1

Changes overview:
- Set default Rails version to 6.1
- Required dynfow >= 1.6.5
- Cleanup deprecation warnings in config/as_deprecation_whitelist.yaml
- ActiveSupport::ParameterFilter instead of ActionDispatch::Http::ParameterFilter...

0d706b95 05/22/2022 12:28 PM Jeremy Lenz

Fixes #34921 - Fix SettingValueException error message

662c4a3a 05/09/2022 08:09 AM Jeremy Lenz

Fixes #34838 - Add errors when setting values are invalid (#9203)

7a7ed8fb 05/08/2022 10:10 AM Leos Stejskal

Fixes #34866 - Settings - Like operator for name

  • Allow ~ operator for name
  • Fix issue with double quote in search
  • Raise exception for unsupported operators :and / :or
fdd9d631 03/30/2022 06:51 AM Ondřej Ezr

Fixes #34603 - deprecate non-DSL setting definitions

This allows conversion to Zeitwerk by moving the non-DSL setting to only
to_prepare phase. We no longer require the Setting classes manually.
If the plugins want to continue using the old way,
plugins need to require the Setting classes manually.

6c80bfc1 03/29/2022 03:07 PM Bernhard Suttner

Fixes #34689 - bootfile should be useable in Jail

add9562f 03/26/2022 11:48 AM Lukas Zapletal

Fixes #32572 - PBKDF2 password hashing support

Signed-off-by: Lukas Zapletal <>

5a77b476 03/21/2022 01:00 PM Ondřej Ezr

Fixes #34569 - postpone LookupValue#match validations

Validation for presence of foreign_key has to be postponed because of Rails internals.

association.build() filters out foreign_key for given association because it assigns the value for that key after the main record gets saved....

7a157e01 03/18/2022 07:51 PM Lukas Zapletal

Fixes #31965 - make bmc_credentials_accessible disabled by default

Also remove the settings check as that would be pretty useless with this new value.

Signed-off-by: Lukas Zapletal <>

c56db5d6 03/15/2022 02:37 PM Lukas Zapletal

Refs #34360 - allow host deleting with host_reports plugin

Signed-off-by: Lukas Zapletal <>

5055800d 03/14/2022 02:46 PM Ondřej Ezr

Fixes #30861 - keep setting collections in registry

Move Setting collection registry into the setting registry.

a1a56646 03/14/2022 02:11 PM Bastian Schmidt

Fixes #34565 - fix installation media for Ubuntu versions with autoinstall (20.04.3+)

The new Ubuntu autoinstall uses vmlinux and kernel initrd instead of linux and initrd.gz respectively.

  • Adapt pxe_file_names to return (vmlinux,initrd) if autoinstall subiquity is used
af3f1189 03/14/2022 07:49 AM Ondřej Ezr

Fixes #34596 - sanitize default template names

Default boot templates are weirdly interconnected with its settings.

131be7a8 03/10/2022 01:05 PM Ondřej Ezr

Refs #33937 - improve setting usage

Settings should not be accessed through DB.

281a43f6 03/10/2022 01:05 PM Ben Magistro

Fixes #33937 - Use local boot template setting

Currently when booting with iPXE, the `iPXE default local boot`
regardless of the configured option in settings. This shifts to looking
up the configured template and falling back to the default if not found....

c67703aa 03/09/2022 09:05 PM Tomer Brisker

Refs #10413 - Drop unattended mode checks from models

3253d649 03/09/2022 02:26 PM Ondřej Ezr

Fixes #34573 - encrypt DSL setting values

DSL setting values were not properly encrypted as the encryption flag has not been propagated into DB model.

28aa6fdb 03/08/2022 10:48 AM Ondřej Ezr

Refs #34323 - explicit value for Rails 6.1

In c693cd9 we have worked around an issue for distinguishing between value explicitly set by user and not set.
This workaround doesn't work properly in Rails 6.1 and we should improve it to work properly.

6f492704 03/03/2022 11:17 AM Nagoor Shaik

Fixes #34498 - added RHEL9 and CentOS9 Guest OSes

09414bf0 03/02/2022 03:29 PM Ondřej Ezr

Fixes #34328 - GraphQL use directly SettingRegistry

GraphQL was reading the settings from DB, but now we have the registry, it needs to read it from there instead.

Mutation needs to set the value through the SettingRegistry as well.

20f0ddfb 03/01/2022 02:28 PM Marek Hulán

Fixes #34346 - support Openstack URI with paths

The Keystone URI is processed before we pass it's base form to the fog.
If Keystone is deployed under a sub-uri e.g. /identity like Devstack
does, the path is always ommited. This preserves the path.

879a0cbb 02/24/2022 07:45 AM Nagoor Shaik

Fixes #34499 - new h/w versions for vSphere 7.0 U2 & U3

bcd18b6c 02/15/2022 05:34 PM Ondřej Ezr

Fixes #34416 - taxonomy title in ForemanContext

When creating new org/loc we did not save the title there.
In the app_metadata for the frontend we were taking these directly from db, so it disallowed the calculation on runtime.

This was wrong from b0d5a6c9b882fa078379ed90f8610ff021978e6b, but only when we switched to using these in the TaxonomySwitcher it started to exhibit in this bug....

7ccb4f68 02/14/2022 01:10 PM Leos Stejskal

Fixes #34353 - Fix early load of fog_extensions

92ac0e94 02/10/2022 03:54 PM Ondřej Ezr

Fixes #34375 - allow passing empty attributes for facets (#9083)

Facets were rejecting empty attributes to not create empty facet.
Originally this was to fix an issue in 5d64eef2cba8e56ad39510c3bd1d724bd52762eb
Tho we want to pass empty attributes to facets that already exists....

8947c65a 02/08/2022 10:10 PM Oleh Fedorenko

Refs #34360 - Use Plugin's API

d6c44dcf 02/02/2022 06:02 PM Lukas Zapletal

Fixes #34360 - prepare for Host Reports migration

Signed-off-by: Lukas Zapletal <>

a459f514 01/31/2022 01:10 PM Adam Ruzicka

Fixes #34351 - Allow Site manager role to be extended from plugins

1aeec1f5 01/24/2022 04:48 PM Leos Stejskal

Fixes #34198 - Registration and host_init_config templates previews

  • Make Global registration template previewable
  • Do not require host selection for registration templates
  • Show managed & unmanaged hosts for host_init_config template preview
f73d7393 01/24/2022 07:38 AM Justin Sherrill

Fixes #34299 - allow input deletion during seeding

0d80e696 01/21/2022 11:55 AM Nadja Heitmann

Refs #33418 - Make last_report.origin interval parametrizable fixup

c8236d24 01/20/2022 04:14 PM Nadja Heitmann

Refs #33418 - Make last_report.origin interval parametrizable