[openmeetings] branch master updated: [OPENMEETINGS-1870] basic refactoring

2018-05-10 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 7b8fa97  [OPENMEETINGS-1870] basic refactoring
7b8fa97 is described below

commit 7b8fa97176b895a0e3bc90eb3dc65e4c0c55717f
Author: Maxim Solodovnik 
AuthorDate: Thu May 10 21:04:19 2018 +0700

[OPENMEETINGS-1870] basic refactoring
---
 .../main/flex/org/apache/openmeetings/OmVideo.as   | 360 +
 .../apache/openmeetings/web/app}/UserManager.java  |   6 +-
 .../openmeetings/webservice/UserWebService.java|   4 +-
 3 files changed, 364 insertions(+), 6 deletions(-)

diff --git 
a/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as 
b/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
new file mode 100644
index 000..01aa560
--- /dev/null
+++ b/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
@@ -0,0 +1,360 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License") +  you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.openmeetings {
+import flash.events.AsyncErrorEvent;
+import flash.events.NetStatusEvent;
+import flash.events.IOErrorEvent;
+import flash.events.SecurityErrorEvent;
+import flash.external.ExternalInterface;
+import flash.media.Camera;
+import flash.media.H264Level;
+import flash.media.H264Profile;
+import flash.media.H264VideoStreamSettings;
+import flash.media.Microphone;
+import flash.media.Video;
+import flash.media.VideoStreamSettings;
+import flash.media.SoundTransform;
+import flash.net.NetConnection;
+import flash.net.NetStream;
+import flash.net.Responder;
+import mx.core.UIComponent;
+
+public class OmVideo {
+   public static const CODEC_H264:String = "h264";
+   public static const PLAY:String = "play";
+   public static const BROADCAST:String = "broadcast";
+   public static const RECORD:String = "record";
+   public static const LIVE:String = "live";
+   private var vid:Video;
+   private var ui:UIComponent;
+   private var nc:NetConnection;
+   private var ns:NetStream;
+   private var mic:Microphone;
+   public var width:int;
+   public var height:int;
+   private var mode:String;
+   private var params:Object;
+   private var url:String;
+   private var fallback:Boolean;
+   private var volume:int = 50;
+   private var lastVolume:int = 50;
+   private var cursorCbk:Function = null;
+
+   public function OmVideo(ui:UIComponent, params:Object, 
cursorCbk:Function = null) {
+   this.ui = ui;
+   this.params = params;
+   this.cursorCbk = cursorCbk;
+   }
+
+   private function getVideo():Video {
+   if (vid === null) {
+   vid = new Video();
+   vid.width = width;
+   vid.height = height;
+   ui.addChild(vid);
+   }
+   return vid;
+   }
+
+   public function getMic():Microphone {
+   return mic;
+   }
+
+   public function resize(_width:int, _height:int):void {
+   debug("resize:: " + _width + "x" + _height);
+   this.width = ui.width = _width;
+   this.height = ui.height = _height;
+   }
+
+   public function vidResize(_width:int, _height:int):void {
+   debug("vidResize:: " + _width + "x" + _height);
+   vid.width = _width;
+   vid.height = _height;
+   }
+
+   public function attachCamera(cam:Camera):void {
+   getVideo().attachCamera(cam);
+   }
+
+   public function attachStream(_ns:NetStream):void {
+   this.ns = _ns;
+   getVideo().attachNetStream(_ns);
+   }
+
+   private function clear():void {
+   if (!vid) {
+   return;
+   }
+   vid.attachNetStream(null);
+   vid.attachCamera(null);
+   vid.clear();
+   ui.removeChild(vid);
+   vid = null;
+   }
+
+   public function 

[jira] [Commented] (OPENMEETINGS-1870) use kick-funktion in roomWebService

2018-05-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 7b8fa97176b895a0e3bc90eb3dc65e4c0c55717f in openmeetings's branch 
refs/heads/master from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=7b8fa97 ]

[OPENMEETINGS-1870] basic refactoring


