|
|
|
@ -298,6 +298,7 @@ class Version20 extends AbstractMigrationChamilo |
|
|
|
|
'administratorName' => 'administrator_name', |
|
|
|
|
'administratorTelephone' => 'administrator_phone', |
|
|
|
|
'registration.soap.php.decode_utf8' => 'decode_utf8', |
|
|
|
|
'show_toolshortcuts' => 'show_tool_shortcuts', |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
foreach ($settings as $oldSetting => $newSetting) { |
|
|
|
@ -348,7 +349,6 @@ class Version20 extends AbstractMigrationChamilo |
|
|
|
|
'show_administrator_data' => 'display', |
|
|
|
|
'show_back_link_on_top_of_tree' => 'display', |
|
|
|
|
'show_closed_courses' => 'display', |
|
|
|
|
'show_different_course_language' => 'display', |
|
|
|
|
'show_email_addresses' => 'display', |
|
|
|
|
'show_empty_course_categories' => 'display', |
|
|
|
|
'show_full_skill_name_on_skill_wheel' => 'skill', |
|
|
|
@ -394,6 +394,78 @@ class Version20 extends AbstractMigrationChamilo |
|
|
|
|
'server_type' => 'platform', |
|
|
|
|
'show_official_code_whoisonline' => 'profile', |
|
|
|
|
'show_terms_if_profile_completed' => 'ticket', |
|
|
|
|
'enable_record_audio' => 'course', |
|
|
|
|
'add_users_by_coach' => 'session', |
|
|
|
|
'allow_captcha' => 'security', |
|
|
|
|
'allow_coach_to_edit_course_session' => 'session', |
|
|
|
|
'allow_delete_attendance' => 'attendance', |
|
|
|
|
'allow_download_documents_by_api_key' => 'webservice', |
|
|
|
|
'allow_email_editor' => 'editor', |
|
|
|
|
'allow_message_tool' => 'message', |
|
|
|
|
'allow_send_message_to_all_platform_users' => 'message', |
|
|
|
|
'allow_personal_agenda' => 'agenda', |
|
|
|
|
'allow_show_linkedin_url' => 'profile', |
|
|
|
|
'allow_show_skype_account' => 'profile', |
|
|
|
|
'allow_social_tool' => 'social', |
|
|
|
|
'allow_students_to_create_groups_in_social' => 'social', |
|
|
|
|
'allow_use_sub_language' => 'language', |
|
|
|
|
'allow_user_course_subscription_by_course_admin' => 'course', |
|
|
|
|
'allow_users_to_change_email_with_no_password' => 'profile', |
|
|
|
|
'display_groups_forum_in_general_tool' => 'forum', |
|
|
|
|
'documents_default_visibility_defined_in_course' => 'document', |
|
|
|
|
'dropbox_allow_group' => 'dropbox', |
|
|
|
|
'dropbox_allow_just_upload' => 'dropbox', |
|
|
|
|
'dropbox_allow_mailing' => 'dropbox', |
|
|
|
|
'dropbox_allow_overwrite' => 'dropbox', |
|
|
|
|
'dropbox_allow_student_to_student' => 'dropbox', |
|
|
|
|
'dropbox_hide_course_coach' => 'dropbox', |
|
|
|
|
'dropbox_hide_general_coach' => 'dropbox', |
|
|
|
|
'dropbox_max_filesize' => 'dropbox', |
|
|
|
|
'email_alert_manager_on_new_quiz' => 'exercise', |
|
|
|
|
'enable_webcam_clip' => 'document', |
|
|
|
|
'enabled_support_pixlr' => 'editor', |
|
|
|
|
'enabled_support_svg' => 'editor', |
|
|
|
|
'enabled_text2audio' => 'document', |
|
|
|
|
'extend_rights_for_coach' => 'session', |
|
|
|
|
'extend_rights_for_coach_on_survey' => 'survey', |
|
|
|
|
'hide_course_group_if_no_tools_available' => 'group', |
|
|
|
|
'hide_dltt_markup' => 'language', |
|
|
|
|
'if_file_exists_option' => 'document', |
|
|
|
|
'language_priority_1' => 'language', |
|
|
|
|
'language_priority_2' => 'language', |
|
|
|
|
'language_priority_3' => 'language', |
|
|
|
|
'language_priority_4' => 'language', |
|
|
|
|
'lp_show_reduced_report' => 'course', |
|
|
|
|
'message_max_upload_filesize' => 'message', |
|
|
|
|
'messaging_allow_send_push_notification' => 'webservice', |
|
|
|
|
'messaging_gdc_api_key' => 'webservice', |
|
|
|
|
'messaging_gdc_project_number' => 'webservice', |
|
|
|
|
'permanently_remove_deleted_files' => 'document', |
|
|
|
|
'permissions_for_new_directories' => 'document', |
|
|
|
|
'permissions_for_new_files' => 'document', |
|
|
|
|
'platform_language' => 'language', |
|
|
|
|
'registered' => 'platform', |
|
|
|
|
'show_chat_folder' => 'chat', |
|
|
|
|
'show_default_folders' => 'document', |
|
|
|
|
'show_different_course_language' => 'language', |
|
|
|
|
'show_documents_preview' => 'document', |
|
|
|
|
'show_link_ticket_notification' => 'display', |
|
|
|
|
'show_official_code_exercise_result_list' => 'exercise', |
|
|
|
|
'show_users_folders' => 'document', |
|
|
|
|
'split_users_upload_directory' => 'profile', |
|
|
|
|
'students_download_folders' => 'document', |
|
|
|
|
'students_export2pdf' => 'document', |
|
|
|
|
'tool_visible_by_default_at_creation' => 'document', |
|
|
|
|
'upload_extensions_blacklist' => 'document', |
|
|
|
|
'upload_extensions_list_type' => 'document', |
|
|
|
|
'upload_extensions_replace_by' => 'document', |
|
|
|
|
'upload_extensions_skip' => 'document', |
|
|
|
|
'upload_extensions_whitelist' => 'document', |
|
|
|
|
'use_users_timezone' => 'profile', |
|
|
|
|
'users_copy_files' => 'document', |
|
|
|
|
'timezone' => 'platform', |
|
|
|
|
'enable_profile_user_address_geolocalization' => 'profile', |
|
|
|
|
'theme' => 'platform', |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
foreach ($settings as $variable => $category) { |
|
|
|
@ -423,7 +495,7 @@ class Version20 extends AbstractMigrationChamilo |
|
|
|
|
'facebook_description', |
|
|
|
|
'ldap_description', |
|
|
|
|
'openid_authentication', |
|
|
|
|
//'platform_charset', |
|
|
|
|
'platform_charset', |
|
|
|
|
'shibboleth_description', |
|
|
|
|
'sso_authentication', |
|
|
|
|
'sso_authentication_domain', |
|
|
|
|