Re: Modern icon set in OM

2019-02-21 Thread Peter Dähn
ok... I try to have a look at weekend... maybe next week...

Greetings Peter

Am 21.02.19 um 17:30 schrieb Maxim Solodovnik:
> Regarding "volunteer": I guess what is required is to create
> confluence page with instructions and the first theme
>
> Then I'll update "themes" website page page with the link to confluence 
> And we can ANNOUNCE this change :)
>
> Is it OK?
>
>
> On Thu, Feb 21, 2019, 17:13 Peter Dähn  > wrote:
>
> Hi Dan,
>
> Raphael is ill by now. So it will take a bit more time.
>
> Greetings Peter
>
> Am 18.02.19 um 16:17 schrieb Daniel Baker:
>>
>> Hi Peter,
>>
>> Did  Rapheal have  a chance to put together  the  code / icon
>> names  for us?
>>
>>
>>
>> Thanks,
>>
>>
>> Dan
>>
>> On 2/14/2019 8:44 PM, Peter Dähn wrote:
>>> Hi Dan,
>>>
>>> Raphael will prepare it.
>>>
>>> Greetings Peter
>>>
>>> Am 14.02.19 um 13:27 schrieb Daniel Baker:

 Hi Peter,  your  styling  is very  nicely  done. Please  share 
 the  code  if you  don't  mind.


 I am working on a lower 3rd  for cameras  and  can share  that 
 code  if  others  are interested :


 Thanks,


 Dan


 On 2/14/2019 5:21 PM, Peter Dähn wrote:
> Hi Maxim,
>
> almost everything is done via custom.css. And before start of OM we 
> add
> the icons to "red5/webapps/openmeetings/css/images" and change the
> cliparts in "red5/webapps/openmeetings/public/cliparts". We also 
> change
> the translation files in
> 
> "red5/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/app/"
> for keys 1488 and 1489 and add  some default string ("---") to surly
> remove just this ones (in any room language).
>
> A bit ago I already asked (need a bit to find it in the comments for
> that issue https://issues.apache.org/jira/browse/OPENMEETINGS-1769):
>
> ...
> I have another idea what to do with that custom css files... Those 
> files
> could also be shared by the community (just like the "call for logo").
> It would be good to have some best practise examples, a few templates
> ("green red or yellow"...) and also some "so far can it be treaten"
> examples (my room looks like younameit) ... screenshots, 
> filedownloads,
> comments... maybe a good way to involve a bigger part of the community
> ...
>
> Maybe it is time for that somewhere at the project page.
>
> Greetings Peter
>
> Am 14.02.19 um 10:28 schrieb Maxim Solodovnik:
>> Hello Raphael,
>>
>> did you create custom jqueryui theme to achieve "we also tried to
>> remove most of the color complexity"
>> Or manually customize styles?
>>
>> On Thu, 14 Feb 2019 at 15:40, Raphael Fetzer  
>>  wrote:
>>> Hi Ed,
>>>
>>> thanks for your interest. :-) Not only did we replace the icons, 
>>> but we
>>> also tried to remove most of the color complexity to bring OM 
>>> visually
>>> closer to our Learning Management System through which it is 
>>> accessed.
>>> So there are a lot more changes under the hood as one might expect.
>>>
>>> I don't see a fundamental problem in making our changes accessible 
>>> to
>>> the community, and I would love to do that. The only obstacle to
>>> overcome would be that we would have to review the icon set and 
>>> replace
>>> some icons. We used a license for Font-Awesome Pro that is not
>>> transferable. Most of the icons, however, can be used under the 
>>> Creative
>>> Commons BY, so if you do proper attribution this should be fine.
>>>
>>> Regards
>>>
>>> Raphael
>>>
 Hi Ed,

 Raphael will answer this shortly. He hasn't read this list till 
 now.

 Greetings Peter



 Am 13.02.19 um 15:43 schrieb BBS Technik:
> Hello,
>
> in a demo video on Jira Raphael Fetzer used OM with a modern icon 
> set.
> Where can I find this icons and what needs to be changed in om to 
> use
> them.
>
> Best Regards
>
> Ed
>>>
>



Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Daniel Ascher
Okay. Thanks for letting me know. Dan

