Re: OPENMEETINGS-560

2013-04-04 Thread Кочура Иван
Hello Irina,
Thanks for the answer. I will correct.

I see two error message windoes instead of one when I save duplicated
key record.
I guess it is related to the task
OPENMEETINGS-507https://issues.apache.org/jira/browse/OPENMEETINGS-507




2013/4/4 Maxim Solodovnik solomax...@gmail.com

 Additionally there is not optimal copy/pasted code.

 I'm going to rewrite your patch and will let you know
 On Apr 4, 2013 1:13 PM, Irina Arkhipets irina.arkhip...@gmail.com
 wrote:

  Hi Ivan,
 
  I've reviewed your patch and found some problems with this.
 
  You can find more detailed explanation in the bug comments.
 
  Generally, you don't take into account that non-deleted duplicated
  records can exist in the database before your patch was applied. No
  changes for import/export there.
 
  Additionally, I see two error message windoes instead of one when I
  save duplicated key record.
 
  Best regards,
  Irina.
 
 
 
  On Mon, Apr 1, 2013 at 6:14 PM, Кочура Иван kiv.i...@gmail.com wrote:
 
   The patch attached.
  
  
   2013/3/28 Кочура Иван kiv.i...@gmail.com
  
   
Can I start to implement?
   
   
2013/3/25 Кочура Иван kiv.i...@gmail.com
   
When we remove the key, it is marked as deleted. Consequently,
 when
  we
add a new key (removed earlier), we need to update the existing
  record.
   
   
2013/3/25 Maxim Solodovnik solomax...@gmail.com
   
It is need to be investigated 
Coniguration key should be unique, BUT since we are performing
 soft
delete this might be a problem: you cannot add same key once
 deleted
   
   
On Mon, Mar 25, 2013 at 3:54 PM, Кочура Иван kiv.i...@gmail.com
   wrote:
   
 Will there be enough to add a unique modifier on the server? In
  this
case,
 we get a database error if the client will get hacked.


 2013/3/25 Maxim Solodovnik solomax...@gmail.com

  Actually it should be performed on 2 clients (Flash + Wicket)
 and
   on
 server
  On server it might be done by adding UNIQUE to the column
   definition
  (deletion should be investigated in this case)
 
 
  On Mon, Mar 25, 2013 at 1:37 PM, Кочура Иван 
 kiv.i...@gmail.com
  
wrote:
 
   Hello Maxim.
   I'm going to perform a task
   #560https://issues.apache.org/jira/browse/OPENMEETINGS-560
   .
   Checks should be performed only on the client, or also in the
   ConfigurationDao?
   Do I need to create a new error message? If so, tell us in a
  few
words
  how,
   please.
  
 
 
 
  --
  WBR
  Maxim aka solomax
 

   
   
   
--
WBR
Maxim aka solomax
   
   
   
   
  
 



[ANNOUNCE] Apache Openmeetings 2.1.0 released

2013-04-04 Thread Maxim Solodovnik
The Apache Openmeetings PMC is proud to announce Apache Openmeetings 2.1.0!

This is our first release as Top Level Project!

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

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

Release Notes 2.1.0
=

_Integration with Asterisk_
SIP/VOIP integration with Asterisk was refactored.
Confbridge application is now used instead of Meetme for the conferences.
Sound quality and SIP transport stability was significamtly improved.
Basic support for video is added (is unstable and in beta version stage
now).
See also: http://openmeetings.apache.org/red5sip-integration_2.1.html

_Improving the sound and video quality_
All the audio/video related components now use SWF11 for broadcasting and
receiving audio and video signals.
Echo cancellation can be enabled in the config.
H264 video codec is now used instead of H263 to enable SIP video support.

_Private and moderated chat_
Ability to send private chat messages in the room is added as well as the
chat
moderation funmctionality.

_SMS sending module_
Possibility to send SMS message as a meeting reminder is added.
See also:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/SMS+Sending+Module

_Network testing tool/script_
Network testing tool is implemented and its link is added to the login page.
See also:
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Connection+testing+tool

_Improvements in the mail sending process_
Now e-mails are re-send again in case of unsuccessfull result at the first
attempt or OpenMeetings re-start before the sending.
SMTP setting updates now takes effect just after they saving whereas
previously
they started to work after the OpenMeetings re-start only.

_Calendar_
Messages about the meeting updates are sent only when substantial changes
were made.
Multiple external attendees can be added as one operation, it's now
possible to
specify user name for external guests (user will appear with this name in
the user
list in the room).

_Room Interface_
Possibility to get invitation link without sending an e-mail was added.
Confirmation dialog for exclusive audio no longer appears.
Hot key is added to be able to rearrange video windows in the room.
Volume slider on the video pod toolbar was added.

