Re: [HELP NEEDED] 5.0.0 release - Character String Translations - EN, PT, FR, ES, IT

2020-04-18 Thread Maxim Solodovnik
Labels updated!

Thanks for translations :)

On Sat, 18 Apr 2020 at 21:48, Daniel Ascher 
wrote:

> This is very exciting! Thanks to everyone for your efforts and hard work
> making this happen!
>
> Dan
>
>
>
> On Sat, Apr 18, 2020 at 9:20 AM Maxim Solodovnik 
> wrote:
>
>> It seems there is no more blockers
>> Will will pack rc1 and start vote tomorrow
>>
>> Please stop me if you see something need to be changed :)
>>
>> Thanks for translations :)
>>
>> On Sat, Apr 18, 2020, 15:36  wrote:
>>
>>> Hello,  Here are the new English, Portugese and French (not a native
>>> Portguese or French speaker, so OK to review this - but should be good):
>>>
>>> EN
>>> 
>>> The microphone is on. Click to turn off.
>>> The camera is on. Click to turn off.
>>>
>>> The microphone is off. Click to turn on.
>>>
>>> The camera is turned off. Click to turn on.
>>>
>>> FR
>>> 
>>> Le microphone est activé. Cliquez pour désactiver.
>>>
>>> La caméra est allumée. Cliquez pour désactiver.
>>>
>>> Le microphone est éteint. Cliquez pour activer.
>>>
>>> La caméra est éteint. Cliquez pour allumer.
>>>
>>> PT
>>> 
>>>
>>> O microfone está ligado. Clique para desligar.
>>>
>>> A câmera está ligada. Clique para desligar.
>>>
>>> O microfone está desligado. Clique para ativar.
>>>
>>> A câmera está desligada. Clique para ativar.
>>>
>>>
>>> Here's an attempt at Spanish and Italian - not my best languages so
>>> please review:
>>>
>>> ES
>>> ---
>>> El micrófono está encendido. Haga clic para apagar.
>>>
>>> La camara esta encendida. Haga clic para apagar.
>>>
>>> El micrófono está apagado. Haga clic para encender.
>>>
>>> La cámara está apagada. Haga clic para encender.
>>>
>>> IT
>>> ---
>>>
>>> Il microfono è acceso. Fare clic per disattivare.
>>>
>>> La fotocamera è accesa. Fare clic per disattivare.
>>>
>>> Il microfono è spento. Fare clic per accendere.
>>>
>>> La fotocamera è spenta. Fare clic per accendere.
>>>
>>>
>>>
>>> Best,
>>>
>>>
>>> Ed
>>>
>>>
>>>
>>> Quoting Maxim Solodovnik :
>>>
>>> Hello Andres,
>>>
>>> Thanks for asking :)
>>> The easiest way is to use Admin->Labels then export language XML and
>>> attach it JIRA
>>> If you know what you are doing you can edit on github
>>> https://github.com/apache/openmeetings/tree/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app
>>>
>>> I plan to create project here https://poeditor.com/
>>>  to improve translations
>>>
>>>
>>>
>>> On Sat, 18 Apr 2020 at 01:51, ratatouille 
>>> wrote:
>>>
 Maxim Solodovnik  schrieb am 17.04.20 um
 11:02:10 Uhr:

 > > 1)  In the left column user column when I mouse-over the nice green
 > > microphone icon and the nice green video camera icon, the text
 states "Turn
 > > off microphone" and "Turn off camera".  Since we decided to have
 these
 > > icons represent "states" rather than "to-do actions", I recommend
 that the
 > > text be changed to:
 > >
 > > "Microphone is on. Click to turn off." and "Camera is on. Click to
 turn
 > > off."
 > >
 >
 > I personally very very hard to avoid changing text labels
 > Every change need to be done for all 32 languages
 > And then hope someone can translate these labels
 > Will do it :(
 >
 > p.s. thanks for English text
 > p.p.s @All if if speak any language and can translate couple of OM
 labels:
 > please contribute :)))

 What's the way to go to translate the labels?

   Andreas

 > > The same should be done for the mouse-over text when these icons are
 > > orange (that is in the "off" state): the text should read:
 "Microphone is
 > > off. Click to turn on" and "Camera is off. Click to turn on".

>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>>
>>>
>>>
>
> --
> Daniel Ascher
>
> President, A+ Test Prep and Tutoring
> Phone: 215-886-9188
> Mobile: 267-242-9640
> Email: aplusad...@aplustutoring.com
> Address: 505 York Road, Suite 6
> Jenkintown, PA 19046
> Website: aplustutoring.com
>  
> 
> 
> 
>


-- 
Best regards,
Maxim


Re: Openmeetings 5.0.0-M3 doesn't record

2020-04-18 Thread Maxim Solodovnik
Hello Ricardo,

such behavior is really weird
Recording is made on server so the main test should be: start your camera
or screen-sharing
Check using different browser or browser tab if your sharing\camera is
visible

Is it works as expected?

What browser are you using?

On Sun, 19 Apr 2020 at 02:22, Ricardo Neves  wrote:

> Hello, I'm using Openmeetings 5.0.0-M3 with Centos 7. Everything works
> fine, but it doesn't record with the firewall active (it generates zero
> size webm files). I've already released all the doors and more:
> iptables -A INPUT -p tcp -m tcp --dport 3478 -j ACCEPT
> iptables -A INPUT -p tcp -m tcp --dport 3479 -j ACCEPT
> iptables -A INPUT -p tcp -m tcp --dport 5443 -j ACCEPT
> iptables -A INPUT -p tcp -m tcp --dport  -j ACCEPT
> iptables -A INPUT -p udp --match multiport --dports 49152: 65535 -j ACCEPT
> iptables -A INPUT -p udp -m udp --dport 3478 -j ACCEPT
> iptables -A INPUT -p udp -m udp --dport 3479 -j ACCEPT
> iptables -A OUTPUT -p udp --match multiport --dports 49152: 65535 -j ACCEPT
>
> If I disable the firewall, recording occurs normally.
> Is there a rule missing from my firewall?
> Thanks a lot for the help.
> Ricardo.



-- 
Best regards,
Maxim


Re: change password encoding MD5

2020-04-18 Thread Maxim Solodovnik
forget the link https://github.com/openmeetings/custom-crypt

On Sun, 19 Apr 2020 at 00:30, K. Kamhamea  wrote:

> ???
> Where is the example?
>
> Am Sa., 18. Apr. 2020 um 19:07 Uhr schrieb Maxim Solodovnik <
> solomax...@gmail.com>:
>
>> Here is the example
>>
>> On Sat, 18 Apr 2020 at 19:24, K. Kamhamea 
>> wrote:
>>
>>> You're right. I'm using M3, but according the website (
>>> https://openmeetings.apache.org/downloads.html) it is the "Latest
>>> Official WebRTC Release" :-)
>>> Best K.
>>>
>>> Am Sa., 18. Apr. 2020 um 13:56 Uhr schrieb :
>>>
 Hello,

 About all this work you are doing on the manual, I hope you are making
 a manual for  the current M4 and not M3 - as some of the symbols have
 changed, etc.

 Best regards,

 Ed


 Quoting "K. Kamhamea" :

 You are right we should not invest to much time and efforts here. It is
 rather a negligibility. I just want to keep the manual as detailed as
 possible. But there are many other more pressing things to solve. I will
 create a new thread for that.
 K.

 Am Sa., 18. Apr. 2020 um 03:31 Uhr schrieb Maxim Solodovnik <
 solomax...@gmail.com>:

> I can create example project for this (please ping me if i will be too
> silent)
>
> According to MD5 as password hash function: this is bad idea
>
> https://security.stackexchange.com/questions/52461/how-weak-is-md5-as-a-password-hashing-function
>
> On Sat, 18 Apr 2020 at 02:42, K. Kamhamea 
> wrote:
>
>> OMG. I'm not experienced with Java. We are doing python mostly and
>> Javascript and rarely some C++ but never Java.
>>
>> I tried to compile your MD5implementation file
>>
>> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
>> but it failed because of missing dependencies. It probably requires
>> the whole source of the project being downloaded and properly installed.
>> So for the moment I decided I wouldn't spend my time to test all this
>> I'm just going to copy your detailed instruction into the Manual.
>>
>> The reason why I was so interested in this topic is because of
>> compatibility problems. I haven't found yet a python encryption library
>> that is compatible. By contrast, MD5 is a standard that is widely used.
>>
>> Thank you again so much for your help
>> K.
>>
>>
>>
>> Am Fr., 17. Apr. 2020 um 16:15 Uhr schrieb Maxim Solodovnik <
>> solomax...@gmail.com>:
>>
>>>
>>>
>>> On Fri, 17 Apr 2020 at 18:54, K. Kamhamea 
>>> wrote:
>>>
 I was just about testing other encryption methods as described
 https://openmeetings.apache.org/CustomCryptMechanism.html

>>>
>>> I doubt anyone ever try this :)
>>>
>>>

 Here I run into the following undocumented problems
 1. Where to copy the MD5Implementation.java
 
 file into my file system

>>>
>>> This is basic JAVA question :)
>>> Java programs need to be compiled
>>> i.e. After you have created class (which MUST implement interface)
>>> you need to
>>> 1) compile this class
>>> 2) Pack into JAR file
>>> 3) Put jar to webapps/openmeetings/WEB-INF/lib
>>>
>>>
 2. How to set the CLASSPATH so that it can be found anywhere in my
 filesystem

>>>
>>> jars from webapps/openmeetings/WEB-INF/lib are being loaded
>>> automatically
>>>
>>>
 3. What is actually the text string to be added into the
 configuration variable " crypt.class.name "

>>>
>>> In JAVA classes are usually being created in packages (to resolve
>>> possible name clashes)
>>> so You need to write something like:
>>>
>>> package com.googlemail.kamhamea;
>>>
>>> public class MySecureCryptProvider implements ICrypt {
>>>your secure algorithm here ..
>>> }
>>>
>>> In config value you should write:
>>> "com.googlemail.kamhamea.MySecureCryptProvider"
>>>
>>>
>>>

 Alternatively I tried this class

 http://openmeetings.apache.org/openmeetings-util/apidocs/org/apache/openmeetings/util/crypt/MD5.html

 But changing the configuration variable to "
 org.apache.openmeetings.util.crypt.MD5 " creates but an error.

>>>
>>>
>>> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5.java
>>> Can't be used due to it doesn't implements ICrypt
>>>
>>>
>>>

 Best K.


[DISCUSS] Why OpenMeetings needs a Style Guide

2020-04-18 Thread seba.wag...@gmail.com
Hi,

I would like to establish a Style Guide for OpenMeetings.

*Why is it important to have a Style Guide*
A Style guide helps to make consistent design decisions. A reference to
agree on before doing try-and-error discussions that can be costly and
frustrating. In the end it may not really matter if the colour of the alert
modal is red or orange. And it may not matter if the OK and Cancel button
is left and right. Or the opposite.

But what matters is that once you decide for one of those patterns you do
it consistently! Not come up with alternating patterns or have various
different versions of a UI/UX of similar functionality.

Further material and examples on what a typical Style Guide (and
StoryBooks) would contain and solve:

   - https://www.toptal.com/designers/ui/ui-styleguide-better-ux
   - http://styleguides.io/examples.html

*So I made a start here:*
https://cwiki.apache.org/confluence/display/OPENMEETINGS/OpenMeetings+UI+and+UX+Style+Guide

*And I started with 2 topics:*

   - *Hiding vs Disabling of elements*:
   
https://cwiki.apache.org/confluence/display/OPENMEETINGS/OpenMeetings+UI+and+UX+Style+Guide#OpenMeetingsUIandUXStyleGuide-HidingvsDisablingelements
   - *Primary vs Secondary call to actions buttons: *
   
https://cwiki.apache.org/confluence/display/OPENMEETINGS/OpenMeetings+UI+and+UX+Style+Guide#OpenMeetingsUIandUXStyleGuide-PrimaryvsSecondarycalltoactionsbuttons
   



*Needs your Support*
If you could please add some feedback on those topics.
And also if you could help adding more topics where you feel like there is
some inconsistency that would be worth agreeing on.

I appreciate this could be a long process and seems tedious to discuss this
in such detail. But it will be much faster to discuss this in theory and
agree (or disagree) on a style guide than refactor things later.
As well as it will help to discover inconsistencies that make the
application hard to use.

Thanks,
Seb
-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
seba.wag...@gmail.com


Re: Can not use LDAP-Sync with Microsoft Active Directory

2020-04-18 Thread Maxim Solodovnik
Hello,

- stop OM

- add the following line to
`$OM_HOME/webapps/openmeetings/WEB-INF/classes/logback-config.xml`:

``

- restart OM

- Try to log in using the configured LDAP DB and try to debug the
  problem by checking the log file. By default, logging is done to the
  file `$OM_HOME/logs/catalina.out`.


More details are here https://github.com/apache/openmeetings/pull/61
please check PR and discussion

On Sun, 19 Apr 2020 at 05:03, Julian Weiß  wrote:

