Re: Re[4]: First whiteboard task

2013-07-07 Thread Maxim Solodovnik
OK
please send it to Sebastian with one minor change: Hugh should be replaced
with Huge :))

And attach modified to JIRA issue (for the record)

Thanks!



On Fri, Jul 5, 2013 at 11:45 PM, Andun Sameera  wrote:

> Hi Maxim,
>
> I have changed the constructor and property name as you requested. But
> when I used getString() language change didn't work. Thus keep thus
> resource model there as it is.
>
> Thanks!
>
>
> On Fri, Jul 5, 2013 at 2:17 PM, Maxim Solodovnik wrote:
>
>> I also think
>> the following construct:
>>
>> ExternalLink bold= new ExternalLink("bold","#");
>> bold.add(AttributeModifier.replace("title",new ResourceModel("bold")));
>> toolbar.add(bold);
>>
>> can be replaced with
>> toolbar.add(new WebMarkupContainer("bold").add(AttributeModifier.replace(
>> "title",getString("bold";
>>
>> additionally I think it might be good idea to use wicket.jquery.ui.
>> wysiwyg.toolbar.bold instead of bold in string name.
>>
>>
>> On Fri, Jul 5, 2013 at 3:27 PM, Andun Sameera  wrote:
>>
>>> I have corrected it and committed!
>>>
>>>
>>> On Fri, Jul 5, 2013 at 11:23 AM, Maxim Solodovnik 
>>> wrote:
>>>
 I just have take a look at your code
 I see no need to make boldImg, italicImg etc. wicket components
 I believe it should be static images or maybe just divs with
 correspondent size and background


 On Fri, Jul 5, 2013 at 3:08 AM, Andun Sameera wrote:

> Hi Maxim,
>
> I have successfully updated the Wysiwyg-Plugin with these,
>
>- Replaced the FontAwesome with FamFam icons
>- Added the Readme with refernce to FamFam and a Example
>
> I think after your review, it is ready to send to Sebestian!
>
> Thanks!
>
> [1] - https://github.com/andunslg/Wysiwyg-Wicket
>
> [2] - https://github.com/andunslg/Wysiwyg-Wicket-Sample
> On Thu, Jul 4, 2013 at 1:12 PM, Andun Sameera wrote:
>
>> Will do it like that :)
>>
>>
>> On Thu, Jul 4, 2013 at 12:13 PM, Maxim Solodovnik <
>> solomax...@gmail.com> wrote:
>>
>>> Hello Andun
>>> Thanks for investigation
>>> I would vote for NOT using CDN (non of our code using it)
>>>
>>> Currently we already using famfam icons (reference in NOTICE file is
>>> required)
>>> I would VOTE for using it
>>>
>>>
>>>
>>> On Wed, Jul 3, 2013 at 6:24 AM, Andun Sameera wrote:
>>>
 Hi,

 I just found that there is a thing called CDN(Cotent Dilivery
 Netowrk) for Bootstrap. There we have the complete font awesome css 
 with
 icons. So we can refer it without keeping it in the repo.

 http://www.bootstrapcdn.com/?v=05312013104430#tab_fontawesome

 >>> rel="stylesheet">

 If that approach is OK what should be the best way to do it?

 Thanks!


 On Tue, Jul 2, 2013 at 11:26 PM, Andun Sameera 
 wrote:

> Also there is another nice icon set under license agreement which
> is described http://dryicons.com/terms/free/.
>
> On Tue, Jul 2, 2013 at 11:11 PM, Andun Sameera  > wrote:
>
>> Hi All,
>>
>> I tried to find a replacement for those SIL licensed font files.
>> But still I cant find a thing. Alternatively what most of the places
>> purposed is using images. Thus I have used Silck Icons set which can 
>> be
>> found in http://www.famfamfam.com/lab/icons/silk/. It is
>> licensed under Creative Commons Attribution 2.5 
>> License.
>> Also there is a possible icon set in here
>> http://glyphicons.com/glyphicons-licenses/. They don't specify a
>> specific license.
>>
>> I did a experiment with that one and I have attached a screen
>> shot of that. Is this approach OK ?
>>
>> Thanks!
>>
>>
>> On Tue, Jul 2, 2013 at 7:32 PM, Maxim Solodovnik <
>> solomax...@gmail.com> wrote:
>>
>>> Yes you are correct
>>> I'll check the code ASAP
>>>
>>>
>>> On Tue, Jul 2, 2013 at 6:32 PM, Andun Sameera <
>>> andun...@gmail.com> wrote:
>>>
 Hi Maxim,

 I have added the localizations to the Editor. I have committed
 the code in https://github.com/andunslg/Wysiwyg-Wicket and I
 have updated the sample which can be found
 https://github.com/andunslg/Wysiwyg-Wicket-Sample. Can you
 please check it?

 As I understood, I have to find suitable generally available
 fonts as replacement for the SIL licensed fonts and I have to 
 change the
 font-awesome.css to use those new fonts. Am I correct?

 Thanks!


Re: Re[6]: Google Closure Whiteboard

2013-07-07 Thread Maxim Solodovnik
Hello Andun,

I'll take a look at your code today

here is an example of pushing updates to the connected users:
https://svn.apache.org/repos/asf/openmeetings/trunk/singlewebapp/src/org/apache/openmeetings/web/user/ChatPanel.java


On Mon, Jul 8, 2013 at 12:15 AM, Andun Sameera  wrote:

> Hi,
>
>
> On Sun, Jul 7, 2013 at 10:03 PM, Andun Sameera  wrote:
>
>> Hi Maxim,
>>
>> Need your assistance in figuring out the whitboard synchronization logic.
>> Currently what we have is this.
>>
>>- WhiteboardBehaviour which can be applied in this format,
>>
>> WhiteboardBehavior whiteboardBehavior=new
>> WhiteboardBehavior("whiteboard");
>>
>>- When this is added to a page, all the whiteboard elements will be
>>added to a Map. Each Creation,Update will effect on this collection
>>- Using this kind of a JavaScript, we can add elements to a
>>whiteboard.
>>
>> elementCollection=whiteboard.getMainCollection();
>> elementCollection.acceptJsonStr('ChangedElementJSON');
>>
>>- Using this kind of a JavaScript, we can load a whiteboard using
>>JSON string of all the elements
>>
>> elementCollection=whiteboard.getMainCollection();
>> elementCollection.acceptJsonStr('elementLisyJSON');
>>
>> In the current test application, I use two buttons to add elements to
>> whitebord and load whitebord from given JSON string.
>>
>> My question is what is the best way to implement Whiteboard
>> Synchronization using these code in Wicket? I planned is this kind of
>> approach,
>>
>>- 1st person open the Whiteboard
>>- He is draws some elements and the element map in the
>>WhiteboardBehaviour get update
>>- 2nd person comes and open the whiteboard. The behavior found that
>>element map(This should be a static collection) is not empty. Thus load 
>> the
>>content of whiteboard using the element map. 3rd, 4th happens like that
>>
>> I just implemented this in the code
>
>>
>>- When one person do a change in the whiteboard, element map wll be
>>updated. Meanwhile all the other have to be pushed with the new change
>>
>> I am looking in to
> http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/ to do
> this task
>
>>
>>-
>>- There whiteboards get update with new change
>>
>> If this is OK how can we push updates to clients form wicket server to
>> achieve 4th step? If you want to have a look a the current code, all are in
>> github.
>>
>> Thanks!
>>
>>
>> On Sun, Jul 7, 2013 at 2:52 AM, Andun Sameera  wrote:
>>
>>> Hi Maxim,
>>>
>>> I have created the WhiteboardBehaviour in
>>> https://github.com/andunslg/Whiteboard-Wicket. Also I have created JAVA
>>> objects to map elements in Andrey Whiteboard. Now each and every drawing on
>>> whiteboard are mapped in to a JAVA Object. Also other way around is
>>> happening. Also all the elements are kept in a MAP.
>>>
>>> I have implemented all these in the repo. Still the code is in a
>>> preliminary stage. But please have a look. There is a sample webapp in the
>>> repo.
>>>
>>> Thanks!
>>>
>>>
>>> On Sat, Jul 6, 2013 at 7:42 PM, Bogdanov Andrey  wrote:
>>>
 Yes, you should be carefull with quotes and doublequotes. You could use
 any of them, but if you use single quotes inside string, then you should
 use doublequotes to enclose the string. And vise versa.


 Суббота, 6 июля 2013, 18:31 +05:30 от Andun Sameera >>> >:

   Got it working with this,

 collection.acceptJsonStr('{"id": "0", "type": "PointFree", "x": "-530",
 "y": "14"}')

 Thanks!


 On Sat, Jul 6, 2013 at 6:22 PM, Andun Sameera 
 https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
 > wrote:

 Sry for the previous mail!


 Hi Andreay,

 Is this syntax correct to add a element to Whiteboard?

 var collection = whiteboard.collections.main;
 collection.acceptJsonStr("{"
 id": 0, "type": "PointFree", "x": -530, "y": 14}");

 I get this error in Firebug console,

 SyntaxError: missing ) after argument list

 Thanks!


 On Sat, Jul 6, 2013 at 6:21 PM, Andun Sameera 
 https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
 > wrote:

 Hi Andreay,

 Is this syntax correct to add a element to Whiteboard?

 collection.acceptJsonStr(

 collection.acceptJsonStr(

 collection.acceptJsonStr({collection.acceptJsonStr({collection.acceptJsonStr({

 var collection = whiteboard.collections.main;
 collection.acceptJsonStr("{"id": 0, "type": "PointFree", "x": -530,
 "y": 14}");

 I get this error in Firebug console,

 SyntaxError: missing ) after argument list

 Thanks!


 On Sat, Jul 6, 2013 at 12:48 AM, Andun Sameera 
 https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
 > wrote:

 I got the update and will work on creating the Java Objects.

 Thanks!


 On Fri, Jul 5, 2013 at

[ANNOUNCE] Apache Openmeetings 2.1.1 released

2013-07-07 Thread Maxim Solodovnik
The Apache Openmeetings PMC is proud to announce Apache Openmeetings 2.1.1!

This is bug fix release for 2.1.0

Please download and build the distribution yourself, or use our convenience
binary package

* Source: http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.1/src *
Binary: http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.1/bin

Release Notes 2.1.1
=

Bug fix release for 2.1.0.
This release includes some improvements in user interface, fixes for the
interview and video only rooms, and localization issues.
Configurable hot key for Mute/Unmute have been added.

_Known Issues_
Video/audio SIP integration is not a part of this Apache release.
Check free red5sip product for this integration.

Release passed reliability testing (great job, Vasily Degtyarev!)
For 1 hour long conferences the following does not work with this release:
* Recordigs (expected to work in 3.0)
https://issues.apache.org/jira/browse/OPENMEETINGS-669
* Recent version with Adobe Flash (please downgrade to 11.5 version)
https://bugzilla.mozilla.org/show_bug.cgi?id=885188
* Multi-tabbing (no other flash application should be running in
different browsers or tabs)


** Bug
* [OPENMEETINGS-432] - video only room is coming with white board also
* [OPENMEETINGS-439] - An LDAP user can't change their own profile
picture.
* [OPENMEETINGS-481] - When I reserve a room by sending an email, users
who connected to this link from an email have the same email address as me
* [OPENMEETINGS-503] - Openmeetings does not logout on the Recording
panel
* [OPENMEETINGS-507] - Error message is shown when user save the
Profile settings
* [OPENMEETINGS-537] - Pop menu  in conference for files shows "Delete
folder"
* [OPENMEETINGS-586] - FileItem owner_id is not replaced with new id
while system import
* [OPENMEETINGS-587] - Exclusive audio by hotkey is broken
* [OPENMEETINGS-598] - dont build trunk on JDK 1.7 x64
* [OPENMEETINGS-608] - Office file are uploaded but not displayed
* [OPENMEETINGS-609] - The end time shown under the Book Conference
Room option in New Message is Incorrect
* [OPENMEETINGS-618] - Incorrect translation
* [OPENMEETINGS-625] - Profile Pictures not working on LDAP Accounts
* [OPENMEETINGS-634] - No menu accessable after file upload, in a
special condition
* [OPENMEETINGS-635] - Administration / Configuration : default_lang_id
documentation
* [OPENMEETINGS-654] - Interview room is broken
* [OPENMEETINGS-670] - The webinar is already closed, you wil be
rediredcted to some interesting offerings in X sek
* [OPENMEETINGS-687] - Microphone is unmuted when user refresh video
frame

** Improvement
* [OPENMEETINGS-589] - Configurable hot key for Mute/Unmute should be
added


-- 
WBR
Maxim aka solomax


Re: Re[6]: Google Closure Whiteboard

2013-07-07 Thread Andun Sameera
Hi,


On Sun, Jul 7, 2013 at 10:03 PM, Andun Sameera  wrote:

> Hi Maxim,
>
> Need your assistance in figuring out the whitboard synchronization logic.
> Currently what we have is this.
>
>- WhiteboardBehaviour which can be applied in this format,
>
> WhiteboardBehavior whiteboardBehavior=new WhiteboardBehavior("whiteboard");
>
>- When this is added to a page, all the whiteboard elements will be
>added to a Map. Each Creation,Update will effect on this collection
>- Using this kind of a JavaScript, we can add elements to a whiteboard.
>
> elementCollection=whiteboard.getMainCollection();
> elementCollection.acceptJsonStr('ChangedElementJSON');
>
>- Using this kind of a JavaScript, we can load a whiteboard using JSON
>string of all the elements
>
> elementCollection=whiteboard.getMainCollection();
> elementCollection.acceptJsonStr('elementLisyJSON');
>
> In the current test application, I use two buttons to add elements to
> whitebord and load whitebord from given JSON string.
>
> My question is what is the best way to implement Whiteboard
> Synchronization using these code in Wicket? I planned is this kind of
> approach,
>
>- 1st person open the Whiteboard
>- He is draws some elements and the element map in the
>WhiteboardBehaviour get update
>- 2nd person comes and open the whiteboard. The behavior found that
>element map(This should be a static collection) is not empty. Thus load the
>content of whiteboard using the element map. 3rd, 4th happens like that
>
> I just implemented this in the code

>
>- When one person do a change in the whiteboard, element map wll be
>updated. Meanwhile all the other have to be pushed with the new change
>
> I am looking in to
http://www.wicket-library.com/wicket-examples-6.0.x/atmosphere/ to do this
task

>
>-
>- There whiteboards get update with new change
>
> If this is OK how can we push updates to clients form wicket server to
> achieve 4th step? If you want to have a look a the current code, all are in
> github.
>
> Thanks!
>
>
> On Sun, Jul 7, 2013 at 2:52 AM, Andun Sameera  wrote:
>
>> Hi Maxim,
>>
>> I have created the WhiteboardBehaviour in
>> https://github.com/andunslg/Whiteboard-Wicket. Also I have created JAVA
>> objects to map elements in Andrey Whiteboard. Now each and every drawing on
>> whiteboard are mapped in to a JAVA Object. Also other way around is
>> happening. Also all the elements are kept in a MAP.
>>
>> I have implemented all these in the repo. Still the code is in a
>> preliminary stage. But please have a look. There is a sample webapp in the
>> repo.
>>
>> Thanks!
>>
>>
>> On Sat, Jul 6, 2013 at 7:42 PM, Bogdanov Andrey  wrote:
>>
>>> Yes, you should be carefull with quotes and doublequotes. You could use
>>> any of them, but if you use single quotes inside string, then you should
>>> use doublequotes to enclose the string. And vise versa.
>>>
>>>
>>> Суббота, 6 июля 2013, 18:31 +05:30 от Andun Sameera >> >:
>>>
>>>   Got it working with this,
>>>
>>> collection.acceptJsonStr('{"id": "0", "type": "PointFree", "x": "-530",
>>> "y": "14"}')
>>>
>>> Thanks!
>>>
>>>
>>> On Sat, Jul 6, 2013 at 6:22 PM, Andun Sameera 
>>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>>> > wrote:
>>>
>>> Sry for the previous mail!
>>>
>>>
>>> Hi Andreay,
>>>
>>> Is this syntax correct to add a element to Whiteboard?
>>>
>>> var collection = whiteboard.collections.main;
>>> collection.acceptJsonStr("{"
>>> id": 0, "type": "PointFree", "x": -530, "y": 14}");
>>>
>>> I get this error in Firebug console,
>>>
>>> SyntaxError: missing ) after argument list
>>>
>>> Thanks!
>>>
>>>
>>> On Sat, Jul 6, 2013 at 6:21 PM, Andun Sameera 
>>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>>> > wrote:
>>>
>>> Hi Andreay,
>>>
>>> Is this syntax correct to add a element to Whiteboard?
>>>
>>> collection.acceptJsonStr(
>>>
>>> collection.acceptJsonStr(
>>>
>>> collection.acceptJsonStr({collection.acceptJsonStr({collection.acceptJsonStr({
>>>
>>> var collection = whiteboard.collections.main;
>>> collection.acceptJsonStr("{"id": 0, "type": "PointFree", "x": -530, "y":
>>> 14}");
>>>
>>> I get this error in Firebug console,
>>>
>>> SyntaxError: missing ) after argument list
>>>
>>> Thanks!
>>>
>>>
>>> On Sat, Jul 6, 2013 at 12:48 AM, Andun Sameera 
>>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>>> > wrote:
>>>
>>> I got the update and will work on creating the Java Objects.
>>>
>>> Thanks!
>>>
>>>
>>> On Fri, Jul 5, 2013 at 10:40 PM, Bogdanov Andrey 
>>> https://e.mail.ru/sentmsg?mailto=mailto%3aba...@mail.ru>
>>> > wrote:
>>>
>>>  Hi Andun,
>>>
>>> Just now I pushed corrected version of whiteboard to the repo (
>>> https://github.com/bay73/whiteboard.git ).
>>> You could take it. I hope text element works well now.
>>> Thanks for finding this bug.
>>>
>>> Regards,
>>> Andrey
>>>
>>>
>>> Пятница,  5 июля 2013, 3:08 +05:30 от Andun Sameera 
>>> https://e.mail.ru/sentmsg?mail

Re: Re[6]: Google Closure Whiteboard

2013-07-07 Thread Andun Sameera
Hi Maxim,

Need your assistance in figuring out the whitboard synchronization logic.
Currently what we have is this.

   - WhiteboardBehaviour which can be applied in this format,

WhiteboardBehavior whiteboardBehavior=new WhiteboardBehavior("whiteboard");

   - When this is added to a page, all the whiteboard elements will be
   added to a Map. Each Creation,Update will effect on this collection
   - Using this kind of a JavaScript, we can add elements to a whiteboard.

elementCollection=whiteboard.getMainCollection();
elementCollection.acceptJsonStr('ChangedElementJSON');

   - Using this kind of a JavaScript, we can load a whiteboard using JSON
   string of all the elements

elementCollection=whiteboard.getMainCollection();
elementCollection.acceptJsonStr('elementLisyJSON');

In the current test application, I use two buttons to add elements to
whitebord and load whitebord from given JSON string.

My question is what is the best way to implement Whiteboard Synchronization
using these code in Wicket? I planned is this kind of approach,

   - 1st person open the Whiteboard
   - He is draws some elements and the element map in the
   WhiteboardBehaviour get update
   - 2nd person comes and open the whiteboard. The behavior found that
   element map(This should be a static collection) is not empty. Thus load the
   content of whiteboard using the element map. 3rd, 4th happens like that
   - When one person do a change in the whiteboard, element map wll be
   updated. Meanwhile all the other have to be pushed with the new change
   - There whiteboards get update with new change

If this is OK how can we push updates to clients form wicket server to
achieve 4th step? If you want to have a look a the current code, all are in
github.

Thanks!

On Sun, Jul 7, 2013 at 2:52 AM, Andun Sameera  wrote:

> Hi Maxim,
>
> I have created the WhiteboardBehaviour in
> https://github.com/andunslg/Whiteboard-Wicket. Also I have created JAVA
> objects to map elements in Andrey Whiteboard. Now each and every drawing on
> whiteboard are mapped in to a JAVA Object. Also other way around is
> happening. Also all the elements are kept in a MAP.
>
> I have implemented all these in the repo. Still the code is in a
> preliminary stage. But please have a look. There is a sample webapp in the
> repo.
>
> Thanks!
>
>
> On Sat, Jul 6, 2013 at 7:42 PM, Bogdanov Andrey  wrote:
>
>> Yes, you should be carefull with quotes and doublequotes. You could use
>> any of them, but if you use single quotes inside string, then you should
>> use doublequotes to enclose the string. And vise versa.
>>
>>
>> Суббота, 6 июля 2013, 18:31 +05:30 от Andun Sameera :
>>
>>   Got it working with this,
>>
>> collection.acceptJsonStr('{"id": "0", "type": "PointFree", "x": "-530",
>> "y": "14"}')
>>
>> Thanks!
>>
>>
>> On Sat, Jul 6, 2013 at 6:22 PM, Andun Sameera 
>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>> > wrote:
>>
>> Sry for the previous mail!
>>
>>
>> Hi Andreay,
>>
>> Is this syntax correct to add a element to Whiteboard?
>>
>> var collection = whiteboard.collections.main;
>> collection.acceptJsonStr("{"
>> id": 0, "type": "PointFree", "x": -530, "y": 14}");
>>
>> I get this error in Firebug console,
>>
>> SyntaxError: missing ) after argument list
>>
>> Thanks!
>>
>>
>> On Sat, Jul 6, 2013 at 6:21 PM, Andun Sameera 
>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>> > wrote:
>>
>> Hi Andreay,
>>
>> Is this syntax correct to add a element to Whiteboard?
>>
>> collection.acceptJsonStr(
>>
>> collection.acceptJsonStr(
>>
>> collection.acceptJsonStr({collection.acceptJsonStr({collection.acceptJsonStr({
>>
>> var collection = whiteboard.collections.main;
>> collection.acceptJsonStr("{"id": 0, "type": "PointFree", "x": -530, "y":
>> 14}");
>>
>> I get this error in Firebug console,
>>
>> SyntaxError: missing ) after argument list
>>
>> Thanks!
>>
>>
>> On Sat, Jul 6, 2013 at 12:48 AM, Andun Sameera 
>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>> > wrote:
>>
>> I got the update and will work on creating the Java Objects.
>>
>> Thanks!
>>
>>
>> On Fri, Jul 5, 2013 at 10:40 PM, Bogdanov Andrey 
>> https://e.mail.ru/sentmsg?mailto=mailto%3aba...@mail.ru>
>> > wrote:
>>
>>  Hi Andun,
>>
>> Just now I pushed corrected version of whiteboard to the repo (
>> https://github.com/bay73/whiteboard.git ).
>> You could take it. I hope text element works well now.
>> Thanks for finding this bug.
>>
>> Regards,
>> Andrey
>>
>>
>> Пятница,  5 июля 2013, 3:08 +05:30 от Andun Sameera 
>> https://e.mail.ru/sentmsg?mailto=mailto%3aandun...@gmail.com>
>> >:
>> >Hi Andrey,
>> >
>> >Currently I am in the process of Mapping Whiteboard Elements to  Java
>> Objects. There I noticed that Text fields are bit buggy. I have attached a
>> screen shot. When we draw a text box, we are shown a label. But I can find
>> a place to edit it. Also I tried with info tool. When I enter a text using
>> that, it overlaps as shown in screen sho