Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions amd/build/form.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion amd/build/form.min.js.map

Large diffs are not rendered by default.

687 changes: 340 additions & 347 deletions amd/src/form.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion classes/webservice.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ public function get_account_meeting_security_settings($userid) {

// Set a default meeting password requirment if it is not present.
if (!isset($meetingsecurity->meeting_password_requirement)) {
$meetingsecurity->meeting_password_requirement = (object) self::DEFAULT_MEETING_PASSWORD_REQUIREMENT;
$meetingsecurity->meeting_password_requirement = (object) self::DEFAULT_MEETING_PASSWORD_REQUIREMENT;
}

// Set a default encryption setting if it is not present.
Expand Down
2 changes: 1 addition & 1 deletion db/mobile.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"handlers" => [
'zoommeetingdetails' => [
'displaydata' => [
'title' => 'pluginname',
'title' => 'pluginname',
'icon' => $CFG->wwwroot . '/mod/zoom/pix/icon.gif',
'class' => '',
],
Expand Down
34 changes: 17 additions & 17 deletions mod_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -652,27 +652,27 @@ public function definition() {
// Add autorecording option if enabled.
$allowrecordingchangeoption = $config->allowrecordingchangeoption;
if ($allowrecordingchangeoption) {
$defaultsetting = $config->recordingoption;

// Add auto recording options according to user settings.
$options = [
ZOOM_AUTORECORDING_NONE => get_string('autorecording_none', 'mod_zoom'),
];

if (!empty($hostuserid)) {
$recordingsettings = zoom_get_user_settings($hostuserid)->recording;
}

if (!empty($recordingsettings->local_recording)) {
$options[ZOOM_AUTORECORDING_LOCAL] = get_string('autorecording_local', 'mod_zoom');
}
if ($config->recordingoption === ZOOM_AUTORECORDING_USERDEFAULT) {
$defaultsetting = $recordingsettings->auto_recording;
}

if (!empty($recordingsettings->cloud_recording)) {
$options[ZOOM_AUTORECORDING_CLOUD] = get_string('autorecording_cloud', 'mod_zoom');
}
if (!empty($recordingsettings->local_recording)) {
$options[ZOOM_AUTORECORDING_LOCAL] = get_string('autorecording_local', 'mod_zoom');
}

if ($config->recordingoption === ZOOM_AUTORECORDING_USERDEFAULT) {
$defaultsetting = $recordingsettings->auto_recording;
} else {
$defaultsetting = $config->recordingoption;
if (!empty($recordingsettings->cloud_recording)) {
$options[ZOOM_AUTORECORDING_CLOUD] = get_string('autorecording_cloud', 'mod_zoom');
}
}

$mform->addElement('select', 'option_auto_recording', get_string('option_auto_recording', 'mod_zoom'), $options);
Expand Down Expand Up @@ -875,14 +875,14 @@ public function definition_after_data() {

if ($zoomuserid !== false) {
$recordingsettings = zoom_get_user_settings($zoomuserid)->recording;
}

if (!empty($recordingsettings->local_recording)) {
$options[ZOOM_AUTORECORDING_LOCAL] = get_string('autorecording_local', 'mod_zoom');
}
if (!empty($recordingsettings->local_recording)) {
$options[ZOOM_AUTORECORDING_LOCAL] = get_string('autorecording_local', 'mod_zoom');
}

if (!empty($recordingsettings->cloud_recording)) {
$options[ZOOM_AUTORECORDING_CLOUD] = get_string('autorecording_cloud', 'mod_zoom');
if (!empty($recordingsettings->cloud_recording)) {
$options[ZOOM_AUTORECORDING_CLOUD] = get_string('autorecording_cloud', 'mod_zoom');
}
}

$recordingelement->load($options);
Expand Down
2 changes: 1 addition & 1 deletion templates/breakoutrooms_room_datatoclone.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<div id="data-to-clone" class="hidden">
<ul id="rooms-list-item" role="tablist">
<li class="nav-item">
<a class="nav-link" href="" data-toggle="tab" role="tab">
<a class="nav-link" href="" data-bs-toggle="tab" data-toggle="tab" role="tab">
<span class="tab-name"></span>
</a>
<button type="button" class="pull-right delete-room" title="{{#str}} deleteroom, zoom {{/str}}">
Expand Down
2 changes: 1 addition & 1 deletion templates/breakoutrooms_rooms.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<ul class="nav nav-pills flex-column" role="tablist">
{{#rooms}}
<li id="tab-{{roomid}}" class="nav-item">
<a class="nav-link {{#roomactive}}active{{/roomactive}}" href="#link{{roomid}}" data-toggle="tab" role="tab">
<a class="nav-link {{#roomactive}}active{{/roomactive}}" href="#link{{roomid}}" data-bs-toggle="tab" data-toggle="tab" role="tab">
<span class="tab-name">{{roomname}}</span>
</a>
<button type="button" class="pull-right delete-room" title="{{#str}} deleteroom, zoom {{/str}}">
Expand Down