Re: REST API : Profile Picture URL

2017-08-15 Thread Jacob Ouanounou
OK. I'll re-install using MariaDB. I probably made a mistake during install. Thank you VERY MUCH, Maxim Le 15/08/2017 à 10:02, Maxim Solodovnik a écrit : AFAIK there is no chance to query Derby DB On Tue, Aug 15, 2017 at 3:01 PM, Jacob Ouanounou wrote: In persistence.xml I find this : wro

Re: REST API : Profile Picture URL

2017-08-15 Thread Maxim Solodovnik
AFAIK there is no chance to query Derby DB On Tue, Aug 15, 2017 at 3:01 PM, Jacob Ouanounou wrote: > In persistence.xml I find this : > > value="DriverClassName=org.apache.derby.jdbc.EmbeddedDriver,Url=jdbc:derby:open330;create=true, > ... > > which I assume means that I am using derby. > > How

Re: REST API : Profile Picture URL

2017-08-15 Thread Jacob Ouanounou
In persistence.xml I find this : value="DriverClassName=org.apache.derby.jdbc.EmbeddedDriver,Url=jdbc:derby:open330;create=true, ... which I assume means that I am using derby. How can I access and make a query on Derby ? Le 15/08/2017 à 05:23, Maxim Solodovnik a écrit : please find persis

Re: REST API : Profile Picture URL

2017-08-14 Thread Maxim Solodovnik
please find persistense.xml and check what DB driver is used On Mon, Aug 14, 2017 at 10:59 PM, Jacob Ouanounou wrote: > I thought that I had configured OM to use MariaDB, but the database is > empty. Would it mean that it uses Derby ? How can I check ? > > > Le 11/08/2017 à 14:53, Maxim Solodovni

Re: REST API : Profile Picture URL

2017-08-14 Thread Jacob Ouanounou
I thought that I had configured OM to use MariaDB, but the database is empty. Would it mean that it uses Derby ? How can I check ? Le 11/08/2017 à 14:53, Maxim Solodovnik a écrit : Everything seems to be ok (it is PHP not json, but code looks ok) What is in db? Om_user table for this user? WB

Re: REST API : Profile Picture URL