> use kick-funktion in roomWebService
> ---
>
> Key: OPENMEETINGS-1870
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1870
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 4.0.2, 4.0.3
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> User will not be kicked out of the room. But we get "sucess" in reponse.
> See also "kick"-part of openmeetings.log
> --
>  INFO 04-13 11:07:33.390 o.a.c.s.o.a.o.w.R.R.RoomWebService:276 
> [0.0-5080-exec-2] - Inbound Message
> 
> ID: 950
> Address: http://HOST:5080/openmeetings/services/RoomService
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml; charset=utf-8
> Headers: \{Accept=[text/xml, multipart/related], cache-control=[no-cache], 
> connection=[keep-alive], Content-Length=[265], content-type=[text/xml; 
> charset=utf-8], host=[HOST:5080], pragma=[no-cache], SOAPAction=[""], 
> user-agent=[JAX-WS RI 2.2.6b21  svn-revision#12959]}
> Payload:  xmlns:S="http://schemas.xmlsoap.org/soap/envelope/;> xmlns:ns2="http://webservice.openmeetings.apache.org/;>SOME 
> NUMBER5
> --
> DEBUG 04-13 11:07:33.449 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-2] - Level 
> Soap :: [GRANTED]
>  INFO 04-13 11:07:33.459 o.a.c.s.o.a.o.w.R.R.RoomWebService:276 
> [0.0-5080-exec-2] - Outbound Message
> ---
> ID: 950
> Response-Code: 200
> Encoding: UTF-8
> Content-Type: text/xml
> Headers: {}
> Payload:  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>  
> xmlns:ns2="http://webservice.openmeetings.apache.org/;>KickedSUCCESS
> --



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik updated OPENMEETINGS-1885:
---
Component/s: (was: HTML5/Chat)

> Error adding file to Whiteboard
> ---
>
> Key: OPENMEETINGS-1885
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3, 4.0.4
> Environment: ubuntu 16.04 
> 4.0.4-SNAPSHOT Revisiona841ab5
>Reporter: Aaron Hepp
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> When no whiteboard is open and a user uploads a file and has "load directly 
> to whiteboard" check it throws the user into the "internal error" page.  
> While this was expected as it trying to upload to an object not present; 
> instead of the redirect to the internal error page can it just prompt with an 
> error message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik updated OPENMEETINGS-1885:
---
Issue Type: Bug  (was: Improvement)

> Error adding file to Whiteboard
> ---
>
> Key: OPENMEETINGS-1885
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3, 4.0.4
> Environment: ubuntu 16.04 
> 4.0.4-SNAPSHOT Revisiona841ab5
>Reporter: Aaron Hepp
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> When no whiteboard is open and a user uploads a file and has "load directly 
> to whiteboard" check it throws the user into the "internal error" page.  
> While this was expected as it trying to upload to an object not present; 
> instead of the redirect to the internal error page can it just prompt with an 
> error message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik updated OPENMEETINGS-1885:
---
Affects Version/s: 4.0.3

> Error adding file to Whiteboard
> ---
>
> Key: OPENMEETINGS-1885
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3, 4.0.4
> Environment: ubuntu 16.04 
> 4.0.4-SNAPSHOT Revisiona841ab5
>Reporter: Aaron Hepp
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> When no whiteboard is open and a user uploads a file and has "load directly 
> to whiteboard" check it throws the user into the "internal error" page.  
> While this was expected as it trying to upload to an object not present; 
> instead of the redirect to the internal error page can it just prompt with an 
> error message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1870] basic refactoring

2018-05-10 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/4.0.x by this push:
 new 8b1b592  [OPENMEETINGS-1870] basic refactoring
8b1b592 is described below

commit 8b1b5921bbac06b3ca848d06f050ee652ac98ac5
Author: Maxim Solodovnik 
AuthorDate: Thu May 10 21:04:19 2018 +0700

[OPENMEETINGS-1870] basic refactoring
---
 openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as | 2 +-
 .../src/main/java/org/apache/openmeetings/web/app}/UserManager.java | 6 ++
 .../java/org/apache/openmeetings/webservice/UserWebService.java | 3 +--
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git 
a/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as 
b/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
index cd0a0e8..01aa560 100644
--- a/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
+++ b/openmeetings-flash/src/main/flex/org/apache/openmeetings/OmVideo.as
@@ -271,7 +271,7 @@ public class OmVideo {
debug("sendVarsToMessageWithClient :: ", obj);
if ("copiedText" === obj[0]) {

ExternalInterface.call("Room.showClipboard", obj[1]);
-   } else if ("quit" === obj["message"]) {
+   } else if ("quit" === obj["message"] || "kick" 
=== obj["message"]) {
reset();
}
}
diff --git 
a/openmeetings-service/src/main/java/org/apache/openmeetings/service/user/UserManager.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java
similarity index 98%
rename from 
openmeetings-service/src/main/java/org/apache/openmeetings/service/user/UserManager.java
rename to 
openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java
index 6026409..a65f32a 100644
--- 
a/openmeetings-service/src/main/java/org/apache/openmeetings/service/user/UserManager.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/UserManager.java
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.openmeetings.service.user;
+package org.apache.openmeetings.web.app;
 
 import static org.apache.openmeetings.db.dao.user.UserDao.getNewUserInstance;
 import static org.apache.openmeetings.db.util.TimezoneUtil.getTimeZone;