> Hey Users,
>
> I’m new in Openmeetings trying to get the LDAP connection done. I’m using
> the same configuration as Mr Kocks has posted.
>
> I’ve got the Problem, that I can’t get logged in. I always get a wrong
> password error,
>
> Can anyone tell me how to get to the debug mode, so that I can see if
> there is any connection between Microsoft LDAP and the Openmeetingsserver?
>
> Thanks a lot!
>
>
>
> *Von: *Maxim Solodovnik 
> *Antworten an: *"user@openmeetings.apache.org" <
> user@openmeetings.apache.org>
> *Datum: *Mittwoch, 15. April 2020 um 18:22
> *An: *Openmeetings user-list 
> *Betreff: *Re: Can not use LDAP-Sync with Microsoft Active Directory
>
>
>
> really weird
>
> even if mapping is wrong
>
> 1) login (after mapping)
>
> 2) type == LDAP
>
> 3) domainId
>
> should remain the same
>
> wrong but the same
>
>
>
> so users shouldn't get duplicated
>
> don't get how is this possible :(
>
>
>
> On Wed, 15 Apr 2020 at 23:09, Mathias Kocks  wrote:
>
> With your tip, i dont get any new, same named users.
>
> I changed the mapping like this and now it is fine.
>
>
>
> ldap_server_type=AD
>
> ldap_conn_host=dc2.labmed.de
>
> ldap_conn_port=389
>
> ldap_conn_secure=false
>
> ldap_admin_dn=CN=Mathias
> Kocks,OU=User,OU=EDV,OU=labmed,DC=labmed,DC=de
>
> ldap_passwd=SecretPassword
>
> ldap_search_base=DC=labmed,DC=de
>
> ldap_search_query=(userprincipalname=%s)
>
> ldap_search_scope= SUBTREE
>
> ldap_auth_type=SEARCHANDBIND
>
> ldap_deref_mode=always
>
> ldap_userdn_format=%s
>
> ldap_provisionning=AUTOCREATE
>
> ldap_use_admin_to_get_attrs=false
>
>
>
> ldap_sync_password_to_om=true
>
> ldap_sync_attr_lastname=sn
>
> ldap_user_attr_firstname=givenName
>
> ldap_user_attr_mail=mail
>
> ldap_user_attr_zip=postalCode
>
> ldap_user_attr_country=c
>
> ldap_user_attr_phone=telephoneNumber
>
> ldap_user_attr_login=samaccountname
>
> #ldap_use_lower_case=false
>
>
>
>
>
>
>
>
>
> Mit freundlichen Grüßen
>
>
>
> *Mathias Kocks*
>
> *Teamleitung IT-Infrastruktur*
>
> *Zertifizierter Information Security Officer ISO 27001 (TÜV Süd)*
>
>
>
> Überörtliche Berufsausübungsgemeinschaft
>
> *Medizinisches Versorgungszentrum*
>
> *Dr. Eberhard & Partner Dortmund*
>
> MVZ-Haus 3: Balkenstr. 12-14
>
> 44137 Dortmund, Germany
>
>
>
> Tel.:  +49 231 9572 7158
>
> Fax.: +49 231 9572 18 159
>
> E-Mail: ko...@labmed.de
>
> Web: https://www.labmed.de
>
>
>
> *Von:* Rohrbach, Gerald 
> *Gesendet:* Mittwoch, 15. April 2020 18:04
> *An:* user@openmeetings.apache.org
> *Betreff:* AW: Can not use LDAP-Sync with Microsoft Active Directory
>
>
>
> Mathias, I don`t think it is fixed really if that are user now.
>
>
>
> It should work like this: If a user logs in its checked against AD. Then
> OM looks if the user is already in DB.
>
> If yes, no new record in db is created.
>
>
>
> This is a LDAP maping problem, I had the same. .
>
>
>
>
>
> *Von:* Mathias Kocks [mailto:ko...@labmed.de ]
> *Gesendet:* Mittwoch, 15. April 2020 17:42
> *An:* user@openmeetings.apache.org
> *Betreff:* AW: Can not use LDAP-Sync with Microsoft Active Directory
>
>
>
>
>
>
>
> But the tip from Gerald worked fine. Now it is fixed.
>
> Thanks
>
>
>
>
>
>
>
> Mit freundlichen Grüßen
>
>
>
> *Mathias Kocks*
>
> *Teamleitung IT-Infrastruktur*
>
> *Zertifizierter Information Security Officer ISO 27001 (TÜV Süd)*
>
>
>
> Überörtliche Berufsausübungsgemeinschaft
>
> *Medizinisches Versorgungszentrum*
>
> *Dr. Eberhard & Partner Dortmund*
>
> MVZ-Haus 3: Balkenstr. 12-14
>
> 44137 Dortmund, Germany
>
>
>
> Tel.:  +49 231 9572 7158
>
> Fax.: +49 231 9572 18 159
>
> E-Mail: ko...@labmed.de
>
> Web: https://www.labmed.de
>
>
>
> *Von:* Maxim Solodovnik 
> *Gesendet:* Mittwoch, 15. April 2020 17:36
> *An:* Openmeetings user-list 
> *Betreff:* Re: Can not use LDAP-Sync with Microsoft Active Directory
>
>
>
> Do you have additional DB entry on each login?
>
> this shouldn't be possible
>
> (AFAIR I have test to ensure this is impossible)
>
>
>
> On Wed, 15 Apr 2020 at 22:32, Rohrbach, Gerald 
> wrote:
>
> LDAP Mapping Problem, depends on
>
> ldap_userdn_format=userPrincipalName=%s,CN=Users,DC=mydomain,DC=de
>
>
>
> ldap_user_attr_login=sAMAccountName
>
>
>
> With debug you can analyse. It depends if users login with
> userPrinicalName like in our case I use sAMAccountName for storing in db.
>
>
>
>
>
> Gerald
>
>
>
> *Von:* 

Openmeetings 5.0.0-M3 doesn't record

2020-04-18 Thread Ricardo Neves
Hello, I'm using Openmeetings 5.0.0-M3 with Centos 7. Everything works fine, 
but it doesn't record with the firewall active (it generates zero size webm 
files). I've already released all the doors and more:
iptables -A INPUT -p tcp -m tcp --dport 3478 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 3479 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport 5443 -j ACCEPT
iptables -A INPUT -p tcp -m tcp --dport  -j ACCEPT
iptables -A INPUT -p udp --match multiport --dports 49152: 65535 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 3478 -j ACCEPT
iptables -A INPUT -p udp -m udp --dport 3479 -j ACCEPT
iptables -A OUTPUT -p udp --match multiport --dports 49152: 65535 -j ACCEPT

If I disable the firewall, recording occurs normally.
Is there a rule missing from my firewall?
Thanks a lot for the help.
Ricardo.

Re: -help

2020-04-18 Thread Daniel Baker

Ignore this was testing mail program.

On 18/04/2020 19:12, Daniel Baker wrote:


-help



-help

2020-04-18 Thread Daniel Baker

-help



Re: change password encoding MD5

2020-04-18 Thread K. Kamhamea
???
Where is the example?

Am Sa., 18. Apr. 2020 um 19:07 Uhr schrieb Maxim Solodovnik <
solomax...@gmail.com>:

> Here is the example
>
> On Sat, 18 Apr 2020 at 19:24, K. Kamhamea  wrote:
>
>> You're right. I'm using M3, but according the website (
>> https://openmeetings.apache.org/downloads.html) it is the "Latest
>> Official WebRTC Release" :-)
>> Best K.
>>
>> Am Sa., 18. Apr. 2020 um 13:56 Uhr schrieb :
>>
>>> Hello,
>>>
>>> About all this work you are doing on the manual, I hope you are making a
>>> manual for  the current M4 and not M3 - as some of the symbols have
>>> changed, etc.
>>>
>>> Best regards,
>>>
>>> Ed
>>>
>>>
>>> Quoting "K. Kamhamea" :
>>>
>>> You are right we should not invest to much time and efforts here. It is
>>> rather a negligibility. I just want to keep the manual as detailed as
>>> possible. But there are many other more pressing things to solve. I will
>>> create a new thread for that.
>>> K.
>>>
>>> Am Sa., 18. Apr. 2020 um 03:31 Uhr schrieb Maxim Solodovnik <
>>> solomax...@gmail.com>:
>>>
 I can create example project for this (please ping me if i will be too
 silent)

 According to MD5 as password hash function: this is bad idea

 https://security.stackexchange.com/questions/52461/how-weak-is-md5-as-a-password-hashing-function

 On Sat, 18 Apr 2020 at 02:42, K. Kamhamea 
 wrote:

> OMG. I'm not experienced with Java. We are doing python mostly and
> Javascript and rarely some C++ but never Java.
>
> I tried to compile your MD5implementation file
>
> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
> but it failed because of missing dependencies. It probably requires
> the whole source of the project being downloaded and properly installed.
> So for the moment I decided I wouldn't spend my time to test all this
> I'm just going to copy your detailed instruction into the Manual.
>
> The reason why I was so interested in this topic is because of
> compatibility problems. I haven't found yet a python encryption library
> that is compatible. By contrast, MD5 is a standard that is widely used.
>
> Thank you again so much for your help
> K.
>
>
>
> Am Fr., 17. Apr. 2020 um 16:15 Uhr schrieb Maxim Solodovnik <
> solomax...@gmail.com>:
>
>>
>>
>> On Fri, 17 Apr 2020 at 18:54, K. Kamhamea 
>> wrote:
>>
>>> I was just about testing other encryption methods as described
>>> https://openmeetings.apache.org/CustomCryptMechanism.html
>>>
>>
>> I doubt anyone ever try this :)
>>
>>
>>>
>>> Here I run into the following undocumented problems
>>> 1. Where to copy the MD5Implementation.java
>>> 
>>> file into my file system
>>>
>>
>> This is basic JAVA question :)
>> Java programs need to be compiled
>> i.e. After you have created class (which MUST implement interface)
>> you need to
>> 1) compile this class
>> 2) Pack into JAR file
>> 3) Put jar to webapps/openmeetings/WEB-INF/lib
>>
>>
>>> 2. How to set the CLASSPATH so that it can be found anywhere in my
>>> filesystem
>>>
>>
>> jars from webapps/openmeetings/WEB-INF/lib are being loaded
>> automatically
>>
>>
>>> 3. What is actually the text string to be added into the
>>> configuration variable " crypt.class.name "
>>>
>>
>> In JAVA classes are usually being created in packages (to resolve
>> possible name clashes)
>> so You need to write something like:
>>
>> package com.googlemail.kamhamea;
>>
>> public class MySecureCryptProvider implements ICrypt {
>>your secure algorithm here ..
>> }
>>
>> In config value you should write:
>> "com.googlemail.kamhamea.MySecureCryptProvider"
>>
>>
>>
>>>
>>> Alternatively I tried this class
>>>
>>> http://openmeetings.apache.org/openmeetings-util/apidocs/org/apache/openmeetings/util/crypt/MD5.html
>>>
>>> But changing the configuration variable to "
>>> org.apache.openmeetings.util.crypt.MD5 " creates but an error.
>>>
>>
>>
>> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5.java
>> Can't be used due to it doesn't implements ICrypt
>>
>>
>>
>>>
>>> Best K.
>>>
>>
>>
>> --
>> Best regards,
>> Maxim
>>
>

 --
 Best regards,
 Maxim

>>>
>>>
>>>
>
> --
> Best regards,
> Maxim
>


Re: change password encoding MD5

2020-04-18 Thread Maxim Solodovnik
Here is the example

On Sat, 18 Apr 2020 at 19:24, K. Kamhamea  wrote:

> You're right. I'm using M3, but according the website (
> https://openmeetings.apache.org/downloads.html) it is the "Latest
> Official WebRTC Release" :-)
> Best K.
>
> Am Sa., 18. Apr. 2020 um 13:56 Uhr schrieb :
>
>> Hello,
>>
>> About all this work you are doing on the manual, I hope you are making a
>> manual for  the current M4 and not M3 - as some of the symbols have
>> changed, etc.
>>
>> Best regards,
>>
>> Ed
>>
>>
>> Quoting "K. Kamhamea" :
>>
>> You are right we should not invest to much time and efforts here. It is
>> rather a negligibility. I just want to keep the manual as detailed as
>> possible. But there are many other more pressing things to solve. I will
>> create a new thread for that.
>> K.
>>
>> Am Sa., 18. Apr. 2020 um 03:31 Uhr schrieb Maxim Solodovnik <
>> solomax...@gmail.com>:
>>
>>> I can create example project for this (please ping me if i will be too
>>> silent)
>>>
>>> According to MD5 as password hash function: this is bad idea
>>>
>>> https://security.stackexchange.com/questions/52461/how-weak-is-md5-as-a-password-hashing-function
>>>
>>> On Sat, 18 Apr 2020 at 02:42, K. Kamhamea 
>>> wrote:
>>>
 OMG. I'm not experienced with Java. We are doing python mostly and
 Javascript and rarely some C++ but never Java.

 I tried to compile your MD5implementation file

 https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
 but it failed because of missing dependencies. It probably requires the
 whole source of the project being downloaded and properly installed.
 So for the moment I decided I wouldn't spend my time to test all this
 I'm just going to copy your detailed instruction into the Manual.

 The reason why I was so interested in this topic is because of
 compatibility problems. I haven't found yet a python encryption library
 that is compatible. By contrast, MD5 is a standard that is widely used.

 Thank you again so much for your help
 K.



 Am Fr., 17. Apr. 2020 um 16:15 Uhr schrieb Maxim Solodovnik <
 solomax...@gmail.com>:

>
>
> On Fri, 17 Apr 2020 at 18:54, K. Kamhamea 
> wrote:
>
>> I was just about testing other encryption methods as described
>> https://openmeetings.apache.org/CustomCryptMechanism.html
>>
>
> I doubt anyone ever try this :)
>
>
>>
>> Here I run into the following undocumented problems
>> 1. Where to copy the MD5Implementation.java
>> 
>> file into my file system
>>
>
> This is basic JAVA question :)
> Java programs need to be compiled
> i.e. After you have created class (which MUST implement interface) you
> need to
> 1) compile this class
> 2) Pack into JAR file
> 3) Put jar to webapps/openmeetings/WEB-INF/lib
>
>
>> 2. How to set the CLASSPATH so that it can be found anywhere in my
>> filesystem
>>
>
> jars from webapps/openmeetings/WEB-INF/lib are being loaded
> automatically
>
>
>> 3. What is actually the text string to be added into the
>> configuration variable " crypt.class.name "
>>
>
> In JAVA classes are usually being created in packages (to resolve
> possible name clashes)
> so You need to write something like:
>
> package com.googlemail.kamhamea;
>
> public class MySecureCryptProvider implements ICrypt {
>your secure algorithm here ..
> }
>
> In config value you should write:
> "com.googlemail.kamhamea.MySecureCryptProvider"
>
>
>
>>
>> Alternatively I tried this class
>>
>> http://openmeetings.apache.org/openmeetings-util/apidocs/org/apache/openmeetings/util/crypt/MD5.html
>>
>> But changing the configuration variable to "
>> org.apache.openmeetings.util.crypt.MD5 " creates but an error.
>>
>
>
> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5.java
> Can't be used due to it doesn't implements ICrypt
>
>
>
>>
>> Best K.
>>
>
>
> --
> Best regards,
> Maxim
>

>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>
>>
>>

-- 
Best regards,
Maxim


Re: API documentation

2020-04-18 Thread Daniel Baker

And  you can  view  the API  services available on your site:

https://test.org:5443/openmeetings/services/services 



https://om.alteametasoft.com:8443/next/services/services



On 18/04/2020 15:42, Maxim Solodovnik wrote:



On Sat, 18 Apr 2020 at 19:04, K. Kamhamea > wrote:


The Administration > Configuration Variable *rest.allow.origin*
stores a list of addresses browser Ajax REST requests can be send.
I guess the addresses are accepted in IP4. Are other formats
allows as well? What separator is used? Can IP ranges be specified
as well? If so what is the accepted syntax?


this config sets "Access-Control-Allow-Origin" you can read docs here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin


Moreover I have a rather general request.

Does anyone know some more detailed API documentation than this one:
https://openmeetings.apache.org/RestAPISample.html


Javadoc is here 
https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html

PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
You can use OM plugin for Moodle 
https://github.com/openmeetings/openmeetings-moodle-plugin as an example



Can anyone provide some code snippets in other programming
languages to learn from? Is  some open source code available that
employs the API interface?

Best regards K.




--
Best regards,
Maxim


Re: [HELP NEEDED] 5.0.0 release - Character String Translations - EN, PT, FR, ES, IT

2020-04-18 Thread Daniel Ascher
This is very exciting! Thanks to everyone for your efforts and hard work
making this happen!

Dan



On Sat, Apr 18, 2020 at 9:20 AM Maxim Solodovnik 
wrote:

> It seems there is no more blockers
> Will will pack rc1 and start vote tomorrow
>
> Please stop me if you see something need to be changed :)
>
> Thanks for translations :)
>
> On Sat, Apr 18, 2020, 15:36  wrote:
>
>> Hello,  Here are the new English, Portugese and French (not a native
>> Portguese or French speaker, so OK to review this - but should be good):
>>
>> EN
>> 
>> The microphone is on. Click to turn off.
>> The camera is on. Click to turn off.
>>
>> The microphone is off. Click to turn on.
>>
>> The camera is turned off. Click to turn on.
>>
>> FR
>> 
>> Le microphone est activé. Cliquez pour désactiver.
>>
>> La caméra est allumée. Cliquez pour désactiver.
>>
>> Le microphone est éteint. Cliquez pour activer.
>>
>> La caméra est éteint. Cliquez pour allumer.
>>
>> PT
>> 
>>
>> O microfone está ligado. Clique para desligar.
>>
>> A câmera está ligada. Clique para desligar.
>>
>> O microfone está desligado. Clique para ativar.
>>
>> A câmera está desligada. Clique para ativar.
>>
>>
>> Here's an attempt at Spanish and Italian - not my best languages so
>> please review:
>>
>> ES
>> ---
>> El micrófono está encendido. Haga clic para apagar.
>>
>> La camara esta encendida. Haga clic para apagar.
>>
>> El micrófono está apagado. Haga clic para encender.
>>
>> La cámara está apagada. Haga clic para encender.
>>
>> IT
>> ---
>>
>> Il microfono è acceso. Fare clic per disattivare.
>>
>> La fotocamera è accesa. Fare clic per disattivare.
>>
>> Il microfono è spento. Fare clic per accendere.
>>
>> La fotocamera è spenta. Fare clic per accendere.
>>
>>
>>
>> Best,
>>
>>
>> Ed
>>
>>
>>
>> Quoting Maxim Solodovnik :
>>
>> Hello Andres,
>>
>> Thanks for asking :)
>> The easiest way is to use Admin->Labels then export language XML and
>> attach it JIRA
>> If you know what you are doing you can edit on github
>> https://github.com/apache/openmeetings/tree/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app
>>
>> I plan to create project here https://poeditor.com/
>>  to improve translations
>>
>>
>>
>> On Sat, 18 Apr 2020 at 01:51, ratatouille 
>> wrote:
>>
>>> Maxim Solodovnik  schrieb am 17.04.20 um 11:02:10
>>> Uhr:
>>>
>>> > > 1)  In the left column user column when I mouse-over the nice green
>>> > > microphone icon and the nice green video camera icon, the text
>>> states "Turn
>>> > > off microphone" and "Turn off camera".  Since we decided to have
>>> these
>>> > > icons represent "states" rather than "to-do actions", I recommend
>>> that the
>>> > > text be changed to:
>>> > >
>>> > > "Microphone is on. Click to turn off." and "Camera is on. Click to
>>> turn
>>> > > off."
>>> > >
>>> >
>>> > I personally very very hard to avoid changing text labels
>>> > Every change need to be done for all 32 languages
>>> > And then hope someone can translate these labels
>>> > Will do it :(
>>> >
>>> > p.s. thanks for English text
>>> > p.p.s @All if if speak any language and can translate couple of OM
>>> labels:
>>> > please contribute :)))
>>>
>>> What's the way to go to translate the labels?
>>>
>>>   Andreas
>>>
>>> > > The same should be done for the mouse-over text when these icons are
>>> > > orange (that is in the "off" state): the text should read:
>>> "Microphone is
>>> > > off. Click to turn on" and "Camera is off. Click to turn on".
>>>
>>
>>
>> --
>> Best regards,
>> Maxim
>>
>>
>>
>>

-- 
Daniel Ascher

President, A+ Test Prep and Tutoring
Phone: 215-886-9188
Mobile: 267-242-9640
Email: aplusad...@aplustutoring.com
Address: 505 York Road, Suite 6
Jenkintown, PA 19046
Website: aplustutoring.com
 





Re: API documentation

2020-04-18 Thread Maxim Solodovnik
On Sat, 18 Apr 2020 at 19:04, K. Kamhamea  wrote:

> The Administration > Configuration Variable *rest.allow.origin* stores a
> list of addresses browser Ajax REST requests can be send. I guess the
> addresses are accepted in IP4. Are other formats allows as well? What
> separator is used? Can IP ranges be specified as well? If so what is the
> accepted syntax?
>

this config sets "Access-Control-Allow-Origin" you can read docs here
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin


>
> Moreover I have a rather general request.
>
> Does anyone know some more detailed API documentation than this one:
> https://openmeetings.apache.org/RestAPISample.html
>

Javadoc is here
https://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/package-summary.html
PHP API is here https://github.com/openmeetings/openmeetings-api-plugin
You can use OM plugin for Moodle
https://github.com/openmeetings/openmeetings-moodle-plugin as an example


>
> Can anyone provide some code snippets in other programming languages to
> learn from? Is  some open source code available that employs the API
> interface?
>
> Best regards K.
>
>
>

-- 
Best regards,
Maxim


Re: [HELP NEEDED] 5.0.0 release - Character String Translations - EN, PT, FR, ES, IT

2020-04-18 Thread Maxim Solodovnik
It seems there is no more blockers
Will will pack rc1 and start vote tomorrow

Please stop me if you see something need to be changed :)

Thanks for translations :)

On Sat, Apr 18, 2020, 15:36  wrote:

> Hello,  Here are the new English, Portugese and French (not a native
> Portguese or French speaker, so OK to review this - but should be good):
>
> EN
> 
> The microphone is on. Click to turn off.
> The camera is on. Click to turn off.
>
> The microphone is off. Click to turn on.
>
> The camera is turned off. Click to turn on.
>
> FR
> 
> Le microphone est activé. Cliquez pour désactiver.
>
> La caméra est allumée. Cliquez pour désactiver.
>
> Le microphone est éteint. Cliquez pour activer.
>
> La caméra est éteint. Cliquez pour allumer.
>
> PT
> 
>
> O microfone está ligado. Clique para desligar.
>
> A câmera está ligada. Clique para desligar.
>
> O microfone está desligado. Clique para ativar.
>
> A câmera está desligada. Clique para ativar.
>
>
> Here's an attempt at Spanish and Italian - not my best languages so please
> review:
>
> ES
> ---
> El micrófono está encendido. Haga clic para apagar.
>
> La camara esta encendida. Haga clic para apagar.
>
> El micrófono está apagado. Haga clic para encender.
>
> La cámara está apagada. Haga clic para encender.
>
> IT
> ---
>
> Il microfono è acceso. Fare clic per disattivare.
>
> La fotocamera è accesa. Fare clic per disattivare.
>
> Il microfono è spento. Fare clic per accendere.
>
> La fotocamera è spenta. Fare clic per accendere.
>
>
>
> Best,
>
>
> Ed
>
>
>
> Quoting Maxim Solodovnik :
>
> Hello Andres,
>
> Thanks for asking :)
> The easiest way is to use Admin->Labels then export language XML and
> attach it JIRA
> If you know what you are doing you can edit on github
> https://github.com/apache/openmeetings/tree/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app
>
> I plan to create project here https://poeditor.com/
>  to improve translations
>
>
>
> On Sat, 18 Apr 2020 at 01:51, ratatouille 
> wrote:
>
>> Maxim Solodovnik  schrieb am 17.04.20 um 11:02:10
>> Uhr:
>>
>> > > 1)  In the left column user column when I mouse-over the nice green
>> > > microphone icon and the nice green video camera icon, the text states
>> "Turn
>> > > off microphone" and "Turn off camera".  Since we decided to have these
>> > > icons represent "states" rather than "to-do actions", I recommend
>> that the
>> > > text be changed to:
>> > >
>> > > "Microphone is on. Click to turn off." and "Camera is on. Click to
>> turn
>> > > off."
>> > >
>> >
>> > I personally very very hard to avoid changing text labels
>> > Every change need to be done for all 32 languages
>> > And then hope someone can translate these labels
>> > Will do it :(
>> >
>> > p.s. thanks for English text
>> > p.p.s @All if if speak any language and can translate couple of OM
>> labels:
>> > please contribute :)))
>>
>> What's the way to go to translate the labels?
>>
>>   Andreas
>>
>> > > The same should be done for the mouse-over text when these icons are
>> > > orange (that is in the "off" state): the text should read:
>> "Microphone is
>> > > off. Click to turn on" and "Camera is off. Click to turn on".
>>
>
>
> --
> Best regards,
> Maxim
>
>
>
>


Re: API documentation

2020-04-18 Thread Daniel Baker
Maxim has  supplied a few  curl  examples (1)  that can  test the  
functionality.  I hope to make a  pull request to the  OM moodle plugin  
that uses  some of  these  APIs.


The  curl requests  go like this :

*curl*-k --header "Content-Type: application/json" -X get 
'https://test.org:/openmeetings/services/wb/cleanwb/7/0?sid=d18cb4c3-f9c8-4405-bda6-6529a03b20e6'



(1) 
https://openmeetings.markmail.org/search/?q=curl#query:curl%20from%3A%22Daniel%20Baker%22+page:1+mid:vw6vqtv3s4grjp3m+state:results




On 18/04/2020 13:04, K. Kamhamea wrote:
The Administration > Configuration Variable *rest.allow.origin* stores 
a list of addresses browser Ajax REST requests can be send. I guess 
the addresses are accepted in IP4. Are other formats allows as well? 
What separator is used? Can IP ranges be specified as well? If so what 
is the accepted syntax?


Moreover I have a rather general request.

Does anyone know some more detailed API documentation than this one:
https://openmeetings.apache.org/RestAPISample.html

Can anyone provide some code snippets in other programming languages 
to learn from? Is  some open source code available that employs the 
API interface?


Best regards K.




Re: change password encoding MD5

2020-04-18 Thread K. Kamhamea
You're right. I'm using M3, but according the website (
https://openmeetings.apache.org/downloads.html) it is the "Latest Official
WebRTC Release" :-)
Best K.

Am Sa., 18. Apr. 2020 um 13:56 Uhr schrieb :

> Hello,
>
> About all this work you are doing on the manual, I hope you are making a
> manual for  the current M4 and not M3 - as some of the symbols have
> changed, etc.
>
> Best regards,
>
> Ed
>
>
> Quoting "K. Kamhamea" :
>
> You are right we should not invest to much time and efforts here. It is
> rather a negligibility. I just want to keep the manual as detailed as
> possible. But there are many other more pressing things to solve. I will
> create a new thread for that.
> K.
>
> Am Sa., 18. Apr. 2020 um 03:31 Uhr schrieb Maxim Solodovnik <
> solomax...@gmail.com>:
>
>> I can create example project for this (please ping me if i will be too
>> silent)
>>
>> According to MD5 as password hash function: this is bad idea
>>
>> https://security.stackexchange.com/questions/52461/how-weak-is-md5-as-a-password-hashing-function
>>
>> On Sat, 18 Apr 2020 at 02:42, K. Kamhamea 
>> wrote:
>>
>>> OMG. I'm not experienced with Java. We are doing python mostly and
>>> Javascript and rarely some C++ but never Java.
>>>
>>> I tried to compile your MD5implementation file
>>>
>>> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
>>> but it failed because of missing dependencies. It probably requires the
>>> whole source of the project being downloaded and properly installed.
>>> So for the moment I decided I wouldn't spend my time to test all this
>>> I'm just going to copy your detailed instruction into the Manual.
>>>
>>> The reason why I was so interested in this topic is because of
>>> compatibility problems. I haven't found yet a python encryption library
>>> that is compatible. By contrast, MD5 is a standard that is widely used.
>>>
>>> Thank you again so much for your help
>>> K.
>>>
>>>
>>>
>>> Am Fr., 17. Apr. 2020 um 16:15 Uhr schrieb Maxim Solodovnik <
>>> solomax...@gmail.com>:
>>>


 On Fri, 17 Apr 2020 at 18:54, K. Kamhamea 
 wrote:

> I was just about testing other encryption methods as described
> https://openmeetings.apache.org/CustomCryptMechanism.html
>

 I doubt anyone ever try this :)


>
> Here I run into the following undocumented problems
> 1. Where to copy the MD5Implementation.java
> 
> file into my file system
>

 This is basic JAVA question :)
 Java programs need to be compiled
 i.e. After you have created class (which MUST implement interface) you
 need to
 1) compile this class
 2) Pack into JAR file
 3) Put jar to webapps/openmeetings/WEB-INF/lib


> 2. How to set the CLASSPATH so that it can be found anywhere in my
> filesystem
>

 jars from webapps/openmeetings/WEB-INF/lib are being loaded
 automatically


> 3. What is actually the text string to be added into the configuration
> variable " crypt.class.name "
>

 In JAVA classes are usually being created in packages (to resolve
 possible name clashes)
 so You need to write something like:

 package com.googlemail.kamhamea;

 public class MySecureCryptProvider implements ICrypt {
your secure algorithm here ..
 }

 In config value you should write:
 "com.googlemail.kamhamea.MySecureCryptProvider"



>
> Alternatively I tried this class
>
> http://openmeetings.apache.org/openmeetings-util/apidocs/org/apache/openmeetings/util/crypt/MD5.html
>
> But changing the configuration variable to "
> org.apache.openmeetings.util.crypt.MD5 " creates but an error.
>


 https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5.java
 Can't be used due to it doesn't implements ICrypt



>
> Best K.
>


 --
 Best regards,
 Maxim

>>>
>>
>> --
>> Best regards,
>> Maxim
>>
>
>
>


API documentation

2020-04-18 Thread K. Kamhamea
 The Administration > Configuration Variable *rest.allow.origin* stores a
list of addresses browser Ajax REST requests can be send. I guess the
addresses are accepted in IP4. Are other formats allows as well? What
separator is used? Can IP ranges be specified as well? If so what is the
accepted syntax?

Moreover I have a rather general request.

Does anyone know some more detailed API documentation than this one:
https://openmeetings.apache.org/RestAPISample.html

Can anyone provide some code snippets in other programming languages to
learn from? Is  some open source code available that employs the API
interface?

Best regards K.


Re: change password encoding MD5

2020-04-18 Thread info

 Hello,

About all this work you are doing on the manual, I hope you are making  
a manual for  the current M4 and not M3 - as some of the symbols have  
changed, etc.


Best regards,

Ed

Quoting "K. Kamhamea" :

You are right we should not invest to much time and efforts here. It  
is rather a negligibility. I just want to keep the manual as  
detailed as possible. But there are many other more pressing things  
to solve. I will create a new thread for that.

   K.

 Am Sa., 18. Apr. 2020 um 03:31 Uhr schrieb Maxim Solodovnik  
:


I can create example project for this (please ping me if i will be  
too silent)   

 According to MD5 as password hash function: this is bad idea
  
https://security.stackexchange.com/questions/52461/how-weak-is-md5-as-a-password-hashing-function


 On Sat, 18 Apr 2020 at 02:42, K. Kamhamea  
 wrote:


OMG. I'm not experienced with Java. We are doing python mostly and  
Javascript and rarely some C++ but never Java.

 
I tried to compile your MD5implementation file
 
https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
but it failed because of missing dependencies. It probably  
requires the whole source of the project being downloaded and  
properly installed.
So for the moment I decided I wouldn't spend my time to  
test all this I'm just going to copy your detailed instruction  
into the Manual.

 
The reason why I was so interested in this topic is  
because of compatibility problems. I haven't found yet a python  
encryption library that is compatible. By contrast, MD5 is a  
standard that is widely used.

 
Thank you again so much for your help
K.
 
 

 Am Fr., 17. Apr. 2020 um 16:15 Uhr schrieb Maxim  
Solodovnik :



 

   On Fri, 17 Apr 2020 at 18:54, K. Kamhamea  
 wrote:



I was just about testing other encryption methods as described
https://openmeetings.apache.org/CustomCryptMechanism.html


   
  I doubt anyone ever try this :)
   


 
Here I run into the following undocumented problems
1. Where to copy the MD5Implementation.java[1] file  
into my file system


   
  This is basic JAVA question :)
  Java programs need to be compiled
  i.e. After you have created class (which MUST implement  
interface) you need to 

  1) compile this class
  2) Pack into JAR file
  3) Put jar to webapps/openmeetings/WEB-INF/lib
   

2. How to set the CLASSPATH so that it can be found anywhere in  
my filesystem


   
  jars from webapps/openmeetings/WEB-INF/lib are being  
loaded automatically

   

3. What is actually the text string to be added into the  
configuration variable " crypt.class.name[2] "


   
  In JAVA classes are usually being created in packages  
(to resolve possible name clashes)

  so You need to write something like:
   
  package com.googlemail.kamhamea;
   
  public class MySecureCryptProvider implements ICrypt {
     your secure algorithm here ..
  }
   
  In config value you should write:  
"com.googlemail.kamhamea.MySecureCryptProvider"

   
   


 
Alternatively I tried this class
 
http://openmeetings.apache.org/openmeetings-util/apidocs/org/apache/openmeetings/util/crypt/MD5.html

 
But changing the configuration variable to "  
org.apache.openmeetings.util.crypt.MD5 " creates but an error.


   
   
https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5.java

  Can't be used due to it doesn't implements ICrypt
   
   


 
Best K.


  
--
  Best regards,
Maxim


 
--
   Best regards,
Maxim




Links:
--
[1]  
https://github.com/apache/openmeetings/blob/256e5cd11e5af8f422688dfc1d01ac66b370d7a0/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java

[2] http://crypt.class.name


Re: change password encoding MD5

2020-04-18 Thread K. Kamhamea
You are right we should not invest to much time and efforts here. It is
rather a negligibility. I just want to keep the manual as detailed as
possible. But there are many other more pressing things to solve. I will
create a new thread for that.
K.

Am Sa., 18. Apr. 2020 um 03:31 Uhr schrieb Maxim Solodovnik <
solomax...@gmail.com>:

> I can create example project for this (please ping me if i will be too
> silent)
>
> According to MD5 as password hash function: this is bad idea
>
> https://security.stackexchange.com/questions/52461/how-weak-is-md5-as-a-password-hashing-function
>
> On Sat, 18 Apr 2020 at 02:42, K. Kamhamea  wrote:
>
>> OMG. I'm not experienced with Java. We are doing python mostly and
>> Javascript and rarely some C++ but never Java.
>>
>> I tried to compile your MD5implementation file
>>
>> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5Implementation.java
>> but it failed because of missing dependencies. It probably requires the
>> whole source of the project being downloaded and properly installed.
>> So for the moment I decided I wouldn't spend my time to test all this I'm
>> just going to copy your detailed instruction into the Manual.
>>
>> The reason why I was so interested in this topic is because of
>> compatibility problems. I haven't found yet a python encryption library
>> that is compatible. By contrast, MD5 is a standard that is widely used.
>>
>> Thank you again so much for your help
>> K.
>>
>>
>>
>> Am Fr., 17. Apr. 2020 um 16:15 Uhr schrieb Maxim Solodovnik <
>> solomax...@gmail.com>:
>>
>>>
>>>
>>> On Fri, 17 Apr 2020 at 18:54, K. Kamhamea 
>>> wrote:
>>>
 I was just about testing other encryption methods as described
 https://openmeetings.apache.org/CustomCryptMechanism.html

>>>
>>> I doubt anyone ever try this :)
>>>
>>>

 Here I run into the following undocumented problems
 1. Where to copy the MD5Implementation.java
 
 file into my file system

>>>
>>> This is basic JAVA question :)
>>> Java programs need to be compiled
>>> i.e. After you have created class (which MUST implement interface) you
>>> need to
>>> 1) compile this class
>>> 2) Pack into JAR file
>>> 3) Put jar to webapps/openmeetings/WEB-INF/lib
>>>
>>>
 2. How to set the CLASSPATH so that it can be found anywhere in my
 filesystem

>>>
>>> jars from webapps/openmeetings/WEB-INF/lib are being loaded automatically
>>>
>>>
 3. What is actually the text string to be added into the configuration
 variable " crypt.class.name "

>>>
>>> In JAVA classes are usually being created in packages (to resolve
>>> possible name clashes)
>>> so You need to write something like:
>>>
>>> package com.googlemail.kamhamea;
>>>
>>> public class MySecureCryptProvider implements ICrypt {
>>>your secure algorithm here ..
>>> }
>>>
>>> In config value you should write:
>>> "com.googlemail.kamhamea.MySecureCryptProvider"
>>>
>>>
>>>
 Alternatively I tried this class

 http://openmeetings.apache.org/openmeetings-util/apidocs/org/apache/openmeetings/util/crypt/MD5.html

 But changing the configuration variable to "
 org.apache.openmeetings.util.crypt.MD5 " creates but an error.

>>>
>>>
>>> https://github.com/apache/openmeetings/blob/5.0.0-M3/openmeetings-util/src/main/java/org/apache/openmeetings/util/crypt/MD5.java
>>> Can't be used due to it doesn't implements ICrypt
>>>
>>>
>>>

 Best K.

>>>
>>>
>>> --
>>> Best regards,
>>> Maxim
>>>
>>
>
> --
> Best regards,
> Maxim
>


Re: [HELP NEEDED] 5.0.0 release - Character String Translations - EN, PT, FR, ES, IT

2020-04-18 Thread info
 Hello,  Here are the new English, Portugese and French (not a native  
Portguese or French speaker, so OK to review this - but should be good):


EN

The microphone is on. Click to turn off.
 The camera is on. Click to turn off.
  
 The microphone is off. Click to turn on.
  
 The camera is turned off. Click to turn on.

FR

  Le microphone est activé. Cliquez pour désactiver.
   
  La caméra est allumée. Cliquez pour désactiver.
   
  Le microphone est éteint. Cliquez pour activer.
   
  La caméra est éteint. Cliquez pour allumer.

PT


   O microfone está ligado. Clique para desligar.
    
   A câmera está ligada. Clique para desligar.
    
   O microfone está desligado. Clique para ativar.
    
   A câmera está desligada. Clique para ativar.

Here's an attempt at Spanish and Italian - not my best languages so  
please review:


ES
---
El micrófono está encendido. Haga clic para apagar.
 
La camara esta encendida. Haga clic para apagar.
 
El micrófono está apagado. Haga clic para encender.
 
La cámara está apagada. Haga clic para encender.

IT
---

 Il microfono è acceso. Fare clic per disattivare.
  
 La fotocamera è accesa. Fare clic per disattivare.
  
 Il microfono è spento. Fare clic per accendere.
  
 La fotocamera è spenta. Fare clic per accendere.

Best,
 

   Ed

   


Quoting Maxim Solodovnik :


Hello Andres,   
   Thanks for asking :)
   The easiest way is to use Admin->Labels then export language XML  
and attach it JIRA
   If you know what you are doing you can edit on  
github https://github.com/apache/openmeetings/tree/master/openmeetings-web/src/main/java/org/apache/openmeetings/web/app

    
   I plan to create project here https://poeditor.com/[1] to improve  
translations

    
    

 On Sat, 18 Apr 2020 at 01:51, ratatouille  
 wrote:



Maxim Solodovnik  schrieb am 17.04.20 um 11:02:10 Uhr:


> 1)  In the left column user column when I mouse-over the nice green
> microphone icon and the nice green video camera icon, the text  
states "Turn

> off microphone" and "Turn off camera".  Since we decided to have these
> icons represent "states" rather than "to-do actions", I  
recommend that the

> text be changed to:
>
> "Microphone is on. Click to turn off." and "Camera is on. Click to turn
> off."
> 

I personally very very hard to avoid changing text labels
Every change need to be done for all 32 languages
And then hope someone can translate these labels
Will do it :(

p.s. thanks for English text
p.p.s @All if if speak any language and can translate couple of OM labels:
please contribute :)))


What's the way to go to translate the labels?

  Andreas


> The same should be done for the mouse-over text when these icons are
> orange (that is in the "off" state): the text should read: "Microphone is
> off. Click to turn on" and "Camera is off. Click to turn on".


   
--
 Best regards,
Maxim




Links:
--
[1] https://poeditor.com/projects/


Re: user@openmeetings.apache.org

2020-04-18 Thread Maxim Solodovnik
You have to set environment variable:

Something like this:
export CATALINA_OPTS=-Xms1G -Xmx8G -server -XX:+UseParallelGC
./bin/startup.sh

this way you will limit OM memory with 8G


On Sat, 18 Apr 2020 at 06:03, Christian Bautista 
wrote:

> Hi Maxim,
>
> May I know the command to execute that?
>
> Regards.
>
> On Fri, Apr 17, 2020 at 9:52 PM Maxim Solodovnik 
> wrote:
>
>> Can you try to increase RAM for OM and check if it will help?
>>
>> On Fri, 17 Apr 2020 at 01:59, Christian Bautista 
>> wrote:
>>
>>> Hello Maxim,
>>>
>>> The process of recording stops automatically.
>>>
>>> CPU core is 4
>>> RAM is 32gb
>>>
>>> Thank you.
>>>

>>
>> --
>> Best regards,
>> Maxim
>>
>

-- 
Best regards,
Maxim