Compare commits

...

8 Commits

Author SHA1 Message Date
Aaron van Meerten
e1a0484843 chore: update ljm in package-lock 2022-07-19 18:12:21 +00:00
Aaron van Meerten
a677f21a08 chore: update ljm 2022-07-19 13:53:26 -04:00
Saúl Ibarra Corretgé
64c8c2387c fix(dynamic-branding) fix loading on web
The configuration is not stored in Redux by the time we try to fetch it,
so use the global on Window, which will.
2022-07-13 10:25:01 +02:00
Jaya Allamsetty
706833bfe0 chore(deps) update LJM.
Includes fix - 00e0f71d3a
2022-07-12 16:44:57 -04:00
Horatiu Muresan
2cb2b8dab6 fix(virtual-background) Fix virtual backgrounds list (#11833) 2022-07-12 17:30:28 +03:00
Avram Tudor
55e10a6e0f fix(more-tab) fix crash when quickly selecting settings more tab (#11837) 2022-07-12 14:14:44 +03:00
Saúl Ibarra Corretgé
a433eadbb0 Revert "feat(settings) add abilty to hide more tab under settings"
This reverts commit 8f1fae79e4.

WorkD needs to be adjusted, we'll bring it in on the next release.
2022-07-11 15:33:11 +02:00
Дамян Минков
aa0f4f1522 fix: Fixes hidden from jibri participant. 2022-07-05 16:12:08 +03:00
6 changed files with 30 additions and 14 deletions

View File

@@ -144,7 +144,7 @@ var interfaceConfig = {
RECENT_LIST_ENABLED: true,
REMOTE_THUMBNAIL_RATIO: 1, // 1:1
SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar', 'sounds', 'more' ],
SETTINGS_SECTIONS: [ 'devices', 'language', 'moderator', 'profile', 'calendar', 'sounds' ],
/**
* Specify which sharing features should be displayed. If the value is not set

11
package-lock.json generated
View File

@@ -74,7 +74,7 @@
"js-md5": "0.6.1",
"js-sha512": "0.8.0",
"jwt-decode": "2.2.0",
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1461.0.0+96664436/lib-jitsi-meet.tgz",
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet#0ed77ebc5d651c9713c970dd5c2a8600fa6fc966",
"lodash": "4.17.21",
"moment": "2.29.2",
"moment-duration-format": "2.2.2",
@@ -12169,8 +12169,8 @@
},
"node_modules/lib-jitsi-meet": {
"version": "0.0.0",
"resolved": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1461.0.0+96664436/lib-jitsi-meet.tgz",
"integrity": "sha512-DbtYpqJ9qsZtugeQIGDEmQOactpGQLSjCHd2obVU+1gdYxp2N6STVTxx7pw7zzlvW7S2pwkIXK/b5B6NFrt2iA==",
"resolved": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#0ed77ebc5d651c9713c970dd5c2a8600fa6fc966",
"integrity": "sha512-So83czSXFMo5jgigoMU24fvcjipv3GVRa8lPlaVO64ojkfwU9X58ydnvDkdc470nktRLUM2Vw3WPJ3ILXUCD4Q==",
"license": "Apache-2.0",
"dependencies": {
"@jitsi/js-utils": "2.0.0",
@@ -29375,8 +29375,9 @@
}
},
"lib-jitsi-meet": {
"version": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1461.0.0+96664436/lib-jitsi-meet.tgz",
"integrity": "sha512-DbtYpqJ9qsZtugeQIGDEmQOactpGQLSjCHd2obVU+1gdYxp2N6STVTxx7pw7zzlvW7S2pwkIXK/b5B6NFrt2iA==",
"version": "git+ssh://git@github.com/jitsi/lib-jitsi-meet.git#0ed77ebc5d651c9713c970dd5c2a8600fa6fc966",
"integrity": "sha512-So83czSXFMo5jgigoMU24fvcjipv3GVRa8lPlaVO64ojkfwU9X58ydnvDkdc470nktRLUM2Vw3WPJ3ILXUCD4Q==",
"from": "lib-jitsi-meet@https://github.com/jitsi/lib-jitsi-meet#0ed77ebc5d651c9713c970dd5c2a8600fa6fc966",
"requires": {
"@jitsi/js-utils": "2.0.0",
"@jitsi/logger": "2.0.0",

View File

@@ -79,7 +79,7 @@
"js-md5": "0.6.1",
"js-sha512": "0.8.0",
"jwt-decode": "2.2.0",
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet/releases/download/v1461.0.0+96664436/lib-jitsi-meet.tgz",
"lib-jitsi-meet": "https://github.com/jitsi/lib-jitsi-meet#0ed77ebc5d651c9713c970dd5c2a8600fa6fc966",
"lodash": "4.17.21",
"moment": "2.29.2",
"moment-duration-format": "2.2.2",

View File

@@ -36,7 +36,11 @@ export function extractFqnFromPath(state?: Object) {
*/
export async function getDynamicBrandingUrl(stateful: Object | Function) {
const state = toState(stateful);
const config = state['features/base/config'];
// NB: On web this is dispatched really early, before the config has been stored in the
// state. Thus, fetch it from the window global.
const config
= navigator.product === 'ReactNative' ? state['features/base/config'] : window.config;
const { dynamicBrandingUrl } = config;
if (dynamicBrandingUrl) {

View File

@@ -268,8 +268,7 @@ function _mapStateToProps(state, ownProps) {
const moderatorTabProps = getModeratorTabProps(state);
const { showModeratorSettings } = moderatorTabProps;
const { showLanguageSettings, showNotificationsSettings, showPrejoinSettings } = moreTabProps;
const showMoreTab
= configuredTabs.includes('more') && (showLanguageSettings || showNotificationsSettings || showPrejoinSettings);
const showMoreTab = showLanguageSettings || showNotificationsSettings || showPrejoinSettings;
const showProfileSettings
= configuredTabs.includes('profile') && !state['features/base/config'].disableProfile;
const showCalendarSettings
@@ -371,7 +370,7 @@ function _mapStateToProps(state, ownProps) {
currentLanguage: tabState?.currentLanguage,
hideSelfView: tabState?.hideSelfView,
showPrejoinPage: tabState?.showPrejoinPage,
enabledNotifications: tabState?.enabledNotifications,
enabledNotifications: tabState?.enabledNotifications || {},
maxStageParticipants: tabState?.maxStageParticipants
};
},

View File

@@ -110,7 +110,12 @@ const VirtualBackgroundDialog = translate(connect(_mapStateToProps)(VirtualBackg
const useStyles = makeStyles(theme => {
return {
container: {
display: 'flex',
flexDirection: 'column'
},
dialog: {
alignSelf: 'flex-start',
marginLeft: '-10px',
position: 'relative',
maxHeight: '300px',
@@ -198,10 +203,11 @@ const useStyles = makeStyles(theme => {
left: '51px'
}
},
'@media (max-width: 360px)': {
gridTemplateColumns: 'auto auto auto'
'@media (max-width: 720px)': {
gridTemplateColumns: 'auto auto auto auto'
},
'@media (max-width: 632px)': {
gridTemplateColumns: 'auto auto auto auto auto',
fontSize: '1.5vw',
[[ '& .desktop-share:hover',
@@ -229,6 +235,12 @@ const useStyles = makeStyles(theme => {
height: '60px',
width: '60px'
}
},
'@media (max-width: 360px)': {
gridTemplateColumns: 'auto auto auto auto'
},
'@media (max-width: 319px)': {
gridTemplateColumns: 'auto auto'
}
},
dialogMarginTop: {
@@ -527,7 +539,7 @@ function VirtualBackground({
size = 'medium' />
</div>
) : (
<div>
<div className = { classes.container }>
{_showUploadButton
&& <UploadImageButton
setLoading = { setLoading }