Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BBB 2.7.12 #132

Merged
merged 3 commits into from
Aug 26, 2024
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
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# ChangeLog

# 3.2.5 - 2024-07-03
## 3.2.6 - 2024-08-21

Changes:
- add new BBB 2.7 API parameters
- allowPromoteGuestToModerator
- webcamBackgroundURL

## 3.2.5 - 2024-07-03

Fixes:
- missing check for no clips during rendering task
Expand Down
8 changes: 7 additions & 1 deletion b3lb/rest/b3lb/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

# Create Parameters
ALLOW_MODS_TO_UNMUTE_USERS = "allowModsToUnmuteUsers"
ALLOW_PROMOTE_GUEST_TO_MODERATOR = "allowPromoteGuestToModerator"
ALLOW_START_STOP_RECORDING = "allowStartStopRecording"
AUTO_START_RECORDING = "autoStartRecording"
BANNER_COLOR = "bannerColor"
Expand Down Expand Up @@ -113,9 +114,11 @@
USERDATA_BBB_SKIP_VIDEO_PREVIEW_ON_FIRST_JOIN = "userdata-bbb_skip_video_preview_on_first_join"
USERDATA_BBB_OUTSIDE_TOGGLE_RECORDING = "userdata-bbb_outside_toggle_recording"
USERDATA_BBB_OUTSIDE_TOGGLE_SELF_VOICE = "userdata-bbb_outside_toggle_self_voice"
WEBCAM_BACKGROUND_URL = "webcamBackgroundURL"

PARAMETERS_CREATE = [
ALLOW_MODS_TO_UNMUTE_USERS,
ALLOW_PROMOTE_GUEST_TO_MODERATOR,
ALLOW_START_STOP_RECORDING,
AUTO_START_RECORDING,
BANNER_COLOR,
Expand Down Expand Up @@ -197,11 +200,13 @@
USERDATA_BBB_SKIP_VIDEO_PREVIEW_ON_FIRST_JOIN,
USERDATA_BBB_OUTSIDE_TOGGLE_RECORDING,
USERDATA_BBB_OUTSIDE_TOGGLE_SELF_VOICE,
WEBCAM_BACKGROUND_URL
]

PARAMETER_REGEXES = {
# Create
ALLOW_MODS_TO_UNMUTE_USERS: BOOLEAN_REGEX,
ALLOW_PROMOTE_GUEST_TO_MODERATOR: BOOLEAN_REGEX,
ALLOW_START_STOP_RECORDING: BOOLEAN_REGEX,
AUTO_START_RECORDING: BOOLEAN_REGEX,
BANNER_COLOR: COLOR_REGEX,
Expand Down Expand Up @@ -281,7 +286,8 @@
USERDATA_BBB_SKIP_CHECK_AUDIO: BOOLEAN_REGEX,
USERDATA_BBB_SKIP_CHECK_AUDIO_ON_FIRST_JOIN: BOOLEAN_REGEX,
USERDATA_BBB_SKIP_VIDEO_PREVIEW: BOOLEAN_REGEX,
USERDATA_BBB_SKIP_VIDEO_PREVIEW_ON_FIRST_JOIN: BOOLEAN_REGEX
USERDATA_BBB_SKIP_VIDEO_PREVIEW_ON_FIRST_JOIN: BOOLEAN_REGEX,
WEBCAM_BACKGROUND_URL: URL_REGEX
}

PARAMETER_CHOICES = []
Expand Down
18 changes: 18 additions & 0 deletions b3lb/rest/migrations/0022_alter_parameter_parameter.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.23 on 2024-08-21 11:52

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('rest', '0021_refill_recordset'),
]

