Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
c75c51b0 05/16/2024 02:39 PM Adam Ruzicka

Fixes #37374 - Prefer execution interface over primary

in Ansible Inventory report template.

The execution interface method is not defined (and exposed in safemode
jail) unless remote execution plugin is enabled.

75ba4ecc 05/11/2024 06:03 PM Oleh Fedorenko

Fixes #37436 - Remove TimedCacheStore class

Foreman uses either redis or file store for quite some time.
This class is not being used anywhere.

aeb0ffa2 05/06/2024 02:23 PM Evgeni Golov

Fixes #37406 - drop upload functionality from foreman-debug

43a7a4f2 04/29/2024 11:34 AM Evgeni Golov

Fixes #37391 - also use reactExports for core

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

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

6cafc684 04/11/2024 10:48 AM Evgeni Golov

Fixes #37344 - enable compression for webpack assets

4550a0c1 04/11/2024 10:00 AM Maria Agaphontzev

Fixes #37252 - prevent duplicate foremanReact in plugins

bbca4738 03/04/2024 10:48 AM Oleh Fedorenko

Fixes #36574 - Update fast_gettext to ~> 2.1

de48fb5b 03/04/2024 10:48 AM Ewoud Kohl van Wijngaarden

Refs #36574 - Avoid patching Fastgettext

The code defines an additional method on Fastgettext but there's no
reason to do so. It can just as well define a method on itself.

06190391 02/16/2024 02:43 PM Maria Agaphontzev

Fixes #37173 - duplicate ids from webpack style

65481d93 02/13/2024 02:27 PM Maria Agaphontzev

Fixes #37161 - load public/webpack when available

84f33a33 01/29/2024 03:24 PM Evgeni Golov

Refs #37102 - add back generic node_modules resolve path

af198b45 01/29/2024 01:32 PM Evgeni Golov

Refs #37102 - don't alias @theforeman/vendor

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

Fixes #37102 - webpack 5

b7935755 12/12/2023 11:08 AM Eric Helms

Fixes #36936 - Switch to terser

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

Fixes #36917 - Create current user permissions API

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

Fixes #36575 - Use apipie-dsl default model descriptions

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

38aa4bbf 11/02/2023 03:56 PM Eric Helms

Refs #36815 - Require redis group if it is present

bb7b900b 11/02/2023 01:25 PM Evgeni Golov

Refs #36815 - explicitly require redis

ActiveSupport only loads the Redis gem when one enables RedisCacheStore,
but we need to obtain the default values before that.

For some reason this did not break on EL, but only on Debian.
Maybe because we use plain gems on the one vs bundler on the other....

76ec08d7 10/29/2023 04:52 PM Markus Bucher

Fixes #36842 - reduce impact of rails-cache issue

Original rails-issue: https://github.com/rails/rails/issues/49690

0d91a7c9 10/26/2023 02:42 PM Eric Helms

Fixes #36541 - Update Redis default databases for dynflow and cache

3688a0da 10/26/2023 01:19 PM Partha Aji

Fixes #36822 - Design new hosts page

Created a HostIndex component

Update the TableIndexPage as a part of this action to accept things like
select all

Co-authored-by: Jeremy Lenz <>

b8e2e059 10/20/2023 01:05 PM Ewoud Kohl van Wijngaarden

Fixes #36839 - Optimize apipie translate methods

2ae0516b 10/17/2023 04:16 PM Eric Helms

Fixes #36815: Set Redis reconnect_attempts to default

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

Refs #36575 - Avoid translating labels during startup

Since b1b46b6a17b21c8aec566ef846ab70a8b2aa931c the labels are translated
during initialization. This is because it uses () instead of N(). The
latter only marks a string for translation. Doing this leads to infinite...

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

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

Fixes #36644 - Validate root_url before using it

ffeacdd4 07/12/2023 01:09 PM Ewoud Kohl van Wijngaarden

Fixes #36583 - Remove power_manager from autoload_paths

This directory no longer exists.

Fixes: 3484613f7fb7 ("fixes #2411 - move files in /models to /concerns, /services, /mailers, /observers")

