Skip to content

Commit

Permalink
ownCloud: Revision for v10.15.0 (#6279)
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt authored Oct 14, 2024
1 parent 4e6e28a commit 6bd0be3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spk/owncloud/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SPK_NAME = owncloud
SPK_VERS = 10.15.0
SPK_REV = 18
SPK_REV = 19
SPK_ICON = src/owncloud.png

DEPENDS = cross/owncloud
Expand Down
13 changes: 11 additions & 2 deletions spk/owncloud/src/wizard_templates/install_uifile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RESTORE_BACKUP_FILE="wizard_owncloud_restore"
BACKUP_FILE_PATH="wizard_backup_file"
RESTORE_ERROR_TEXT="{{{OWNCLOUD_BACKUP_FILE_VALIDATION_ERROR_TEXT}}}"
SHARE_ERROR_TEXT="{{{OWNCLOUD_DATA_DIRECTORY_VALIDATION_ERROR_TEXT}}}"
MYSQL_ROOT_PASSWORD="wizard_mysql_password_root"

checkBackupRestore()
{
Expand Down Expand Up @@ -155,6 +156,13 @@ getDeActiveate()
currentStep.nextId = adminStep.itemId;
}
}
if (currentStep.headline === "{{{OWNCLOUD_ADMIN_CONFIGURATION_STEP_TITLE}}}") {
var setRootPassword = adminStep.getComponent("${MYSQL_ROOT_PASSWORD}");
var confirmRootPassword = confirmStep.getComponent("${MYSQL_ROOT_PASSWORD}");
if (!restoreChecked) {
confirmRootPassword.setValue(setRootPassword.getValue());
}
}
}
EOF
)
Expand Down Expand Up @@ -224,6 +232,7 @@ PAGE_ADMIN_CONFIG=$(/bin/cat<<EOF
"step_title": "{{{OWNCLOUD_ADMIN_CONFIGURATION_STEP_TITLE}}}",
"invalid_next_disabled_v2": true,
"activate_v2": "$(getActiveate)",
"deactivate_v2": "$(getDeActiveate)",
"items": [{
"type": "textfield",
"desc": "{{{OWNCLOUD_ADMIN_USER_NAME_DESCRIPTION}}}",
Expand All @@ -250,7 +259,7 @@ PAGE_ADMIN_CONFIG=$(/bin/cat<<EOF
"type": "password",
"desc": "{{{MYSQL_ROOT_PASSWORD_DESCRIPTION}}}",
"subitems": [{
"key": "wizard_mysql_password_root",
"key": "${MYSQL_ROOT_PASSWORD}",
"desc": "{{{MYSQL_ROOT_PASSWORD_LABEL}}}",
"validator": {
"allowBlank": false
Expand Down Expand Up @@ -286,7 +295,7 @@ PAGE_ADMIN_CONFIG=$(/bin/cat<<EOF
"type": "password",
"desc": "{{{MYSQL_ROOT_PASSWORD_DESCRIPTION}}}",
"subitems": [{
"key": "wizard_mysql_password_root",
"key": "${MYSQL_ROOT_PASSWORD}",
"desc": "{{{MYSQL_ROOT_PASSWORD_LABEL}}}",
"validator": {
"allowBlank": false
Expand Down

0 comments on commit 6bd0be3

Please sign in to comment.