In the "System Settings" a lot of settings initially. But besides this, there are also settings that are not used in the system at all, but hang in the list.
Those we need refactoring of "System Settings" section:
1) It is necessary to remove outdated system settings.
2) Some settings are not in the right categories, for example:
publish_default is located in the "Site" section, but the default_duplicate_publish_option setting is located in the "Back-end Manager" section, although, in my opinion, everything related to resources should be in the "Site" section.
log_snippet_not_found setting should be in the "Back-end Manager" section.
default_media_source and default_media_source_type settings should be in the "File System" section etc.
Need to check the categories of system settings.
These settings are not used anywhere in the code.
Most likely this is the legacy of Evo (WebSignup & WebLogin)
Authentication and Security: (https://github.com/modxcms/revolution/pull/14841)
Rich-Text Editor: (https://github.com/modxcms/revolution/pull/14843)
File System: (https://github.com/modxcms/revolution/pull/14886)
Lexicon and Language: (https://github.com/modxcms/revolution/pull/14848)
Back-end Manager: (https://github.com/modxcms/revolution/pull/14868)
System and Server: (https://github.com/modxcms/revolution/pull/14877)
It is better to check all system settings, they can be even called in the core files, but not used in core functions.
Perhaps it is worth moving to "Authentication and Security" section:
To "Caching" section:
To "File System" section:
To "Friendly URL" section:
To "Back-end Manager" section:
To "Site" section:
To "System and Server" section:
It is better to move these settings from the "System settings" in the "User" section in the form of checkboxes:
Why should the setting enable_gravatar be removed?
@JoshuaLuckers I meant that it is better to move these settings (manager_use_fullname, enable_gravatar) to the "User" section in the form of checkboxes, don't just remove (misprint).
@JoshuaLuckers I meant that it is better to move these settings (manager_use_fullname, enable_gravatar) to the "User" section in the form of checkboxes, don't just remove (misprint).
Thanks for clearing that up! 😄
The system setting server_protocol should be removed.
@JoshuaLuckers In a good way, all the settings should be checked, there are a lot of old non-working settings. I described some above.
The static_elements_automate_… settings are in use:
https://github.com/modxcms/revolution/blob/3.x/core/src/Revolution/Processors/Element/Remove.php#L80
@Jako Yes, thank you. I wanted to clarify this later, I searched by the direct key and not find this settings (static_elements_automate_...).
Can you check other settings too, when you have time?
Authentication and Security: (#14841)
- udperms_allowroot (found only in "System Settings")
- webpwdreminder_message (found only in "System Settings")
These settings have been deleted.
Most helpful comment
These settings are not used anywhere in the code.
Most likely this is the legacy of Evo (WebSignup & WebLogin)