On Thu, Feb 21, 2019 at 11:12 AM Maxim Solodovnik 
wrote:

> The quality will not suffer
> The image might be huge, but will be displayed as preview to consume
> reasonable area on the screen
>
> The reason to display this dialog is: somehow "just save" is silently fail
> in browser .
>
> On Thu, Feb 21, 2019, 22:58 Daniel Ascher 
> wrote:
>
>> I think this means that the PNG will be a relatively lower quality image
>> than the PDF version. Is that correct?
>>
>> Also, is it possible to have a "Save" or "Download" button on the preview
>> box, rather than telling the user to right-click?
>>
>> Thanks. Dan
>>
>> On Thu, Feb 21, 2019 at 9:07 AM Maxim Solodovnik 
>> wrote:
>>
>>> Thanks :))
>>>
>>> Prepared image will have constant size something like 320x240, sort of
>>> preview :)
>>>
>>> On Thu, Feb 21, 2019, 20:00 Peter Dähn  wrote:
>>>
 ok.. now I got it... sorry for that...

 The prepared scaled image has the dimension of the current client view
 or the wb area?

 PS: much fun on your trip...

 Am 21.02.19 um 13:12 schrieb Maxim Solodovnik:

 Hello All,

 Am currently ooo (doing mountain skiing :)
 Will try to answer in one email

 1 save as pdf works, but for huge pdfs it requires jee*.xml tuning

 2 right-click "save as" will not work on white-board.
 As i wrote in initial email:

 when "Download as PNG" is clicked
 1) image is being prepared on the client
 2) small dialog with scaled image and text 'Please right click the
 image and choose "Save as"' is displayed to the user


 This is not yet implemented :)

 On Thu, Feb 21, 2019, 18:48 Peter Dähn  wrote:

> "Save as" of smaller pics on wb also ends up with those empty pics.
> But right after draw on it, wb with pic will be saved (doesn't help with
> large pics).
>
> The download in the Files-tab works so far.
>
>
>
> But both JPG and original saves a .jpg-file!?
>
> Greetings Peter
>
> Am 21.02.19 um 09:19 schrieb Peter Dähn:
>
> and save as ends up in an empty png... this doesn't work as fix...
>
>
>
> Am 21.02.19 um 08:35 schrieb Peter Dähn:
>
> Hi there,
>
> Download as pdf doesn't work either...
>
> This one causes an error...
>
> ERROR 02-21 08:28:08.199 o.a.o.w.r.w.AbstractWbPanel:70
> [0.0-5443-exec-8] - Unexpected error while processing wbAction
> java.lang.NullPointerException: Name is null
> at java.base/java.lang.Enum.valueOf(Enum.java:238)
> at
> org.apache.openmeetings.web.room.wb.WbAction.valueOf(WbAction.java:21)
> at
> org.apache.openmeetings.web.room.wb.AbstractWbPanel$1.respond(AbstractWbPanel.java:65)
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:280)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:222)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
> at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
> at
> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
> at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> at
> 

Re: Modern icon set in OM

2019-02-21 Thread Maxim Solodovnik
Regarding "volunteer": I guess what is required is to create confluence
page with instructions and the first theme

Then I'll update "themes" website page page with the link to confluence
And we can ANNOUNCE this change :)

Is it OK?


On Thu, Feb 21, 2019, 17:13 Peter Dähn  wrote:

> Hi Dan,
>
> Raphael is ill by now. So it will take a bit more time.
>
> Greetings Peter
>
> Am 18.02.19 um 16:17 schrieb Daniel Baker:
>
> Hi Peter,
>
> Did  Rapheal have  a chance to put together  the  code / icon names  for
> us?
>
>
>
> Thanks,
>
>
> Dan
> On 2/14/2019 8:44 PM, Peter Dähn wrote:
>
> Hi Dan,
>
> Raphael will prepare it.
>
> Greetings Peter
>
> Am 14.02.19 um 13:27 schrieb Daniel Baker:
>
> Hi Peter,  your  styling  is very  nicely  done. Please  share  the  code
> if you  don't  mind.
>
>
> I am working on a lower 3rd  for cameras  and  can share  that  code  if
> others  are interested :
>
>
> Thanks,
>
>
> Dan
>
>
> On 2/14/2019 5:21 PM, Peter Dähn wrote:
>
> Hi Maxim,
>
> almost everything is done via custom.css. And before start of OM we add
> the icons to "red5/webapps/openmeetings/css/images" and change the
> cliparts in "red5/webapps/openmeetings/public/cliparts". We also change
> the translation files in
> "red5/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/app/"
> for keys 1488 and 1489 and add  some default string ("---") to surly
> remove just this ones (in any room language).
>
> A bit ago I already asked (need a bit to find it in the comments for
> that issue https://issues.apache.org/jira/browse/OPENMEETINGS-1769):
>
> ...
> I have another idea what to do with that custom css files... Those files
> could also be shared by the community (just like the "call for logo").
> It would be good to have some best practise examples, a few templates
> ("green red or yellow"...) and also some "so far can it be treaten"
> examples (my room looks like younameit) ... screenshots, filedownloads,
> comments... maybe a good way to involve a bigger part of the community
> ...
>
> Maybe it is time for that somewhere at the project page.
>
> Greetings Peter
>
> Am 14.02.19 um 10:28 schrieb Maxim Solodovnik:
>
> Hello Raphael,
>
> did you create custom jqueryui theme to achieve "we also tried to
> remove most of the color complexity"
> Or manually customize styles?
>
> On Thu, 14 Feb 2019 at 15:40, Raphael Fetzer  
>  wrote:
>
> Hi Ed,
>
> thanks for your interest. :-) Not only did we replace the icons, but we
> also tried to remove most of the color complexity to bring OM visually
> closer to our Learning Management System through which it is accessed.
> So there are a lot more changes under the hood as one might expect.
>
> I don't see a fundamental problem in making our changes accessible to
> the community, and I would love to do that. The only obstacle to
> overcome would be that we would have to review the icon set and replace
> some icons. We used a license for Font-Awesome Pro that is not
> transferable. Most of the icons, however, can be used under the Creative
> Commons BY, so if you do proper attribution this should be fine.
>
> Regards
>
> Raphael
>
>
> Hi Ed,
>
> Raphael will answer this shortly. He hasn't read this list till now.
>
> Greetings Peter
>
>
>
> Am 13.02.19 um 15:43 schrieb BBS Technik:
>
> Hello,
>
> in a demo video on Jira Raphael Fetzer used OM with a modern icon set.
> Where can I find this icons and what needs to be changed in om to use
> them.
>
> Best Regards
>
> Ed
>
>
>
>


Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Maxim Solodovnik
The quality will not suffer
The image might be huge, but will be displayed as preview to consume
reasonable area on the screen

The reason to display this dialog is: somehow "just save" is silently fail
in browser .

On Thu, Feb 21, 2019, 22:58 Daniel Ascher 
wrote:

> I think this means that the PNG will be a relatively lower quality image
> than the PDF version. Is that correct?
>
> Also, is it possible to have a "Save" or "Download" button on the preview
> box, rather than telling the user to right-click?
>
> Thanks. Dan
>
> On Thu, Feb 21, 2019 at 9:07 AM Maxim Solodovnik 
> wrote:
>
>> Thanks :))
>>
>> Prepared image will have constant size something like 320x240, sort of
>> preview :)
>>
>> On Thu, Feb 21, 2019, 20:00 Peter Dähn  wrote:
>>
>>> ok.. now I got it... sorry for that...
>>>
>>> The prepared scaled image has the dimension of the current client view
>>> or the wb area?
>>>
>>> PS: much fun on your trip...
>>>
>>> Am 21.02.19 um 13:12 schrieb Maxim Solodovnik:
>>>
>>> Hello All,
>>>
>>> Am currently ooo (doing mountain skiing :)
>>> Will try to answer in one email
>>>
>>> 1 save as pdf works, but for huge pdfs it requires jee*.xml tuning
>>>
>>> 2 right-click "save as" will not work on white-board.
>>> As i wrote in initial email:
>>>
>>> when "Download as PNG" is clicked
>>> 1) image is being prepared on the client
>>> 2) small dialog with scaled image and text 'Please right click the
>>> image and choose "Save as"' is displayed to the user
>>>
>>>
>>> This is not yet implemented :)
>>>
>>> On Thu, Feb 21, 2019, 18:48 Peter Dähn  wrote:
>>>
 "Save as" of smaller pics on wb also ends up with those empty pics. But
 right after draw on it, wb with pic will be saved (doesn't help with large
 pics).

 The download in the Files-tab works so far.



 But both JPG and original saves a .jpg-file!?

 Greetings Peter

 Am 21.02.19 um 09:19 schrieb Peter Dähn:

 and save as ends up in an empty png... this doesn't work as fix...



 Am 21.02.19 um 08:35 schrieb Peter Dähn:

 Hi there,

 Download as pdf doesn't work either...

 This one causes an error...

 ERROR 02-21 08:28:08.199 o.a.o.w.r.w.AbstractWbPanel:70
 [0.0-5443-exec-8] - Unexpected error while processing wbAction
 java.lang.NullPointerException: Name is null
 at java.base/java.lang.Enum.valueOf(Enum.java:238)
 at
 org.apache.openmeetings.web.room.wb.WbAction.valueOf(WbAction.java:21)
 at
 org.apache.openmeetings.web.room.wb.AbstractWbPanel$1.respond(AbstractWbPanel.java:65)
 at
 org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
 at
 org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
 at
 org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:280)
 at
 org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:222)
 at
 org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
 at
 org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
 at
 org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
 at
 org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
 at
 org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
 at
 org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
 at
 org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
 at
 org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
 at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 at
 org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
 at
 

Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Daniel Ascher
I think this means that the PNG will be a relatively lower quality image
than the PDF version. Is that correct?

Also, is it possible to have a "Save" or "Download" button on the preview
box, rather than telling the user to right-click?

Thanks. Dan

On Thu, Feb 21, 2019 at 9:07 AM Maxim Solodovnik 
wrote:

> Thanks :))
>
> Prepared image will have constant size something like 320x240, sort of
> preview :)
>
> On Thu, Feb 21, 2019, 20:00 Peter Dähn  wrote:
>
>> ok.. now I got it... sorry for that...
>>
>> The prepared scaled image has the dimension of the current client view or
>> the wb area?
>>
>> PS: much fun on your trip...
>>
>> Am 21.02.19 um 13:12 schrieb Maxim Solodovnik:
>>
>> Hello All,
>>
>> Am currently ooo (doing mountain skiing :)
>> Will try to answer in one email
>>
>> 1 save as pdf works, but for huge pdfs it requires jee*.xml tuning
>>
>> 2 right-click "save as" will not work on white-board.
>> As i wrote in initial email:
>>
>> when "Download as PNG" is clicked
>> 1) image is being prepared on the client
>> 2) small dialog with scaled image and text 'Please right click the
>> image and choose "Save as"' is displayed to the user
>>
>>
>> This is not yet implemented :)
>>
>> On Thu, Feb 21, 2019, 18:48 Peter Dähn  wrote:
>>
>>> "Save as" of smaller pics on wb also ends up with those empty pics. But
>>> right after draw on it, wb with pic will be saved (doesn't help with large
>>> pics).
>>>
>>> The download in the Files-tab works so far.
>>>
>>>
>>>
>>> But both JPG and original saves a .jpg-file!?
>>>
>>> Greetings Peter
>>>
>>> Am 21.02.19 um 09:19 schrieb Peter Dähn:
>>>
>>> and save as ends up in an empty png... this doesn't work as fix...
>>>
>>>
>>>
>>> Am 21.02.19 um 08:35 schrieb Peter Dähn:
>>>
>>> Hi there,
>>>
>>> Download as pdf doesn't work either...
>>>
>>> This one causes an error...
>>>
>>> ERROR 02-21 08:28:08.199 o.a.o.w.r.w.AbstractWbPanel:70
>>> [0.0-5443-exec-8] - Unexpected error while processing wbAction
>>> java.lang.NullPointerException: Name is null
>>> at java.base/java.lang.Enum.valueOf(Enum.java:238)
>>> at
>>> org.apache.openmeetings.web.room.wb.WbAction.valueOf(WbAction.java:21)
>>> at
>>> org.apache.openmeetings.web.room.wb.AbstractWbPanel$1.respond(AbstractWbPanel.java:65)
>>> at
>>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
>>> at
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
>>> at
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:280)
>>> at
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:222)
>>> at
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
>>> at
>>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
>>> at
>>> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
>>> at
>>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
>>> at
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
>>> at
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>> at
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>> at
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>> at
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>> at
>>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>> at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>>> at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>>> at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
>>> at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
>>> at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>>> at
>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
>>> at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
>>> at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>>> 

Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Maxim Solodovnik
Thanks :))