2017-08-11 Thread Maxim Solodovnik
Everything seems to be ok (it is PHP not json, but code looks ok) What is in db? Om_user table for this user? WBR, Maxim (from mobile, sorry for the typos) On Aug 11, 2017 14:46, "Jacob Ouanounou" wrote: > Here it is : (masked some fields with X's) > function connectToRoom($roomId,$options) > {

Re: REST API : Profile Picture URL

2017-08-11 Thread Jacob Ouanounou
Here it is : (masked some fields with X's) function connectToRoom($roomId,$options) { $OMConfig=array( "protocol" => "http", "host" => "X", "port" => "5080", "context" => "cursus", "user" =>XXX,

Re: REST API : Profile Picture URL

2017-08-11 Thread Maxim Solodovnik
I need JSON you are sending to be able to help you On Fri, Aug 11, 2017 at 2:18 PM, Jacob Ouanounou wrote: > Hi Maxim, > > I am still trying to solve this issue : I don't succeed to get the > profilePictureUrl set. > > In the doc, I see this field named either profilePictureUrl or > profilePictu

Re: REST API : Profile Picture URL

2017-08-11 Thread Jacob Ouanounou
Hi Maxim, I am still trying to solve this issue : I don't succeed to get the profilePictureUrl set. In the doc, I see this field named either profilePictureUrl or profilePictureUri When I set NONE of them I get a picture with a question mark, When I set profiePictureUrl, I get no picture a

Re: REST API : Profile Picture URL

2017-07-27 Thread Maxim Solodovnik
This array doesn't make sense :( could var_dump() it? so "real value" for $Photo will be printed On Thu, Jul 27, 2017 at 4:09 PM, Jacob Ouanounou wrote: > Thank you for your answer > > Here is my user array : > > $user=array( > "login" => "cursusA" >

Re: REST API : Profile Picture URL

2017-07-27 Thread Jacob Ouanounou
Thank you for your answer Here is my user array : $user=array( "login" => "cursusA" ,"username" => "Id:".$_SESSION['id'] , "firstname" => $_SESSION['prenom'] , "lastname" => $_SESSION['nom']

Re: REST API : Profile Picture URL

2017-07-27 Thread Maxim Solodovnik
Please do not write personal emails (use Reply All :)) OK let's do investigation together step-by-step you are calling services/user/hash REST function in API it is: http://openmeetings.apache.org/openmeetings-webservice/apidocs/org/apache/openmeetings/webservice/UserWebService.html#getRoomHash

Re: REST API : Profile Picture URL

2017-07-27 Thread Maxim Solodovnik
https://help.github.com/articles/about-pull-requests/ On Thu, Jul 27, 2017 at 3:05 PM, Jacob Ouanounou wrote: > What is PR ? > > Le 27/07/2017 à 10:04, Maxim Solodovnik a écrit : > > What description are you expecting to see? > > UserDTO doesn't have pictureUri, User has this field > > You can p

Re: REST API : Profile Picture URL

2017-07-27 Thread Maxim Solodovnik
What description are you expecting to see? UserDTO doesn't have pictureUri, User has this field You can propose PR with better JavaDoc :))) On Thu, Jul 27, 2017 at 3:01 PM, Jacob Ouanounou wrote: > In this page I see something called pictureUri. When I use that keyword, I > get a picture with

Re: REST API : Profile Picture URL

2017-07-27 Thread Jacob Ouanounou
In this page I see something called pictureUri. When I use that keyword, I get a picture with a question mark, the same as if I don't specify any photo for the user. But if I use the keyword "profilePictureUrl" , I get no picture for the user in the room. (I don't understand the structure of t

Re: REST API : Profile Picture URL

2017-07-27 Thread Maxim Solodovnik
You can check properties in API javadocs: http://openmeetings.apache.org/openmeetings-db/apidocs/org/apache/openmeetings/db/dto/user/UserDTO.html?is-external=true it seems pictureUri was dropped during migration could you please file JIRA, should be easy to fix On Thu, Jul 27, 2017 at 2:43 PM, Ja

REST API : Profile Picture URL

2017-07-27 Thread Jacob Ouanounou
Hello, It seems that the user option "profilePictureUrl" that allows to set the picture of the user does not work anymore, or the keyword has changed. I have also tried to set that parameter in room options, without success.

Re: profile picture url [PATCH]

2013-02-11 Thread Vieri
Hi, --- On Sat, 2/9/13, Vieri wrote: > Thanks for the great work. I'll test it on Monday. Just to confirm that I checked it today and it works great. Thanks again! Vieri

Re: profile picture url [PATCH]

2013-02-09 Thread Vieri
a.wag...@gmail.com wrote: From: seba.wag...@gmail.com Subject: Re: profile picture url [PATCH] To: user@openmeetings.apache.org Cc: rentor...@yahoo.com Date: Friday, February 8, 2013, 5:47 PM Revision: 1444265 2013/2/9 seba.wag...@gmail.com @Maxim: Nice work :) @Vieri: I have added som

Re: profile picture url [PATCH]

2013-02-08 Thread seba.wag...@gmail.com
;>>>> Hi, >>>>>>>>>> >>>>>>>>>> I'm attaching a patch to fix the picture URI in case it's HTTP in >>>>>>>>>> the dashboard. >>>>>>>>>> This should fix the first part

Re: profile picture url [PATCH]

2013-02-08 Thread seba.wag...@gmail.com
>>>>>> the dashboard. >>>>>>>>> This should fix the first part of my report. >>>>>>>>> >>>>>>>>> However, the second problem is still there and is probably harder >>>>>>>>>

Re: profile picture url [PATCH]

2013-02-06 Thread Maxim Solodovnik
t;>>>>>> once via LDAP and is created in the OM DB, there's no way the picture >>>>>>>> URL >>>>>>>> will be updated from LDAP again. >>>>>>>> Maybe auto-deleting the LDAP "type" user from the OM

Re: profile picture url [PATCH]

2013-02-06 Thread seba.wag...@gmail.com
gt;>>>>>> be updated from LDAP again. >>>>>>> Maybe auto-deleting the LDAP "type" user from the OM DB every time >>>>>>> the LDAP user signs out (or times out) could be a hack that solves this >>>>>>> (but sound

Re: profile picture url [PATCH]

2013-02-06 Thread Maxim Solodovnik
t) could be a hack that solves this >>>>>> (but sounds ugly). >>>>>> >>>>>> Vieri >>>>>> >>>>>> --- On *Tue, 2/5/13, Vieri * wrote: >>>>>> >>>>>> >>>>>>

Re: profile picture url [PATCH]

2013-02-06 Thread seba.wag...@gmail.com
>> >>>>> >>>>> There's also another smaller glitch. >>>>> Suppose you login OK with an LDAP/AD user. OM will correctly set the >>>>> 'pictureuri' field in the 'user' table with the URL taken from LDAP/AD. >>

Re: profile picture url [PATCH]

2013-02-06 Thread Maxim Solodovnik
>>> Suppose you login OK with an LDAP/AD user. OM will correctly set the >>>> 'pictureuri' field in the 'user' table with the URL taken from LDAP/AD. >>>> However, if I change the user's URL within LDAP/AD and the user logs >>>> into OM aga

Re: profile picture url [PATCH]

2013-02-06 Thread Maxim Solodovnik
P/AD user. OM will correctly set the >>> 'pictureuri' field in the 'user' table with the URL taken from LDAP/AD. >>> However, if I change the user's URL within LDAP/AD and the user logs >>> into OM again then he/she will keep seeing the old picture. In

Re: profile picture url [PATCH]

2013-02-06 Thread Maxim Solodovnik
he 'user' table with the URL taken from LDAP/AD. >> However, if I change the user's URL within LDAP/AD and the user logs into >> OM again then he/she will keep seeing the old picture. In fact, the >> 'user.pictureuri' field is NOT updated. >> It

Re: profile picture url [PATCH]

2013-02-06 Thread seba.wag...@gmail.com
it would be nice to be able to update picture URIs > in LDAP/AD for OM users who have already logged in at least once via LDAP. > > Vieri > > --- On *Tue, 2/5/13, Maxim Solodovnik * wrote: > > > From: Maxim Solodovnik > Subject: Re: profile picture url > To: "user&qu

Re: profile picture url [PATCH]

2013-02-05 Thread Vieri
tings.servlet.outputhandler.DownloadHandler [http-bio-0.0.0.0-5080-exec-6] - full_path: /opt/openmeetings/red5/webapps/openmeetings/default/profile_pic.jpg --- On Tue, 2/5/13, Vieri wrote: downloading, compiling and testing... will let you know. Thanks! --- On Tue, 2/5/13, seba.wag...@

Re: profile picture url

2013-02-05 Thread Vieri
im Solodovnik wrote: From: Maxim Solodovnik Subject: Re: profile picture url To: "user" Date: Tuesday, February 5, 2013, 5:53 AM seems like URLs are resolved as local to OM instead of being resolved as external maybe Sebastian can fix it :) On Tue, Feb 5, 2013 at 5:43 PM, Vieri wrote:

