MDL-29029 move xmldb-editor to admin tools
authorPetr Skoda <commits@skodak.org>
Sat, 17 Sep 2011 21:05:55 +0000 (23:05 +0200)
committerPetr Skoda <commits@skodak.org>
Sat, 17 Sep 2011 21:05:55 +0000 (23:05 +0200)
commitb007a5d04198cefa2da95d9200198888fce78fff
treecad22859aa887fb40a1bf628359791ad717a9174
parentcfe070b29234db8a2d3ae03bda464887575ea0dd
MDL-29029 move xmldb-editor to admin tools

AMOS BEGIN
 MOV [xmldbeditor,moodle],[pluginname,tool_xmldb]
 MOV [actual,core_xmldb],[actual,tool_xmldb]
 MOV [aftertable,core_xmldb],[aftertable,tool_xmldb]
 MOV [back,core_xmldb],[back,tool_xmldb]
 MOV [backtomainview,core_xmldb],[backtomainview,tool_xmldb]
 MOV [binaryincorrectlength,core_xmldb],[binaryincorrectlength,tool_xmldb]
 MOV [cannotuseidfield,core_xmldb],[cannotuseidfield,tool_xmldb]
 MOV [completelogbelow,core_xmldb],[completelogbelow,tool_xmldb]
 MOV [confirmdeletefield,core_xmldb],[confirmdeletefield,tool_xmldb]
 MOV [confirmdeleteindex,core_xmldb],[confirmdeleteindex,tool_xmldb]
 MOV [confirmdeletekey,core_xmldb],[confirmdeletekey,tool_xmldb]
 MOV [confirmdeletetable,core_xmldb],[confirmdeletetable,tool_xmldb]
 MOV [confirmdeletexmlfile,core_xmldb],[confirmdeletexmlfile,tool_xmldb]
 MOV [confirmcheckbigints,core_xmldb],[confirmcheckbigints,tool_xmldb]
 MOV [confirmcheckdefaults,core_xmldb],[confirmcheckdefaults,tool_xmldb]
 MOV [confirmcheckforeignkeys,core_xmldb],[confirmcheckforeignkeys,tool_xmldb]
 MOV [confirmcheckindexes,core_xmldb],[confirmcheckindexes,tool_xmldb]
 MOV [confirmrevertchanges,core_xmldb],[confirmrevertchanges,tool_xmldb]
 MOV [create,core_xmldb],[create,tool_xmldb]
 MOV [createtable,core_xmldb],[createtable,tool_xmldb]
 MOV [defaultincorrect,core_xmldb],[defaultincorrect,tool_xmldb]
 MOV [delete,core_xmldb],[delete,tool_xmldb]
 MOV [delete_field,core_xmldb],[delete_field,tool_xmldb]
 MOV [delete_index,core_xmldb],[delete_index,tool_xmldb]
 MOV [delete_key,core_xmldb],[delete_key,tool_xmldb]
 MOV [delete_table,core_xmldb],[delete_table,tool_xmldb]
 MOV [delete_xml_file,core_xmldb],[delete_xml_file,tool_xmldb]
 MOV [doc,core_xmldb],[doc,tool_xmldb]
 MOV [docindex,core_xmldb],[docindex,tool_xmldb]
 MOV [documentationintro,core_xmldb],[documentationintro,tool_xmldb]
 MOV [down,core_xmldb],[down,tool_xmldb]
 MOV [duplicate,core_xmldb],[duplicate,tool_xmldb]
 MOV [duplicatefieldname,core_xmldb],[duplicatefieldname,tool_xmldb]
 MOV [duplicatekeyname,core_xmldb],[duplicatekeyname,tool_xmldb]
 MOV [edit,core_xmldb],[edit,tool_xmldb]
 MOV [edit_field,core_xmldb],[edit_field,tool_xmldb]
 MOV [edit_field_save,core_xmldb],[edit_field_save,tool_xmldb]
 MOV [edit_index,core_xmldb],[edit_index,tool_xmldb]
 MOV [edit_index_save,core_xmldb],[edit_index_save,tool_xmldb]
 MOV [edit_key,core_xmldb],[edit_key,tool_xmldb]
 MOV [edit_key_save,core_xmldb],[edit_key_save,tool_xmldb]
 MOV [edit_table,core_xmldb],[edit_table,tool_xmldb]
 MOV [edit_table_save,core_xmldb],[edit_table_save,tool_xmldb]
 MOV [edit_xml_file,core_xmldb],[edit_xml_file,tool_xmldb]
 MOV [enumvaluesincorrect,core_xmldb],[enumvaluesincorrect,tool_xmldb]
 MOV [expected,core_xmldb],[expected,tool_xmldb]
 MOV [extensionrequired,core_xmldb],[extensionrequired,tool_xmldb]
 MOV [field,core_xmldb],[field,tool_xmldb]
 MOV [fieldnameempty,core_xmldb],[fieldnameempty,tool_xmldb]
 MOV [fields,core_xmldb],[fields,tool_xmldb]
 MOV [fieldsnotintable,core_xmldb],[fieldsnotintable,tool_xmldb]
 MOV [fieldsusedinkey,core_xmldb],[fieldsusedinkey,tool_xmldb]
 MOV [filenotwriteable,core_xmldb],[filenotwriteable,tool_xmldb]
 MOV [fkviolationdetails,core_xmldb],[fkviolationdetails,tool_xmldb]
 MOV [floatincorrectdecimals,core_xmldb],[floatincorrectdecimals,tool_xmldb]
 MOV [floatincorrectlength,core_xmldb],[floatincorrectlength,tool_xmldb]
 MOV [float2numbernote,core_xmldb],[float2numbernote,tool_xmldb]
 MOV [generate_all_documentation,core_xmldb],[generate_all_documentation,tool_xmldb]
 MOV [generate_documentation,core_xmldb],[generate_documentation,tool_xmldb]
 MOV [gotolastused,core_xmldb],[gotolastused,tool_xmldb]
 MOV [change,core_xmldb],[change,tool_xmldb]
 MOV [charincorrectlength,core_xmldb],[charincorrectlength,tool_xmldb]
 MOV [checkbigints,core_xmldb],[checkbigints,tool_xmldb]
 MOV [check_bigints,core_xmldb],[check_bigints,tool_xmldb]
 MOV [checkdefaults,core_xmldb],[checkdefaults,tool_xmldb]
 MOV [check_defaults,core_xmldb],[check_defaults,tool_xmldb]
 MOV [checkforeignkeys,core_xmldb],[checkforeignkeys,tool_xmldb]
 MOV [check_foreign_keys,core_xmldb],[check_foreign_keys,tool_xmldb]
 MOV [checkindexes,core_xmldb],[checkindexes,tool_xmldb]
 MOV [check_indexes,core_xmldb],[check_indexes,tool_xmldb]
 MOV [incorrectfieldname,core_xmldb],[incorrectfieldname,tool_xmldb]
 MOV [index,core_xmldb],[index,tool_xmldb]
 MOV [indexes,core_xmldb],[indexes,tool_xmldb]
 MOV [integerincorrectlength,core_xmldb],[integerincorrectlength,tool_xmldb]
 MOV [key,core_xmldb],[key,tool_xmldb]
 MOV [keys,core_xmldb],[keys,tool_xmldb]
 MOV [listreservedwords,core_xmldb],[listreservedwords,tool_xmldb]
 MOV [load,core_xmldb],[load,tool_xmldb]
 MOV [main_view,core_xmldb],[main_view,tool_xmldb]
 MOV [masterprimaryuniqueordernomatch,core_xmldb],[masterprimaryuniqueordernomatch,tool_xmldb]
 MOV [missing,core_xmldb],[missing,tool_xmldb]
 MOV [missingindexes,core_xmldb],[missingindexes,tool_xmldb]
 MOV [mustselectonefield,core_xmldb],[mustselectonefield,tool_xmldb]
 MOV [mustselectoneindex,core_xmldb],[mustselectoneindex,tool_xmldb]
 MOV [mustselectonekey,core_xmldb],[mustselectonekey,tool_xmldb]
 MOV [mysqlextracheckbigints,core_xmldb],[mysqlextracheckbigints,tool_xmldb]
 MOV [newfield,core_xmldb],[newfield,tool_xmldb]
 MOV [newindex,core_xmldb],[newindex,tool_xmldb]
 MOV [newkey,core_xmldb],[newkey,tool_xmldb]
 MOV [newtable,core_xmldb],[newtable,tool_xmldb]
 MOV [newtablefrommysql,core_xmldb],[newtablefrommysql,tool_xmldb]
 MOV [new_table_from_mysql,core_xmldb],[new_table_from_mysql,tool_xmldb]
 MOV [nomasterprimaryuniquefound,core_xmldb],[nomasterprimaryuniquefound,tool_xmldb]
 MOV [nomissingindexesfound,core_xmldb],[nomissingindexesfound,tool_xmldb]
 MOV [noviolatedforeignkeysfound,core_xmldb],[noviolatedforeignkeysfound,tool_xmldb]
 MOV [nowrongdefaultsfound,core_xmldb],[nowrongdefaultsfound,tool_xmldb]
 MOV [nowrongintsfound,core_xmldb],[nowrongintsfound,tool_xmldb]
 MOV [numberincorrectdecimals,core_xmldb],[numberincorrectdecimals,tool_xmldb]
 MOV [numberincorrectlength,core_xmldb],[numberincorrectlength,tool_xmldb]
 MOV [pendingchanges,core_xmldb],[pendingchanges,tool_xmldb]
 MOV [pendingchangescannotbesaved,core_xmldb],[pendingchangescannotbesaved,tool_xmldb]
 MOV [pendingchangescannotbesavedreload,core_xmldb],[pendingchangescannotbesavedreload,tool_xmldb]
 MOV [reserved,core_xmldb],[reserved,tool_xmldb]
 MOV [reservedwords,core_xmldb],[reservedwords,tool_xmldb]
 MOV [revert,core_xmldb],[revert,tool_xmldb]
 MOV [revert_changes,core_xmldb],[revert_changes,tool_xmldb]
 MOV [save,core_xmldb],[save,tool_xmldb]
 MOV [searchresults,core_xmldb],[searchresults,tool_xmldb]
 MOV [selectaction,core_xmldb],[selectaction,tool_xmldb]
 MOV [selectdb,core_xmldb],[selectdb,tool_xmldb]
 MOV [selectfieldkeyindex,core_xmldb],[selectfieldkeyindex,tool_xmldb]
 MOV [selectonecommand,core_xmldb],[selectonecommand,tool_xmldb]
 MOV [selectonefieldkeyindex,core_xmldb],[selectonefieldkeyindex,tool_xmldb]
 MOV [selecttable,core_xmldb],[selecttable,tool_xmldb]
 MOV [table,core_xmldb],[table,tool_xmldb]
 MOV [tables,core_xmldb],[tables,tool_xmldb]
 MOV [textincorrectlength,core_xmldb],[textincorrectlength,tool_xmldb]
 MOV [unload,core_xmldb],[unload,tool_xmldb]
 MOV [up,core_xmldb],[up,tool_xmldb]
 MOV [view,core_xmldb],[view,tool_xmldb]
 MOV [viewedited,core_xmldb],[viewedited,tool_xmldb]
 MOV [vieworiginal,core_xmldb],[vieworiginal,tool_xmldb]
 MOV [viewphpcode,core_xmldb],[viewphpcode,tool_xmldb]
 MOV [view_reserved_words,core_xmldb],[view_reserved_words,tool_xmldb]
 MOV [viewsqlcode,core_xmldb],[viewsqlcode,tool_xmldb]
 MOV [view_structure_php,core_xmldb],[view_structure_php,tool_xmldb]
 MOV [view_structure_sql,core_xmldb],[view_structure_sql,tool_xmldb]
 MOV [view_table_php,core_xmldb],[view_table_php,tool_xmldb]
 MOV [view_table_sql,core_xmldb],[view_table_sql,tool_xmldb]
 MOV [viewxml,core_xmldb],[viewxml,tool_xmldb]
 MOV [violatedforeignkeys,core_xmldb],[violatedforeignkeys,tool_xmldb]
 MOV [violatedforeignkeysfound,core_xmldb],[violatedforeignkeysfound,tool_xmldb]
 MOV [violations,core_xmldb],[violations,tool_xmldb]
 MOV [wrong,core_xmldb],[wrong,tool_xmldb]
 MOV [wrongdefaults,core_xmldb],[wrongdefaults,tool_xmldb]
 MOV [wrongints,core_xmldb],[wrongints,tool_xmldb]
 MOV [wronglengthforenum,core_xmldb],[wronglengthforenum,tool_xmldb]
 MOV [wrongreservedwords,core_xmldb],[wrongreservedwords,tool_xmldb]
 MOV [yesmissingindexesfound,core_xmldb],[yesmissingindexesfound,tool_xmldb]
 MOV [yeswrongdefaultsfound,core_xmldb],[yeswrongdefaultsfound,tool_xmldb]
 MOV [yeswrongintsfound,core_xmldb],[yeswrongintsfound,tool_xmldb]