Prepared image will have constant size something like 320x240, sort of
preview :)

On Thu, Feb 21, 2019, 20:00 Peter Dähn  wrote:

> ok.. now I got it... sorry for that...
>
> The prepared scaled image has the dimension of the current client view or
> the wb area?
>
> PS: much fun on your trip...
>
> Am 21.02.19 um 13:12 schrieb Maxim Solodovnik:
>
> Hello All,
>
> Am currently ooo (doing mountain skiing :)
> Will try to answer in one email
>
> 1 save as pdf works, but for huge pdfs it requires jee*.xml tuning
>
> 2 right-click "save as" will not work on white-board.
> As i wrote in initial email:
>
> when "Download as PNG" is clicked
> 1) image is being prepared on the client
> 2) small dialog with scaled image and text 'Please right click the
> image and choose "Save as"' is displayed to the user
>
>
> This is not yet implemented :)
>
> On Thu, Feb 21, 2019, 18:48 Peter Dähn  wrote:
>
>> "Save as" of smaller pics on wb also ends up with those empty pics. But
>> right after draw on it, wb with pic will be saved (doesn't help with large
>> pics).
>>
>> The download in the Files-tab works so far.
>>
>>
>>
>> But both JPG and original saves a .jpg-file!?
>>
>> Greetings Peter
>>
>> Am 21.02.19 um 09:19 schrieb Peter Dähn:
>>
>> and save as ends up in an empty png... this doesn't work as fix...
>>
>>
>>
>> Am 21.02.19 um 08:35 schrieb Peter Dähn:
>>
>> Hi there,
>>
>> Download as pdf doesn't work either...
>>
>> This one causes an error...
>>
>> ERROR 02-21 08:28:08.199 o.a.o.w.r.w.AbstractWbPanel:70 [0.0-5443-exec-8]
>> - Unexpected error while processing wbAction
>> java.lang.NullPointerException: Name is null
>> at java.base/java.lang.Enum.valueOf(Enum.java:238)
>> at
>> org.apache.openmeetings.web.room.wb.WbAction.valueOf(WbAction.java:21)
>> at
>> org.apache.openmeetings.web.room.wb.AbstractWbPanel$1.respond(AbstractWbPanel.java:65)
>> at
>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
>> at
>> org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
>> at
>> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:280)
>> at
>> org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:222)
>> at
>> org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
>> at
>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
>> at
>> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
>> at
>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
>> at
>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
>> at
>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>> at
>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>> at
>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>> at
>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at
>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>> at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>> at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>> at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
>> at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
>> at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>> at
>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
>> at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
>> at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>> at
>> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
>> at
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
>> at
>> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
>> at
>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
>> at
>> 

Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Peter Dähn
ok.. now I got it... sorry for that...

The prepared scaled image has the dimension of the current client view
or the wb area?

PS: much fun on your trip...