_Recordings and screen sharing improvements_
Some improvements for the screen sharing and recordings quality and
stability
were made.

_Cluster capabilities_
In the beta stage: OpenMeetings  can be configured in the cluster
environment and
is ready for the testing, but development has not been fnished yet.
See also: http://openmeetings.apache.org/Clustering.html,
https://cwiki.apache.org/confluence/display/OPENMEETINGS/Cluster+Master-Slave+overview

_Admin/Calendar HTML5 UI_
Additional HTML5 Wicket based UI (fully customizable with CSS) is added for
static screens as a proof of the concept.


** Sub-task
* [OPENMEETINGS-448] - Test and fix latest trunk to be able to import
all old download zip's



** Bug
* [OPENMEETINGS-34] - missing entries in XML language files
* [OPENMEETINGS-49] - Synchronisation between Calendar and Dashboard
* [OPENMEETINGS-92] - The documents are not deleted from the server
after removing them from the system
* [OPENMEETINGS-94] - References to the code.google.com need to be
updated
* [OPENMEETINGS-157] - Registration bug
* [OPENMEETINGS-166] - Meeting is created with incorrect start time in
the calendar.
* [OPENMEETINGS-180] - bug sending invitation
* [OPENMEETINGS-196] - Calendar Ical / Simple Mail - double invitation
mail
* [OPENMEETINGS-212] - Activities and actions: Deny and remove message
 button is not worked
* [OPENMEETINGS-243] - Updated field in Administration - LDAP panel
contains null for string for empty value.
* [OPENMEETINGS-251] - Minors layout problems when translating
* [OPENMEETINGS-267] - missing translation
* [OPENMEETINGS-291] - light does not indicate when the user is speaking
* [OPENMEETINGS-310] - Moodle plugin version
* [OPENMEETINGS-311] - Language problem after Openmeetings update
(accessing from Moodle only)
* [OPENMEETINGS-312] - File was null or did not exist:
TEST_SETUP_1338945244240.flv
* [OPENMEETINGS-314] - Webcam Title of user is username of default OM
user
* [OPENMEETINGS-316] - ICS attachments for emails not working with
Exchange 2003/2007 and Outlook 2003/2007
* [OPENMEETINGS-320] - Exception and layout for screensharing/recording
client
* [OPENMEETINGS-322] - Several Exception in Log
* [OPENMEETINGS-327] - Add Restart Save Mail-Queue
* [OPENMEETINGS-328] - screen sharing is not closing automatically
* [OPENMEETINGS-331] - tooltip for cmd_applyforWhiteBoard room action
is not set
* [OPENMEETINGS-343] - OM crashes if Inviteв guest with screen sharing
rights tries to start screen sharing
  

How to set attribute value to a language xml file entry

2013-04-04 Thread Andun Sameera
Hi All,

I have a language xml entry like this,

string id=1541 name=content_is_saving
valueContent is Saving, Please wait./value
/string

I want to save this value to a attribute like this,

 attribute name=errorid value=I want to put it here type=number /

What will be the way?

Also I have added the above new entry to master language (English) xml
file. Running the test method in
singlewebapp/src/org/apache/openmeetings/test/labels/FillLabels.java
will populate that entry to other languages. Am I correct?

Thanks!

-- 
Regards
Andun S.L. Gunawardana
Undergraduate
Department of Computer Science And Engineering
University of Moratuwa
Sri Lanka

Blog - http://www.insightforfuture.blogspot.com/
LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
Twitter -http://twitter.com/AndunSLG


Re: svn commit: r1464479 - in /openmeetings: branches/2.1/docs/downloads.html branches/2.1/xdocs/downloads.xml trunk/singlewebapp/docs/downloads.html trunk/singlewebapp/xdocs/downloads.xml

2013-04-04 Thread seba.wag...@gmail.com
@Maxim: The links are right, but the header text on our download page says
Apache Openmeetings Incubating 2.0

Also I think its worth to put a news entry on the landing page about the
newly available download.

Thanks,
Sebastian


