Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
0f9352a4 05/17/2024 01:21 PM Ewoud Kohl van Wijngaarden

Fixes #37434 - Use nightly for develop manual links

Foreman has for the longest time had
https://theforeman.org/manuals/$next redirect to
https://theforeman.org/manuals/nightly in our Apache configuration. This
means that on every branching we need to modify this. It also doesn't...

5334c308 05/15/2024 04:01 PM Adam Ruzicka

Fixes #37463 - Fix permission handling for table prefs

Before this change non-admin users could create, but not update their
own table preferences as the default scope tried to check
various *_table_preferences permissions which don't exist at all.
Alternatively, we could introduce these permissions and grant the...

b0f28c2c 05/10/2024 09:55 AM Archana Kumari

Fixes #37432 - Fix Style/GlobalStdStream cop

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

Fixes #36830 - transform_vars on preseed_path

Co-Authored-by: quartsize

7a77b3ce 04/23/2024 11:28 AM Bernhard Suttner

Fixes #36691 - use 'connectefi scsi' by default

Co-Authored-by: Shimon Shtein <>
Co-Authored-by: Ewoud Kohl van Wijngaarden <>

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

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

bf03a259 04/17/2024 06:15 AM Pat Riehecky

Fixes #36525 - kickstart's RHSM line only works on RHEL hosts

98d3bf5b 04/15/2024 12:09 PM Jan Loeser

Fixes #36885 - Add Clevis/Tang disk encryption template

For disk encryption Clevis/Tang is often used. This commit introduces
partition templates for Kickstart and Autoinstall taking care of disk
encryption and a snippet responsible for binding the LUKS device via...

f87b1a25 04/15/2024 08:28 AM Leos Stejskal

Fixes #37337 - Fix snapshot task and add Rocky 8 & 9

0085153c 03/26/2024 11:57 AM Ewoud Kohl van Wijngaarden

Fixes #37287 - Iterate on hashes when both key and value are used

This replaces the `hash.keys.each { |k| hash[k] }` and `hash.keys.sort`
patterns with `hash.each { |k, v| }` where it makes sense. This avoids
doing hash lookups when you already know the value anyway.

6c77d09b 03/19/2024 01:42 PM Ewoud Kohl van Wijngaarden

Fixes #37273 - Use delegation syntax for resource_scope

In Ruby 3 you need to explicitly delegate keyword arguments, or if you
don't care about Ruby 2.6 or prior then you can use the new delegation
syntax1.

It deals with the difference in calling where. When calling `.where([])`...

05f60ce3 03/14/2024 01:05 PM Jeremy Lenz

Fixes #37065 - report_row now explicitly accepts kwargs
also adds a test which fails without the fix

e402ea51 03/12/2024 12:46 PM dosas please_edit_me

Fixes #37132 - Fix sorting problem in os integration test

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

Fix Style/CommentAnnotation cop

88baad98 03/12/2024 09:24 AM dosas please_edit_me

Fixes #37150 - Race condition in edit smart proxy test

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

Fixes #37043 - Inheritance overrides host facets

a488cd20 03/10/2024 11:55 AM Jeremy Lenz

Fixes #37179 - Clone hostgroup facets when cloning hostgroup

f7e1e7b1 03/01/2024 10:23 AM Evgeni Golov

sort taxable_ids before comparing them

For some reason, taxable_ids and visible_dummies are sometimes sorted
differently, resulting in failed tests even tho the right taxonomies are
found, just in the wrong order.

Use assert_equal_arrays that sorts the arrays before comparing them.

2836e938 03/01/2024 09:47 AM Bastian Schmidt

Fixes #37011 - Apply latest Ubuntu Autoinstall userdata changes

  • Add explicit fallback for offline installation
  • Replace deprecated lock-passwd with lock_passwd
  • Remove empty ssh keys array if none provided
459f70c4 02/26/2024 09:53 AM Hao Yu

Fixes #37184 - Report template generates incorrect kernel version

1935cea4 02/26/2024 08:11 AM Evgeni Golov

Refs #36502 - update snapshots after template change

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

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