Re: profile picture url

2013-02-05 Thread Vieri
From: seba.wag...@gmail.com Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Tuesday, February 5, 2013, 3:37 AM you can try with latest SVN, the key would be:ldap_user_picture_uri Only an absolute URL makes sense, since the UI will otherwise use the string in the picture_uri of

Re: profile picture url

2013-02-05 Thread Vieri
n Tue, 2/5/13, Vieri wrote: downloading, compiling and testing... will let you know. Thanks! --- On Tue, 2/5/13, seba.wag...@gmail.com wrote: From: seba.wag...@gmail.com Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Tuesday, February 5, 2013, 3:37 AM you can try

Re: profile picture url

2013-02-05 Thread Vieri
downloading, compiling and testing... will let you know. Thanks! --- On Tue, 2/5/13, seba.wag...@gmail.com wrote: From: seba.wag...@gmail.com Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Tuesday, February 5, 2013, 3:37 AM you can try with latest SVN, the key would

Re: profile picture url

2013-02-05 Thread Vieri
I can set the attribute in my LDAP/AD if you want me to test it via svn. --- On Tue, 2/5/13, seba.wag...@gmail.com wrote: From: seba.wag...@gmail.com Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Tuesday, February 5, 2013, 3:21 AM Yes, I was just looking at that

Re: profile picture url

2013-02-05 Thread Vieri
Something like a 'ldap_user_attr_pictureuri'...? --- On Tue, 2/5/13, Vieri wrote: From: Vieri Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Tuesday, February 5, 2013, 3:18 AM By the way, the OM LDAP module doesn't allow to specify a picture URI, r

Re: profile picture url

2013-02-05 Thread Vieri
Maxim Solodovnik Subject: Re: profile picture url To: "user" Date: Tuesday, February 5, 2013, 3:15 AM images can not be just added to the file system :(DB should be updated correspondingly On Tue, Feb 5, 2013 at 3:12 PM, Vieri wrote: Thanks. Actually my users log in via LDAP. So the u

Re: profile picture url

2013-02-05 Thread Vieri
heir default picture to be loaded). So maybe I could use the http://openmeetings.apache.org/FileService.html calls to "update" a user's profile picture... --- On Tue, 2/5/13, seba.wag...@gmail.com wrote: From: seba.wag...@gmail.com Subject: Re: profile picture url To: user@op

Re: profile picture url

2013-02-05 Thread Vieri
answering myself... I suppose I can use SOAP calls for this: http://openmeetings.apache.org/FileService.html --- On Tue, 2/5/13, Vieri wrote: From: Vieri Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Tuesday, February 5, 2013, 3:00 AM Is there a way to do this on the

Re: profile picture url

2013-02-05 Thread Vieri
ady a way to do this? thanks, Vieri --- On Tue, 2/5/13, Maxim Solodovnik wrote: From: Maxim Solodovnik Subject: Re: profile picture url To: "user" Date: Tuesday, February 5, 2013, 2:38 AM you should upload picture by updating user profile (this is the only option I know) On Tue, F

Re: profile picture url

2013-02-04 Thread Vieri
a.wag...@gmail.com wrote: From: seba.wag...@gmail.com Subject: Re: profile picture url To: user@openmeetings.apache.org Date: Monday, February 4, 2013, 9:56 PM yes, *.psd;*.tiff;*.bmp;*.svg;*.dpx;*.exr;*.jpg;*.jpeg;*.gif;*.png should all work. Sebastian 2013/2/5 Vieri Hi, Are jpeg pictu

profile picture url

2013-02-04 Thread Vieri
Hi, Are jpeg pictures allowed/supported for the user profile? gif images seem to work but no luck for me with jpeg. Thanks, Vieri