@@ -89,9 +89,7 @@ public class UserManager implements IUserManager {
 
private boolean sendConfirmation() {
String baseURL = getBaseUrl();
-   return baseURL != null
-   && !baseURL.isEmpty()
-   && cfgDao.getBool(CONFIG_EMAIL_VERIFICATION, 
false);
+   return !Strings.isEmpty(baseURL) && 
cfgDao.getBool(CONFIG_EMAIL_VERIFICATION, false);
}
 
/**
diff --git 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java
 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java
index 3666c18..c30cbe9 100644
--- 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java
+++ 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/UserWebService.java
@@ -61,7 +61,6 @@ import org.apache.openmeetings.db.entity.user.GroupUser;
 import org.apache.openmeetings.db.entity.user.User;
 import org.apache.openmeetings.db.entity.user.User.Right;
 import org.apache.openmeetings.db.manager.IClientManager;
-import org.apache.openmeetings.service.user.UserManager;
 import org.apache.openmeetings.util.OmException;
 import org.apache.openmeetings.webservice.error.ServiceException;
 import org.apache.wicket.util.string.Strings;
@@ -189,7 +188,7 @@ public class UserWebService extends BaseWebService {
User u = user.get(userDao);
GroupDao groupDao = getBean(GroupDao.class);
u.getGroupUsers().add(new 
GroupUser(groupDao.get(getDefaultGroup()), u));
-   _user = 
getBean(UserManager.class).registerUser(u, user.getPassword(), null);
+   _user = 
getBean(IUserManager.class).registerUser(u, user.getPassword(), null);
} catch (NoSuchAlgorithmException | OmException e) {
throw new ServiceException("Unexpected error 
while creating user");
}

-- 
To stop receiving notification emails like this one, please contact
solo...@apache.org.


[jira] [Commented] (OPENMEETINGS-1870) use kick-funktion in roomWebService

2018-05-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 8b1b5921bbac06b3ca848d06f050ee652ac98ac5 in openmeetings's branch 
refs/heads/4.0.x from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=8b1b592 ]

[OPENMEETINGS-1870] basic refactoring


> use kick-funktion in roomWebService
> ---
>
> Key: OPENMEETINGS-1870
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1870
> Project: Openmeetings
>  Issue Type: Bug
>  Components: SOAP/REST API
>Affects Versions: 4.0.2, 4.0.3
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> User will not be kicked out of the room. But we get "sucess" in reponse.
> See also "kick"-part of openmeetings.log
> --
>  INFO 04-13 11:07:33.390 o.a.c.s.o.a.o.w.R.R.RoomWebService:276 
> [0.0-5080-exec-2] - Inbound Message
> 
> ID: 950
> Address: http://HOST:5080/openmeetings/services/RoomService
> Encoding: UTF-8
> Http-Method: POST
> Content-Type: text/xml; charset=utf-8
> Headers: \{Accept=[text/xml, multipart/related], cache-control=[no-cache], 
> connection=[keep-alive], Content-Length=[265], content-type=[text/xml; 
> charset=utf-8], host=[HOST:5080], pragma=[no-cache], SOAPAction=[""], 
> user-agent=[JAX-WS RI 2.2.6b21  svn-revision#12959]}
> Payload:  xmlns:S="http://schemas.xmlsoap.org/soap/envelope/;> xmlns:ns2="http://webservice.openmeetings.apache.org/;>SOME 
> NUMBER5
> --
> DEBUG 04-13 11:07:33.449 o.a.o.d.u.AuthLevelUtil:42 [0.0-5080-exec-2] - Level 
> Soap :: [GRANTED]
>  INFO 04-13 11:07:33.459 o.a.c.s.o.a.o.w.R.R.RoomWebService:276 
> [0.0-5080-exec-2] - Outbound Message
> ---
> ID: 950
> Response-Code: 200
> Encoding: UTF-8
> Content-Type: text/xml
> Headers: {}
> Payload:  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>  
> xmlns:ns2="http://webservice.openmeetings.apache.org/;>KickedSUCCESS
> --



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread Aaron Hepp (JIRA)
Aaron Hepp created OPENMEETINGS-1885:


 Summary: Error adding file to Whiteboard
 Key: OPENMEETINGS-1885
 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
 Project: Openmeetings
  Issue Type: Improvement
  Components: HTML5/Chat, HTML5/WhiteBoard
Affects Versions: 4.0.4
 Environment: ubuntu 16.04 
4.0.4-SNAPSHOT Revisiona841ab5
Reporter: Aaron Hepp
Assignee: Maxim Solodovnik


When no whiteboard is open and a user uploads a file and has "load directly to 
whiteboard" check it throws the user into the "internal error" page.  While 
this was expected as it trying to upload to an object not present; instead of 
the redirect to the internal error page can it just prompt with an error 
message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1885] file upload works as expected

2018-05-10 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/4.0.x by this push:
 new c184963  [OPENMEETINGS-1885] file upload works as expected
c184963 is described below

commit c18496397f208f35fafef02c31b35b8ff96f8953
Author: Maxim Solodovnik 
AuthorDate: Thu May 10 21:33:52 2018 +0700

[OPENMEETINGS-1885] file upload works as expected
---
 .../src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
index 02167a0..a819e0b 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
@@ -552,6 +552,9 @@ public class WbPanel extends AbstractWbPanel {
Whiteboards wbs = wbm.get(roomId);
String wuid = UUID.randomUUID().toString();
Whiteboard wb = wbs.get(wbs.getActiveWb());
+   if (wb == null) {
+   return;
+   }
switch (fi.getType()) {
case Folder:
//do nothing

-- 
To stop receiving notification emails like this one, please contact
solo...@apache.org.


[openmeetings] branch master updated: [OPENMEETINGS-1885] file upload works as expected

2018-05-10 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 29837e0  [OPENMEETINGS-1885] file upload works as expected
29837e0 is described below

commit 29837e0392546723cf42ffe84f2b449f3f8d8370
Author: Maxim Solodovnik 
AuthorDate: Thu May 10 21:33:52 2018 +0700

[OPENMEETINGS-1885] file upload works as expected
---
 .../src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
index bf4afdb..27a573a 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.java
@@ -551,6 +551,9 @@ public class WbPanel extends AbstractWbPanel {
Whiteboards wbs = wbm.get(roomId);
String wuid = UUID.randomUUID().toString();
Whiteboard wb = wbs.get(wbs.getActiveWb());
+   if (wb == null) {
+   return;
+   }
switch (fi.getType()) {
case Folder:
//do nothing

-- 
To stop receiving notification emails like this one, please contact
solo...@apache.org.


[jira] [Commented] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread ASF subversion and git services (JIRA)

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

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

Commit c18496397f208f35fafef02c31b35b8ff96f8953 in openmeetings's branch 
refs/heads/4.0.x from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=c184963 ]

[OPENMEETINGS-1885] file upload works as expected


> Error adding file to Whiteboard
> ---
>
> Key: OPENMEETINGS-1885
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3, 4.0.4
> Environment: ubuntu 16.04 
> 4.0.4-SNAPSHOT Revisiona841ab5
>Reporter: Aaron Hepp
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> When no whiteboard is open and a user uploads a file and has "load directly 
> to whiteboard" check it throws the user into the "internal error" page.  
> While this was expected as it trying to upload to an object not present; 
> instead of the redirect to the internal error page can it just prompt with an 
> error message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 29837e0392546723cf42ffe84f2b449f3f8d8370 in openmeetings's branch 
refs/heads/master from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=29837e0 ]

[OPENMEETINGS-1885] file upload works as expected


> Error adding file to Whiteboard
> ---
>
> Key: OPENMEETINGS-1885
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3, 4.0.4
> Environment: ubuntu 16.04 
> 4.0.4-SNAPSHOT Revisiona841ab5
>Reporter: Aaron Hepp
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> When no whiteboard is open and a user uploads a file and has "load directly 
> to whiteboard" check it throws the user into the "internal error" page.  
> While this was expected as it trying to upload to an object not present; 
> instead of the redirect to the internal error page can it just prompt with an 
> error message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Resolved] (OPENMEETINGS-1885) Error adding file to Whiteboard

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik resolved OPENMEETINGS-1885.

   Resolution: Fixed
Fix Version/s: 4.0.4

> Error adding file to Whiteboard
> ---
>
> Key: OPENMEETINGS-1885
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1885
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3, 4.0.4
> Environment: ubuntu 16.04 
> 4.0.4-SNAPSHOT Revisiona841ab5
>Reporter: Aaron Hepp
>Assignee: Maxim Solodovnik
>Priority: Minor
> Fix For: 4.0.4
>
>
> When no whiteboard is open and a user uploads a file and has "load directly 
> to whiteboard" check it throws the user into the "internal error" page.  
> While this was expected as it trying to upload to an object not present; 
> instead of the redirect to the internal error page can it just prompt with an 
> error message stating no whiteboard present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OPENMEETINGS-1879) ffmpeg-ubuntu-debian.sh - some package install failed

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik updated OPENMEETINGS-1879:
---
Priority: Minor  (was: Major)

> ffmpeg-ubuntu-debian.sh - some package install failed
> -
>
> Key: OPENMEETINGS-1879
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1879
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Documentation
>Affects Versions: 4.0.3
>Reporter: Leonid
>Assignee: Maxim Solodovnik
>Priority: Minor
>
> h1. *1. Package libx265-dev*
> Remove *libx265-dev* from this line in script:
> {code:java}
> sudo apt-get -y --force-yes install autoconf automake build-essential 
> libass-dev libfreetype6-dev libsdl1.2-dev libtheora-dev libtool libva-dev 
> libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev 
> pkg-config texi2html zlib1g-dev mercurial cmake libx264-dev libx265-dev 
> libfdk-aac-dev libmp3lame-dev{code}
>  
> When running *./ffmpeg-ubuntu-debian.sh* this command failed. It's because of 
> *libx265-dev* can't be located:
>  
> {code:java}
> E: Unable to locate package libx265-dev{code}
>  
> Some lines below there are commands to download, compile and install 
> *libx265-dev.*
>  
> {code:java}
> hg clone https://bitbucket.org/multicoreware/x265
> wget -O fdk-aac.tar.gz https://github.com/mstorsjo/fdk-aac/tarball/master
> cd x265/build/linux
> PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" 
> -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off 
> ../../source && make && sudo make install && make distclean; cd 
> ~/ffmpeg_sources
> {code}
> Link to *ffmpeg-ubuntu-debian.sh 
> -[https://cwiki.apache.org/confluence/download/attachments/27838216/ffmpeg-ubuntu-debian.sh]*
> Original installation notes of *libx265-dev* can be found here - 
> [https://bitbucket.org/multicoreware/x265/wiki/Home]
> h1. *2. Compilation of x264*
> *Add* assembler installation line:
>  
> {code:java}
> wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.xz
> tar -xvf nasm-2.13.03.tar.xz
> cd nasm-2.13.03
> ./configure
> sudo make
> sudo make install
> cd ..
> {code}
>  
> When running:
> {code:java}
> cd x264-*/
> PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" 
> --bindir="$HOME/bin" --enable-static --disable-opencl && 
> PATH="$HOME/bin:$PATH" make && sudo make install && make distclean; cd ..
> {code}
> I'm getting an error *found no assembler*:
> {code:java}
> Found no assembler
> Minimum version is nasm-2.13
> If you really want to compile without asm, configure with --disable-asm.
> {code}
> Original installation notes of *assembler install* can be found here -  
> http://www.sthshare.com/wordpress/found-no-assembler-minimum-version-is-nasm-2-13.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OPENMEETINGS-1864) new privacy regulations on the 25th May 2018

2018-05-10 Thread ASF subversion and git services (JIRA)

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

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

Commit c640a9496a2326d6b4e54fc624045e63b4e3b245 in openmeetings's branch 
refs/heads/4.0.x from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=c640a94 ]