23d76698 02/16/2024 06:12 PM Markus Bucher

Fixes #37168 - fix potential for duplicate html-id

08097fb6 02/15/2024 07:11 AM Ewoud Kohl van Wijngaarden

Fixes #37092 - Use minitest_reporters_github in GHA

This is a specialized reporter to provide GitHub annotations on failure.
These annotations can be seen in the changes files tab.

d62da160 02/14/2024 06:35 AM Ewoud Kohl van Wijngaarden

Refs #37102 - Read real webpack manifest in test

In some test cases (like controller tests) the real manifest isn't
needed, but in integration tests they are.

Rails has deprecated controller tests in favor of integration tests, but
Foreman still has them. This modifies the fake read_webpack_manifest to...

47288398 02/01/2024 09:23 PM Oleh Fedorenko

Refs #36849 - Enable strict keyword argument matching

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.

89c61045 01/26/2024 10:44 AM Maria Agaphontzev

Fixes #37102 - webpack 5

670ee162 01/15/2024 08:31 AM Girija Soni

Fixes #36972 - Make hammer accept unlimited as JWT life time

4259abb7 01/12/2024 10:25 AM Oleh Fedorenko

Refs #36849 - Update tests for documentation_url

c1096913 01/11/2024 09:29 AM Nofar Alfassi

Fixes #36160 - add display_name field to Host GraphQL type

75017ef2 01/03/2024 12:26 PM Oleh Fedorenko

Refs #36849 - Remove deprecated URI.{encode,decode}

These are dropped in Ruby 3.0

2198394b 01/03/2024 12:26 PM Oleh Fedorenko

Refs #36849 - Fix Ruby 3 kwargs handling

9e427bdc 01/03/2024 11:14 AM Ewoud Kohl van Wijngaarden

Fixes #37019 - Correct release names in OS factories

a1142ab9 12/19/2023 01:58 PM Evgeni Golov

run external kickstart and grub tests on GHA

74121151 12/01/2023 06:26 PM Karolína Małyjurková

Fixes #36917 - Create current user permissions API

7e637558 11/29/2023 07:07 PM Ewoud Kohl van Wijngaarden

Refs #32848 - Ensure the Foreman version is nightly in tests

This copies the behavior of the stable release test for nightly to avoid
breaking on stable branches.

3ecce169 11/28/2023 08:03 PM Partha Aji

Fixes #36869 - update hosts path with current_hosts_path

19262bdf 11/23/2023 09:43 AM Ewoud Kohl van Wijngaarden

Fixes #36930 - Make invalid YAML test compatible with libyaml 0.2.x

The valid {a:test} is invalid with libyaml 0.1.x but is valid with
0.2.x. This changes the test to @@ which should still raise a
Psych::SyntaxError.

3054853b 11/21/2023 06:49 PM Jeremy Lenz

Fixes #36892 - Pass host results to REX slot;
allow root node permissions to be extended
Refs #36892 - improvements to regex & index layout

8b1890e9 11/15/2023 01:05 PM Maria Agaphontzev

Fixes #35601 - Search in navigation

b566ea8a 11/09/2023 11:06 AM Ewoud Kohl van Wijngaarden

Fixes #32848 - Support linking to docs.theforeman.org

An effort is under way to use docs.theforeman.org as the primary
documentation source. It is already the official documentation source
for Katello, but until now it wasn't easily possible to (correctly) link...

f03e699e 11/06/2023 09:02 PM Jeremy Lenz

Fixes #36867 - Add host delete & create
Add bulk modal with bulk params
add register/create buttons; fix links
address UX comments
Remove icon from delete action in the toolbar’s kebab
In the delete modal as a primary button use just “Delete”
(not delete host)...

52d4a500 11/02/2023 07:05 AM Nofar Alfassi

