diff --git a/.upgradenotes/MDL-82447-2024072509223792.yml b/.upgradenotes/MDL-82447-2024072509223792.yml new file mode 100644 index 00000000000..4eb22344854 --- /dev/null +++ b/.upgradenotes/MDL-82447-2024072509223792.yml @@ -0,0 +1,6 @@ +issueNumber: MDL-82447 +notes: + mod_bigbluebuttonbn: + - message: > + Mobile support via plugin has been removed. + type: removed diff --git a/mod/bigbluebuttonbn/db/mobile.php b/mod/bigbluebuttonbn/db/mobile.php deleted file mode 100644 index 35133e35a92..00000000000 --- a/mod/bigbluebuttonbn/db/mobile.php +++ /dev/null @@ -1,48 +0,0 @@ -. - -/** - * Mobile app definition for BigBlueButton. - * - * @package mod_bigbluebuttonbn - * @copyright 2018 onwards, Blindside Networks Inc - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later - * @author Jesus Federico (jesus [at] blindsidenetworks [dt] com) - */ - -defined('MOODLE_INTERNAL') || die; -global $CFG; -$addons = [ - "mod_bigbluebuttonbn" => [ - "handlers" => [ // Different places where the add-on will display content. - 'coursebigbluebuttonbn' => [ // Handler unique name (can be anything). - 'displaydata' => [ - 'title' => 'pluginname', - 'icon' => $CFG->wwwroot . '/mod/bigbluebuttonbn/pix/monologo.svg', - 'class' => '', - ], - 'delegate' => 'CoreCourseModuleDelegate', // Delegate (where to display the link to the add-on). - 'method' => 'mobile_course_view' // Main function in \mod_bigbluebuttonbn\output\mobile. - ] - ], - 'lang' => [ - ['pluginname', 'bigbluebuttonbn'], - ['view_conference_action_join', 'bigbluebuttonbn'], - ['view_message_conference_room_ready', 'bigbluebuttonbn'], - ['view_mobile_message_reload_page_creation_time_meeting', 'bigbluebuttonbn'] - ] - ] -]; diff --git a/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php b/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php index 28fa1fbf9eb..c36263f3851 100644 --- a/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php +++ b/mod/bigbluebuttonbn/lang/en/bigbluebuttonbn.php @@ -626,9 +626,6 @@ $string['view_room'] = 'View room'; $string['index_error_noinstances'] = 'There are no instances of BigBlueButton rooms'; $string['index_error_bbtn'] = 'BigBlueButton ID {$a} is incorrect'; -$string['view_mobile_message_reload_page_creation_time_meeting'] = 'You exceeded 45 seconds on this page. Please refresh the page to join the session.'; -$string['view_mobile_message_groups_not_supported'] = 'This instance is enabled to work with groups but the mobile app doesn\'t yet support it. Please use the web version.'; - $string['end_session_confirm_title'] = 'Really end session?'; $string['end_session_confirm'] = 'Are you sure you want to end the session?'; $string['end_session_notification'] = 'The session has ended.'; @@ -667,3 +664,6 @@ $string['view_warning_default_server'] = 'This site is using a =}} -
- - - <% error %> - - -
diff --git a/mod/bigbluebuttonbn/templates/mobile_view_notification.mustache b/mod/bigbluebuttonbn/templates/mobile_view_notification.mustache deleted file mode 100644 index 4a4310a89b5..00000000000 --- a/mod/bigbluebuttonbn/templates/mobile_view_notification.mustache +++ /dev/null @@ -1,51 +0,0 @@ -{{! - This file is part of Moodle - http://moodle.org/ - - Moodle is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Moodle is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Moodle. If not, see . -}} -{{! - @template mod_bigbluebuttonbn/mobile_view_notification - - This template renders the notifications for mobile page. - - Example context (json): - { - "bigbluebuttonbn.intro": "foo", - "cmid": 3, - "message": "A message", - "not_started": [ - {"not_started.starts_at": "aaa", "not_started.starts_at": "bbb"}, - {"not_started.starts_at": "aaa", "not_started.starts_at": "bbb"} - ] - } -}} -{{=<% %>=}} -
- - - - <% message %> - - <%#not_started%> - - -

<% not_started.starts_at %>

-

<% not_started.ends_at %>

-
-
- <%/not_started%> - -
-
diff --git a/mod/bigbluebuttonbn/templates/mobile_view_page_ionic3.mustache b/mod/bigbluebuttonbn/templates/mobile_view_page_ionic3.mustache deleted file mode 100644 index e2a20f447b1..00000000000 --- a/mod/bigbluebuttonbn/templates/mobile_view_page_ionic3.mustache +++ /dev/null @@ -1,62 +0,0 @@ -{{! - This file is part of Moodle - http://moodle.org/ - - Moodle is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Moodle is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Moodle. If not, see . -}} -{{! - @template mod_bigbluebuttonbn/mobile_view_page_ionic3 - - This template renders the mobile page. - - Example context (json): - { - "bigbluebuttonbn.intro": "foo", - "cmid": 3, - "message": "A message", - "errors": [ - {"error": "aaa"}, - {"error": "bbb"} - ], - "urltojoin": "http://foo" - } -}} -{{=<% %>=}} -
- <%#msjgroup%> -
- <% message %> -
- <%/msjgroup%> - - - - <%#errors%> - - <% error %> - - <%/errors%> - <%^errors%> - - {{ 'plugin.mod_bigbluebuttonbn.view_message_conference_room_ready' | translate }} - - - - - <%/errors%> - -
diff --git a/mod/bigbluebuttonbn/templates/mobile_view_page_latest.mustache b/mod/bigbluebuttonbn/templates/mobile_view_page_latest.mustache deleted file mode 100644 index 3a3515376c5..00000000000 --- a/mod/bigbluebuttonbn/templates/mobile_view_page_latest.mustache +++ /dev/null @@ -1,64 +0,0 @@ -{{! - This file is part of Moodle - http://moodle.org/ - - Moodle is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - Moodle is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with Moodle. If not, see . -}} -{{! - @template mod_bigbluebuttonbn/mobile_view_page_latest - - This template renders the mobile page. - - Example context (json): - { - "bigbluebuttonbn.intro": "foo", - "cmid": 3, - "message": "A message", - "errors": [ - {"error": "aaa"}, - {"error": "bbb"} - ], - "urltojoin": "http://foo" - } -}} -{{=<% %>=}} -
- <%#msjgroup%> -
- <% message %> -
- <%/msjgroup%> - - - - <%#errors%> - - - <% error %> - - - <%/errors%> - <%^errors%> - - - {{ 'plugin.mod_bigbluebuttonbn.view_message_conference_room_ready' | translate }} - - - - {{ 'plugin.mod_bigbluebuttonbn.view_conference_action_join' | translate }} - - <%/errors%> - -