add update cli-command; add update-channel setting (stable|testing)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-22 20:18:18 +02:00
parent 1de39ac39c
commit e02164049e
9 changed files with 438 additions and 150 deletions

View File

@@ -108,6 +108,19 @@ return [
'default' => false,
'save_method' => 'storeSettingField'
],
'update_channel' => [
'label' => lng('serversettings.update_channel'),
'settinggroup' => 'system',
'varname' => 'update_channel',
'type' => 'select',
'default' => 'stable',
'select_var' => [
'stable' => lng('serversettings.uc_stable'),
'testing' => lng('serversettings.uc_testing')
],
'save_method' => 'storeSettingField',
'advanced_mode' => true
],
'system_validatedomain' => [
'label' => lng('serversettings.validate_domain'),
'settinggroup' => 'system',