Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leverage DazzleConf 2.0 for backwards-compatible configuration improvements #223

Open
A248 opened this issue Jul 21, 2023 · 1 comment
Open
Labels
improvement Ideas for streamlining existing features
Milestone

Comments

@A248
Copy link
Owner

A248 commented Jul 21, 2023

DazzleConf 1.x's main limitation is a lack of dynamism with respect to config interfaces.

Migration of previous config versions is unsupported, which blocks LibertyBans from features we might want to implement, such as #202, which require movement and separation of configuration options. In-place transformations are another impossibility, but are required to implement the much-demanded #208 .

There is no way to dynamically include several sub-sections. For example in LibertyBans, we can't place addon configuration under the core configuration. This means that convenient translation is unsupported, because only the main lang/messages_<lang>.yml file is supported for translation (see #222). The segmented configuration also gives the illusion that addons are separate software, when in reality they are more akin to puzzle pieces that fit into bans-core.

@A248 A248 added this to the 1.2.0 milestone Jul 21, 2023
@A248 A248 added the improvement Ideas for streamlining existing features label Jul 31, 2023
@LaurenceBarnes
Copy link

Under https://docs.libertybans.org/#/Permissions the docs say:

libertybans.admin.viewips - Allows staff to view IP addresses if censor-ip-addresses is turned on in the configuration.

however, the config option currently is in messages_en.yml, so not consistent with all (I believe?) other non-addon config options being in the main config.yml.

Looks like this issue is a blocker for moving this config option to the correct file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Ideas for streamlining existing features
Projects
None yet
Development

No branches or pull requests

2 participants