diff --git a/.rubocop.yml b/.rubocop.yml index a2f21d57c0..0d6f51b2a6 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -73,7 +73,7 @@ Metrics/ClassLength: # A calculated magnitude based on number of assignments, # branches, and conditions. Metrics/AbcSize: - Max: 85 + Max: 90 Metrics/ParameterLists: CountKeywordArgs: false @@ -82,10 +82,10 @@ RSpec/AnyInstance: Enabled: false Metrics/CyclomaticComplexity: - Max: 18 + Max: 20 Metrics/PerceivedComplexity: - Max: 18 + Max: 20 Rails/Exit: Exclude: diff --git a/app/assets/locales/gl.json b/app/assets/locales/gl.json index 49e2a9cbe9..a37ef4aed5 100644 --- a/app/assets/locales/gl.json +++ b/app/assets/locales/gl.json @@ -14,6 +14,7 @@ "report": "Informar", "share": "Compartir", "cancel": "Cancelar", + "reset": "Restabelecer", "close": "Pechar", "delete": "Eliminar", "copy": "Copiar a ligazón para unirse", @@ -163,6 +164,10 @@ "wrong_access_code": "Código de acceso incorrecto", "generate_viewers_access_code": "Xerar un código de acceso para os espectadores", "generate_mods_access_code": "Xerar un código de acceso para os moderadores", + "server_tag": "Seleccione un tipo de servidor para esta sala", + "default_tag_name": "Predeterminado", + "server_tag_desired": "Desexado", + "server_tag_required": "Obrigatorio", "are_you_sure_delete_room": "Confirma que quere eliminar esta sala?" } }, @@ -229,7 +234,8 @@ "empty_invited_users_subtext": "Cando o estado dun usuario cambia a convidado, aparece aquí.", "invited": { "time_sent": "Hora de envío", - "valid": "Valida" + "valid": "Valida", + "revoke": "Revogar" } }, "server_rooms": { @@ -272,8 +278,8 @@ "administration": { "administration": "Administración", "terms": "Terms & Conditions", - "privacy": "Directiva de privacidade", - "privacy_policy": "Directiva de privacidade", + "privacy": "Aviso de privacidade", + "privacy_policy": "Aviso de privacidade", "change_term_links": "Cambiar as ligazóns das condicións que aparecen na parte inferior da páxina", "change_privacy_link": "Cambiar a ligazón de privacidade que aparece na parte inferior da páxina", "helpcenter": "Centro de axuda", @@ -301,7 +307,7 @@ "registration": { "registration": "Rexistro", "role_mapping_by_email": "Asignación de roles por correo", - "role_mapping_by_email_description": "Asigne o usuario a un rol usando o seu correo electrónico. Debe ter o formato: rol1=correo-e1, rol2=correo-e2", + "role_mapping_by_email_description": "Asigne o usuario a un rol usando o seu correo-e. Debe ter o formato: rol1=correo-e1, rol2=correo-e2", "enter_role_mapping_rule": "Introduza unha regra de asignación de roles", "resync_on_login": "Volver sincronizar os datos do usuario en cada acceso", "resync_on_login_description": "Volver sincronizar a información dun usuario cada vez que acceda, facendo que o provedor de autenticación externo coincida sempre coa información en Greenlight", @@ -313,7 +319,10 @@ "open": "Rexistro aberto", "invite": "Unirse por convite", "approval": "Aceptar/declinar" - } + }, + "allowed_domains": "Dominios de correo-e permitidos", + "allowed_domains_signup_description": "Permitir o rexistro con dominios de correo-e específicos. O formato debe ser: @proba.com,dominio.com", + "enter_allowed_domains_rule" : "Introduza os dominios permitidos" } }, "room_configuration": { @@ -411,10 +420,11 @@ "brand_color_updated": "A cor corporativa foi actualizada.", "brand_image_updated": "A imaxe corporativa foi actualizada.", "brand_image_deleted": "A imaxe corporativa foi eliminada.", - "privacy_policy_updated": "A directiva de pivacidade foi actualizada.", + "privacy_policy_updated": "O aviso de pivacidade foi actualizado.", "helpcenter_updated": "Actualizouse a ligazón do centro de axuda.", "terms_of_service_updated": "Actualizáronse as condicións do servizo.", - "maintenance_updated": "Actualizouse o báner de mantemento." + "maintenance_updated": "Actualizouse o báner de mantemento.", + "allowed_domains_signup_updated": "Foron actualizados os dominios de correo-e permitidos." }, "recording": { "recording_visibility_updated": "Foi actualizada a visibilidade da gravación.", @@ -429,11 +439,13 @@ "role_permission_updated": "Foron actualizados os permisos de rol." }, "invitations": { - "invitation_sent": "Enviouse un convite" + "invitation_sent": "Enviouse un convite", + "invitation_revoked": "Foi revogado un convite" } }, "error": { "problem_completing_action": "Non é posíbel completar a acción.\n Tenteo de novo.", + "server_type_unavailable": "O tipo de servidor requirido non está dispoñíbel. Seleccione un tipo diferente nos axustes da sala.", "file_type_not_supported": "O tipo de ficheiro non é compatible.", "file_size_too_large": "O ficheiro é demasiado grande.", "file_upload_error": "Non é posíbel enviar o ficheiro.", @@ -530,6 +542,11 @@ }, "url": { "invalid": "URL incorrecto" + }, + "text_form": { + "value": { + "required": "Introduza algunha mensaxe" + } } }, "room": { diff --git a/app/assets/locales/hu.json b/app/assets/locales/hu.json index 9a5bec5926..225a0267de 100644 --- a/app/assets/locales/hu.json +++ b/app/assets/locales/hu.json @@ -14,6 +14,7 @@ "report": "Jelentés", "share": "Megosztás", "cancel": "Mégse", + "reset": "Reszetelés", "close": "Bezárás", "delete": "Törlés", "copy": "Másolás", @@ -163,6 +164,10 @@ "wrong_access_code": "Hibás hozzáférési kód", "generate_viewers_access_code": "Hozzáférési kód előállítása a látogatók számára", "generate_mods_access_code": "Hozzáférési kód előállítása a moderátorok számára", + "server_tag": "Válasszon szervertípust a szobához", + "default_tag_name": "Alapértelmezett", + "server_tag_desired": "Kívánt", + "server_tag_required": "Kötelező", "are_you_sure_delete_room": "Biztos, hogy törli ezt a szobát?" } }, @@ -229,7 +234,8 @@ "empty_invited_users_subtext": "Ha egy felhasználó állapota meghívottá válik, akkor itt fog megjelenni.", "invited": { "time_sent": "Küldési idő", - "valid": "Érvényes" + "valid": "Érvényes", + "revoke": "Visszavonás" } }, "server_rooms": { @@ -272,13 +278,17 @@ "administration": { "administration": "Üzemeltetés", "terms": "Felhasználási feltételek", - "privacy": "Adatvédelmi nyilatkozat", - "privacy_policy": "Adatvédelmi nyilatkozat", + "privacy": "Adatvédelmi közlemény", + "privacy_policy": "Adatvédelmi közlemény", "change_term_links": "A lap alján megjelenő felhasználási feltételek hivatkozásának módosítása", "change_privacy_link": "A lap alján megjelenő adatvédelmi hivatkozás módosítása", "helpcenter": "Súgóközpont", "change_helpcenter_link": "A profil legördülő alatt megjelenő Súgóközpont link módosítsa", + "maintenance": "Karbantartási szalaghirdetés", + "change_maintenance_text": "A fejlécben megjelenő karbantartási szalaghirdetés szövegének módosítása.", "change_url": "Webcím módosítása", + "set_text": "Szöveg beállítása", + "clear_banner": "Szalaghirdetés törlése", "enter_link": "Itt adja meg a hivatkozást" }, "settings": { @@ -288,7 +298,11 @@ "allow_users_to_preupload_presentation": "A felhasználók előre feltöltheti a bemutatójukat", "allow_users_to_preupload_presentation_description": "A felhasználók előre feltöltheti a használandó bemutatójukat az adott szoba alapértelmezett bemutatójaként", "default_visibility": "Felvétel alapértelmezett láthatósága", - "default_visibility_description": "Alapértelmezés szerint minden újonnan létrehozott felvételnél ez lesz a láthatóság" + "default_visibility_description": "Alapértelmezés szerint minden újonnan létrehozott felvételnél ez lesz a láthatóság", + "session_timeout": "Munkamenet időtúllépése", + "session_timeout_description": "A munkamenet időtúllépését az alapértelmezett 1 napos vagy a kiterjesztett 7 napos munkamenet sütire konfigurálhatja", + "default_session_timeout": "Alapértelmezett (1 nap)", + "extended_session_timeout": "Kiterjesztett (7 nap)" }, "registration": { "registration": "Regisztráció", @@ -305,7 +319,10 @@ "open": "Nyílt regisztráció", "invite": "Csatlakozás meghívással", "approval": "Engedélyezés/elutasítás" - } + }, + "allowed_domains": "Engedélyezett e-mail domainek", + "allowed_domains_signup_description": "Meghatározott e-mail domainek regisztrációjának engedélyezése. A helyes formátum: @test.hu, domain.hu", + "enter_allowed_domains_rule" : "Adja meg az engedélyezett domaineket" } }, "room_configuration": { @@ -403,9 +420,11 @@ "brand_color_updated": "A márkaszín sikerese módosította.", "brand_image_updated": "A márkaképet sikeresen módosította.", "brand_image_deleted": "A márkakép sikeresen törölte.", - "privacy_policy_updated": "Adatvédelmi nyilatkozat frissítve.", + "privacy_policy_updated": "Az adatvédelmi közleményt frissítették.", "helpcenter_updated": "A Súgóközpont linkjét sikeresen módosította.", - "terms_of_service_updated": "A szolgáltatási feltételek frissítésre kerültek." + "terms_of_service_updated": "A szolgáltatási feltételek frissítésre kerültek.", + "maintenance_updated": "A karbantartási szalaghirdetést frissítettük.", + "allowed_domains_signup_updated": "Az engedélyezett email domaineket sikeresen módosította." }, "recording": { "recording_visibility_updated": "Felvétel láthatósága frissítve.", @@ -420,11 +439,13 @@ "role_permission_updated": "Szerepkör jogosultsága frissítve" }, "invitations": { - "invitation_sent": "Meghívó elküldve" + "invitation_sent": "Meghívó elküldve", + "invitation_revoked": "A meghívást visszautasították" } }, "error": { "problem_completing_action": "Probléma lépett fel a művelet befejezése során. \n Próbálja újra.", + "server_type_unavailable": "A kiválasztott szervertípus nem érhető el. Kérem, válasszon másikat.", "file_type_not_supported": "A fájltípus nem támogatott.", "file_size_too_large": "A fájl túl nagy.", "file_upload_error": "A fájlt nem sikerült feltölteni.", @@ -521,6 +542,11 @@ }, "url": { "invalid": "Érvénytelen webcím" + }, + "text_form": { + "value": { + "required": "Írjon egy üzenetet" + } } }, "room": { @@ -676,7 +702,8 @@ "site_settings": { "fields": { "value": { - "placeholder": "Adja meg a hivatkozást itt…" + "placeholder": "Adja meg a hivatkozást itt…", + "text_placeholder": "Ide írjon..." } } }, diff --git a/app/assets/locales/ja.json b/app/assets/locales/ja.json index 41f1604f09..b54c5fb072 100644 --- a/app/assets/locales/ja.json +++ b/app/assets/locales/ja.json @@ -312,7 +312,7 @@ "resync_on_login": "サインインごとにユーザーのデーターを再同期", "resync_on_login_description": "サインインのたびにユーザーの情報を再同期し、外部の承認提供者の情報とGreenlightの情報とを常に一致させます", "default_role": "標準の役割", - "default_role_description": "新しく作成されたユーザーに自動的に割り当てられる役割です", + "default_role_description": "新しく作成されたユーザーにはこの役割が自動的に割り当てられます", "registration_method": "登録方法", "registration_method_description": "ユーザーがこのサイトに登録する方法を変更します", "registration_methods" : { diff --git a/app/assets/locales/ru.json b/app/assets/locales/ru.json index a5da2be4a9..dcb62ff136 100644 --- a/app/assets/locales/ru.json +++ b/app/assets/locales/ru.json @@ -14,9 +14,12 @@ "report": "Отчет", "share": "Предоставить доступ", "cancel": "Отмена", + "reset": "Сбросить", "close": "Закрыть", "delete": "Удалить", "copy": "Скопировать ссылку", + "copy_viewer_code": "Скопировать код участника", + "copy_moderator_code": "Скопировать код модератора", "or": "Или", "online": "Онлайн", "help_center": "Центр поддержки", @@ -161,6 +164,10 @@ "wrong_access_code": "Неверный код доступа", "generate_viewers_access_code": "Код доступа для участников", "generate_mods_access_code": "Код доступа для модераторов", + "server_tag": "Выберите тип сервера для этой комнаты", + "default_tag_name": "По умолчанию", + "server_tag_desired": "Желаемый", + "server_tag_required": "Обязательный", "are_you_sure_delete_room": "Вы уверены, что хотите удалить эту комнату?" } }, @@ -227,7 +234,8 @@ "empty_invited_users_subtext": "Когда статус пользователя изменится на «приглашенный», он появится здесь.", "invited": { "time_sent": "Время отправки", - "valid": "Действителен" + "valid": "Действителен", + "revoke": "Отозвать" } }, "server_rooms": { @@ -276,7 +284,11 @@ "change_privacy_link": "Изменить ссылку на политику конфиденциальности, которая появляется внизу страницы", "helpcenter": "Справочный центр", "change_helpcenter_link": "Измените ссылку Справочного центра, которая появляется под раскрывающимся списком профиля", + "maintenance": "Баннер технического обслуживания", + "change_maintenance_text": "Измените текст баннера технического обслуживания, который отображается в заголовке", "change_url": "Изменить URL", + "set_text": "Задать текст", + "clear_banner": "Очистить баннер", "enter_link": "Введите ссылку здесь" }, "settings": { @@ -286,7 +298,11 @@ "allow_users_to_preupload_presentation": "Разрешить пользователям предварительно загружать презентации", "allow_users_to_preupload_presentation_description": "Пользователи могут предварительно загрузить презентацию, которая будет использоваться в качестве презентации по умолчанию для этой комнаты", "default_visibility": "Статус видимости записи по умолчанию", - "default_visibility_description": "Все вновь созданные записи будут иметь этот статус видимости по умолчанию." + "default_visibility_description": "Все вновь созданные записи будут иметь этот статус видимости по умолчанию.", + "session_timeout": "Время ожидания сеанса", + "session_timeout_description": "Вы можете настроить время ожидания сеанса с помощью стандартного куки на 1 день или расширенного куки сеанса на 7 дней", + "default_session_timeout": "Стандартный (1 день)", + "extended_session_timeout": "Расширенный (7 дней)" }, "registration": { "registration": "Регистрация", @@ -303,7 +319,10 @@ "open": "Открытая регистрация", "invite": "Вход по приглашению", "approval": "Одобрить/отклонить" - } + }, + "allowed_domains": "Разрешенные домены электронной почты", + "allowed_domains_signup_description": "Разрешить определенные домены электронной почты для регистрации. Формат должен быть: @test.com,domain.com", + "enter_allowed_domains_rule" : "Введите разрешенные домены" } }, "room_configuration": { @@ -392,7 +411,9 @@ "access_code_copied": "Код доступа скопирован.", "access_code_generated": "Код доступа создан.", "access_code_deleted": "Код доступа удален.", - "copied_meeting_url": "Ссылка встречи скопирована. Ссылку можно использовать для присоединения к встрече." + "copied_meeting_url": "Ссылка встречи скопирована. Ссылку можно использовать для присоединения к встрече.", + "copied_viewer_code": "Код доступа участника вебинара был скопирован.", + "copied_moderator_code": "Код доступа модератора вебинара был скопирован." }, "site_settings": { "site_setting_updated": "Настройки сайта обновлены.", @@ -401,7 +422,9 @@ "brand_image_deleted": "Фирменное изображение удалено.", "privacy_policy_updated": "Политика конфиденциальности обновлена.", "helpcenter_updated": "Ссылка на Справочный центр обновлена", - "terms_of_service_updated": "Условия использования обновлены." + "terms_of_service_updated": "Условия использования обновлены.", + "maintenance_updated": "Баннер технического обслуживания обновлен.", + "allowed_domains_signup_updated": "Разрешенные домены электронной почты были обновлены" }, "recording": { "recording_visibility_updated": "Видимость записи обновлена.", @@ -416,15 +439,18 @@ "role_permission_updated": "Права роли обновлены." }, "invitations": { - "invitation_sent": "Выслать приглашение" + "invitation_sent": "Выслать приглашение", + "invitation_revoked": "Приглашение было отозвано" } }, "error": { "problem_completing_action": "Не удалось завершить данное действие. \n Пожалуйста, попробуйте еще раз.", + "server_type_unavailable": "Требуемый тип сервера недоступен. Пожалуйста, выберите другой тип в настройках комнаты", "file_type_not_supported": "Тип файла не поддерживается", "file_size_too_large": "Размер файла слишком большой", "file_upload_error": "Файл не может быть загружен.", "signin_required": "Для доступа к странице вы должны авторизоваться в системе. ", + "malware_detected": "Обнаружена вредоносная программа! Файл, который вы загрузили, может содержать вредоносное ПО. Пожалуйста, проверьте ваш файл и попробуйте снова.", "roles": { "role_assigned": "Эту роль нельзя удалить, т.к. она назначена как минимум одному пользователю." }, @@ -516,6 +542,11 @@ }, "url": { "invalid": "Неверная ссылка" + }, + "text_form": { + "value": { + "required": "Пожалуйста, введите сообщение" + } } }, "room": { @@ -671,7 +702,8 @@ "site_settings": { "fields": { "value": { - "placeholder": "Введите ссылку сюда..." + "placeholder": "Введите ссылку сюда...", + "text_placeholder": "Введите текст здесь..." } } }, diff --git a/app/assets/locales/tr.json b/app/assets/locales/tr.json index e55ac85b1c..1b4889e472 100644 --- a/app/assets/locales/tr.json +++ b/app/assets/locales/tr.json @@ -319,7 +319,10 @@ "open": "Serbest hesap açma", "invite": "Çağrı ile katılma", "approval": "Onayla/Reddet" - } + }, + "allowed_domains": "İzin verilen e-posta etki alanları", + "allowed_domains_signup_description": "Belirli e-posta etki alanlarından hesap açılmasına izin verir. Şu biçimde yazılmalıdır: @deneme.com,etkialani.com", + "enter_allowed_domains_rule" : "İzin verilen etki alanlarını yazın" } }, "room_configuration": { @@ -420,7 +423,8 @@ "privacy_policy_updated": "Gizlilik bildirimi güncellendi.", "helpcenter_updated": "Yardım merkezi bağlantısı güncellendi.", "terms_of_service_updated": "Hizmet koşulları güncellendi.", - "maintenance_updated": "Bakım duyurusu güncellendi." + "maintenance_updated": "Bakım duyurusu güncellendi.", + "allowed_domains_signup_updated": "İzin verilen e-posta etki alanları güncellendi." }, "recording": { "recording_visibility_updated": "Kayıt görünürlüğü güncellendi.", diff --git a/app/controllers/external_controller.rb b/app/controllers/external_controller.rb index ec57eb1006..702fd8633a 100644 --- a/app/controllers/external_controller.rb +++ b/app/controllers/external_controller.rb @@ -32,6 +32,13 @@ def create_user user = User.find_by(external_id: credentials['uid'], provider:) + # Fallback mechanism to search by email + if user.blank? && ENV.fetch('USE_EMAIL_AS_EXTERNAL_ID_FALLBACK', 'false') == 'true' + user = User.find_by(email: credentials['info']['email'], provider:) + # Update the user's external id to the latest value to avoid using the fallback + user.update(external_id: credentials['uid']) if user.present? && credentials['uid'].present? + end + new_user = user.blank? registration_method = SettingGetter.new(setting_name: 'RegistrationMethod', provider: current_provider).call diff --git a/app/services/meeting_starter.rb b/app/services/meeting_starter.rb index 4cf4fda5b9..fa8e2082a2 100644 --- a/app/services/meeting_starter.rb +++ b/app/services/meeting_starter.rb @@ -86,7 +86,7 @@ def handle_server_tag(meeting_options:) tag_required = meeting_options.delete('serverTagRequired') if tag_names.key?(tag) && !(tag_roles.key?(tag) && tag_roles[tag].exclude?(@room.user.role_id)) - tag_param = tag_required == 'true' ? "#{tag} !" : tag + tag_param = tag_required == 'true' ? "#{tag}!" : tag meeting_options.store('meta_server-tag', tag_param) end else diff --git a/app/services/permissions_checker.rb b/app/services/permissions_checker.rb index e213688d3f..195f5f478d 100644 --- a/app/services/permissions_checker.rb +++ b/app/services/permissions_checker.rb @@ -16,7 +16,6 @@ # frozen_string_literal: true -# rubocop:disable Metrics/CyclomaticComplexity class PermissionsChecker def initialize(current_user:, permission_names:, current_provider:, user_id: nil, friendly_id: nil, record_id: nil) @current_user = current_user @@ -152,4 +151,3 @@ def current_provider_check true end end -# rubocop:enable Metrics/CyclomaticComplexity diff --git a/config/locales/cs.yml b/config/locales/cs.yml new file mode 100644 index 0000000000..7d737f9f1a --- /dev/null +++ b/config/locales/cs.yml @@ -0,0 +1,83 @@ +# BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. +# +# Copyright (c) 2022 BigBlueButton Inc. and by respective authors (see below). +# +# This program is free software; you can redistribute it and/or modify it under the +# terms of the GNU Lesser General Public License as published by the Free Software +# Foundation; either version 3.0 of the License, or (at your option) any later +# version. +# +# Greenlight 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 Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License along +# with Greenlight; if not, see . + +# Files in the config/locales directory are used for internationalization +# and are automatically loaded by Rails. If you want to use locales other +# than English, add the necessary files in this directory. +# +# To use the locales, use `I18n.t`: +# +# I18n.t "hello" +# +# In views, this is aliased to just `t`: +# +# <%= t("hello") %> +# +# To use a different locale, set it with `I18n.locale`: +# +# I18n.locale = :es +# +# This would use the information in config/locales/es.yml. +# +# The following keys must be escaped otherwise they will not be retrieved by +# the default I18n backend: +# +# true, false, on, off, yes, no +# +# Instead, surround them with single quotes. +# +# en: +# "true": "foo" +# +# To learn more, please read the Rails Internationalization guide +# available at https://guides.rubyonrails.org/i18n.html. + +cs: + opengraph: + description: Učte pomocí BigBlueButton - důvěryhodné open-source web videokonferenční platformy. + meeting: + moderator_message: "Další osoby pozvete na konferenci tím, že jim zašlete následující odkaz:" + access_code: "Přístupový kód: %{code}" + email: + activation: + account_activation: Aktivace účtu + welcome_to_bbb: Vítejte v BigBlueButton! + get_started: Začněte prosím aktivací účtu kliknutím na tlačítko níže. + activate_account: Aktivuj účet + link_expires: Odkaz má platnost 24 hodin. + if_link_expires: V případě vypršení odlkazu se přihlašte a požádejte o nový aktivační email. + invitation: + invitation_to_join: BigBlueButton pozvánka + you_have_been_invited: "%{name} Vás pozval k vytvoření účtu v BigBlueButton platformě." + get_started: Pro registraci nového účtu prosím klikněte na tlačítko níže a postupujte podle instrukcí. + valid_invitation: Pozvánka má platnost 7 dní. + sign_up: Registrace + new_user_signup: + new_user: Nová registrace uživatele BigBlueButton + new_user_description: Nový uživatel se registroval do platformy BigBlueButton. + name: "Jméno: %{name}" + email: "Email: %{email}" + admin_panel: "Administrační panel" + take_action: "Pro kontrolu nebo provedení potřebných akcí přejděte do administračního panelu" + reset: + password_reset: Resetovat heslo + password_reset_requested: "Reset hesla byl požadován pro %{email}." + password_reset_confirmation: Pro reset hesla prosím klikněte na tlačítko níže. + reset_password: Resetovat heslo + link_expires: Platnost odkazu vyprší za 1 hodinu. + ignore_request: "Pokud jste nežádali o reset hesla, ignorujte prosím tento email." + room: + new_room_name: "Místnost uživatele%{username}" diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 7cff02e9fa..4b97556fed 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -63,7 +63,7 @@ gl: invitation_to_join: Convite a BigBlueButton you_have_been_invited: "Vde. foi convidado por %{name} a crear unha conta de BigBlueButton por." get_started: "Para rexistrarse, prema no seguinte botón e siga os pasos." - valid_invitation: O convite é válido durante 24 horas. + valid_invitation: O convite é válido durante 7 días. sign_up: Rexistrarse new_user_signup: new_user: Novo rexistro de usuario de BigBlueButton diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 8cfcc3d7c3..a07db7a11e 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -63,7 +63,7 @@ hu: invitation_to_join: BigBlueButton meghívás you_have_been_invited: "%{name} meghívta a BigBlueButton használatára." get_started: A regisztrációhoz kattintson az alábbi gombra és kövesse a lépéseket. - valid_invitation: A meghívó 24 óráig érvényes. + valid_invitation: A meghívó 7 napig érvényes. sign_up: Regisztráció new_user_signup: new_user: Új BigBlueButton felhasználó regisztrációja diff --git a/config/locales/hu_HU.yml b/config/locales/hu_HU.yml index 2f85e3eb92..4a29ed3f57 100644 --- a/config/locales/hu_HU.yml +++ b/config/locales/hu_HU.yml @@ -63,7 +63,7 @@ hu_HU: invitation_to_join: BigBlueButton meghívó you_have_been_invited: "Meghívták, hogy készítsen egy BigblueButton fiókot %{name} e-mail címmel." get_started: A regisztrációhoz kattintson az alábbi gombra és hajtsa végre a lépéseket. - valid_invitation: A meghívás 24 óráig érvényes. + valid_invitation: A meghívás 7 napig érvényes. sign_up: Regisztráció new_user_signup: new_user: Új BigBlueButton felhasználó regisztráció diff --git a/config/locales/ru.yml b/config/locales/ru.yml index c64b8d6704..e7710204c5 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -63,7 +63,7 @@ ru: invitation_to_join: Приглашение присоединиться к BigBlueButton you_have_been_invited: "Вы получили приглашение создать учетную запись BigBlueButton от %{name}." get_started: "Чтобы зарегистрироваться, нажмите кнопку ниже и следуйте инструкциям." - valid_invitation: Приглашение действительно в течение 24 часов. + valid_invitation: Приглашение действительно в течение 7 дней sign_up: Зарегистрироваться new_user_signup: new_user: Новая регистрация пользователя diff --git a/sample.env b/sample.env index 3da0eea061..e5873d9f58 100644 --- a/sample.env +++ b/sample.env @@ -47,6 +47,10 @@ REDIS_URL= #OPENID_CONNECT_REDIRECT= #OPENID_CONNECT_UID_FIELD=sub +# Uncomment the following flag if you want to use EMAIL as a Unique ID backup, useful for setups with existing users who want to switch to an IDP setup. +# More information: https://github.com/bigbluebutton/greenlight/issues/5872 +#USE_EMAIL_AS_EXTERNAL_ID_FALLBACK=true + # To enable hCaptcha on the user sign up and sign in, define these 2 keys # More information: https://docs.bigbluebutton.org/greenlight/v3/install/#hcaptcha-setup #HCAPTCHA_SITE_KEY=