Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
On Tue, 29 Dec 2020 at 00:25, Ali Alhaidary wrote: > JQMIGRATE: Logging is active > jquery-migrate-1.3.0-ver-1579705815000.js:23:17 > console.trace() jquery-migrate-1.3.0-ver-1579705815000.js:45:13 > jQuery 4 > !!Disposing participant 05d26c13-5ef5-4709-bbcc-c76dde45d963 > main-ver-1579705815

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
 INFO 12-28 17:11:43.232 o.a.w.p.h.WebApplication:974 [main] - [OpenmeetingsApplication] Started Wicket version 9.2.0 in DEVELOPMENT mode On 12/28/20 8:14 PM, Ali Alhaidary wrote: OK, just changed 'DEPLOYMENT' to 'DEVELOPMENT' Ali On 12/28/20 8:04 PM, Ali Alhaidary wrote: it is not startin

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
OK, just changed 'DEPLOYMENT' to 'DEVELOPMENT' Ali On 12/28/20 8:04 PM, Ali Alhaidary wrote: it is not starting in DEVELOPMENT mode, could be the wrong place I added the parameter, so which section? Ali On 12/28/20 7:44 PM, Maxim Solodovnik wrote: your JS files are minified: "room-ver-0D3

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
it is not starting in DEVELOPMENT mode, could be the wrong place I added the parameter, so which section? Ali On 12/28/20 7:44 PM, Maxim Solodovnik wrote: your JS files are minified: "room-ver-0D35E94F9198DB2AA6457B3C1D706B70.js:1:10564" (+ all variables has useless names) So I guess the mod

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
your JS files are minified: "room-ver-0D35E94F9198DB2AA6457B3C1D706B70.js:1:10564" (+ all variables has useless names) So I guess the mode is DEPLOYMENT To ensure please check openmeetings.log, it should have *** WARNING: Wicket

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
sorry, my bad, it is not :-) re-setting ... Ali On 12/28/20 7:37 PM, Ali Alhaidary wrote: OM is in already in DEVELOPMENT mode ... configuration DEVELOPMENT in webapps/openmeetings/WEB-INF/web.xml Ali On 12/28/20 6:59 PM, Maxim Solodovnik wrote: can you try to reproduce this one in DEVEL

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
OM is in already in DEVELOPMENT mode ... configuration DEVELOPMENT in webapps/openmeetings/WEB-INF/web.xml Ali On 12/28/20 6:59 PM, Maxim Solodovnik wrote: can you try to reproduce this one in DEVELOPMENT mode? (instructions were in some of initial messages ..) :)) On Mon, 28 Dec 2020 at 22:

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
can you try to reproduce this one in DEVELOPMENT mode? (instructions were in some of initial messages ..) :)) On Mon, 28 Dec 2020 at 22:55, Ali Alhaidary wrote: > Tested it on several machines, same case ... > > Ali > On 12/28/20 5:18 PM, Maxim Solodovnik wrote: > > > > On Mon, 28 Dec 2020 at 16

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
Tested it on several machines, same case ... Ali On 12/28/20 5:18 PM, Maxim Solodovnik wrote: On Mon, 28 Dec 2020 at 16:36, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: On Ubuntu 18 FF : when starting video, it starts momentarily (a blink) then closes: Uncaught Re

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
On Mon, 28 Dec 2020 at 16:36, Ali Alhaidary wrote: > On Ubuntu 18 FF : when starting video, it starts momentarily (a blink) > then closes: > > Uncaught ReferenceError: _init is not defined > update > https://rooms.the5stars.org:5443/openmeetings/wicket/resource/org.apache.openmeetings.web.roo

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
On Mon, 28 Dec 2020 at 16:18, Ali Alhaidary wrote: > Multiple times of: > > ERROR 12-28 09:05:44.202 o.a.w.DefaultExceptionMapper:170 > [io-5443-exec-11] - Unexpected error occurred > java.lang.NullPointerException: null > at > org.apache.wicket.request.resource.AbstractResource.setResponseHe

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
On Ubuntu 18 FF : when starting video, it starts momentarily (a blink) then closes: Uncaught ReferenceError: _init is not defined     update https://rooms.the5stars.org:5443/openmeetings/wicket/resource/org.apache.openmeetings.web.room.RoomPanel/room-ver-0D35E94F9198DB2AA6457B3C1D706B70.js:1   

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
On win10, ms browser, all good so far, no errors :-) Ali On 12/28/20 12:16 PM, Maxim Solodovnik wrote: On Mon, 28 Dec 2020 at 16:15, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: I cleared all browser cookies and data, is that good enough? should be enough :) I will t

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
Multiple times of: ERROR 12-28 09:05:44.202 o.a.w.DefaultExceptionMapper:170 [io-5443-exec-11] - Unexpected error occurred java.lang.NullPointerException: null     at org.apache.wicket.request.resource.AbstractResource.setResponseHeaders(AbstractResource.java:776)     at org.apache.wicket.req

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
On Mon, 28 Dec 2020 at 16:15, Ali Alhaidary wrote: > I cleared all browser cookies and data, is that good enough? > should be enough :) > I will try on MS and let you know ... > please share your steps if still reproducible > Ali > On 12/28/20 12:07 PM, Maxim Solodovnik wrote: > > is it pos

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
I cleared all browser cookies and data, is that good enough? I will try on MS and let you know ... Ali On 12/28/20 12:07 PM, Maxim Solodovnik wrote: is it possible you are testing with FF and old cached JS files are being used? On Mon, 28 Dec 2020 at 16:05, Ali Alhaidary mailto:ali.alhaid..

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
Just tested on demo-next and I see no issues with starting video On Mon, 28 Dec 2020 at 16:07, Maxim Solodovnik wrote: > is it possible you are testing with FF and old cached JS files are being > used? > > On Mon, 28 Dec 2020 at 16:05, Ali Alhaidary > wrote: > >> Build#211: >> >> 1. First time