operations = [
migrations.AlterField(
model_name='parameter',
name='parameter',
field=models.CharField(choices=[('allowModsToUnmuteUsers', 'allowModsToUnmuteUsers'), ('allowPromoteGuestToModerator', 'allowPromoteGuestToModerator'), ('allowStartStopRecording', 'allowStartStopRecording'), ('autoStartRecording', 'autoStartRecording'), ('bannerColor', 'bannerColor'), ('bannerText', 'bannerText'), ('copyright', 'copyright'), ('disabledFeatures', 'disabledFeatures'), ('disabledFeaturesExclude', 'disabledFeaturesExclude'), ('duration', 'duration'), ('endWhenNoModerator', 'endWhenNoModerator'), ('endWhenNoModeratorDelayInMinutes', 'endWhenNoModeratorDelayInMinutes'), ('groups', 'groups'), ('guestPolicy', 'guestPolicy'), ('learningDashboardCleanupDelayInMinutes', 'learningDashboardCleanupDelayInMinutes'), ('lockSettingsDisableCam', 'lockSettingsDisableCam'), ('lockSettingsDisableMic', 'lockSettingsDisableMic'), ('lockSettingsDisablePrivateChat', 'lockSettingsDisablePrivateChat'), ('lockSettingsDisablePublicChat', 'lockSettingsDisablePublicChat'), ('lockSettingsDisableNote', 'lockSettingsDisableNote'), ('lockSettingsHideViewersCursor', 'lockSettingsHideViewersCursor'), ('lockSettingsLockedLayout', 'lockSettingsLockedLayout'), ('lockSettingsLockOnJoin', 'lockSettingsLockOnJoin'), ('lockSettingsLockOnJoinConfigurable', 'lockSettingsLockOnJoinConfigurable'), ('logo', 'logo'), ('logoutURL', 'logoutURL'), ('maxParticipants', 'maxParticipants'), ('meetingCameraCap', 'meetingCameraCap'), ('meetingExpireIfNoUserJoinedInMinutes', 'meetingExpireIfNoUserJoinedInMinutes'), ('meetingExpireWhenLastUserLeftInMinutes', 'meetingExpireWhenLastUserLeftInMinutes'), ('meetingKeepEvents', 'meetingKeepEvents'), ('meetingLayout', 'meetingLayout'), ('meta_fullaudio-bridge', 'meta_fullaudio-bridge'), ('moderatorOnlyMessage', 'moderatorOnlyMessage'), ('muteOnStart', 'muteOnStart'), ('notifyRecordingIsOn', 'notifyRecordingIsOn'), ('preUploadedPresentation', 'preUploadedPresentation'), ('preUploadedPresentationName', 'preUploadedPresentationName'), ('preUploadedPresentationOverrideDefault', 'preUploadedPresentationOverrideDefault'), ('presentationUploadExternalUrl', 'presentationUploadExternalUrl'), ('presentationUploadExternalDescription', 'presentationUploadExternalDescription'), ('record', 'record'), ('recordFullDurationMedia', 'recordFullDurationMedia'), ('webcamsOnlyForModerator', 'webcamsOnlyForModerator'), ('welcome', 'welcome'), ('errorRedirectUrl', 'errorRedirectUrl'), ('excludeFromDashboard', 'excludeFromDashboard'), ('role', 'role'), ('userdata-bbb_ask_for_feedback_on_logout', 'userdata-bbb_ask_for_feedback_on_logout'), ('userdata-bbb_auto_join_audio', 'userdata-bbb_auto_join_audio'), ('userdata-bbb_auto_share_webcam', 'userdata-bbb_auto_share_webcam'), ('userdata-bbb_auto_swap_layout', 'userdata-bbb_auto_swap_layout'), ('userdata-bbb_client_title', 'userdata-bbb_client_title'), ('userdata-bbb_custom_style', 'userdata-bbb_custom_style'), ('userdata-bbb_custom_style_url', 'userdata-bbb_custom_style_url'), ('userdata-bbb_display_branding_area', 'userdata-bbb_display_branding_area'), ('userdata-bbb_enable_screen_sharing', 'userdata-bbb_enable_screen_sharing'), ('userdata-bbb_enable_video', 'userdata-bbb_enable_video'), ('userdata-bbb_force_restore_presentation_on_new_events', 'userdata-bbb_force_restore_presentation_on_new_events'), ('userdata-bbb_force_listen_only', 'userdata-bbb_force_listen_only'), ('userdata-bbb_fullaudio_bridge', 'userdata-bbb_fullaudio_bridge'), ('userdata-bbb_hide_presentation', 'userdata-bbb_hide_presentation'), ('userdata-bbb_hide_presentation_on_join', 'userdata-bbb_hide_presentation_on_join'), ('userdata-bbb_listen_only_mode', 'userdata-bbb_listen_only_mode'), ('userdata-bbb_mirror_own_webcam', 'userdata-bbb_mirror_own_webcam'), ('userdata-bbb_multi_user_pen_only', 'userdata-bbb_multi_user_pen_only'), ('userdata-bbb_multi_user_tools', 'userdata-bbb_multi_user_tools'), ('userdata-bbb_override_default_locale', 'userdata-bbb_override_default_locale'), ('userdata-bbb_preferred_camera_profile', 'userdata-bbb_preferred_camera_profile'), ('userdata-bbb_presenter_tools', 'userdata-bbb_presenter_tools'), ('userdata-bbb_record_video', 'userdata-bbb_record_video'), ('userdata-bbb_shortcuts', 'userdata-bbb_shortcuts'), ('userdata-bbb_show_participants_on_login', 'userdata-bbb_show_participants_on_login'), ('userdata-bbb_show_public_chat_on_login', 'userdata-bbb_show_public_chat_on_login'), ('userdata-bbb_skip_check_audio', 'userdata-bbb_skip_check_audio'), ('userdata-bbb_skip_check_audio_on_first_join', 'userdata-bbb_skip_check_audio_on_first_join'), ('userdata-bbb_skip_video_preview', 'userdata-bbb_skip_video_preview'), ('userdata-bbb_skip_video_preview_on_first_join', 'userdata-bbb_skip_video_preview_on_first_join'), ('userdata-bbb_outside_toggle_recording', 'userdata-bbb_outside_toggle_recording'), ('userdata-bbb_outside_toggle_self_voice', 'userdata-bbb_outside_toggle_self_voice'), ('webcamBackgroundURL', 'webcamBackgroundURL')], max_length=64),
),
]
Loading