[OPENMEETINGS-1864] basic privacy page is added


> new privacy regulations on the 25th May 2018
> 
>
> Key: OPENMEETINGS-1864
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1864
> Project: Openmeetings
>  Issue Type: Task
>Affects Versions: 4.0.2
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Blocker
> Fix For: 4.0.4
>
>
> details in list
> [http://mail-archives.apache.org/mod_mbox/openmeetings-user/201804.mbox/%3Cbd7290bb-20d6-203a-22a9-25c0a1296da7%40vcrp.de%3E]
> Plan B:
>  In Admin->User area
>  # -display all users (deleted should be "read-only" with restore and purge 
> options only)-
>  # -add additional "Purge" button-
>  # -In case Purge will be selected:-
>  ## -User will be marked deleted-
>  ## -AsteriskSipUser and Address will be replaced with empty objects-
>  ## -User fields "age, externaluserid, firstname, lastname, login, 
> pictureuri" will be replaced with "Purged_some_hash"-
>  ## -User profile picture will be deleted-
>  ## -ChatMessage: fromName will be replaced with "Purged User"- 
>  ## -MailMessage: should be purged (some search by email will be required)-
>  # UserIp need to be auto-masked after some configurable period of time in 
> all objects
>  # -History size in logs should be reduced to 7 days-
>  # -Self-delete should be added (with auto-logout)-
>  # There need to be a place to place a (customized) privacy policy.
>  # Registration-Dialog need to have a button/step to agree the data 
> processing. And to this belongs a button to disagree.
>   
> OK what need to be done for hard delete:
>  # delete user
>  # delete all user contacts (also users, so we might have recursion here)
>  # delete user from all groups
>  # delete user from room moderators
>  # delete all appointments with {{owner == user}}
>  # delete all calendars with {{owner == user}}
>  # delete all meeting members in appointments where {{owner != user}}
>  # delete all Private Messages where {{user}} is in to/from fields
>  # delete all UserContact + Requests
>  # delete all invitation sent by this user
>  # delete all private rooms owned by this user
>  # delete all user private files/recordings
>  # delete all chat messages send/received by this user
>  # clean email messages
>  # clean all Polls/answers



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OPENMEETINGS-1864) new privacy regulations on the 25th May 2018