AMOS END
66 files changed:
admin/settings/development.php
admin/tool/xmldb/README.txt [moved from admin/xmldb/README.txt with 100% similarity]
admin/tool/xmldb/actions/XMLDBAction.class.php [moved from admin/xmldb/actions/XMLDBAction.class.php with 93% similarity]
admin/tool/xmldb/actions/XMLDBCheckAction.class.php [moved from admin/xmldb/actions/XMLDBCheckAction.class.php with 93% similarity]
admin/tool/xmldb/actions/check_bigints/check_bigints.class.php [moved from admin/xmldb/actions/check_bigints/check_bigints.class.php with 91% similarity]
admin/tool/xmldb/actions/check_defaults/check_defaults.class.php [moved from admin/xmldb/actions/check_defaults/check_defaults.class.php with 90% similarity]
admin/tool/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php [moved from admin/xmldb/actions/check_foreign_keys/check_foreign_keys.class.php with 90% similarity]
admin/tool/xmldb/actions/check_indexes/check_indexes.class.php [moved from admin/xmldb/actions/check_indexes/check_indexes.class.php with 90% similarity]
admin/tool/xmldb/actions/create_xml_file/create_xml_file.class.php [moved from admin/xmldb/actions/create_xml_file/create_xml_file.class.php with 63% similarity]
admin/tool/xmldb/actions/delete_field/delete_field.class.php [moved from admin/xmldb/actions/delete_field/delete_field.class.php with 92% similarity]
admin/tool/xmldb/actions/delete_index/delete_index.class.php [moved from admin/xmldb/actions/delete_index/delete_index.class.php with 92% similarity]
admin/tool/xmldb/actions/delete_key/delete_key.class.php [moved from admin/xmldb/actions/delete_key/delete_key.class.php with 92% similarity]
admin/tool/xmldb/actions/delete_table/delete_table.class.php [moved from admin/xmldb/actions/delete_table/delete_table.class.php with 90% similarity]
admin/tool/xmldb/actions/delete_xml_file/delete_xml_file.class.php [moved from admin/xmldb/actions/delete_xml_file/delete_xml_file.class.php with 89% similarity]
admin/tool/xmldb/actions/edit_field/edit_field.class.php [moved from admin/xmldb/actions/edit_field/edit_field.class.php with 94% similarity]
admin/tool/xmldb/actions/edit_field/edit_field.js [moved from admin/xmldb/actions/edit_field/edit_field.js with 100% similarity]
admin/tool/xmldb/actions/edit_field_save/edit_field_save.class.php [moved from admin/xmldb/actions/edit_field_save/edit_field_save.class.php with 91% similarity]
admin/tool/xmldb/actions/edit_index/edit_index.class.php [moved from admin/xmldb/actions/edit_index/edit_index.class.php with 92% similarity]
admin/tool/xmldb/actions/edit_index_save/edit_index_save.class.php [moved from admin/xmldb/actions/edit_index_save/edit_index_save.class.php with 90% similarity]
admin/tool/xmldb/actions/edit_key/edit_key.class.php [moved from admin/xmldb/actions/edit_key/edit_key.class.php with 93% similarity]
admin/tool/xmldb/actions/edit_key/edit_key.js [moved from admin/xmldb/actions/edit_key/edit_key.js with 100% similarity]
admin/tool/xmldb/actions/edit_key_save/edit_key_save.class.php [moved from admin/xmldb/actions/edit_key_save/edit_key_save.class.php with 90% similarity]
admin/tool/xmldb/actions/edit_table/edit_table.class.php [moved from admin/xmldb/actions/edit_table/edit_table.class.php with 94% similarity]
admin/tool/xmldb/actions/edit_table_save/edit_table_save.class.php [moved from admin/xmldb/actions/edit_table_save/edit_table_save.class.php with 89% similarity]
admin/tool/xmldb/actions/edit_xml_file/edit_xml_file.class.php [moved from admin/xmldb/actions/edit_xml_file/edit_xml_file.class.php with 91% similarity]
admin/tool/xmldb/actions/edit_xml_file_save/edit_xml_file_save.class.php [moved from admin/xmldb/actions/edit_xml_file_save/edit_xml_file_save.class.php with 57% similarity]
admin/tool/xmldb/actions/generate_all_documentation/generate_all_documentation.class.php [moved from admin/xmldb/actions/generate_all_documentation/generate_all_documentation.class.php with 85% similarity]
admin/tool/xmldb/actions/generate_documentation/generate_documentation.class.php [moved from admin/xmldb/actions/generate_documentation/generate_documentation.class.php with 83% similarity]
admin/tool/xmldb/actions/generate_documentation/xmldb.xsl [moved from admin/xmldb/actions/generate_documentation/xmldb.xsl with 100% similarity]
admin/tool/xmldb/actions/get_db_directories/get_db_directories.class.php [moved from admin/xmldb/actions/get_db_directories/get_db_directories.class.php with 87% similarity]
admin/tool/xmldb/actions/load_xml_file/load_xml_file.class.php [moved from admin/xmldb/actions/load_xml_file/load_xml_file.class.php with 90% similarity]
admin/tool/xmldb/actions/load_xml_files/load_xml_files.class.php [moved from admin/xmldb/actions/load_xml_files/load_xml_files.class.php with 58% similarity]
admin/tool/xmldb/actions/main_view/main_view.class.php [moved from admin/xmldb/actions/main_view/main_view.class.php with 93% similarity]
admin/tool/xmldb/actions/move_updown_field/move_updown_field.class.php [moved from admin/xmldb/actions/move_updown_field/move_updown_field.class.php with 70% similarity]
admin/tool/xmldb/actions/move_updown_index/move_updown_index.class.php [moved from admin/xmldb/actions/move_updown_index/move_updown_index.class.php with 70% similarity]
admin/tool/xmldb/actions/move_updown_key/move_updown_key.class.php [moved from admin/xmldb/actions/move_updown_key/move_updown_key.class.php with 70% similarity]
admin/tool/xmldb/actions/move_updown_table/move_updown_table.class.php [moved from admin/xmldb/actions/move_updown_table/move_updown_table.class.php with 69% similarity]
admin/tool/xmldb/actions/new_field/new_field.class.php [moved from admin/xmldb/actions/new_field/new_field.class.php with 88% similarity]
admin/tool/xmldb/actions/new_index/new_index.class.php [moved from admin/xmldb/actions/new_index/new_index.class.php with 88% similarity]
admin/tool/xmldb/actions/new_key/new_key.class.php [moved from admin/xmldb/actions/new_key/new_key.class.php with 88% similarity]
admin/tool/xmldb/actions/new_table/new_table.class.php [moved from admin/xmldb/actions/new_table/new_table.class.php with 90% similarity]
admin/tool/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php [moved from admin/xmldb/actions/new_table_from_mysql/new_table_from_mysql.class.php with 92% similarity]
admin/tool/xmldb/actions/revert_changes/revert_changes.class.php [moved from admin/xmldb/actions/revert_changes/revert_changes.class.php with 90% similarity]
admin/tool/xmldb/actions/save_xml_file/save_xml_file.class.php [moved from admin/xmldb/actions/save_xml_file/save_xml_file.class.php with 89% similarity]
admin/tool/xmldb/actions/template/template.class.php [new file with mode: 0644]
admin/tool/xmldb/actions/unload_xml_file/unload_xml_file.class.php [moved from admin/xmldb/actions/unload_xml_file/unload_xml_file.class.php with 87% similarity]
admin/tool/xmldb/actions/view_field_xml/view_field_xml.class.php [moved from admin/xmldb/actions/view_field_xml/view_field_xml.class.php with 91% similarity]
admin/tool/xmldb/actions/view_index_xml/view_index_xml.class.php [moved from admin/xmldb/actions/view_index_xml/view_index_xml.class.php with 91% similarity]
admin/tool/xmldb/actions/view_key_xml/view_key_xml.class.php [moved from admin/xmldb/actions/view_key_xml/view_key_xml.class.php with 91% similarity]
admin/tool/xmldb/actions/view_reserved_words/view_reserved_words.class.php [moved from admin/xmldb/actions/view_reserved_words/view_reserved_words.class.php with 87% similarity]
admin/tool/xmldb/actions/view_structure_php/view_structure_php.class.php [moved from admin/xmldb/actions/view_structure_php/view_structure_php.class.php with 95% similarity]
admin/tool/xmldb/actions/view_structure_sql/view_structure_sql.class.php [moved from admin/xmldb/actions/view_structure_sql/view_structure_sql.class.php with 87% similarity]
admin/tool/xmldb/actions/view_structure_xml/view_structure_xml.class.php [moved from admin/xmldb/actions/view_structure_xml/view_structure_xml.class.php with 89% similarity]
admin/tool/xmldb/actions/view_table_php/view_table_php.class.php [moved from admin/xmldb/actions/view_table_php/view_table_php.class.php with 98% similarity]
admin/tool/xmldb/actions/view_table_php/view_table_php.js [moved from admin/xmldb/actions/view_table_php/view_table_php.js with 100% similarity]
admin/tool/xmldb/actions/view_table_sql/view_table_sql.class.php [moved from admin/xmldb/actions/view_table_sql/view_table_sql.class.php with 86% similarity]
admin/tool/xmldb/actions/view_table_xml/view_table_xml.class.php [moved from admin/xmldb/actions/view_table_xml/view_table_xml.class.php with 90% similarity]
admin/tool/xmldb/actions/view_xml/view_xml.class.php [moved from admin/xmldb/actions/view_xml/view_xml.class.php with 86% similarity]
admin/tool/xmldb/index.php [moved from admin/xmldb/index.php with 63% similarity]
admin/tool/xmldb/lang/en/tool_xmldb.php [moved from lang/en/xmldb.php with 97% similarity]
admin/tool/xmldb/settings.php [new file with mode: 0644]
admin/tool/xmldb/version.php [new file with mode: 0644]
admin/xmldb/actions/template/template.class.php [deleted file]
lang/en/moodle.php
lib/moodlelib.php
lib/pluginlib.php