[jira] [Updated] (OPENMEETINGS-2013) Openmeeting screen sharing function not working

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik updated OPENMEETINGS-2013:
---
Component/s: (was: Command line Admin)
 (was: Audio/Video)

> Openmeeting screen sharing function not working
> ---
>
> Key: OPENMEETINGS-2013
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2013
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Screen-sharing
>Affects Versions: 4.0.3
> Environment: centos / apache open meeting 4.0.3 /mysql
>Reporter: sufiyan thakur
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: performance
> Fix For: 4.0.3
>
> Attachments: jee-container.xml, red5-core.xml, red5.log
>
>
> Team,
> please help me out. m not able to access screen sharing option in my 
> openmeeting application.
> In error log m not getting logs. but in java advanced console its showing 
> "pkix path building failed 
> sun.security.provider.certpath.suncertpathbuilderexception" But we are using 
> go daddy certificate so no need to occur such errors.
> I Have attached log and container file.
> pls suggest.
>  



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


[jira] [Commented] (OPENMEETINGS-2013) Openmeeting screen sharing function not working

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik commented on OPENMEETINGS-2013:


[~sufiyan.thakur] I'm afraid files attached provide none useful information :(
Could you attach screenshare.log (usually can be found at user home of the 
client who have started screen-sharing app)

Could you also describe your config a bit?
Have you set up HTTPS? 
Have you set up RTMPS? Is it native or tunneled?

> Openmeeting screen sharing function not working
> ---
>
> Key: OPENMEETINGS-2013
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2013
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Audio/Video, Command line Admin, Screen-sharing
>Affects Versions: 4.0.3
> Environment: centos / apache open meeting 4.0.3 /mysql
>Reporter: sufiyan thakur
>Assignee: Maxim Solodovnik
>Priority: Critical
>  Labels: performance
> Fix For: 4.0.3
>
> Attachments: jee-container.xml, red5-core.xml, red5.log
>
>
> Team,
> please help me out. m not able to access screen sharing option in my 
> openmeeting application.
> In error log m not getting logs. but in java advanced console its showing 
> "pkix path building failed 
> sun.security.provider.certpath.suncertpathbuilderexception" But we are using 
> go daddy certificate so no need to occur such errors.
> I Have attached log and container file.
> pls suggest.
>  



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


[jira] [Updated] (OPENMEETINGS-1994) Math form dialog: Add link or help to the required syntax

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

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

> Math form dialog: Add link or help to the required syntax
> -
>
> Key: OPENMEETINGS-1994
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1994
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-11-28-24-048.png, latexguide.png
>
>




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


[jira] [Resolved] (OPENMEETINGS-1994) Math form dialog: Add link or help to the required syntax

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik resolved OPENMEETINGS-1994.

   Resolution: Fixed
Fix Version/s: 4.0.8

> Math form dialog: Add link or help to the required syntax
> -
>
> Key: OPENMEETINGS-1994
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1994
> Project: Openmeetings
>  Issue Type: Improvement
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Fix For: 4.0.8
>
> Attachments: image-2019-02-08-11-28-24-048.png, latexguide.png
>
>




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


[jira] [Commented] (OPENMEETINGS-1994) Math form dialog: Add link or help to the required syntax

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

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

[OPENMEETINGS-1994] link to LaTeX guide is added


> Math form dialog: Add link or help to the required syntax
> -
>
> Key: OPENMEETINGS-1994
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1994
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-11-28-24-048.png, latexguide.png
>
>




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


[openmeetings] branch master updated: [OPENMEETINGS-1994] link to LaTeX guide is added

2019-02-11 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 9571875  [OPENMEETINGS-1994] link to LaTeX guide is added
9571875 is described below

commit 957187532a144031a306b1df976d1733693eca6d
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 23:05:42 2019 +0700

[OPENMEETINGS-1994] link to LaTeX guide is added
---
 .../java/org/apache/openmeetings/web/app/Application.properties.xml  | 2 ++
 .../org/apache/openmeetings/web/app/Application_ar.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_bg.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_bn.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_ca.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_cs.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_da.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_de.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_el.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_es.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_fa.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_fi.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_fr.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_gl.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_he.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_hu.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_in.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_it.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_ja.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_ko.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_nl.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_pl.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_pt.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_pt_BR.properties.xml | 2 ++
 .../org/apache/openmeetings/web/app/Application_ru.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_sk.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_sv.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_th.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_tr.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_uk.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_zh_CN.properties.xml | 2 ++
 .../org/apache/openmeetings/web/app/Application_zh_TW.properties.xml | 2 ++
 .../src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.html   | 5 -
 openmeetings-web/src/main/webapp/css/raw-wb.css  | 3 +++
 34 files changed, 71 insertions(+), 1 deletion(-)

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 f9686ed..9a05a18 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
@@ -991,4 +991,6 @@ see https://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
index 9fca165..9f7bb8a 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
@@ -991,4 +991,6 @@ see https://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
index a2acfb0..5360533 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
@@ -991,4 +991,6 @@ see https://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bn.properties.xml
 