Am 21.02.19 um 13:12 schrieb Maxim Solodovnik:
> Hello All,
>
> Am currently ooo (doing mountain skiing :)
> Will try to answer in one email
>
> 1 save as pdf works, but for huge pdfs it requires jee*.xml tuning
>
> 2 right-click "save as" will not work on white-board. 
> As i wrote in initial email: 
>
> when "Download as PNG" is clicked
> 1) image is being prepared on the client
> 2) small dialog with scaled image and text 'Please right 
> click the
> image and choose "Save as"' is displayed to the user
>
>
> This is not yet implemented :)
>
> On Thu, Feb 21, 2019, 18:48 Peter Dähn  > wrote:
>
> "Save as" of smaller pics on wb also ends up with those empty
> pics. But right after draw on it, wb with pic will be saved
> (doesn't help with large pics).
>
> The download in the Files-tab works so far.
>
>
>
> But both JPG and original saves a .jpg-file!?
>
> Greetings Peter
>
> Am 21.02.19 um 09:19 schrieb Peter Dähn:
>> and save as ends up in an empty png... this doesn't work as fix...
>>
>>
>>
>> Am 21.02.19 um 08:35 schrieb Peter Dähn:
>>> Hi there,
>>>
>>> Download as pdf doesn't work either...
>>>
>>> This one causes an error...
>>>
>>> ERROR 02-21 08:28:08.199 o.a.o.w.r.w.AbstractWbPanel:70
>>> [0.0-5443-exec-8] - Unexpected error while processing wbAction
>>> java.lang.NullPointerException: Name is null
>>>     at java.base/java.lang.Enum.valueOf(Enum.java:238)
>>>     at
>>> org.apache.openmeetings.web.room.wb.WbAction.valueOf(WbAction.java:21)
>>>     at
>>> 
>>> org.apache.openmeetings.web.room.wb.AbstractWbPanel$1.respond(AbstractWbPanel.java:65)
>>>     at
>>> 
>>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
>>>     at
>>> 
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
>>>     at
>>> 
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:280)
>>>     at
>>> 
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:222)
>>>     at
>>> 
>>> org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
>>>     at
>>> 
>>> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
>>>     at
>>> 
>>> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
>>>     at
>>> 
>>> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
>>>     at
>>> 
>>> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
>>>     at
>>> 
>>> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
>>>     at
>>> 
>>> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
>>>     at
>>> 
>>> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
>>>     at
>>> 
>>> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
>>>     at
>>> 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>     at
>>> 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>     at
>>> 
>>> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
>>>     at
>>> 
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
>>>     at
>>> 
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
>>>     at
>>> 
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
>>>     at
>>> 
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
>>>     at
>>> 
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
>>>     at
>>> 
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
>>>     at
>>> 
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>>>     at
>>> 
>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
>>>     at
>>> 
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
>>>     at
>>> 
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
>>>     at
>>> 
>>> 

Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Maxim Solodovnik
Hello All,

Am currently ooo (doing mountain skiing :)
Will try to answer in one email

1 save as pdf works, but for huge pdfs it requires jee*.xml tuning

2 right-click "save as" will not work on white-board.
As i wrote in initial email:

when "Download as PNG" is clicked
1) image is being prepared on the client
2) small dialog with scaled image and text 'Please right click the
image and choose "Save as"' is displayed to the user


This is not yet implemented :)

On Thu, Feb 21, 2019, 18:48 Peter Dähn  wrote:

> "Save as" of smaller pics on wb also ends up with those empty pics. But
> right after draw on it, wb with pic will be saved (doesn't help with large
> pics).
>
> The download in the Files-tab works so far.
>
>
>
> But both JPG and original saves a .jpg-file!?
>
> Greetings Peter
>
> Am 21.02.19 um 09:19 schrieb Peter Dähn:
>
> and save as ends up in an empty png... this doesn't work as fix...
>
>
>
> Am 21.02.19 um 08:35 schrieb Peter Dähn:
>
> Hi there,
>
> Download as pdf doesn't work either...
>
> This one causes an error...
>
> ERROR 02-21 08:28:08.199 o.a.o.w.r.w.AbstractWbPanel:70 [0.0-5443-exec-8]
> - Unexpected error while processing wbAction
> java.lang.NullPointerException: Name is null
> at java.base/java.lang.Enum.valueOf(Enum.java:238)
> at
> org.apache.openmeetings.web.room.wb.WbAction.valueOf(WbAction.java:21)
> at
> org.apache.openmeetings.web.room.wb.AbstractWbPanel$1.respond(AbstractWbPanel.java:65)
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:598)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.internalInvoke(ListenerRequestHandler.java:306)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.invoke(ListenerRequestHandler.java:280)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.invokeListener(ListenerRequestHandler.java:222)
> at
> org.apache.wicket.core.request.handler.ListenerRequestHandler.respond(ListenerRequestHandler.java:208)
> at
> org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:914)
> at
> org.apache.wicket.request.RequestHandlerExecutor.execute(RequestHandlerExecutor.java:65)
> at
> org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:282)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:253)
> at
> org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:221)
> at
> org.apache.wicket.protocol.ws.AbstractUpgradeFilter.processRequestCycle(AbstractUpgradeFilter.java:70)
> at
> org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:206)
> at
> org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:299)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.red5.logging.LoggerContextFilter.doFilter(LoggerContextFilter.java:84)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:607)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
> at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
> at
> org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
> at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
> at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
> at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
> at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> at java.base/java.lang.Thread.run(Thread.java:834)
>
>
> In general I think simply point to the "Save as" dialog isn't very handy.
>
> Greetings Peter
>
> Am 