f034a4fc 06/30/2023 03:19 PM Oleh Fedorenko

Fixes #35432 - Use Rails 6.1 defaults

8fd2bf42 05/17/2023 02:17 PM Adam Ruzicka

Refs #36330 - Place assets into plugin dir

d9e83315 05/10/2023 02:04 PM Adam Ruzicka

Fixes #36331 - Expose translation registration in plugin DSL

b82e989f 04/05/2023 01:15 PM Maria Agaphontzev

Fixes #36263 - hosts names are hidden in small screens

dc22711f 04/03/2023 10:29 AM Evgeni Golov

remove warning that prometheus does not support multithreading

prometheus-client supports multithreaded servers since 1.0 when
configured with a DirectFileStore, which we do

Fixes: b50324b4e899d1aa201496568757a4c905826aad

e21b5517 03/07/2023 01:41 PM Oleh Fedorenko

Fixes #36129 - Force ellipsis on all columns

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

Fixes #35701 - Export button should use selectable columns

b7f865dd 01/25/2023 09:04 AM Markus Bucher

Fixes #35977 - html_escape host-comment in index

0106d6c7 01/23/2023 11:34 AM Ron Lavi

Refs #35890 - revert enable harmony mode with Uglifier to use ES6 syntax

This reverts commit d590d56578e3d70972efe5138558fd9007140a93.

e381a3c7 01/23/2023 09:23 AM Joniel Pasqualetto

Fixes #35641 - Add FOREMAN_PUMA_WORKER_TIMEOUT

This allows configuring the Puma worker_timeout, which specifies
the time before a worker process that has not checked in will
be restarted. It is not recommended to alter this value in normal
operation as that can mask real bugs or improper configuration....

d590d565 01/22/2023 01:15 PM Nofar Alfassi

Fixes #35890 - enable harmony mode with Uglifier to use ES6 syntax

Added some ES6 features across multiple pages to show that everything works

060eb9b3 01/05/2023 07:04 AM Ewoud Kohl van Wijngaarden

Fixes #35593 - Use CentOS 8 Stream for container

Currently the container image is based on Fedora 33, but that's long
EOL. Current Fedora versions have Ruby 3.1, but we're unable to use
that. Changing it to CentOS 8 Stream is the closest match and also close...

f6379b13 01/04/2023 11:11 AM Peter Koprda

Fixes #35823 - Boot time should show up empty instead of N/A

e33c2561 01/02/2023 10:36 AM Ewoud Kohl van Wijngaarden

Refs #35785 - Use BIOS in upppercase

BIOS is an abbreviation for Basic Input/Output System. Because of that
it needs to be written in uppercase.

b6c80b89 12/08/2022 11:10 AM Peter Koprda

Fixes #35820 - Selectable columns should have shorter headers

eaeeaef6 11/29/2022 02:14 PM Maria Agaphontzev

Fixes #35255 - Add Parameters tab to host details page (#9368)

  • Fixes #35255 - Add Parameters tab to host details page
6ce0fbce 11/24/2022 03:06 PM Peter Koprda

Fixes #35786 - Move fields between categories

3ec8ddb5 11/24/2022 02:26 PM Peter Koprda

Fixes #35785 - Add bios fields to reported data

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

Fixes #35733 - Add network category to selectable columns

fd2d3f16 11/07/2022 08:07 PM Oleh Fedorenko

Fixes #35623 - Add reported data profile for hosts index page

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

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

Fixes #35621 - Make power status a selectable column

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

6ba027c2 10/30/2022 06:42 PM Peter Koprda

Fixes #35287 - Create column selector on host index page (#9323)

  • Fixes #35287 - Create column selector on host index page
  • Fixes #35673 - Use name column as always checked column
  • Refs #35287 - Improve locked pagelet handling

Co-authored-by: pkoprda <>...

dd607e4b 10/27/2022 11:21 AM Jeremy Lenz

Fixes #35376 - Allow additional entries in config.hosts
Co-authored-by: Ewoud Kohl van Wijngaarden <>