[jira] [Commented] (OPENMEETINGS-1994) Math form dialog: Add link or help to the required syntax

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

Commit f63cadead13f448b27a19f307d40fd4098712cf9 in openmeetings's branch 
refs/heads/4.0.x from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=f63cade ]

[OPENMEETINGS-1994] link to LaTeX guide is added


> Math form dialog: Add link or help to the required syntax
> -
>
> Key: OPENMEETINGS-1994
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1994
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-11-28-24-048.png, latexguide.png
>
>




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


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1994] link to LaTeX guide is added

2019-02-11 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 f63cade  [OPENMEETINGS-1994] link to LaTeX guide is added
f63cade is described below

commit f63cadead13f448b27a19f307d40fd4098712cf9
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 23:05:42 2019 +0700

[OPENMEETINGS-1994] link to LaTeX guide is added
---
 .../java/org/apache/openmeetings/web/app/Application.properties.xml  | 2 ++
 .../org/apache/openmeetings/web/app/Application_ar.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_bg.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_bn.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_ca.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_cs.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_da.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_de.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_el.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_es.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_fa.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_fi.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_fr.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_gl.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_he.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_hu.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_in.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_it.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_ja.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_ko.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_nl.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_pl.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_pt.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_pt_BR.properties.xml | 2 ++
 .../org/apache/openmeetings/web/app/Application_ru.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_sk.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_sv.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_th.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_tr.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_uk.properties.xml| 2 ++
 .../org/apache/openmeetings/web/app/Application_zh_CN.properties.xml | 2 ++
 .../org/apache/openmeetings/web/app/Application_zh_TW.properties.xml | 2 ++
 .../src/main/java/org/apache/openmeetings/web/room/wb/WbPanel.html   | 5 -
 openmeetings-web/src/main/webapp/css/raw-wb.css  | 3 +++
 34 files changed, 71 insertions(+), 1 deletion(-)

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 f9686ed..9a05a18 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
@@ -991,4 +991,6 @@ see https://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
index 9fca165..9f7bb8a 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_ar.properties.xml
@@ -991,4 +991,6 @@ see https://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
index a2acfb0..5360533 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bg.properties.xml
@@ -991,4 +991,6 @@ see https://openmeetings.apache.org/LanguageEditor.html for 
Details



+   
+   
 
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/app/Application_bn.properties.xml
 

[jira] [Updated] (OPENMEETINGS-2015) Pointer shouldn't be scaled

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik updated OPENMEETINGS-2015:
---
Affects Version/s: (was: 4.0.8)
   4.0.7

> Pointer shouldn't be scaled
> ---
>
> Key: OPENMEETINGS-2015
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2015
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-09-06-40-798.png, 
> image-2019-02-08-09-08-46-029.png
>
>
> Pointer will be scaled with the whiteboard. This is bad for smaller screens. 
> Usernames are not readable. One need to guess who used the pointer right now.
> !image-2019-02-08-09-06-40-798.png!
> !image-2019-02-08-09-08-46-029.png!



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


[jira] [Resolved] (OPENMEETINGS-2015) Pointer shouldn't be scaled

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik resolved OPENMEETINGS-2015.

   Resolution: Fixed
Fix Version/s: 4.0.8

> Pointer shouldn't be scaled
> ---
>
> Key: OPENMEETINGS-2015
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2015
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Fix For: 4.0.8
>
> Attachments: image-2019-02-08-09-06-40-798.png, 
> image-2019-02-08-09-08-46-029.png
>
>
> Pointer will be scaled with the whiteboard. This is bad for smaller screens. 
> Usernames are not readable. One need to guess who used the pointer right now.
> !image-2019-02-08-09-06-40-798.png!
> !image-2019-02-08-09-08-46-029.png!



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


[jira] [Commented] (OPENMEETINGS-2015) Pointer shouldn't be scaled

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

Commit 856b9fdc3b9b55fbaab11467023cedc7e4594de0 in openmeetings's branch 
refs/heads/4.0.x from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=856b9fd ]

[OPENMEETINGS-2015] animted pointer is scaled inversely to WB