Re: moving JS code to npm

2020-12-28 Thread Maxim Solodovnik
is it possible you are testing with FF and old cached JS files are being used? On Mon, 28 Dec 2020 at 16:05, Ali Alhaidary wrote: > Build#211: > > 1. First time recording, the 'Stop Recording' did not work (did not stop > or changed to 'start recording') > > 2. Exit the room, and enter again, re

Re: moving JS code to npm

2020-12-28 Thread Ali Alhaidary
Build#211: 1. First time recording, the 'Stop Recording' did not work (did not stop or changed to 'start recording') 2. Exit the room, and enter again, recording worked fine all after. 3. some new warnings in log:  WARN 12-28 08:48:19.843 o.a.o.c.r.KurentoHandler:248 [nio-5443-exec-6] - Inc

Re: moving JS code to npm

2020-12-27 Thread Maxim Solodovnik
should be fixed thanks :) On Sun, 27 Dec 2020 at 18:03, Ali Alhaidary wrote: > Build#210: > > When pressing 'Start Recording' the following error: TypeError: n is > undefined > > TypeError: n is undefined > main-ver-AC86839A2D3356C69D63A6FA727D3B0A.js:1:1055 > error > https://rooms.the5stars

Re: moving JS code to npm

2020-12-27 Thread Ali Alhaidary
Build#210: When pressing 'Start Recording' the following error: TypeError: n is undefined TypeError: n is undefined main-ver-AC86839A2D3356C69D63A6FA727D3B0A.js:1:1055     error https://rooms.the5stars.org:5443/openmeetings/wicket/resource/org.apache.openmeetings.web.common.MainPanel/main-ve

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
You are welcome, back to #188 Ali On 12/27/20 10:39 AM, Maxim Solodovnik wrote: weird enough, I'm not observing these errors locally got some at production build at demo-next will try to improve thanks for letting me know :) On Sun, 27 Dec 2020 at 14:12, Ali Alhaidary mailto:ali.alhaid...@the

Re: moving JS code to npm

2020-12-26 Thread Maxim Solodovnik
weird enough, I'm not observing these errors locally got some at production build at demo-next will try to improve thanks for letting me know :) On Sun, 27 Dec 2020 at 14:12, Ali Alhaidary wrote: > Do you the log as exceptions is there... > > WARN 12-27 07:02:53.466 o.a.w.c.u.l.WicketObjects:73

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Do you the log as exceptions is there...  WARN 12-27 07:02:53.466 o.a.w.c.u.l.WicketObjects:73 [nio-5443-exec-5] - Could not resolve class [org.apache.openmeetings.web.user.chat.chat] java.lang.ClassNotFoundException: org.apache.openmeetings.web.user.chat.chat     at org.apache.catalina.loader

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Uncaught TypeError: this.matchers is undefined     emoticonize https://rooms.the5stars.org:5443/openmeetings/wicket/resource/org.apache.openmeetings.web.user.chat.Chat/chat-ver-0C49E3C1DE762069579537636CAAD92C.js:1     D https://rooms.the5stars.org:5443/openmeetings/wicket/resource/org.apache.op

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
nothing shows after login, no error or exceptions in log ... Ali On 12/27/20 9:40 AM, Maxim Solodovnik wrote: nope :) On Sun, 27 Dec 2020 at 13:35, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: Any of the following files have changed: /opt/510/webapps/openmeetings/WEB-I

Re: moving JS code to npm

2020-12-26 Thread Maxim Solodovnik
nope :) On Sun, 27 Dec 2020 at 13:35, Ali Alhaidary wrote: > Any of the following files have changed: > > /opt/510/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml > /opt/510/conf/server.xml > /opt/510/webapps/openmeetings/WEB-INF/classes/openmeetings.properties > > On 12/27/20 9:25

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Any of the following files have changed: /opt/510/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml /opt/510/conf/server.xml /opt/510/webapps/openmeetings/WEB-INF/classes/openmeetings.properties On 12/27/20 9:25 AM, Maxim Solodovnik wrote: I can't say for sure :) But according to my