Fixes #36880 - include LookupValue permissions in fixtures

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`...

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

Fixes #36796 - Make host_facts_updated event visible

d3aeb144 10/05/2023 02:20 PM Bastian Schmidt

Fixes #36799 - Add Salt image path to ConfigReportsController

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

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

4e205ba1 10/04/2023 07:06 AM Ewoud Kohl van Wijngaarden

Fixes #36723 - Remove Fedora/Red Hat Atomic related code

As far as I can see this has been EOL for a few years now. Red Hat
Atomic went EOL in 2021.

d430f3fb 09/28/2023 10:19 AM Evgeni Golov

Fixes #36759 - only call allowed transpilers

CVE-2022-3874: OS command injection via ct_command and fcct_command

Instead of allowing to call any command by changing a setting, only
allow specific paths to ct/fcct. If the user needs a different path,
they can set it via settings.yaml.

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

Fixes #36715 - Speed up host fact retrieval

2517ba4e 09/26/2023 03:44 PM Eric Helms

Fixes #36768: Prevent redirection to other hosts via HTTP referer header

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.

0f1d1426 08/23/2023 06:41 AM Jonas Trüstedt

Fixes #35124 - Fix preseed_kernel_options to work with full-host-bootdisk deployments

Update corresponding template snapshots.

Co-authored-by: Bastian Schmidt <>

70c0992a 08/22/2023 07:03 PM Bernhard Suttner

Refs #36677 - fix tests

17ae8080 08/09/2023 10:00 AM Evgeni Golov

Fixes #36661 - remove restore_plugins from test_helper

6340ec56 08/09/2023 09:33 AM Evgeni Golov

Fixes #36660 - drop value from settings dsl

also update plugin docs to use a seed instead of a migration if they
need a value

fb76d77a 08/08/2023 12:16 PM Ewoud Kohl van Wijngaarden

Fixes #36639 - Use Templates feature on IPv6

This now looks at, and prefers, the IPv6 subnet on the
provision_interface to determine the template proxy. This allows using
the Templates feature in pure IPv6 provisioning setups.

57bbbd10 08/08/2023 10:42 AM Evgeni Golov

Fixes #36644 - Validate root_url before using it

2cadaaaa 08/08/2023 10:13 AM Evgeni Golov

Fixes #36651 - Support Minitest 5.19+

  • This reverts commit 1c3a4155f286352e0abbf0d0b298e47e81c2d6c5.
    Thus un-pinning minitest again
  • update minitest-spec-rails to 7.1+
    This contains a fix required for minitest 5.19+
  • Update mocha to 2.1+ for minitest 5.19+ compat...
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

4d8796be 06/28/2023 10:30 AM Maria Agaphontzev

Refs #30344 - review fixes

0a90bfd0 06/28/2023 10:30 AM Maria Agaphontzev

Fixes #30344 - use pf4 navigation

cb88310a 06/19/2023 11:14 AM Kamil Szubrycht

Fixes #36509 - Fix totalCount handling for GraphQL queries with first parameter

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

Fixes #35942 - pass from settings not encrypted

68bacee5 06/09/2023 01:44 PM wlma please_edit_me

Fixes #36490 - Remove redundant ERB closing tag in coreos template

Refs #36490 - Regenerate template snapshots

29e1c27b 06/08/2023 11:48 AM Mike Rochefort

Fixes #36189 - Add AlmaLinux UEFI provisioning support

In pxegrub2_chainload.erb various paths are tried, but the
/EFI/almalinux/grubx64.efi path is missing. This causes the server
to refuse to boot.

To make it easier to use the AlmaLinux installation medium is added.

02dd9831 06/01/2023 07:40 AM Shimon Shtein

Fixes #36395 - move value setting to seed

e4d86ca4 05/10/2023 02:13 PM Evgeni Golov

Fixes #36370 - allow all providers in the graphql enum

Otherwise plugin-based providers are not allowed

c4b515d6 05/10/2023 07:35 AM Damon Maria

Fixes #36180 - iPXE provisioning template for Ubuntu autoinstall

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...

d620319b 04/21/2023 08:40 AM Bernhard Suttner

Fixes #36097 - protect rendered template

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

Fixes #36017 - Remove spacing for array type settings

65ebd0f3 03/30/2023 05:14 PM Leos Stejskal

Fixes #35068 - Expired build token should return 401 instead of 412

6cdb8c7a 03/03/2023 08:42 AM Ron Lavi

Fixes #35949 - move select_multiple_puppet_proxy to the puppet plugin

0d2e222d 02/22/2023 02:45 PM Peter Koprda

Fixes #35701 - Export button should use selectable columns

fc0ad65d 02/10/2023 10:57 AM Maria Agaphontzev

Fixes #35978 - Update pf to 2022.16+ release

Updates foreman-js(patternfly) to have access to the name prop in Search

5c3cfef8 01/30/2023 10:15 AM Leos Stejskal

Fixes #36014 - Kickstart default - remove @core group

The Core group is always selected, it is not necessary to
specify it in the %packages section.

f3af7ab4 01/22/2023 11:38 AM Leos Stejskal

Fixes #35840 - Install chrony on RHEL 7

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.

acafe1aa 01/04/2023 02:38 PM Adam Ruzicka

Fixes #35894 - Properly detect setting changes

Previously we missed setting changes which changed a setting back to its
default value.

bcfa6ade 01/04/2023 02:38 PM Adam Ruzicka

Refs #34305 - Fix load_values test

339fe635 12/09/2022 05:11 PM Kamil Szubrycht

Refs #32685 - Keep modulized model name in Global ID

97282e16 12/05/2022 04:14 PM Maria Agaphontzev

Fixes #35550 - change autocomplete to be pf4

a0dae9e5 12/05/2022 03:20 PM Marcel Kuehlhorn

Fixes #35286 - New PXEGrub2 template for Ubuntu Autoinstall

- Introduce new PXEGrub2 Autoinstall template
- Move network configuration out of PXELinux Autoinstall template to
new preseed_kernel_options_autoinstall snippet
- Add snapshot for preseed_kernel_options_autoinstall...

1117630b 12/03/2022 01:41 PM Ewoud Kohl van Wijngaarden

Refs #35796 - Reduce empty lines

In 699b7a3b4e9069237031b2dfbee8dba2bbaadf8c an additional empty line was
generated which broke the snapshots. This takes it a step further and
also removes various other lines in the generated output.

Fixes: 699b7a3b4e9069237031b2dfbee8dba2bbaadf8c

eaf0052b 12/01/2022 12:40 PM Bernhard Suttner

Fixes #35674 - Add more custom pre/post snippet hooks

5537d830 11/28/2022 01:57 PM Sayan Das

Refs #35530 - Dont use shellescape on the filename

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

5339e9fd 11/04/2022 12:53 PM Marcel Kühlhorn

Fixes #35397 - Preseed Autoinstall incorporate host_params

  • Param 'keyboard' to set default layout
  • Param 'lang' to set default locale
  • Adapt template snapshot accordingly

Co-authored-by: Bastian Schmidt <>
Co-authored-by: Evgeni Golov <>

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

Fixes #35696 - add bios info to reported data facet

3146fd86 11/02/2022 12:38 PM Oleh Fedorenko

Fixes #35621 - Make power status a selectable column

605fc8b1 10/31/2022 05:33 PM Bernhard Suttner

Fixes #35583 - Skip dhclient installation

The dhclient package isn't available on the minimal ISO image for >= EL8, therefore installation fails because it tries to install this package. The IP address is managed by network manager.

32884e54 10/31/2022 10:23 AM Oleh Fedorenko

Fixes #35473 - Add extlogin API endpoint

/users/extlogin endpoint is designed for UI interaction, thus
using this endpoint to create a session to be used via API will
fail with "Can't verify CSRF token authenticity" for any method
except GET. We need to have a separate endpoint to create a proper...

1b245d59 10/25/2022 01:37 PM Leos Stejskal

Fixes #35536 - Template input_resource macro & preview error (#9428)

02ea67ce 10/21/2022 05:28 PM Evgeni Golov

Fixes #35658 - don't fail parsing Windows facts without os_name

When Ansible runs on Windows without Admin privileges, it will not
report `ansible_os_name` and `ansible_distribution` facts, as those
can't be read without being Admin. Don't fail to parse facts in this...

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