Re: [DISCUSSION] download whiteboard as png

2019-02-21 Thread Alvaro
Ok with you


...


El jue, 21-02-2019 a las 11:31 +0700, Maxim Solodovnik escribió:
> Hello All,
> 
> Recently Daniel Asher find out download whiteboard as png is not
> working for huge white board
> (10MB is huge :)) [1]
> 
> This seems to be sort of browser limitation, there is no error or
> whatever, download just silently fail for big white boards
> 
> What I propose is to change the behavior of 'Download as PNG' as
> follows:
> when "Download as PNG" is clicked
> 1) image is being prepared on the client
> 2) small dialog with scaled image and text 'Please right click the
> image and choose "Save as"' is displayed to the user
> 
> WDYT?
> 
> [1] https://issues.apache.org/jira/browse/OPENMEETINGS-2018
> 


Re: Modern icon set in OM

2019-02-21 Thread Peter Dähn
Hi Dan,

Raphael is ill by now. So it will take a bit more time.

Greetings Peter

Am 18.02.19 um 16:17 schrieb Daniel Baker:
>
> Hi Peter,
>
> Did  Rapheal have  a chance to put together  the  code / icon names 
> for us?
>
>
>
> Thanks,
>
>
> Dan
>
> On 2/14/2019 8:44 PM, Peter Dähn wrote:
>> Hi Dan,
>>
>> Raphael will prepare it.
>>
>> Greetings Peter
>>
>> Am 14.02.19 um 13:27 schrieb Daniel Baker:
>>>
>>> Hi Peter,  your  styling  is very  nicely  done. Please  share  the 
>>> code  if you  don't  mind.
>>>
>>>
>>> I am working on a lower 3rd  for cameras  and  can share  that 
>>> code  if  others  are interested :
>>>
>>>
>>> Thanks,
>>>
>>>
>>> Dan
>>>
>>>
>>> On 2/14/2019 5:21 PM, Peter Dähn wrote:
 Hi Maxim,

 almost everything is done via custom.css. And before start of OM we add
 the icons to "red5/webapps/openmeetings/css/images" and change the
 cliparts in "red5/webapps/openmeetings/public/cliparts". We also change
 the translation files in
 "red5/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/app/"
 for keys 1488 and 1489 and add  some default string ("---") to surly
 remove just this ones (in any room language).

 A bit ago I already asked (need a bit to find it in the comments for
 that issue https://issues.apache.org/jira/browse/OPENMEETINGS-1769):

 ...
 I have another idea what to do with that custom css files... Those files
 could also be shared by the community (just like the "call for logo").
 It would be good to have some best practise examples, a few templates
 ("green red or yellow"...) and also some "so far can it be treaten"
 examples (my room looks like younameit) ... screenshots, filedownloads,
 comments... maybe a good way to involve a bigger part of the community
 ...

 Maybe it is time for that somewhere at the project page.

 Greetings Peter

 Am 14.02.19 um 10:28 schrieb Maxim Solodovnik:
> Hello Raphael,
>
> did you create custom jqueryui theme to achieve "we also tried to
> remove most of the color complexity"
> Or manually customize styles?
>
> On Thu, 14 Feb 2019 at 15:40, Raphael Fetzer  wrote:
>> Hi Ed,
>>
>> thanks for your interest. :-) Not only did we replace the icons, but we
>> also tried to remove most of the color complexity to bring OM visually
>> closer to our Learning Management System through which it is accessed.
>> So there are a lot more changes under the hood as one might expect.
>>
>> I don't see a fundamental problem in making our changes accessible to
>> the community, and I would love to do that. The only obstacle to
>> overcome would be that we would have to review the icon set and replace
>> some icons. We used a license for Font-Awesome Pro that is not
>> transferable. Most of the icons, however, can be used under the Creative
>> Commons BY, so if you do proper attribution this should be fine.
>>
>> Regards
>>
>> Raphael
>>
>>> Hi Ed,
>>>
>>> Raphael will answer this shortly. He hasn't read this list till now.
>>>
>>> Greetings Peter
>>>
>>>
>>>
>>> Am 13.02.19 um 15:43 schrieb BBS Technik:
 Hello,

 in a demo video on Jira Raphael Fetzer used OM with a modern icon set.
 Where can I find this icons and what needs to be changed in om to use
 them.

 Best Regards

 Ed