2018-05-10 Thread ASF subversion and git services (JIRA)

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

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

Commit 08535f2295e330213cd36f455967fa59be6bf36e in openmeetings's branch 
refs/heads/master from [~solomax]
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=08535f2 ]

[OPENMEETINGS-1864] basic privacy page is added


> new privacy regulations on the 25th May 2018
> 
>
> Key: OPENMEETINGS-1864
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1864
> Project: Openmeetings
>  Issue Type: Task
>Affects Versions: 4.0.2
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Blocker
> Fix For: 4.0.4
>
>
> details in list
> [http://mail-archives.apache.org/mod_mbox/openmeetings-user/201804.mbox/%3Cbd7290bb-20d6-203a-22a9-25c0a1296da7%40vcrp.de%3E]
> Plan B:
>  In Admin->User area
>  # -display all users (deleted should be "read-only" with restore and purge 
> options only)-
>  # -add additional "Purge" button-
>  # -In case Purge will be selected:-
>  ## -User will be marked deleted-
>  ## -AsteriskSipUser and Address will be replaced with empty objects-
>  ## -User fields "age, externaluserid, firstname, lastname, login, 
> pictureuri" will be replaced with "Purged_some_hash"-
>  ## -User profile picture will be deleted-
>  ## -ChatMessage: fromName will be replaced with "Purged User"- 
>  ## -MailMessage: should be purged (some search by email will be required)-
>  # UserIp need to be auto-masked after some configurable period of time in 
> all objects
>  # -History size in logs should be reduced to 7 days-
>  # -Self-delete should be added (with auto-logout)-
>  # There need to be a place to place a (customized) privacy policy.
>  # Registration-Dialog need to have a button/step to agree the data 
> processing. And to this belongs a button to disagree.
>   
> OK what need to be done for hard delete:
>  # delete user
>  # delete all user contacts (also users, so we might have recursion here)
>  # delete user from all groups
>  # delete user from room moderators
>  # delete all appointments with {{owner == user}}
>  # delete all calendars with {{owner == user}}
>  # delete all meeting members in appointments where {{owner != user}}
>  # delete all Private Messages where {{user}} is in to/from fields
>  # delete all UserContact + Requests
>  # delete all invitation sent by this user
>  # delete all private rooms owned by this user
>  # delete all user private files/recordings
>  # delete all chat messages send/received by this user
>  # clean email messages
>  # clean all Polls/answers



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1864] basic privacy page is added

2018-05-10 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/4.0.x by this push:
 new c640a94  [OPENMEETINGS-1864] basic privacy page is added
c640a94 is described below

commit c640a9496a2326d6b4e54fc624045e63b4e3b245
Author: Maxim Solodovnik 
AuthorDate: Thu May 10 23:18:54 2018 +0700