0a9f8594 09/28/2022 07:00 PM Maria Agaphontzev

Fixes #35387 - Host details templates card (#9359)

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
4bf3341b 09/07/2022 01:14 PM Matěj Mudra

Fixes #35152 - Add clone media option (#9350)

36be84a1 08/29/2022 06:45 AM Evgeni Golov

Fixes #35403 - disable public_file_server in production

5b7bfd25 08/26/2022 02:07 PM Ewoud Kohl van Wijngaarden

Refs #35428 - Simplify i18n.fallbacks handling

This reverts commit 11bfc142561f1c69d2b8b5abc66df943a66b1672. Since
Rails 6.0 the value true is interpreted as `[I18n.default_locale]`
([Rails commit]). ActiveSupport 6.1 also pulls in at least version 1.6
so the specific requirement is also not needed....

86007f7a 08/25/2022 01:47 PM Oleh Fedorenko

Fixes #35361 - Make columns on host index page selectable

0247a5d3 08/25/2022 10:13 AM Ewoud Kohl van Wijngaarden

Refs #35420 - Remove unused settings.yaml.dist file

Fixes: afd0518243e3e478195c92cc16cd5f809d170032

afd05182 08/25/2022 09:30 AM Ewoud Kohl van Wijngaarden

Fixes #35420 - Drop boot_settings.rb for early settings

With Rails 7 require_relative no longer works in a Gemfile (maybe it's
Zeitwerk?). Currently we only support Rails 6.1 anyway and if we can't
use the mechanism for Rails 7 this mechanism should be removed....

387608cf 08/10/2022 08:17 AM Shimon Shtein

Refs #35274 - Revert "Make columns on host index page selectable (#9319)"

This reverts commit b1b46b6a17b21c8aec566ef846ab70a8b2aa931c.

b1b46b6a 08/03/2022 08:54 AM Oleh Fedorenko

Fixes #35274 - Make columns on host index page selectable (#9319)

26417655 07/15/2022 08:21 AM Ewoud Kohl van Wijngaarden

Refs #34526 - Drop Rails 6.0 support code

When Foreman switched to Rails 6.1, Rails 6.0 compatibility was dropped.
This makes it fail hard when it is attempted to be used. it also removes
a stray backslash.

Fixes: 1cf4147a06420842d3818f4edb6e22892f40a939...

92fa7089 07/15/2022 07:42 AM Oleh Fedorenko

Fixes #35210 - Allow symbols and hashes in YAML columns

46ca3e70 06/08/2022 08:40 AM Tilman Kranz

Fixes #34887 - userdata controller should be able to look up host by MAC address

0776ee95 06/01/2022 03:41 PM Eric Helms

Fixes #34978: Do not use Apipie DSL cache

This makes a change in production away from using an Apipie DSL cache,
and instead relying on HTML docs and JSON being generated on demand.
Testing has found that they are roughly equivalent in load times.
By switching to on-demand, the Apipie DSL documentation can accurately...

707d7fff 06/01/2022 10:48 AM Evgeni Golov

Fixes #34994 - require ApplicationRecord early for migrations

Without this migrations that use models fail with

PG::UndefinedTable: ERROR:  relation "application_records" does not exist
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...

7e52ff53 05/13/2022 09:47 AM Adam Ruzicka

Fixes #34913 - Take plugins into consideration when checking pending migrations

Also unify migration pending checking

1df76444 05/06/2022 07:18 AM Evgeni Golov

Refs #34602 - drop restart_required_changed_plugins file on boot

The file indicates that new plugins were installed and we need to
restart Rails.

692bb8bd 04/22/2022 11:31 AM Eric Helms

Fixes #34643 - Do not use Apipie cache

This makes a change in production away from using an Apipie cache,
and instead relying on HTML docs and JSON being generated on demand.
Testing has found that they are roughly equivalent in load times,
and solve a larger issue where the docs can present incorrect...

7fa5c261 03/30/2022 02:50 PM Ondřej Ezr

Fixes #34646 - move initialization into initializer (#9155)