> Pointer shouldn't be scaled
> ---
>
> Key: OPENMEETINGS-2015
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2015
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-09-06-40-798.png, 
> image-2019-02-08-09-08-46-029.png
>
>
> Pointer will be scaled with the whiteboard. This is bad for smaller screens. 
> Usernames are not readable. One need to guess who used the pointer right now.
> !image-2019-02-08-09-06-40-798.png!
> !image-2019-02-08-09-08-46-029.png!



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


[openmeetings] branch master updated: [OPENMEETINGS-2015] animted pointer is scaled inversely to WB

2019-02-11 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 ae06015  [OPENMEETINGS-2015] animted pointer is scaled inversely to WB
ae06015 is described below

commit ae060157f2e88a200292d2d1f3f8e6ae852b31d7
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 22:38:14 2019 +0700

[OPENMEETINGS-2015] animted pointer is scaled inversely to WB
---
 .../main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js | 3 +++
 .../src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js  | 3 +++
 2 files changed, 6 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
index 7947ed9..fcec230 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
@@ -4,6 +4,7 @@ var APointer = function(wb, s) {
pointer.user = '';
pointer.create = function(canvas, o) {
fabric.Image.fromURL('./css/images/pointer.png', function(img) {
+   const scale = 1. / wb.getZoom();
img.set({
left:15
, originX: 'right'
@@ -34,6 +35,8 @@ var APointer = function(wb, s) {
const group = new fabric.Group([circle1, circle2, img, 
text], {
left: o.x - 20
, top: o.y - 20
+   , scaleX: scale
+   , scaleY: scale
});
 
canvas.add(group);
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
index 1fee592..2837bfb 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
@@ -914,5 +914,8 @@ var Wb = function() {
wb.getFormula = function() {
return f;
};
+   wb.getZoom = function() {
+   return zoom;
+   }
return wb;
 };



[jira] [Commented] (OPENMEETINGS-2015) Pointer shouldn't be scaled

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

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

[OPENMEETINGS-2015] animted pointer is scaled inversely to WB


> Pointer shouldn't be scaled
> ---
>
> Key: OPENMEETINGS-2015
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2015
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-09-06-40-798.png, 
> image-2019-02-08-09-08-46-029.png
>
>
> Pointer will be scaled with the whiteboard. This is bad for smaller screens. 
> Usernames are not readable. One need to guess who used the pointer right now.
> !image-2019-02-08-09-06-40-798.png!
> !image-2019-02-08-09-08-46-029.png!



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


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-2015] animted pointer is scaled inversely to WB

2019-02-11 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 856b9fd  [OPENMEETINGS-2015] animted pointer is scaled inversely to WB
856b9fd is described below

commit 856b9fdc3b9b55fbaab11467023cedc7e4594de0
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 22:38:14 2019 +0700

[OPENMEETINGS-2015] animted pointer is scaled inversely to WB
---
 .../main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js | 3 +++
 .../src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js  | 3 +++
 2 files changed, 6 insertions(+)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
index 7947ed9..fcec230 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-tool-apointer.js
@@ -4,6 +4,7 @@ var APointer = function(wb, s) {
pointer.user = '';
pointer.create = function(canvas, o) {
fabric.Image.fromURL('./css/images/pointer.png', function(img) {
+   const scale = 1. / wb.getZoom();
img.set({
left:15
, originX: 'right'
@@ -34,6 +35,8 @@ var APointer = function(wb, s) {
const group = new fabric.Group([circle1, circle2, img, 
text], {
left: o.x - 20
, top: o.y - 20
+   , scaleX: scale
+   , scaleY: scale
});
 
canvas.add(group);
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
index b97e4ad..d9e37de 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/raw-wb-board.js
@@ -904,5 +904,8 @@ var Wb = function() {
wb.getFormula = function() {
return f;
};
+   wb.getZoom = function() {
+   return zoom;
+   }
return wb;
 };



[jira] [Updated] (OPENMEETINGS-2015) Pointer shouldn't be scaled

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik updated OPENMEETINGS-2015:
---
Component/s: WhiteBoard

> Pointer shouldn't be scaled
> ---
>
> Key: OPENMEETINGS-2015
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2015
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.8
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-09-06-40-798.png, 
> image-2019-02-08-09-08-46-029.png
>
>
> Pointer will be scaled with the whiteboard. This is bad for smaller screens. 
> Usernames are not readable. One need to guess who used the pointer right now.
> !image-2019-02-08-09-06-40-798.png!
> !image-2019-02-08-09-08-46-029.png!



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


[jira] [Commented] (OPENMEETINGS-1856) Sonar issues need to be addressed

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

Commit 0023a4241d81fd5fb5b68ee79f2dc4f39ce633ae in openmeetings's branch 
refs/heads/4.0.x from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=0023a42 ]

[OPENMEETINGS-1856] minor issue reported by Sonar


> Sonar issues need to be addressed
> -
>
> Key: OPENMEETINGS-1856
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1856
> Project: Openmeetings
>  Issue Type: Task
>  Components: Builds
>Affects Versions: 5.0.0
>Reporter: Maxim Solodovnik
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 5.0.0
>
>
> Sonar issues need to be addressed



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


[openmeetings] branch master updated (8380e4d -> c8701c4)

2019-02-11 Thread solomax
This is an automated email from the ASF dual-hosted git repository.

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


from 8380e4d  [OPENMEETINGS-1990] timestamps are now client based
 new 78f3c93  [OPENMEETINGS-1856] minor issue reported by Sonar
 new c8701c4  [OPENMEETINGS-1856] minor issue reported by Sonar

The 2096 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/openmeetings/web/app/Application.java  | 2 +-
 .../src/main/java/org/apache/openmeetings/web/room/RoomPanel.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[jira] [Commented] (OPENMEETINGS-1856) Sonar issues need to be addressed

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

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

[OPENMEETINGS-1856] minor issue reported by Sonar


> Sonar issues need to be addressed
> -
>
> Key: OPENMEETINGS-1856
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1856
> Project: Openmeetings
>  Issue Type: Task
>  Components: Builds
>Affects Versions: 5.0.0
>Reporter: Maxim Solodovnik
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 5.0.0
>
>
> Sonar issues need to be addressed



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


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1856] minor issue reported by Sonar

2019-02-11 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 0023a42  [OPENMEETINGS-1856] minor issue reported by Sonar
0023a42 is described below

commit 0023a4241d81fd5fb5b68ee79f2dc4f39ce633ae
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 19:59:06 2019 +0700

[OPENMEETINGS-1856] minor issue reported by Sonar
---
 .../src/main/java/org/apache/openmeetings/web/app/Application.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 3201aa6..e6075ae 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
@@ -229,7 +229,7 @@ public class Application extends 
AuthenticatedWebApplication implements IApplica
});
final WsServerContainer sc = 
(WsServerContainer)getServletContext().getAttribute(SERVER_CONTAINER_SERVLET_CONTEXT_ATTRIBUTE);
if (sc != null) {
-   sc.setDefaultMaxSessionIdleTimeout(60 * 1000); // 
should be enough, should it be configurable?
+   sc.setDefaultMaxSessionIdleTimeout(60 * 1000L); // 
should be enough, should it be configurable?
}
super.init();
 



[jira] [Resolved] (OPENMEETINGS-1992) Despite all our efforts, we were not able to get screen sharing to work under Windows or on the Mac.

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik resolved OPENMEETINGS-1992.

Resolution: Cannot Reproduce

> Despite all our efforts, we were not able to get screen sharing to work under 
> Windows or on the Mac.
> 
>
> Key: OPENMEETINGS-1992
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1992
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Screen-sharing
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
>




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


[jira] [Commented] (OPENMEETINGS-1992) Despite all our efforts, we were not able to get screen sharing to work under Windows or on the Mac.

2019-02-11 Thread Raphael Fetzer (JIRA)


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

Raphael Fetzer commented on OPENMEETINGS-1992:
--

Now with Java 8 it works as expected, too. (y)

> Despite all our efforts, we were not able to get screen sharing to work under 
> Windows or on the Mac.
> 
>
> Key: OPENMEETINGS-1992
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1992
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Screen-sharing
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
>




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


[jira] [Resolved] (OPENMEETINGS-1990) Chat timestamps should use the receiver's datetime format

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik resolved OPENMEETINGS-1990.

Resolution: Fixed

Should be fixed,

 

would appreciate if you can test

> Chat timestamps should use the receiver's datetime format
> -
>
> Key: OPENMEETINGS-1990
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1990
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Chat
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 4.0.8
>
>
> Currently the timestamp use the sender's date format which leads to different 
> time formats in the chat list if users with different settings chat in the 
> same room (mix of DD.MM. und MM/DD, AM/PM/24h)



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


[jira] [Commented] (OPENMEETINGS-1990) Chat timestamps should use the receiver's datetime format

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

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

[OPENMEETINGS-1990] timestamps are now client based


> Chat timestamps should use the receiver's datetime format
> -
>
> Key: OPENMEETINGS-1990
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1990
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Chat
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 4.0.8
>
>
> Currently the timestamp use the sender's date format which leads to different 
> time formats in the chat list if users with different settings chat in the 
> same room (mix of DD.MM. und MM/DD, AM/PM/24h)



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


[openmeetings] branch master updated: [OPENMEETINGS-1990] timestamps are now client based

2019-02-11 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 8380e4d  [OPENMEETINGS-1990] timestamps are now client based
8380e4d is described below

commit 8380e4da65a9d38bfe55aa4f413b43318df0aed0
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 17:31:35 2019 +0700

[OPENMEETINGS-1990] timestamps are now client based
---
 .../core/util/ChatWebSocketHelper.java | 147 +
 .../openmeetings/core/util/WebSocketHelper.java| 145 +---
 .../{WsMessageUser.java => WsMessageChat2All.java} |  21 +--
 ...{WsMessageUser.java => WsMessageChat2User.java} |  15 +--
 .../openmeetings/core/util/ws/WsMessageUser.java   |  11 +-
 .../openmeetings/db/manager/IClientManager.java|   1 +
 .../apache/openmeetings/web/app/ClientManager.java |   1 +
 .../web/room/wb/WbWebSocketHelper.java |   4 +-
 .../apache/openmeetings/web/user/chat/Chat.java|  12 +-
 .../openmeetings/web/user/chat/ChatForm.java   |  16 +--
 .../openmeetings/web/user/chat/ChatPanel.java  |   2 +-
 .../openmeetings/web/user/chat/ChatToolbar.java|   4 +-
 12 files changed, 221 insertions(+), 158 deletions(-)

diff --git 
a/openmeetings-core/src/main/java/org/apache/openmeetings/core/util/ChatWebSocketHelper.java
 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/util/ChatWebSocketHelper.java
new file mode 100644
index 000..7a2951a
--- /dev/null
+++ 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/util/ChatWebSocketHelper.java
@@ -0,0 +1,147 @@
+/*
+ * 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.core.util;
+
+import java.util.List;
+import java.util.function.BiConsumer;
+
+import org.apache.commons.lang3.time.FastDateFormat;
+import org.apache.openmeetings.IApplication;
+import org.apache.openmeetings.core.util.ws.WsMessageChat;
+import org.apache.openmeetings.core.util.ws.WsMessageChat2All;
+import org.apache.openmeetings.core.util.ws.WsMessageChat2User;
+import org.apache.openmeetings.db.entity.basic.ChatMessage;
+import org.apache.openmeetings.db.entity.room.Room.Right;
+import org.apache.openmeetings.db.entity.user.User;
+import org.apache.openmeetings.db.manager.IClientManager;
+import org.apache.openmeetings.db.util.FormatHelper;
+import org.apache.openmeetings.util.ws.IClusterWsMessage;
+
+import com.github.openjson.JSONArray;
+import com.github.openjson.JSONObject;
+
+public class ChatWebSocketHelper extends WebSocketHelper {
+   public static final String ID_TAB_PREFIX = "chatTab-";
+   public static final String ID_ALL = ID_TAB_PREFIX + "all";
+   public static final String ID_ROOM_PREFIX = ID_TAB_PREFIX + "r";
+   public static final String ID_USER_PREFIX = ID_TAB_PREFIX + "u";
+
+   private static JSONObject setScope(JSONObject o, ChatMessage m, long 
curUserId) {
+   String scope, scopeName = null;
+   if (m.getToUser() != null) {
+   User u = curUserId == m.getToUser().getId() ? 
m.getFromUser() : m.getToUser();
+   scope = ID_USER_PREFIX + u.getId();
+   scopeName = u.getDisplayName();
+   } else if (m.getToRoom() != null) {
+   scope = ID_ROOM_PREFIX + m.getToRoom().getId();
+   o.put("needModeration", m.isNeedModeration());
+   } else {
+   scope = ID_ALL;
+   }
+   return o.put("scope", scope).put("scopeName", scopeName);
+   }
+
+   public static JSONObject getMessage(User curUser, List 
list, BiConsumer uFmt) {
+   JSONArray arr = new JSONArray();
+   for (ChatMessage m : list) {
+   String smsg = m.getMessage();
+   smsg = smsg == null ? smsg : " " + 
smsg.replaceAll("", " ") + " ";
+   JSONObject from = new JSONObject()
+   .put("id", m.getFromUser().getId())
+   

[jira] [Commented] (OPENMEETINGS-1990) Chat timestamps should use the receiver's datetime format

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

Commit 5137f8fdbfd7ae21c2ff4c7cda2471bdf1af88d3 in openmeetings's branch 
refs/heads/4.0.x from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=5137f8f ]

[OPENMEETINGS-1990] timestamps are now client based


> Chat timestamps should use the receiver's datetime format
> -
>
> Key: OPENMEETINGS-1990
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1990
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Chat
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 4.0.8
>
>
> Currently the timestamp use the sender's date format which leads to different 
> time formats in the chat list if users with different settings chat in the 
> same room (mix of DD.MM. und MM/DD, AM/PM/24h)



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


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-1990] timestamps are now client based

2019-02-11 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 5137f8f  [OPENMEETINGS-1990] timestamps are now client based
5137f8f is described below

commit 5137f8fdbfd7ae21c2ff4c7cda2471bdf1af88d3
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 17:31:35 2019 +0700

[OPENMEETINGS-1990] timestamps are now client based
---
 .../openmeetings/core/remote/MobileService.java|   3 +-
 .../core/util/ChatWebSocketHelper.java | 147 +
 .../openmeetings/core/util/WebSocketHelper.java| 141 +---
 .../{WsMessageUser.java => WsMessageChat2All.java} |  21 +--
 ...{WsMessageUser.java => WsMessageChat2User.java} |  15 +--
 .../openmeetings/core/util/ws/WsMessageUser.java   |  11 +-
 .../openmeetings/db/manager/IClientManager.java|   1 +
 .../apache/openmeetings/web/app/ClientManager.java |   1 +
 .../web/room/wb/WbWebSocketHelper.java |   4 +-
 .../apache/openmeetings/web/user/chat/Chat.java|  12 +-
 .../openmeetings/web/user/chat/ChatForm.java   |  16 +--
 .../openmeetings/web/user/chat/ChatPanel.java  |   2 +-
 .../openmeetings/web/user/chat/ChatToolbar.java|   4 +-
 13 files changed, 221 insertions(+), 157 deletions(-)

diff --git 
a/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/MobileService.java
 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/MobileService.java
index 83857bd..aee336e 100644
--- 
a/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/MobileService.java
+++ 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/remote/MobileService.java
@@ -44,6 +44,7 @@ import java.util.UUID;
 import org.apache.commons.lang3.time.FastDateFormat;
 import 
org.apache.openmeetings.core.remote.ScopeApplicationAdapter.MessageSender;
 import org.apache.openmeetings.core.service.MainService;
+import org.apache.openmeetings.core.util.ChatWebSocketHelper;
 import org.apache.openmeetings.core.util.IClientUtil;
 import org.apache.openmeetings.core.util.WebSocketHelper;
 import org.apache.openmeetings.db.dao.basic.ChatDao;
@@ -399,7 +400,7 @@ public class MobileService {
chatDao.update(m);
FastDateFormat fmt = FormatHelper.getDateTimeFormat(u);
sendChatMessage(c, m, fmt);
-   WebSocketHelper.sendRoom(m, WebSocketHelper.getMessage(u, 
Arrays.asList(m), null));
+   ChatWebSocketHelper.sendRoom(m, 
ChatWebSocketHelper.getMessage(u, Arrays.asList(m), null));
}
 
public void sendChatMessage(String uid, ChatMessage m, FastDateFormat 
fmt) {
diff --git 
a/openmeetings-core/src/main/java/org/apache/openmeetings/core/util/ChatWebSocketHelper.java
 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/util/ChatWebSocketHelper.java
new file mode 100644
index 000..1db9a71
--- /dev/null
+++ 
b/openmeetings-core/src/main/java/org/apache/openmeetings/core/util/ChatWebSocketHelper.java
@@ -0,0 +1,147 @@
+/*
+ * 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.core.util;
+
+import java.util.List;
+import java.util.function.BiConsumer;
+
+import org.apache.commons.lang3.time.FastDateFormat;
+import org.apache.openmeetings.IApplication;
+import org.apache.openmeetings.core.util.ws.WsMessageChat;
+import org.apache.openmeetings.core.util.ws.WsMessageChat2All;
+import org.apache.openmeetings.core.util.ws.WsMessageChat2User;
+import org.apache.openmeetings.db.entity.basic.ChatMessage;
+import org.apache.openmeetings.db.entity.room.Room.Right;
+import org.apache.openmeetings.db.entity.user.User;
+import org.apache.openmeetings.db.manager.IClientManager;
+import org.apache.openmeetings.db.util.FormatHelper;
+import org.apache.openmeetings.util.ws.IClusterWsMessage;
+
+import com.github.openjson.JSONArray;
+import com.github.openjson.JSONObject;
+
+public class ChatWebSocketHelper extends WebSocketHelper {
+   public static final String ID_TAB_PREFIX = "chatTab-";
+   public static final String ID_ALL = 

[jira] [Commented] (OPENMEETINGS-1994) Math form dialog: Add link or help to the required syntax

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik commented on OPENMEETINGS-1994:


Thanks [~fetzer]!

Will see what I can do about it :)

> Math form dialog: Add link or help to the required syntax
> -
>
> Key: OPENMEETINGS-1994
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1994
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-11-28-24-048.png, latexguide.png
>
>




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


[jira] [Commented] (OPENMEETINGS-1994) Math form dialog: Add link or help to the required syntax

2019-02-11 Thread Raphael Fetzer (JIRA)


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

Raphael Fetzer commented on OPENMEETINGS-1994:
--

I think at least giving the syntax name would help a lot.

I'd propose something like that:

!latexguide.png!

Link could go to https://en.wikibooks.org/wiki/LaTeX/Mathematics

> Math form dialog: Add link or help to the required syntax
> -
>
> Key: OPENMEETINGS-1994
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-1994
> Project: Openmeetings
>  Issue Type: Bug
>  Components: WhiteBoard
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Minor
> Attachments: image-2019-02-08-11-28-24-048.png, latexguide.png
>
>




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


[jira] [Resolved] (OPENMEETINGS-2008) chat still visible for connected clients after clean

2019-02-11 Thread Maxim Solodovnik (JIRA)


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

Maxim Solodovnik resolved OPENMEETINGS-2008.

Resolution: Fixed

> chat still visible for connected clients after clean
> 
>
> Key: OPENMEETINGS-2008
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2008
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Chat
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 4.0.8
>
>
> when using chat clean, chat will be deleted for the user that used claen but 
> it is still visible for others. After re-entry chat is cleaned



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


[jira] [Commented] (OPENMEETINGS-2008) chat still visible for connected clients after clean

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

Commit 7e9e6cb992e779ed31ddbb4ab737a7eb8b380697 in openmeetings's branch 
refs/heads/4.0.x from Maxim Solodovnik
[ https://gitbox.apache.org/repos/asf?p=openmeetings.git;h=7e9e6cb ]

[OPENMEETINGS-2008] chat clean affects all users


> chat still visible for connected clients after clean
> 
>
> Key: OPENMEETINGS-2008
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2008
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Chat
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 4.0.8
>
>
> when using chat clean, chat will be deleted for the user that used claen but 
> it is still visible for others. After re-entry chat is cleaned



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


[openmeetings] branch 4.0.x updated: [OPENMEETINGS-2008] chat clean affects all users

2019-02-11 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 7e9e6cb  [OPENMEETINGS-2008] chat clean affects all users
7e9e6cb is described below

commit 7e9e6cb992e779ed31ddbb4ab737a7eb8b380697
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 15:01:35 2019 +0700

[OPENMEETINGS-2008] chat clean affects all users
---
 .../openmeetings/web/user/chat/ChatToolbar.java  | 20 +++-
 .../apache/openmeetings/web/user/chat/raw-chat.js|  6 +-
 2 files changed, 16 insertions(+), 10 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
index 62872a7..f90cab1 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
@@ -33,6 +33,7 @@ import java.util.List;
 
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.openmeetings.core.util.WebSocketHelper;
 import org.apache.openmeetings.db.dao.basic.ChatDao;
 import org.apache.openmeetings.db.entity.basic.ChatMessage;
 import org.apache.openmeetings.db.entity.user.User;
@@ -50,6 +51,7 @@ import 
org.apache.wicket.request.resource.ResourceStreamResource;
 import org.apache.wicket.util.resource.IResourceStream;
 import org.apache.wicket.util.resource.StringResourceStream;
 
+import com.github.openjson.JSONObject;
 import com.googlecode.wicket.jquery.core.IJQueryWidget.JQueryWidget;
 import com.googlecode.wicket.jquery.ui.plugins.wysiwyg.toolbar.IWysiwygToolbar;
 
@@ -180,26 +182,26 @@ public class ChatToolbar extends Panel implements 
IWysiwygToolbar {
 
@Override
protected void onSubmit(AjaxRequestTarget target) {
-   final ChatDao dao = getBean(ChatDao.class);
+   final ChatDao chatDao = getBean(ChatDao.class);
final String scope = chatForm.getScope();
final boolean admin = 
hasAdminLevel(getRights());
chatForm.process(
() -> {
if (admin) {
-   dao.deleteGlobal();
-   clean(target, ID_ALL);
+   chatDao.deleteGlobal();
+   
WebSocketHelper.sendAll(cleanMsg(ID_ALL).toString());
}
return true;
}
, r -> {
if (admin || 
isModerator(getUserId(), r.getId())) {
-   
dao.deleteRoom(r.getId());
-   clean(target, scope);
+   
chatDao.deleteRoom(r.getId());
+   
WebSocketHelper.sendRoom(r.getId(), cleanMsg(scope));
}
return true;
}, u -> {
-   dao.deleteUser(u.getId());
-   clean(target, scope);
+   chatDao.deleteUser(u.getId());
+   
WebSocketHelper.sendUser(u.getId(), cleanMsg(scope).toString());
return true;
});
}
@@ -217,8 +219,8 @@ public class ChatToolbar extends Panel implements 
IWysiwygToolbar {
}));
}
 
-   private static void clean(AjaxRequestTarget target, String scope) {
-   target.appendJavaScript("$('#" + scope + "').html('')");
+   private static JSONObject cleanMsg(String scope) {
+   return new JSONObject().put("type", "chat").put("action", 
"clean").put("scope", scope);
}
 
void update(AjaxRequestTarget target) {
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
index 366264d..d89e06b 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
+++ 

[jira] [Commented] (OPENMEETINGS-2008) chat still visible for connected clients after clean

2019-02-11 Thread ASF subversion and git services (JIRA)


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

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

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

[OPENMEETINGS-2008] chat clean affects all users


> chat still visible for connected clients after clean
> 
>
> Key: OPENMEETINGS-2008
> URL: https://issues.apache.org/jira/browse/OPENMEETINGS-2008
> Project: Openmeetings
>  Issue Type: Bug
>  Components: Chat
>Affects Versions: 4.0.7
>Reporter: Peter Dähn
>Assignee: Maxim Solodovnik
>Priority: Major
> Fix For: 4.0.8
>
>
> when using chat clean, chat will be deleted for the user that used claen but 
> it is still visible for others. After re-entry chat is cleaned



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


[openmeetings] branch master updated: [OPENMEETINGS-2008] chat clean affects all users

2019-02-11 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 467faec  [OPENMEETINGS-2008] chat clean affects all users
467faec is described below

commit 467faece48c246a191f8c5d9c709b31f91da51a4
Author: Maxim Solodovnik 
AuthorDate: Mon Feb 11 15:01:35 2019 +0700

[OPENMEETINGS-2008] chat clean affects all users
---
 .../org/apache/openmeetings/web/user/chat/ChatToolbar.java   | 12 +++-
 .../java/org/apache/openmeetings/web/user/chat/raw-chat.js   |  6 +-
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
index a635d3c..b87f1d8 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/ChatToolbar.java
@@ -32,6 +32,7 @@ import java.util.List;
 
 import javax.servlet.http.HttpServletResponse;
 
+import org.apache.openmeetings.core.util.WebSocketHelper;
 import org.apache.openmeetings.db.dao.basic.ChatDao;
 import org.apache.openmeetings.db.entity.basic.ChatMessage;
 import org.apache.openmeetings.db.entity.user.User;
@@ -51,6 +52,7 @@ import org.apache.wicket.spring.injection.annot.SpringBean;
 import org.apache.wicket.util.resource.IResourceStream;
 import org.apache.wicket.util.resource.StringResourceStream;
 
+import com.github.openjson.JSONObject;
 import com.googlecode.wicket.jquery.core.IJQueryWidget.JQueryWidget;
 import com.googlecode.wicket.jquery.ui.plugins.wysiwyg.toolbar.IWysiwygToolbar;
 
@@ -191,19 +193,19 @@ public class ChatToolbar extends Panel implements 
IWysiwygToolbar {
() -> {
if (admin) {
chatDao.deleteGlobal();
-   clean(target, ID_ALL);
+   
WebSocketHelper.sendAll(cleanMsg(ID_ALL).toString());
}
return true;
}
, r -> {
if (admin || isModerator(cm, 
getUserId(), r.getId())) {

chatDao.deleteRoom(r.getId());
-   clean(target, scope);
+   
WebSocketHelper.sendRoom(r.getId(), cleanMsg(scope));
}
return true;
}, u -> {
chatDao.deleteUser(u.getId());
-   clean(target, scope);
+   
WebSocketHelper.sendUser(u.getId(), cleanMsg(scope).toString());
return true;
});
}
@@ -221,8 +223,8 @@ public class ChatToolbar extends Panel implements 
IWysiwygToolbar {
}));
}
 
-   private static void clean(AjaxRequestTarget target, String scope) {
-   target.appendJavaScript("$('#" + scope + "').html('')");
+   private static JSONObject cleanMsg(String scope) {
+   return new JSONObject().put("type", "chat").put("action", 
"clean").put("scope", scope);
}
 
void update(AjaxRequestTarget target) {
diff --git 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
index f15537c..95d4ec2 100644
--- 
a/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
+++ 
b/openmeetings-web/src/main/java/org/apache/openmeetings/web/user/chat/raw-chat.js
@@ -439,7 +439,11 @@ $(function() {
if (m) {
switch(m.type) {
case "chat":
-   Chat.addMessage(m);
+   if ('clean' === m.action) {
+   $('#' + 
m.scope).html('');
+   } else {
+   Chat.addMessage(m);
+   }
break;