[jira] [Resolved] (OPENMEETINGS-2668) FileExplorer does not upload file to selected root folder

2021-09-19 Thread Maxim Solodovnik (Jira)


 [ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maxim Solodovnik resolved OPENMEETINGS-2668.

Fix Version/s: (was: 7.0.0)
   6.1.0
   Resolution: Fixed

> FileExplorer does not upload file to selected root folder
> -
>
> Key: OPENMEETINGS-2668
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2668
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 7.0.0
>Reporter: Sebastian Wagner
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 6.1.0
>
>
> If you have an empty room and select the "room" drive, it will upload it to 
> the personal drive instead.
> it works if you first create a folder in the room drive and select the folder.
> But it doesn't work on the "root" folder for the room drive.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2668) FileExplorer does not upload file to selected root folder

2021-09-19 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17417441#comment-17417441
 ] 

ASF subversion and git services commented on OPENMEETINGS-2668:
---

Commit 63dd35eee32cfe60db605793bb8ddd374e8190a4 in openmeetings's branch 
refs/heads/master from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=63dd35e ]

[OPENMEETINGS-2668] upload to various 'roots' should work


> FileExplorer does not upload file to selected root folder
> -
>
> Key: OPENMEETINGS-2668
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2668
> Project: Openmeetings
>  Issue Type: Bug
>Affects Versions: 7.0.0
>Reporter: Sebastian Wagner
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 6.1.0
>
>
> If you have an empty room and select the "room" drive, it will upload it to 
> the personal drive instead.
> it works if you first create a folder in the room drive and select the folder.
> But it doesn't work on the "root" folder for the room drive.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[openmeetings] branch master updated: [OPENMEETINGS-2668] upload to various 'roots' should work

2021-09-19 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
 new 63dd35e  [OPENMEETINGS-2668] upload to various 'roots' should work
 new ca98a7a  Merge branch 'master' of github.com:apache/openmeetings
63dd35e is described below

commit 63dd35eee32cfe60db605793bb8ddd374e8190a4
Author: Maxim Solodovnik 
AuthorDate: Mon Sep 20 11:14:42 2021 +0700

[OPENMEETINGS-2668] upload to various 'roots' should work
---
 .../sidebar/RoomFileUploadResourceReference.java   | 24 
 .../web/room/sidebar/UploadDialog.html |  5 +++-
 .../web/room/sidebar/UploadDialog.java | 32 ++
 3 files changed, 43 insertions(+), 18 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/RoomFileUploadResourceReference.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/RoomFileUploadResourceReference.java
index 7c9278f..3a8af9f 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/RoomFileUploadResourceReference.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/RoomFileUploadResourceReference.java
@@ -71,7 +71,10 @@ public class RoomFileUploadResourceReference extends 
ResourceReference {
private static final String PARAM_TO_WB_NAME = "room-upload-to-wb";
private static final String PARAM_CLEAN_NAME = "room-upload-clean";
private static final String PARAM_SID_NAME = "room-upload-sid";
-   private static final String PARAM_LAST_SELECTED_NAME = 
"room-upload-last-selected";
+   public static final String PARAM_LAST_SELECTED_ID = 
"room-upload-last-selected-id";
+   public static final String PARAM_LAST_SELECTED_ROOM = 
"room-upload-last-selected-room";
+   public static final String PARAM_LAST_SELECTED_OWNER = 
"room-upload-last-selected-pwner";
+   public static final String PARAM_LAST_SELECTED_GROUP = 
"room-upload-last-selected-group";
private enum Status {
SUCCESS
, PROGRESS
@@ -114,9 +117,12 @@ public class RoomFileUploadResourceReference extends 
ResourceReference {
 
final boolean toWb = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_TO_WB_NAME).toBoolean(false);
final boolean clean = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_CLEAN_NAME).toBoolean(false);
-   final long lastSelected = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_LAST_SELECTED_NAME).toLong(-1L);
+   final long lastSelectedId = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_LAST_SELECTED_ID).toLong(-1L);
+   final long lastSelectedRoom = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_LAST_SELECTED_ROOM).toLong(-1L);
+   final long lastSelectedOwner = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_LAST_SELECTED_OWNER).toLong(-1L);
+   final long lastSelectedGroup = 
multiPartRequest.getPostParameters().getParameterValue(PARAM_LAST_SELECTED_GROUP).toLong(-1L);
final String uuid = 
randomUUID().toString();
-   startRunnable(() -> 
convertAll(c, fileItems, uuid, toWb, clean, lastSelected));
+   startRunnable(() -> 
convertAll(c, fileItems, uuid, toWb, clean, lastSelectedId, lastSelectedRoom, 
lastSelectedOwner, lastSelectedGroup));
 
