From 2727235c2af38caef5bb784c41618488c9111fa0 Mon Sep 17 00:00:00 2001 From: Sumedh Nimkarde Date: Wed, 14 Feb 2018 12:56:36 +0530 Subject: [PATCH 001/152] Fix the capital letters issue in username on accountProfile page --- packages/rocketchat-ui-account/client/accountProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-ui-account/client/accountProfile.js b/packages/rocketchat-ui-account/client/accountProfile.js index 0904b661e006..f9e1a8836029 100644 --- a/packages/rocketchat-ui-account/client/accountProfile.js +++ b/packages/rocketchat-ui-account/client/accountProfile.js @@ -10,7 +10,7 @@ const validateUsername = (username) => { const validateName = (name) => name.length; const filterNames = (old) => { const reg = new RegExp(`^${ RocketChat.settings.get('UTF8_Names_Validation') }$`); - return [...old.replace(' ', '').toLocaleLowerCase()].filter(f => reg.test(f)).join(''); + return [...old.replace(' ', '')].filter(f => reg.test(f)).join(''); }; const filterEmail = (old) => { return old.replace(' ', ''); From dc613cfdfd64ff76eaed3a31cf546b9d167cb658 Mon Sep 17 00:00:00 2001 From: Ramrami Date: Thu, 1 Mar 2018 09:31:20 +0000 Subject: [PATCH 002/152] Fix broken full sreen mode in video call --- .../client/imports/general/base_old.css | 30 +++++++++++++++---- .../client/views/app/videoCall/videoCall.html | 4 +-- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/packages/rocketchat-theme/client/imports/general/base_old.css b/packages/rocketchat-theme/client/imports/general/base_old.css index c6bf0c91c3e4..d57bf23f48be 100644 --- a/packages/rocketchat-theme/client/imports/general/base_old.css +++ b/packages/rocketchat-theme/client/imports/general/base_old.css @@ -4952,7 +4952,7 @@ body:not(.is-cordova) { padding-left: 10px; } -.rc-old .webrtc-video { +.webrtc-video { &.webrtc-video-overlay, & .main-video, & .state-overlay::before, @@ -4969,12 +4969,28 @@ body:not(.is-cordova) { left: 0; display: flex; + overflow-y: auto; flex-direction: column; - justify-content: center; - & .main-video .webrtc-video-element { - width: auto; - max-width: 100%; + padding: var(--default-small-padding); + + background-color: #ffffff; + + & .main-video { + display: flex; + flex-direction: column; + + min-height: 140px; + margin-bottom: 4px; + align-items: center; + flex-grow: 1; + + .webrtc-video-element { + width: auto; + max-width: 100%; + height: 100%; + min-height: 140px; + } } } @@ -4991,6 +5007,7 @@ body:not(.is-cordova) { margin-top: -28px; margin-bottom: 2px; + padding: 0 8px; text-align: center; @@ -5016,6 +5033,7 @@ body:not(.is-cordova) { width: 93px; margin-right: 3px; + margin-bottom: 3px; text-align: center; @@ -5078,7 +5096,7 @@ body:not(.is-cordova) { } } -.rc-old .webrtc-video-element { +.webrtc-video-element { background-color: #000000; } diff --git a/packages/rocketchat-ui/client/views/app/videoCall/videoCall.html b/packages/rocketchat-ui/client/views/app/videoCall/videoCall.html index 903be2345ceb..75e7e5280fa4 100644 --- a/packages/rocketchat-ui/client/views/app/videoCall/videoCall.html +++ b/packages/rocketchat-ui/client/views/app/videoCall/videoCall.html @@ -1,8 +1,8 @@