2013/4/5 solo...@apache.org

 Author: solomax
 Date: Thu Apr  4 11:55:34 2013
 New Revision: 1464479

 URL: http://svn.apache.org/r1464479
 Log:
 [Release] Download links are updated

 Modified:
 openmeetings/branches/2.1/docs/downloads.html
 openmeetings/branches/2.1/xdocs/downloads.xml
 openmeetings/trunk/singlewebapp/docs/downloads.html
 openmeetings/trunk/singlewebapp/xdocs/downloads.xml

 Modified: openmeetings/branches/2.1/docs/downloads.html
 URL:
 http://svn.apache.org/viewvc/openmeetings/branches/2.1/docs/downloads.html?rev=1464479r1=1464478r2=1464479view=diff

 ==
 --- openmeetings/branches/2.1/docs/downloads.html (original)
 +++ openmeetings/branches/2.1/docs/downloads.html Thu Apr  4 11:55:34 2013
 @@ -650,9 +650,7 @@ limitations under the License.
  blockquote
  div
 All downloads can be verified using the
 Apache OpenMeetings code
 -   signing
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/KEYS
 KEYS/a
 -   .
 +   signing a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/KEYS;KEYS/a.
 /div
  p
 All are available for download as source
 and binary.
 @@ -673,14 +671,14 @@ limitations under the License.
 Binaries:
 ul
 li
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip
 apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip.sig
 [SIG]/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip.md5
 [MD5]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.zip
 apache-openmeetings-2.1.0.zip/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.zip.asc
 [SIG]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.zip.md5
 [MD5]/a
 /li
 li
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz
 apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz.sig
 [SIG]/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz.md5
 [MD5]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.tar.gz
 apache-openmeetings-2.1.0.tar.gz/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.tar.gz.asc
 [SIG]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.tar.gz.md5
 [MD5]/a
 /li
 /ul
 /li
 @@ -688,14 +686,14 @@ limitations under the License.
 Sources:
 ul

Re: svn commit: r1464479 - in /openmeetings: branches/2.1/docs/downloads.html branches/2.1/xdocs/downloads.xml trunk/singlewebapp/docs/downloads.html trunk/singlewebapp/xdocs/downloads.xml

2013-04-04 Thread seba.wag...@gmail.com
And the download link for the MD5 sums do not work.
From my point of view there is also no need for the .asc and .md5 file to
be linked against the mirrors
You can simply link the direct file on the dist section:
https://dist.apache.org/repos/dist/release/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.tar.gz.asc
https://dist.apache.org/repos/dist/release/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.tar.gz.md5
et cetera

I am not even sure if those .md5 and .asc files are synced to the mirrors.

Sebastian


2013/4/5 seba.wag...@gmail.com seba.wag...@gmail.com

 @Maxim: The links are right, but the header text on our download page says
 Apache Openmeetings Incubating 2.0

 Also I think its worth to put a news entry on the landing page about the
 newly available download.

 Thanks,
 Sebastian


 2013/4/5 solo...@apache.org

 Author: solomax
 Date: Thu Apr  4 11:55:34 2013
 New Revision: 1464479

 URL: http://svn.apache.org/r1464479
 Log:
 [Release] Download links are updated

 Modified:
 openmeetings/branches/2.1/docs/downloads.html
 openmeetings/branches/2.1/xdocs/downloads.xml
 openmeetings/trunk/singlewebapp/docs/downloads.html
 openmeetings/trunk/singlewebapp/xdocs/downloads.xml

 Modified: openmeetings/branches/2.1/docs/downloads.html
 URL:
 http://svn.apache.org/viewvc/openmeetings/branches/2.1/docs/downloads.html?rev=1464479r1=1464478r2=1464479view=diff

 ==
 --- openmeetings/branches/2.1/docs/downloads.html (original)
 +++ openmeetings/branches/2.1/docs/downloads.html Thu Apr  4 11:55:34 2013
 @@ -650,9 +650,7 @@ limitations under the License.
  blockquote
  div
 All downloads can be verified using the
 Apache OpenMeetings code
 -   signing
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/KEYS
 KEYS/a
 -   .
 +   signing a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/KEYS;KEYS/a.
 /div
  p
 All are available for download as source
 and binary.
 @@ -673,14 +671,14 @@ limitations under the License.
 Binaries:
 ul
 li
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip
 apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip.sig
 [SIG]/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.zip.md5
 [MD5]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.zip
 apache-openmeetings-2.1.0.zip/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.zip.asc
 [SIG]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.zip.md5
 [MD5]/a
 /li
 li
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz
 apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz.sig
 [SIG]/a
 -   a href=
 http://archive.apache.org/dist/incubator/openmeetings/2.0-incubating/apache-openmeetings-incubating-2.0.0.r1361497-14-07-2012_1108.tar.gz.md5
 [MD5]/a
 +   a href=
 http://www.apache.org/dyn/closer.cgi/openmeetings/2.1.0/bin/apache-openmeetings-2.1.0.tar.gz
 apache-openmeetings-2.1.0.tar.gz/a
 +   a href=
 

Re: How to set attribute value to a language xml file entry

2013-04-04 Thread Maxim Solodovnik
I'm totally confused with this question,

1) since you have entry in your english.xml file (and have this language
file imported via language admin) there is no need to create any attributes.

2) Why do you need attribute?

3) your attribute declaration is confusing: by setting  *type=number* you
telling openlaszlo the value will be number, but in the same line you
declaring: value=I want to put it here.