prepareResponse(response, 
Status.SUCCESS, uuid, Application.getString("54", langId));
} else {
@@ -157,8 +163,8 @@ public class RoomFileUploadResourceReference extends 
ResourceReference {
return !r.isHidden(RoomElement.FILES) && 
c.hasRight(Right.PRESENTER);
}
 
-   private void convertAll(Client c, List files, String uuid, 
boolean toWb, boolean clean, long lastSelected) {
-   final BaseFileItem parent = fileDao.get(lastSelected);
+   private void convertAll(Client c, List files, String uuid, 
boolean toWb, boolean clean, long lastSelectedId, long lastSelectedRoom, long 
lastSelectedOwner, long lastSelectedGroup) {
+   final BaseFileItem parent = fileDao.get(lastSelectedId);
final long langId = getLangId(c);
final long totalSize = 
files.stream().mapToLong(FileItem::getSize).sum();
final AtomicInteger progress = new AtomicInteger(0);
@@ 

[jira] [Commented] (OPENMEETINGS-2253) Interruption of a video session when the microphone is turned on / off

2021-09-19 Thread Sebastian Wagner (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17417413#comment-17417413
 ] 

Sebastian Wagner commented on OPENMEETINGS-2253:


Yeah thanks [~ali.alhaidary] I will make sure to keep my changes in a PR and 
not merge to master until its ready for being tested.

> Interruption of a video session when the microphone is turned on / off
> --
>
> Key: OPENMEETINGS-2253
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2253
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Chrome, FF
>Reporter: Evgeny
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: icon_example.png
>
>
> Hello!
> 1. The participant turns on the camera - a camera window appears.
> 2. The participant turns on / off the microphone - the camera window closes, 
> after a delay of 2-3 seconds it opens, with a change from its original 
> position.
>  Each time the microphone is turned on / off, there is a delay and jerking of 
> the camera window of the conference participant, with the transition to the 
> default position.
> For other participants, the camera of this participant also disappears on the 
> screen.
>  Please make one button to turn on / off together - both the camera and the 
> microphone. Or a hotkey. So that the participant at the beginning and at the 
> end of the conversation does not press the camera and microphone separately 
> on the buttons.
> Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2253) Interruption of a video session when the microphone is turned on / off

2021-09-19 Thread Ali Alhaidary (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17417398#comment-17417398
 ] 

Ali Alhaidary commented on OPENMEETINGS-2253:
-

[~sebawagner] truly appreciate doing trails on local environment before pushing 
the to jenkens as we do long testing on each build on dedicated production 
environment.

> Interruption of a video session when the microphone is turned on / off
> --
>
> Key: OPENMEETINGS-2253
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2253
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Chrome, FF
>Reporter: Evgeny
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: icon_example.png
>
>
> Hello!
> 1. The participant turns on the camera - a camera window appears.
> 2. The participant turns on / off the microphone - the camera window closes, 
> after a delay of 2-3 seconds it opens, with a change from its original 
> position.
>  Each time the microphone is turned on / off, there is a delay and jerking of 
> the camera window of the conference participant, with the transition to the 
> default position.
> For other participants, the camera of this participant also disappears on the 
> screen.
>  Please make one button to turn on / off together - both the camera and the 
> microphone. Or a hotkey. So that the participant at the beginning and at the 
> end of the conversation does not press the camera and microphone separately 
> on the buttons.
> Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OPENMEETINGS-2253) Interruption of a video session when the microphone is turned on / off

2021-09-19 Thread Sebastian Wagner (Jira)


[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17417397#comment-17417397
 ] 

Sebastian Wagner commented on OPENMEETINGS-2253:


I would like to re-evaluate the options we have to achieve mute/unmute on an 
already running video stream. Without restarting the video stream. 

Let me try to trial some of the suggestions and see.

> Interruption of a video session when the microphone is turned on / off
> --
>
> Key: OPENMEETINGS-2253
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2253
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video
>Affects Versions: 5.0.0-M3
> Environment: Chrome, FF
>Reporter: Evgeny
>Assignee: Sebastian Wagner
>Priority: Major
> Fix For: 7.0.0
>
> Attachments: icon_example.png
>
>
> Hello!
> 1. The participant turns on the camera - a camera window appears.
> 2. The participant turns on / off the microphone - the camera window closes, 
> after a delay of 2-3 seconds it opens, with a change from its original 
> position.
>  Each time the microphone is turned on / off, there is a delay and jerking of 
> the camera window of the conference participant, with the transition to the 
> default position.
> For other participants, the camera of this participant also disappears on the 
> screen.
>  Please make one button to turn on / off together - both the camera and the 
> microphone. Or a hotkey. So that the participant at the beginning and at the 
> end of the conversation does not press the camera and microphone separately 
> on the buttons.
> Thanks.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)