Skip to content

[MAINTENANCE] Standardize all default configurations to YAML - #2227

Open
beatrycze-volk wants to merge 7 commits into
kitodo:mainfrom
beatrycze-volk:move-configuration
Open

beatrycze-volk wants to merge 7 commits into
kitodo:mainfrom
beatrycze-volk:move-configuration

Conversation

@beatrycze-volk

Copy link
Copy Markdown
Collaborator

Migrate existing default data for formats, metadata, and structures from JSON files to dedicated YAML configuration files. These configurations are now loaded through the YamlConfigurationProvider.

The YamlConfigurationProvider itself has been generalized and moved from the Validation\Configuration namespace to a more generic Configuration namespace to reflect its broadened role. This includes introducing specific methods like getTenantConfiguration and getValidationConfiguration for clearer access to different configuration types.

Depends on #2214

Removes the explicit TypoScript retrieval for validation settings. The controller now uses its already available $this->settings property for this configuration. This change also generalizes the 'domDocumentValidation' access by removing the hardcoded 'dfgviewer' sub-key.
…ion to YAML

Rename the 'ValidationForm' plugin and its associated files to 'Validation' to better match TYPO3 plugin naming convention.

Refactor the validation configuration mechanism by moving validation rules from TypoScript settings into dedicated YAML file. This improves modularity and maintainability by introducing a `YamlConfigurationProvider` for loading configurations, making them more declarative and easier to manage.
… and plugin rename

Reflects the migration of DOMDocumentValidation middleware configuration from TypoScript to YAML files and the renaming of the 'Validation Form' plugin to 'Validation'. This ensures the documentation accurately describes the current setup.
Migrate existing default data for formats, metadata, and structures from
JSON files to dedicated YAML configuration files. These configurations are
now loaded through the `YamlConfigurationProvider`.

The `YamlConfigurationProvider` itself has been generalized and moved from
the `Validation\Configuration` namespace to a more generic `Configuration`
namespace to reflect its broadened role. This includes introducing specific
methods like `getTenantConfiguration` and `getValidationConfiguration`
for clearer access to different configuration types.
```
@beatrycze-volk beatrycze-volk self-assigned this Oct 23, 2026
@beatrycze-volk beatrycze-volk added the ⟳ maintenance A task to keep the code up-to-date and manageable. label Oct 23, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⟳ maintenance A task to keep the code up-to-date and manageable.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant