Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
16fa0927 02/15/2024 04:17 PM Adam Ruzicka

Fixes #37039 - Honor permissions and taxonomies for host statuses

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

Fixes #36869 - update hosts path with current_hosts_path

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

Fixes #36711 - Fix searching in settings

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.

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

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.

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.

c693cd93 01/31/2022 02:27 PM Ondřej Ezr

Fixes #34323 - use defaults from memory

This loads values from database only if the values are in the database.
If there is no value populated for the Setting, we want to read the default from memory.

64ceeac9 11/17/2021 08:25 PM Tomer Brisker

Fixes #33935 - Cache setting categories

Every call to `@settings.category` in the index page recalculates all
the category names and labels by iterating over all settings. Since the
categories can't change in runtime, we can calculate it once and store
the list on the settings registry. We can also get the label once per...

a1c38aa6 10/28/2021 06:57 AM Ondřej Ezr

Fixes #33791 - respect global settings precedence

In the new registry we've forgot to force the global values precedence.
This forces the global values to be respected.

608e32be 09/24/2021 11:25 AM Ondřej Ezr

Fixes #32893 - use setting DSL for General category

This uses our new DSL to define the General settings, this showcases how
to use the new DSL and other categories should follow in the same
release.

2bafa941 08/26/2021 02:46 PM Oleh Fedorenko

Fixes #33347 - Fix settings index API

ae81b4a1 08/25/2021 10:50 AM Ondřej Ezr

Fixes #33280 - category for DSL defined settings

1c02010e 08/16/2021 01:57 PM Kamil Szubrycht

Fixes #31638 - Adds host status overview page

ad72115f 07/27/2021 09:26 AM Leos Stejskal

refs #32287 - Restrict search operators for Settings

Search method from 'setting index loads from registry' PR [0]
support only few search operators, `SearchBar` component
at Settings page should not display other unsupported operators

[0] https://github.com/theforeman/foreman/pull/8438

3ff1fd27 07/23/2021 01:53 PM Ondřej Ezr

Fixes #32415 - access only through SettingRegistry

Update and read the settings through SettingRegistry.
Adds a layer between controller and Model.
SettingRegistry is proxying the value parsing method to the model.

This lifts blocker for settings without DB record.

074be461 06/29/2021 07:57 AM Ondřej Ezr

Fixes #32286 - new settings definition DSL

Introduces a new DSL to define settings, so we don't need to define
STI classes for every setting category and we have more control over
settings from the plugins.

3a9143a1 05/11/2021 03:15 PM Ondřej Ezr

Fixes #32287 - setting index loads from registry

The values provided on the Setting index page are now served from
registry, with simple search API, that can be easily improve to support
more querying features.

8137b14c 04/22/2021 03:12 PM Ondřej Ezr

Fixes #30862 - introduce SettingRegistry (#8002)

SettingRegistry keeps all the setting information as set of SettingPresenters in memory.
This registry should be the public API for accessing setting values and keeps all the information about settings.
That will allow dropping all information except `name` and `value` from database....

a1d29421 12/10/2020 12:25 PM Ondřej Ezr

Refs #31285 - use Ruby 1.9 style Hash

957a215f 12/10/2020 12:25 PM Ondřej Ezr

Fixes #31285 - setting timestamps for API

Presenter doesn't include Setting timestamps, what resulted in a regressision,
the timestamps were not present for the API responses anymore.
This brings the timestamps back temporarily.

e037f70d 10/07/2020 05:30 PM Ondřej Ezr

Fixes #30860 - introduce SettingPresenter (#8001)

Introduces SettingPresenter, that should keep all the information about setting.
This aims to keep such information only in the code and remove them from the DB.

This only prepares the ground for future drop of this information from DB....