Please take a look at the code, there is special label which takes string
id, you just need to use it.



On Thu, Apr 4, 2013 at 9:50 PM, Andun Sameera andun...@gmail.com wrote:

 Hi All,

 I have a language xml entry like this,

 string id=1541 name=content_is_saving
 valueContent is Saving, Please wait./value
 /string

 I want to save this value to a attribute like this,

  attribute name=errorid value=I want to put it here type=number
 /

 What will be the way?

 Also I have added the above new entry to master language (English) xml
 file. Running the test method in
 singlewebapp/src/org/apache/openmeetings/test/labels/FillLabels.java
 will populate that entry to other languages. Am I correct?

 Thanks!

 --
 Regards
 Andun S.L. Gunawardana
 Undergraduate
 Department of Computer Science And Engineering
 University of Moratuwa
 Sri Lanka

 Blog - http://www.insightforfuture.blogspot.com/
 LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
 Twitter -http://twitter.com/AndunSLG




-- 
WBR
Maxim aka solomax


Re: How to set attribute value to a language xml file entry

2013-04-04 Thread Andun Sameera
Hi Maxim,

There was a small mistake in my question. I will state the question
more clearly with some new findings.

In the baseErrorDialog class it has a view like this,

attribute name=errortext value= type=string /

view y=24 width=$once{ parent.width - 40 } height=130 x=30 clip=true
text fontsize=10 fontstyle=bold text=${
parent.parent.errortext } multiline=true width=$once{ parent.width
- 16 } selectable=true /
/view

the contentSaveWindow class has been created by extending
baseErrorDialog. So I want to update the text of the above text view
from the subclass contentSaveWindow. For that task, I thought updating
the value of errorText attribute which is used to specify the text of
text view.

So I have created a english.xml file entry like this,

string id=1541 name=content_is_saving
   valueContent is Saving, Please wait./value
/string

Then I have changed the oninit handler of the contentSaveWindow class
like this to update the variable.

handler name=oninit
this.parent.setAttribute('errortext',canvas.getLabelName(1541));
lz.ModeManager.makeModal(this);
if ($debug) Debug.write(contentsavewindow: ,errorid);
if ($debug) Debug.write(this.parent.errortext:,this.parent.errortext);
this.startSave();
/handler

In the debug mode I saw the value of errortext attribute is updated.
But the message window come without empty value in the text box. So
what is wrong here?

My basic requirement is to add a text to the empty text box of
baseErrorDialog while being in the sub class
contentSaveWindow.

Also my other question was how to update all the language xml files
with this new entry,

string id=1541 name=content_is_saving
   valueContent is Saving, Please wait./value
/string

Vasiliy instructed me to use
org.apache.openmeetings.test.labels.FillLabels for this task. Is it
enough to run the text() method of that particular class to update all
langue xml files.

Please be kind enough to instruct me on these questions. Sorry for the
earlier mistake.

Thanks!

On Fri, Apr 5, 2013 at 7:06 AM, Maxim Solodovnik solomax...@gmail.com wrote:
 I'm totally confused with this question,

 1) since you have entry in your english.xml file (and have this language
 file imported via language admin) there is no need to create any attributes.

 2) Why do you need attribute?

 3) your attribute declaration is confusing: by setting  *type=number* you
 telling openlaszlo the value will be number, but in the same line you
 declaring: value=I want to put it here.

 Please take a look at the code, there is special label which takes string
 id, you just need to use it.



 On Thu, Apr 4, 2013 at 9:50 PM, Andun Sameera andun...@gmail.com wrote:

 Hi All,

 I have a language xml entry like this,

 string id=1541 name=content_is_saving
 valueContent is Saving, Please wait./value
 /string

 I want to save this value to a attribute like this,

  attribute name=errorid value=I want to put it here type=number
 /

 What will be the way?

 Also I have added the above new entry to master language (English) xml
 file. Running the test method in
 singlewebapp/src/org/apache/openmeetings/test/labels/FillLabels.java
 will populate that entry to other languages. Am I correct?

 Thanks!

 --
 Regards
 Andun S.L. Gunawardana
 Undergraduate
 Department of Computer Science And Engineering
 University of Moratuwa
 Sri Lanka

 Blog - http://www.insightforfuture.blogspot.com/
 LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
 Twitter -http://twitter.com/AndunSLG




 --
 WBR
 Maxim aka solomax



-- 
Regards
Andun S.L. Gunawardana
Undergraduate
Department of Computer Science And Engineering
University of Moratuwa
Sri Lanka

Blog - http://www.insightforfuture.blogspot.com/
LinkedIn - http://www.linkedin.com/pub/andun-s-l-gunawardana/34/646/703
Twitter -http://twitter.com/AndunSLG