Tidies up application.rb by moving initialization steps into initializer.
This also makes sure that Facets are not the first subclass inheriting from ApplicationRecord.
Facets being first derails Rails initialization.

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.

8c4d848f 03/23/2022 06:23 AM Leos Stejskal

Fixes #34526 - rescue_from JSON params parse errors

Use rescue_from block instead of the CatchJsonParseErrors middleware
See https://github.com/rails/rails/pull/34341

13529490 03/15/2022 10:00 PM Ondřej Ezr

Fixes #34391 - use facets to expose reported data in API

We use only uptime_seconds in the API and not even properly.
Facets should have its own view to separate its data from the main host attributes.

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

Fixes #10413 - Drop unattended mode deprecation

0350ff55 03/09/2022 09:05 PM Tomer Brisker

Refs #10413 - Drop unattended mode check in app init

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

Refs #10413 - Remove unattended mode check in routes

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

Refs #10413 - Force :unattended: true

170f5a07 03/08/2022 09:20 AM Jason

Fixes #34571 - Add Safemode Jail for ActiveSupport::TimeWithZone

4321f1bd 03/08/2022 09:02 AM Evgeni Golov

Refs #33671 - print apipie warnings on stderr

warnings should go to stderr, so callers can filter them out, without
filtering the normal output

e7b09b5b 03/03/2022 07:29 AM Lukas Zapletal

Fixes #33660 - ignore dynflow tables for dump

Signed-off-by: Lukas Zapletal <>

f95e3692 02/23/2022 12:11 PM Ondřej Ezr

Fixes #34500 - Add Rails 6.1 support

Adds support for Rails 6.1 and allows it to be enabled from settings.

a7f5b1b8 02/23/2022 12:11 PM Ondřej Ezr

Refs #34500 - reimplement routing hash_for on Rails 6.1

Rails 6.1 refactored the routing method responsible for definition of named routes.
We are overriding this method and thus we need to refactor it as well.
The switch for these is neccessary to support both Rails 6.0 and 6.1

221d255d 02/21/2022 11:00 AM Ondřej Ezr

Fixes #30122 - remove usage of controller level force_ssl

Foreman's use case for HTTP-only is provisioning. Many installers, like Red
Hat's Anaconda or Debian Preseed, either do not support it or make it very hard
to use HTTPS. This is especially hard since often a custom CA is used so the...

4f0adaeb 02/21/2022 09:58 AM Adi Abramovitch

Fixes #34251 - Add API endpoint for import Ipv4 subnet

cf6c8ed9 02/17/2022 08:03 PM Leos Stejskal

Fixes #34350 - Require 'foreman/telemetry' in ldap initializer

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

Fixes #34353 - Fix early load of fog_extensions

213bbb1c 02/02/2022 10:04 AM Ondřej Ezr

Fixes #34366 - skip GraphQL types enhancements in migrations

GraphQL types try to touch database, but that is not possible during the db migration.
These fields enhancements needs to be disabled during migrations.

9be159eb 01/24/2022 01:02 PM Amir Fefer

Fixes #33862 - add empty state for new host page

d6dd67c4 01/21/2022 05:12 PM Ondřej Ezr

Fixes #34009 - add finalization hook to plugin

Add a method, that finalizes the plugin setup.
This should serve as a hook to do stuff that needs to be done only after the initialization of Foreman completed.

e31dff60 01/18/2022 09:59 AM Lukas Zapletal

Fixes #31027 - transpiler macros for CoreOS family

2b1a177f 01/10/2022 02:36 PM Ondřej Ezr

Refs #33968 - Telemetry is not autoloadable

a26eb290 01/05/2022 10:01 PM Lukas Zapletal

Fixes #34122 - Report disallowed metric labels as other

Signed-off-by: Lukas Zapletal <>

8bcdc783 01/05/2022 09:27 AM Leos Stejskal

Fixes #34165 - Require code from lib folder

9c94e1a0 12/15/2021 11:30 AM Lukas Zapletal

Fixes #34026 - authorize puppet reports via Proxy

Signed-off-by: Lukas Zapletal <>