[OPENMEETINGS-1864] basic privacy page is added
---
 .../apache/openmeetings/web/app/Application.java   |  2 ++
 .../web/app/Application.properties.xml |  2 ++
 .../web/app/Application_ar.properties.xml  |  2 ++
 .../web/app/Application_bg.properties.xml  |  2 ++
 .../web/app/Application_ca.properties.xml  |  2 ++
 .../web/app/Application_cs.properties.xml  |  2 ++
 .../web/app/Application_da.properties.xml  |  2 ++
 .../web/app/Application_de.properties.xml  |  2 ++
 .../web/app/Application_el.properties.xml  |  2 ++
 .../web/app/Application_es.properties.xml  |  2 ++
 .../web/app/Application_fa.properties.xml  |  2 ++
 .../web/app/Application_fi.properties.xml  |  2 ++
 .../web/app/Application_fr.properties.xml  |  2 ++
 .../web/app/Application_gl.properties.xml  |  2 ++
 .../web/app/Application_he.properties.xml  |  2 ++
 .../web/app/Application_hu.properties.xml  |  2 ++
 .../web/app/Application_id.properties.xml  |  2 ++
 .../web/app/Application_it.properties.xml  |  2 ++
 .../web/app/Application_ja.properties.xml  |  2 ++
 .../web/app/Application_ko.properties.xml  |  2 ++
 .../web/app/Application_nl.properties.xml  |  2 ++
 .../web/app/Application_pl.properties.xml  |  2 ++
 .../web/app/Application_pt.properties.xml  |  2 ++
 .../web/app/Application_pt_BR.properties.xml   |  2 ++
 .../web/app/Application_ru.properties.xml  |  2 ++
 .../web/app/Application_sk.properties.xml  |  2 ++
 .../web/app/Application_sv.properties.xml  |  2 ++
 .../web/app/Application_th.properties.xml  |  2 ++
 .../web/app/Application_tr.properties.xml  |  2 ++
 .../web/app/Application_uk.properties.xml  |  2 ++
 .../web/app/Application_zh_CN.properties.xml   |  2 ++
 .../web/app/Application_zh_TW.properties.xml   |  2 ++
 .../apache/openmeetings/web/pages/PrivacyPage.html | 39 ++
 .../apache/openmeetings/web/pages/PrivacyPage.java | 30 +
 .../web/pages/auth/RegisterDialog.html |  6 
 .../web/pages/auth/RegisterDialog.java |  4 +++
 36 files changed, 143 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
index 69402be..3274c99 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.java
@@ -64,6 +64,7 @@ import org.apache.openmeetings.web.pages.ActivatePage;
 import org.apache.openmeetings.web.pages.HashPage;
 import org.apache.openmeetings.web.pages.MainPage;
 import org.apache.openmeetings.web.pages.NotInitedPage;
+import org.apache.openmeetings.web.pages.PrivacyPage;
 import org.apache.openmeetings.web.pages.ResetPage;
 import org.apache.openmeetings.web.pages.auth.SignInPage;
 import org.apache.openmeetings.web.pages.install.InstallWizardPage;
@@ -247,6 +248,7 @@ public class Application extends 
AuthenticatedWebApplication implements IApplica
getRootRequestMapperAsCompound().add(new 
NoVersionMapper(HASH_MAPPING, HashPage.class));
getRootRequestMapperAsCompound().add(new 
NoVersionMapper(SIGNIN_MAPPING, getSignInPageClass()));
getRootRequestMapperAsCompound().add(new 
NoVersionMapper("oauth/${oauthid}", getSignInPageClass()));
+   getRootRequestMapperAsCompound().add(new 
NoVersionMapper("privacy", PrivacyPage.class));
mountPage("install", InstallWizardPage.class);
mountPage("activate", ActivatePage.class);
mountPage("reset", ResetPage.class);
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.properties.xml
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.properties.xml
index b8032e4..b31b896 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.properties.xml
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application.properties.xml
@@ -986,4 +986,6 @@ see http://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 

[jira] [Commented] (OPENMEETINGS-1884) The text tool of a text-field to text-Area

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik commented on OPENMEETINGS-1884:


Which text-field need to be converted to text-area?

> The text tool of a text-field to text-Area
> --
>
> Key: OPENMEETINGS-1884
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1884
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: HTML5/Dashboard
>Affects Versions: 4.0.3
> Environment: Ubuntu 
>Reporter: Jorge Alberto Londoño Giraldo
>Assignee: Maxim Solodovnik
>Priority: Major
>
> The text tool is a text-field, it would be important that it be a text-area, 
> which would allow that when copying and pasting a paragraph the text flows in 
> several lines and not as it currently increases the width and leaves the area 
> of the blackboard



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OPENMEETINGS-1865) Calendar sync fails after logout OM profile (Google calendar via CalDAV)

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik commented on OPENMEETINGS-1865:


