Index: lams_tool_doku/db/sql/activity_insert.sql =================================================================== diff -u -r7475d08afc280b5e2e5ddf04e8bf35e3166aaf80 -r52fb25ea7fb860b72320536c41cad6868579d270 --- lams_tool_doku/db/sql/activity_insert.sql (.../activity_insert.sql) (revision 7475d08afc280b5e2e5ddf04e8bf35e3166aaf80) +++ lams_tool_doku/db/sql/activity_insert.sql (.../activity_insert.sql) (revision 52fb25ea7fb860b72320536c41cad6868579d270) @@ -21,7 +21,7 @@ ( NULL , 'Collaborative real-time document editor' -, 'doKumaran' +, 'doKu' , 1 , 2 , 0 Index: lams_tool_doku/db/sql/create_lams_tool_dokumaran.sql =================================================================== diff -u -r4ba184e420dd753ae8e2dcc9434581a794fa244d -r52fb25ea7fb860b72320536c41cad6868579d270 --- lams_tool_doku/db/sql/create_lams_tool_dokumaran.sql (.../create_lams_tool_dokumaran.sql) (revision 4ba184e420dd753ae8e2dcc9434581a794fa244d) +++ lams_tool_doku/db/sql/create_lams_tool_dokumaran.sql (.../create_lams_tool_dokumaran.sql) (revision 52fb25ea7fb860b72320536c41cad6868579d270) @@ -67,7 +67,7 @@ INSERT INTO `tl_ladoku11_dokumaran` (`uid`, `create_date`, `update_date`, `create_by`, `title`, `lock_on_finished`, `instructions`, `content_in_use`, `define_later`, `content_id`, `show_chat`, `show_line_numbers`, `shared_pad_id`, `use_select_leader_tool_ouput`, `allow_multiple_leaders`, `reflect_on_activity`) VALUES - (1,NULL,NULL,NULL,'doKumaran','0','Instructions ',0,0,${default_content_id},0,0,NULL,0,0,0); + (1,NULL,NULL,NULL,'doKu','0','Instructions ',0,0,${default_content_id},0,0,NULL,0,0,0); -- Inserting the required config item into the config table -- Etherpad API key is added so the Etherpad works there automatically for each build Index: lams_tool_doku/src/java/org/lamsfoundation/lams/tool/dokumaran/dbupdates/patch20200324.sql =================================================================== diff -u -rb6d0779192887979b5d3d244dec3506d12a7e401 -r52fb25ea7fb860b72320536c41cad6868579d270 --- lams_tool_doku/src/java/org/lamsfoundation/lams/tool/dokumaran/dbupdates/patch20200324.sql (.../patch20200324.sql) (revision b6d0779192887979b5d3d244dec3506d12a7e401) +++ lams_tool_doku/src/java/org/lamsfoundation/lams/tool/dokumaran/dbupdates/patch20200324.sql (.../patch20200324.sql) (revision 52fb25ea7fb860b72320536c41cad6868579d270) @@ -5,7 +5,12 @@ ALTER TABLE tl_ladoku11_dokumaran ADD COLUMN description MEDIUMTEXT; +-- LDEV-5008 Rename doKumaran tool +-- Set default tool content +UPDATE tl_ladoku11_dokumaran SET description = 'Instructions', instructions = 'Document' where UID = 1; + + -- If there were no errors, commit and restore autocommit to on COMMIT; SET AUTOCOMMIT = 1; -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file +SET FOREIGN_KEY_CHECKS=1; Index: lams_tool_doku/src/java/org/lamsfoundation/lams/tool/dokumaran/dbupdates/patch20200329.sql =================================================================== diff -u -rb6d0779192887979b5d3d244dec3506d12a7e401 -r52fb25ea7fb860b72320536c41cad6868579d270 --- lams_tool_doku/src/java/org/lamsfoundation/lams/tool/dokumaran/dbupdates/patch20200329.sql (.../patch20200329.sql) (revision b6d0779192887979b5d3d244dec3506d12a7e401) +++ lams_tool_doku/src/java/org/lamsfoundation/lams/tool/dokumaran/dbupdates/patch20200329.sql (.../patch20200329.sql) (revision 52fb25ea7fb860b72320536c41cad6868579d270) @@ -7,7 +7,11 @@ UPDATE lams_tool SET admin_url = NULL WHERE tool_signature = 'ladoku11'; +-- LDEV-5008 Rename doKumaran tool +UPDATE lams_learning_activity SET title = 'doKu' WHERE language_file = 'org.lamsfoundation.lams.tool.dokumaran.ApplicationResources'; +UPDATE tl_ladoku11_dokumaran SET title = 'doKu' WHERE uid = 1; + -- If there were no errors, commit and restore autocommit to on COMMIT; SET AUTOCOMMIT = 1; -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file +SET FOREIGN_KEY_CHECKS=1;