>>



Re: Modern icon set in OM

2019-02-21 Thread Peter Dähn
Hi Maxim,

an answer to the "volunteer"-part is still missing. I asked my boss for
time to spend with and he gave me a go..

So I would do this part. What do I have to do next?

Greetings Peter

Am 14.02.19 um 11:40 schrieb Maxim Solodovnik:
> +1 to create Themes page
> It can be created in our Confluence [1]
>
> Maybe someone will volunteer for this task?
>
> [1] https://cwiki.apache.org/confluence/display/OPENMEETINGS/Index
>
> On Thu, 14 Feb 2019 at 17:37, Maxim Solodovnik  wrote:
>> I believe you can simplify your custom.css, by creating jquery-ui theme first
>> as described here:
>> https://openmeetings.apache.org/themes-and-branding.html#_toc_editing_the_theme
>>
>> On Thu, 14 Feb 2019 at 17:21, Peter Dähn  wrote:
>>> Hi Maxim,
>>>
>>> almost everything is done via custom.css. And before start of OM we add
>>> the icons to "red5/webapps/openmeetings/css/images" and change the
>>> cliparts in "red5/webapps/openmeetings/public/cliparts". We also change
>>> the translation files in
>>> "red5/webapps/openmeetings/WEB-INF/classes/org/apache/openmeetings/web/app/"
>>> for keys 1488 and 1489 and add  some default string ("---") to surly
>>> remove just this ones (in any room language).
>>>
>>> A bit ago I already asked (need a bit to find it in the comments for
>>> that issue https://issues.apache.org/jira/browse/OPENMEETINGS-1769):
>>>
>>> ...
>>> I have another idea what to do with that custom css files... Those files
>>> could also be shared by the community (just like the "call for logo").
>>> It would be good to have some best practise examples, a few templates
>>> ("green red or yellow"...) and also some "so far can it be treaten"
>>> examples (my room looks like younameit) ... screenshots, filedownloads,
>>> comments... maybe a good way to involve a bigger part of the community
>>> ...
>>>
>>> Maybe it is time for that somewhere at the project page.
>>>
>>> Greetings Peter
>>>
>>> Am 14.02.19 um 10:28 schrieb Maxim Solodovnik:
 Hello Raphael,

 did you create custom jqueryui theme to achieve "we also tried to
 remove most of the color complexity"
 Or manually customize styles?

 On Thu, 14 Feb 2019 at 15:40, Raphael Fetzer  wrote:
> Hi Ed,
>
> thanks for your interest. :-) Not only did we replace the icons, but we
> also tried to remove most of the color complexity to bring OM visually
> closer to our Learning Management System through which it is accessed.
> So there are a lot more changes under the hood as one might expect.
>
> I don't see a fundamental problem in making our changes accessible to
> the community, and I would love to do that. The only obstacle to
> overcome would be that we would have to review the icon set and replace
> some icons. We used a license for Font-Awesome Pro that is not
> transferable. Most of the icons, however, can be used under the Creative
> Commons BY, so if you do proper attribution this should be fine.
>
> Regards
>
> Raphael
>
>> Hi Ed,
>>
>> Raphael will answer this shortly. He hasn't read this list till now.
>>
>> Greetings Peter
>>
>>
>>
>> Am 13.02.19 um 15:43 schrieb BBS Technik:
>>> Hello,
>>>
>>> in a demo video on Jira Raphael Fetzer used OM with a modern icon set.
>>> Where can I find this icons and what needs to be changed in om to use
>>> them.
>>>
>>> Best Regards
>>>
>>> Ed

>>>
>>
>> --
>> WBR
>> Maxim aka solomax
>
>