Re: moving JS code to npm

2020-12-26 Thread Maxim Solodovnik
I can't say for sure :) But according to my tests everything more or less working So you can try to test :) On Sun, 27 Dec 2020 at 11:39, Ali Alhaidary wrote: > Just tell me when to start testing (stable build)... > > Ali > On 12/26/20 5:36 PM, Ali Alhaidary wrote: > > Ok, understood ... > > Ali

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Just tell me when to start testing (stable build)... Ali On 12/26/20 5:36 PM, Ali Alhaidary wrote: Ok, understood ... Ali On 12/26/20 5:35 PM, Maxim Solodovnik wrote: real users don't really like to be beta testers :) but it's up to you :) it is your users :))) On Sat, 26 Dec 2020 at 21:21

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Ok, understood ... Ali On 12/26/20 5:35 PM, Maxim Solodovnik wrote: real users don't really like to be beta testers :) but it's up to you :) it is your users :))) On Sat, 26 Dec 2020 at 21:21, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: Can we put these builds live for stu

Re: moving JS code to npm

2020-12-26 Thread Maxim Solodovnik
real users don't really like to be beta testers :) but it's up to you :) it is your users :))) On Sat, 26 Dec 2020 at 21:21, Ali Alhaidary wrote: > Can we put these builds live for students as well and get feedback or it > is not usable? > > Ali > On 12/26/20 5:19 PM, Ali Alhaidary wrote: > > We

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Can we put these builds live for students as well and get feedback or it is not usable? Ali On 12/26/20 5:19 PM, Ali Alhaidary wrote: We will set test server, as OM is live by so many students and teachers :-) Ali On 12/26/20 5:17 PM, Maxim Solodovnik wrote: thanks :) before testing ple

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
We will set test server, as OM is live by so many students and teachers :-) Ali On 12/26/20 5:17 PM, Maxim Solodovnik wrote: thanks :) before testing please set configuration DEVELOPMENT in webapps/openmeetings/WEB-INF/web.xml (it is DEPLOYMENT in builds) and send me the errors from browser co

Re: moving JS code to npm

2020-12-26 Thread Maxim Solodovnik
thanks :) before testing please set configuration DEVELOPMENT in webapps/openmeetings/WEB-INF/web.xml (it is DEPLOYMENT in builds) and send me the errors from browser console :) On Sat, 26 Dec 2020 at 21:14, Ali Alhaidary wrote: > Ready and willin

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
Ready and willing :-) Ali On 12/26/20 5:13 PM, Maxim Solodovnik wrote: well, the code is more or less the same but all room/video/wb need to be re-tested :( I hope to get help from community :) On Sat, 26 Dec 2020 at 21:11, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: But

Re: moving JS code to npm

2020-12-26 Thread Maxim Solodovnik
well, the code is more or less the same but all room/video/wb need to be re-tested :( I hope to get help from community :) On Sat, 26 Dec 2020 at 21:11, Ali Alhaidary wrote: > But isn't that a big change ? > > Ali > On 12/26/20 6:35 AM, Maxim Solodovnik wrote: > > yes, you got my message :)))

Re: moving JS code to npm

2020-12-26 Thread Ali Alhaidary
But isn't that a big change ? Ali On 12/26/20 6:35 AM, Maxim Solodovnik wrote: yes, you got my message :))) On Sat, 26 Dec 2020 at 10:13, Ali Alhaidary mailto:ali.alhaid...@the5stars.org>> wrote: Thanks, so 'moving JS code to npm (incomplete, broken)' means that the snapshot is not

Re: moving JS code to npm

2020-12-25 Thread Maxim Solodovnik
yes, you got my message :))) On Sat, 26 Dec 2020 at 10:13, Ali Alhaidary wrote: > Thanks, so 'moving JS code to npm (incomplete, broken)' means that the > snapshot is not usable yet? > On 12/26/20 4:11 AM, seba.wag...@gmail.com wrote: > > +10 > > Sebastian Wagner > Director Arrakeen Solutions >

Re: moving JS code to npm

2020-12-25 Thread Ali Alhaidary
Thanks, so 'moving JS code to npm (incomplete, broken)' means that the snapshot is not usable yet? On 12/26/20 4:11 AM, seba.wag...@gmail.com wrote: +10 Sebastian Wagner Director Arrakeen Solutions http://arrakeen-solutions.co.nz/

Re: moving JS code to npm

2020-12-25 Thread seba.wag...@gmail.com
+10 Sebastian Wagner Director Arrakeen Solutions http://arrakeen-solutions.co.nz/ On Sat, 26 Dec 2020 at 14:08, Maxim Solodovn

Re: moving JS code to npm

2020-12-25 Thread Maxim Solodovnik
Hello Ali, the main purpose is to provide automatic dependency management and to ease the dependency updates :) additional goals 1) improve maintainability 2) re-group JS code so each source file is smaller On Thu, 24 Dec 2020 at 16:43, Ali Alhaidary wrote: > why moving JS code to npm? > > --