The configuration is described here: 
[http://openmeetings.apache.org/CalDAVandGCal.html]

It states "Google Calendar for now supports only a read-only access", this is 
exactly what I'm observing

 

"CalDAV integration" need to be re-worked to use OAuth, as described here 
[https://developers.google.com/calendar/caldav/v2/guide]

Will try to check this, in 4.0.5 and/or 5.0.0 

> Calendar sync fails after logout OM profile (Google calendar via CalDAV)
> 
>
> Key: OPENMEETINGS-1865
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1865
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: HTML5/Calendar
>Affects Versions: 4.0.2, 4.0.3
>Reporter: Leonid
>Assignee: Maxim Solodovnik
>Priority: Major
>
> *Calendar sync fails after logout OpenMeetings profile.*
> _(At this point I've tried ONLY Google CalDAV - had no time to test it with 
> some others)_
>  
> I was able to connect to Google Calendar via CalDAV (personal and G Suit):
> *External CalDAV Calendar URL:* 
> [https://www.google.com/calendar/dav/my_usern...@gmail.com/events]
>  *Username:* [my_usern...@gmail.com|mailto:my_usern...@gmail.com]
>  *Password:* MyPassword
>  
> *What's working after I've added Google Calendar* (as CalDAV):
>  # I'm able to sync my existing events from Google calendar to OM.
>  # I can create an event for this particular Google Calendar (by selecting 
> appropriate calendar when creating event).
>  # I can see newly created events via Google Calendar in the OM calendar.
>  # I can change/delete in both Google Calendar/OM - sync is working perfectly 
> between them.
>  # I can press sync button and it works - events are really synced for 
> several seconds faster as OM would sync it automatically.
> *But after I log out and log in OM:*
>  # I can only see events, which were created before I log out.
>  # OM and Google calendar are on their own - they can't sync with each other, 
> when there are creations/changes/delete of events in Google calendar and/or 
> in OM.
>  # When I click on Calendar name in OM I can only change the name of the 
> calendar, but not credential side.
>  # When clicking the Sync button a "syncing wheel" appears for a second or 
> two BUT it doesn't make any sense - sync is not working.
> *I can delete Google calendar sync and create it again, but it works only 
> before I log out.*
> _P.S. I couldn't set up my Google Calendar via OM's standard option for 
> Google (if somebody has it working please tell me, what are the correct API 
> key (I've created some in Google Dev Console, tried some tutorials but still 
> no luck))._



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OPENMEETINGS-1884) The text tool of a text-field to text-Area

2018-05-10 Thread JIRA

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

Jorge Alberto Londoño Giraldo commented on OPENMEETINGS-1884:
-

I think that the text tool should always allow to slide the area in width and 
height, (as in Illustrator) that has a handle to expand the width and height of 
the text field.

 

> The text tool of a text-field to text-Area
> --
>
> Key: OPENMEETINGS-1884
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1884
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: HTML5/Dashboard
>Affects Versions: 4.0.3
> Environment: Ubuntu 
>Reporter: Jorge Alberto Londoño Giraldo
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: Captura de pantalla 2018-05-10 a la(s) 6.28.52 p. m..png
>
>
> The text tool is a text-field, it would be important that it be a text-area, 
> which would allow that when copying and pasting a paragraph the text flows in 
> several lines and not as it currently increases the width and leaves the area 
> of the blackboard



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OPENMEETINGS-1884) The text tool of a text-field to text-Area

2018-05-10 Thread JIRA

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

Jorge Alberto Londoño Giraldo updated OPENMEETINGS-1884:

Attachment: Captura de pantalla 2018-05-10 a la(s) 6.28.52 p. m..png

> The text tool of a text-field to text-Area
> --
>
> Key: OPENMEETINGS-1884
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1884
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: HTML5/Dashboard
>Affects Versions: 4.0.3
> Environment: Ubuntu 
>Reporter: Jorge Alberto Londoño Giraldo
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: Captura de pantalla 2018-05-10 a la(s) 6.28.52 p. m..png
>
>
> The text tool is a text-field, it would be important that it be a text-area, 
> which would allow that when copying and pasting a paragraph the text flows in 
> several lines and not as it currently increases the width and leaves the area 
> of the blackboard



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (OPENMEETINGS-1884) The text tool of a text-field to text-Area

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik updated OPENMEETINGS-1884:
---
Component/s: (was: HTML5/Dashboard)
 HTML5/WhiteBoard

> The text tool of a text-field to text-Area
> --
>
> Key: OPENMEETINGS-1884
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1884
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3
> Environment: Ubuntu 
>Reporter: Jorge Alberto Londoño Giraldo
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: Captura de pantalla 2018-05-10 a la(s) 6.28.52 p. m..png
>
>
> The text tool is a text-field, it would be important that it be a text-area, 
> which would allow that when copying and pasting a paragraph the text flows in 
> several lines and not as it currently increases the width and leaves the area 
> of the blackboard



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (OPENMEETINGS-1884) The text tool of a text-field to text-Area

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik commented on OPENMEETINGS-1884:


I assume you are talking about "text on whiteboard"

Currently you can have multi-line text on WB, just enter line break ...

> The text tool of a text-field to text-Area
> --
>
> Key: OPENMEETINGS-1884
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1884
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: HTML5/WhiteBoard
>Affects Versions: 4.0.3
> Environment: Ubuntu 
>Reporter: Jorge Alberto Londoño Giraldo
>Assignee: Maxim Solodovnik
>Priority: Major
> Attachments: Captura de pantalla 2018-05-10 a la(s) 6.28.52 p. m..png
>
>
> The text tool is a text-field, it would be important that it be a text-area, 
> which would allow that when copying and pasting a paragraph the text flows in 
> several lines and not as it currently increases the width and leaves the area 
> of the blackboard



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[openmeetings] branch master updated: no jira: logging is improved

2018-05-10 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 6c87a29  no jira: logging is improved
6c87a29 is described below

commit 6c87a292c538dfe51864b6ca8b2f6ce52d291d81
Author: Maxim Solodovnik 
AuthorDate: Fri May 11 10:28:12 2018 +0700

