From b2cc6814e83b21eeea7d5c406cd131263045a828 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 30 Sep 2020 22:49:38 +0900 Subject: [PATCH 01/59] Update en.yml --- config/locales/en.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/locales/en.yml b/config/locales/en.yml index a7531e3320..ae21c5ba60 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -298,6 +298,7 @@ en: video: Watch our tutorial on using Greenlight upgrade: Show me how to upgrade to 2.0! version: We've released a new version of Greenlight, but your database isn't compatible. + enterid: Enter the room ID language_default: Default (browser language) ldap_error: Unable to connect to the LDAP server. Please check your LDAP configuration in the env file and ensure your server is running. login: Sign in From d7df94ad80956671aa3ef42155c447754a3b8939 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 30 Sep 2020 22:53:20 +0900 Subject: [PATCH 02/59] Update index.html.erb --- app/views/main/index.html.erb | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/app/views/main/index.html.erb b/app/views/main/index.html.erb index d33db5be95..0a7f52aec7 100755 --- a/app/views/main/index.html.erb +++ b/app/views/main/index.html.erb @@ -18,6 +18,32 @@
<%= t("landing.about", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank", rel: "noopener")).html_safe %>
<%= link_to "https://youtu.be/Hso8yLzkqj8", target: "_blank" do %><%= t("landing.about", href: link_to(t("greenlight"), "https://bigbluebutton.org/2018/07/09/greenlight-2-0/", target: "_blank", rel: "noopener")).html_safe %>
From 23d48d3a87e22d81272912f790b5305d2480bb4b Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Tue, 24 Nov 2020 21:46:15 +0900 Subject: [PATCH 08/59] Update bbb_server.rb --- app/controllers/concerns/bbb_server.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/concerns/bbb_server.rb b/app/controllers/concerns/bbb_server.rb index 81d70ab634..d2ff3ac238 100644 --- a/app/controllers/concerns/bbb_server.rb +++ b/app/controllers/concerns/bbb_server.rb @@ -54,6 +54,7 @@ def join_path(room, name, options = {}, uid = nil) join_opts = {} join_opts[:userID] = uid if uid join_opts[:join_via_html5] = true + join_opts[:avatarURL] = current_user.image bbb_server.join_meeting_url(room.bbb_id, name, password, join_opts) end From ca979aadae17fd4eadec93a7479ab19f0942b745 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 25 Nov 2020 21:10:05 +0900 Subject: [PATCH 09/59] Update bbb_server.rb --- app/controllers/concerns/bbb_server.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/concerns/bbb_server.rb b/app/controllers/concerns/bbb_server.rb index d2ff3ac238..2dfffe9d0b 100644 --- a/app/controllers/concerns/bbb_server.rb +++ b/app/controllers/concerns/bbb_server.rb @@ -54,7 +54,9 @@ def join_path(room, name, options = {}, uid = nil) join_opts = {} join_opts[:userID] = uid if uid join_opts[:join_via_html5] = true - join_opts[:avatarURL] = current_user.image + if current_user + join_opts[:avatarURL] = current_user.image + end bbb_server.join_meeting_url(room.bbb_id, name, password, join_opts) end From 5bf0b6bdec626e6caddd56b8fffb2cb29ddac4fb Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Tue, 2 Feb 2021 07:59:45 +0900 Subject: [PATCH 10/59] Update en.yml --- config/locales/en.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index ae21c5ba60..2100befd97 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -298,7 +298,7 @@ en: video: Watch our tutorial on using Greenlight upgrade: Show me how to upgrade to 2.0! version: We've released a new version of Greenlight, but your database isn't compatible. - enterid: Enter the room ID + enterid: Enter a room ID language_default: Default (browser language) ldap_error: Unable to connect to the LDAP server. Please check your LDAP configuration in the env file and ensure your server is running. login: Sign in From c750114ab708c8f5d74aef24f191bcd3d0977185 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 7 Apr 2021 08:32:33 +0900 Subject: [PATCH 11/59] showing user avatar To make sure something unexpected happens --- app/controllers/concerns/bbb_server.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/controllers/concerns/bbb_server.rb b/app/controllers/concerns/bbb_server.rb index 6d8204520e..7118879db4 100644 --- a/app/controllers/concerns/bbb_server.rb +++ b/app/controllers/concerns/bbb_server.rb @@ -54,9 +54,7 @@ def join_path(room, name, options = {}, uid = nil) join_opts = {} join_opts[:userID] = uid if uid join_opts[:join_via_html5] = true - if current_user - join_opts[:avatarURL] = current_user.image - end + join_opts[:avatarURL] = current_user.image if current_user && current_user.image.present? join_opts[:createTime] = room.last_session.to_datetime.strftime("%Q") bbb_server.join_meeting_url(room.bbb_id, name, password, join_opts) From 5d775f854935155bb8a69f8dd99c53c662c075b2 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 7 Apr 2021 08:42:35 +0900 Subject: [PATCH 12/59] revert if current_user due to the undefined error --- app/controllers/concerns/bbb_server.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controllers/concerns/bbb_server.rb b/app/controllers/concerns/bbb_server.rb index 7118879db4..ad605ce67b 100644 --- a/app/controllers/concerns/bbb_server.rb +++ b/app/controllers/concerns/bbb_server.rb @@ -54,7 +54,9 @@ def join_path(room, name, options = {}, uid = nil) join_opts = {} join_opts[:userID] = uid if uid join_opts[:join_via_html5] = true - join_opts[:avatarURL] = current_user.image if current_user && current_user.image.present? + if current_user + join_opts[:avatarURL] = current_user.image if current_user.image.present? + end join_opts[:createTime] = room.last_session.to_datetime.strftime("%Q") bbb_server.join_meeting_url(room.bbb_id, name, password, join_opts) From a42c8e4683af4df4f766ca3663beec80f9b6d630 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 7 Apr 2021 08:58:08 +0900 Subject: [PATCH 13/59] Update bbb_server.rb 'if current_user' should not have problem, but rubocop complains... --- app/controllers/concerns/bbb_server.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/controllers/concerns/bbb_server.rb b/app/controllers/concerns/bbb_server.rb index ad605ce67b..a20199657a 100644 --- a/app/controllers/concerns/bbb_server.rb +++ b/app/controllers/concerns/bbb_server.rb @@ -54,9 +54,7 @@ def join_path(room, name, options = {}, uid = nil) join_opts = {} join_opts[:userID] = uid if uid join_opts[:join_via_html5] = true - if current_user - join_opts[:avatarURL] = current_user.image if current_user.image.present? - end + join_opts[:avatarURL] = current_user.image if (defined? current_user) && current_user.image.present? join_opts[:createTime] = room.last_session.to_datetime.strftime("%Q") bbb_server.join_meeting_url(room.bbb_id, name, password, join_opts) From 7b236d88fc23b1ad7ee07c7c51abf830fa0ea556 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 7 Apr 2021 09:34:56 +0900 Subject: [PATCH 14/59] Update bbb_server.rb --- app/controllers/concerns/bbb_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/concerns/bbb_server.rb b/app/controllers/concerns/bbb_server.rb index a20199657a..7118879db4 100644 --- a/app/controllers/concerns/bbb_server.rb +++ b/app/controllers/concerns/bbb_server.rb @@ -54,7 +54,7 @@ def join_path(room, name, options = {}, uid = nil) join_opts = {} join_opts[:userID] = uid if uid join_opts[:join_via_html5] = true - join_opts[:avatarURL] = current_user.image if (defined? current_user) && current_user.image.present? + join_opts[:avatarURL] = current_user.image if current_user && current_user.image.present? join_opts[:createTime] = room.last_session.to_datetime.strftime("%Q") bbb_server.join_meeting_url(room.bbb_id, name, password, join_opts) From 26a112581d37b27e9e91fead91f7d852052d3f56 Mon Sep 17 00:00:00 2001 From: hiroshisuga <45039819+hiroshisuga@users.noreply.github.com> Date: Wed, 7 Apr 2021 10:56:51 +0900 Subject: [PATCH 15/59] Update _public_recording_row.html.erb --- .../components/_public_recording_row.html.erb | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/app/views/shared/components/_public_recording_row.html.erb b/app/views/shared/components/_public_recording_row.html.erb index 1daa2f28bf..5a619f4a21 100644 --- a/app/views/shared/components/_public_recording_row.html.erb +++ b/app/views/shared/components/_public_recording_row.html.erb @@ -31,12 +31,18 @@ <% if recording_thumbnails? %>