no jira: logging is improved
---
 .../java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
index 24beb6c..ba58bb8 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
@@ -53,6 +53,8 @@ import 
org.apache.wicket.request.resource.JavaScriptResourceReference;
 import org.apache.wicket.spring.injection.annot.SpringBean;
 import org.apache.wicket.util.lang.Bytes;
 import org.apache.wicket.util.string.Strings;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import com.googlecode.wicket.jquery.core.Options;
 import com.googlecode.wicket.jquery.ui.widget.dialog.AbstractFormDialog;
@@ -61,6 +63,7 @@ import 
com.googlecode.wicket.kendo.ui.panel.KendoFeedbackPanel;
 
 public class UploadDialog extends AbstractFormDialog {
private static final long serialVersionUID = 1L;
+   private static final Logger log = 
LoggerFactory.getLogger(UploadDialog.class);
private final KendoFeedbackPanel feedback = new 
KendoFeedbackPanel("feedback", new Options("button", true));
private final Form form;
private DialogButton upload;
@@ -215,7 +218,8 @@ public class UploadDialog extends 
AbstractFormDialog {
}
}
} catch (Exception e) {
-   form.error(e.getMessage());
+   log.error("Unexpected error while 
processing uploaded file", e);
+   form.error(e.getMessage() == null ? 
"Unexpected error" : e.getMessage());
} finally {
fu.closeStreams();
fu.delete();

-- 
To stop receiving notification emails like this one, please contact
solo...@apache.org.


[jira] [Commented] (OPENMEETINGS-1882) Can't delete user - E-Mail required

2018-05-10 Thread Maxim Solodovnik (JIRA)

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

Maxim Solodovnik commented on OPENMEETINGS-1882:


Just have tried this on local OM (latest built from sources)

And the issue is not reproducible

 

My steps:
 # create regular user via Admin
 # stop OM
 # clear email on newly created user via MySql Workbench
 # start OM
 # login ad Admin
 # delete user

please provide additional info how this can be reproduced

> Can't delete user - E-Mail required
> ---
>
> Key: OPENMEETINGS-1882
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1882
> Project: Openmeetings
>  Issue Type: Bug
>  Components: HTML5/Admin, LDAP
>Affects Versions: 4.0.3, 4.0.4
>Reporter: Leonid
>Assignee: Maxim Solodovnik
>Priority: Major
>
> I don't know is it a bug...
> When trying to delete an LDAP user WITHOUT e-mail address specified I'm 
> getting error {color:#d04437}*'Email address' is required* {color:#33}and 
> {color:#d04437}*Email address*{color} field is highlighted with 
> red.{color}{color}
> {color:#d04437}{color:#33}So, before deleting user I need to specify 
> anything with '*@*' sign.{color}{color}
> {color:#d04437}{color:#33}This applies to *LDAP* users with *no e-mail 
> address* set in his domain profile.{color}{color}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[openmeetings] branch 4.0.x updated: no jira: logging is improved

2018-05-10 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/4.0.x by this push:
 new 8d1b544  no jira: logging is improved
8d1b544 is described below

commit 8d1b5447caa9c15d764d4b896b11ed3d0611bcbb
Author: Maxim Solodovnik 
AuthorDate: Fri May 11 10:28:12 2018 +0700

no jira: logging is improved
---
 .../org/apache/openmeetings/web/room/sidebar/UploadDialog.java | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
index 3d54349..f176519 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/sidebar/UploadDialog.java
@@ -19,6 +19,7 @@
 package org.apache.openmeetings.web.room.sidebar;
 
 import static 
org.apache.openmeetings.util.OpenmeetingsVariables.getMaxUploadSize;
+import static 
org.apache.openmeetings.util.OpenmeetingsVariables.getWebAppRootKey;
 import static org.apache.openmeetings.web.app.Application.getBean;
 import static org.apache.openmeetings.web.app.WebSession.getUserId;
 
@@ -53,6 +54,8 @@ import org.apache.wicket.model.Model;
 import org.apache.wicket.request.resource.JavaScriptResourceReference;
 import org.apache.wicket.util.lang.Bytes;
 import org.apache.wicket.util.string.Strings;
+import org.red5.logging.Red5LoggerFactory;
+import org.slf4j.Logger;
 
 import com.googlecode.wicket.jquery.core.Options;
 import com.googlecode.wicket.jquery.ui.widget.dialog.AbstractFormDialog;
@@ -61,6 +64,7 @@ import 
com.googlecode.wicket.kendo.ui.panel.KendoFeedbackPanel;
 
 public class UploadDialog extends AbstractFormDialog {
private static final long serialVersionUID = 1L;
+   private static final Logger log = 
Red5LoggerFactory.getLogger(UploadDialog.class, getWebAppRootKey());
private final KendoFeedbackPanel feedback = new 
KendoFeedbackPanel("feedback", new Options("button", true));
private final Form form;
private DialogButton upload;
@@ -211,7 +215,8 @@ public class UploadDialog extends 
AbstractFormDialog {
}
}
} catch (Exception e) {
-   form.error(e.getMessage());
+   log.error("Unexpected error while 
processing uploaded file", e);
+   form.error(e.getMessage() == null ? 
"Unexpected error" : e.getMessage());
} finally {
fu.closeStreams();
fu.delete();

-- 
To stop receiving notification emails like this one, please contact
solo...@apache.org.