Return-Path: X-Original-To: apmail-incubator-openmeetings-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-openmeetings-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2D528905F for ; Sat, 14 Apr 2012 14:31:01 +0000 (UTC) Received: (qmail 62026 invoked by uid 500); 14 Apr 2012 14:31:01 -0000 Delivered-To: apmail-incubator-openmeetings-dev-archive@incubator.apache.org Received: (qmail 62000 invoked by uid 500); 14 Apr 2012 14:31:01 -0000 Mailing-List: contact openmeetings-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: openmeetings-dev@incubator.apache.org Delivered-To: mailing list openmeetings-dev@incubator.apache.org Received: (qmail 61991 invoked by uid 99); 14 Apr 2012 14:31:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 14:31:01 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ankurankan@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-lpp01m010-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Apr 2012 14:30:54 +0000 Received: by lagw12 with SMTP id w12so2850058lag.6 for ; Sat, 14 Apr 2012 07:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=8myGkY5zKWOUl9AAH286+xAymMyeRxfEppA58ryvOko=; b=aeEvMQT7FfBD/T7/r3cWs762sl8+fgeivdnBfLQnkTG2znPf9kotA3e03QaGaEnJ5Z /9+cuObxq1/GqaQS1OCDPH0EbVIMOBcmtiAbfVaoK9oJbQguBa/fkQOE4ciBJ3hg7/mh LPjseyQhOUZYoyxePQPBdNHUS+OQdHORnD/TFj90uKeccBSEGrTP9kOP0OADxm/fEkLg RIZc10WIypMGcX0BDm0wHeG5syn6LlCRYzCq7nqkjqAev9DILLSN1vT4uHf5KgOBvkGa AEE7zZepp0bQdTRx/P/Muu7T+f48gYaLYnrK7ZoMfDBLr0AXRC88Cnb37OdHKhXdDUWR l2kA== MIME-Version: 1.0 Received: by 10.152.110.193 with SMTP id ic1mr4867252lab.4.1334413834303; Sat, 14 Apr 2012 07:30:34 -0700 (PDT) Received: by 10.112.29.170 with HTTP; Sat, 14 Apr 2012 07:30:34 -0700 (PDT) In-Reply-To: References: Date: Sat, 14 Apr 2012 07:30:34 -0700 Message-ID: Subject: Re: GSoC applicants, please prepare patches or working code From: Ankur Ankan To: openmeetings-dev@incubator.apache.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Sorry for taking so much time in replying. 1) I used the SOAP method mainly because of the object orientation (maybe in future if we would need to implement some features which need object orientation). I had read somewhere about some of the benefits of using SOAP like implementing REST takes more time than SOAP and there were some more. Here's the link if you want to have a look. http://stackoverflow.com/questions/3285704/should-a-netflix-or-twitter-styl= e-web-service-use-rest-or-soap 2)You are right. I missed that. 3)Yes "*" has to be replaced with path. I was not sure about the paths that's why I had put * there. I had actually added a comment there but god knows when I removed them. Thank you very much for your suggestions. On 4/14/12, Maxim Solodovnik wrote: > Hello Ankur, > > Thanks for the code. > > Could you please answer couple of questions: > 1) In your calls you construct SOAP request, maybe it is easier to use RE= ST? > 2) while constructing requests you are not escaping parameters (if name o= r > password will contain non XML character the XML will be invalid (I guess > you need to add encoding and/or enclose user data into CDATA sections > 3) I'm not sure how this going to work sid =3D > response.xml.getElementsByTagName("*"); Maybe "*" need to be replaced wit= h > XPath? > > Thanks in advance > > 2012/4/14 Ankur Ankan > >> Okay.. >> >> On Sat, Apr 14, 2012 at 1:15 AM, Alexei Fedotov > >wrote: >> >> > Hello Ankur, >> > >> > > http://url/openmeetings/services/UserService/loginUser >> > this likely won't work >> > >> > would you please set up a working demo? >> > >> > -- >> > With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB=C9=CD=C9 =D0=CF=D6=C5=CC= =C1=CE=C9=D1=CD=C9, >> > Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4=CF=D4=CF=D7, >> > http://dataved.ru/ >> > +7 916 562 8095 >> > >> > >> > >> > 2012/4/14 Ankur Ankan : >> > > Here is the new code with the loginUser method. >> > > >> > > >> > > On Thu, Apr 12, 2012 at 7:02 AM, Ankur Ankan >> > wrote: >> > >> >> > >> Okay.. >> > >> >> > >> On Thu, Apr 12, 2012 at 6:22 AM, seba.wagner@gmail.com >> > >> wrote: >> > >>> >> > >>> Hi Ankur >> > >>> >> > >>> I think we will find enough possibilities to extend the Zimlet, fo= r >> > >>> example >> > >>> a complete project also contains documentation, bug fixing, gather >> > >>> feedback >> > >>> from users, integrate the feedback into your project, write down >> > summary >> > >>> to >> > >>> make Google Staff happy about your progress >> > >>> I think we will find enough things to do on this topic :) >> > >>> >> > >>> Sebastian >> > >>> >> > >>> 2012/4/12 Ankur Ankan >> > >>> >> > >>> > I am implementing loginUser method as Maxim asked me to do but I >> need >> > >>> > some time (maybe 3-4 days). And I was thinking that developing >> just a >> > >>> > zimlet would be quite short a project for the whole of summer so= I >> > >>> > would also like to develop similar plugins for redmine and typo3 >> if I >> > >>> > get time. >> > >>> > >> > >>> > On 4/12/12, Ankur Ankan wrote: >> > >>> > > I am extremely sry for the inconvinence. I am ready to discuss >> > >>> > > on >> > the >> > >>> > list. >> > >>> > > >> > >>> > > On 4/12/12, Alexei Fedotov wrote: >> > >>> > >> I think we done with audio part, the rest is better to discus= s >> on >> > >>> > >> the >> > >>> > >> list. >> > >>> > >> >> > >>> > >> >> > >>> > >> >> > >>> > >> -- >> > >>> > >> With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB=C9=CD=C9 =D0=CF= =D6=C5=CC=C1=CE=C9=D1=CD=C9, >> > >>> > >> Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4=CF=D4=CF=D7, >> > >>> > >> http://dataved.ru/ >> > >>> > >> +7 916 562 8095 >> > >>> > >> >> > >>> > >> >> > >>> > >> >> > >>> > >> 2012/4/12 Ankur Ankan : >> > >>> > >>> I am having problem with my internet connection. Probably we >> > should >> > >>> > >>> reschedule my interview >> > >>> > >>> >> > >>> > >>> On 4/12/12, Maxim Solodovnik wrote: >> > >>> > >>>> Could you please implement loginUser method? >> > >>> > >>>> >> > >>> > >>>> The current code is not well formatted (contains redundant >> curly >> > >>> > >>>> braces, >> > >>> > >>>> and unclosed tags) >> > >>> > >>>> And it is too general >> > >>> > >>>> >> > >>> > >>>> 2012/4/12 Ankur Ankan >> > >>> > >>>> >> > >>> > >>>>> The server hosting AJAX client would be making proxy >> > >>> > >>>>> requests >> > on >> > >>> > >>>>> behalf >> > >>> > >>>>> ofteh client. By useing proxy servlet, Zimlets can access >> > remote >> > >>> > >>>>> resources >> > >>> > >>>>> from other servers, as well as make requests to 3rd party >> > system. >> > >>> > >>>>> >> > >>> > >>>>> On Thu, Apr 12, 2012 at 2:02 AM, seba.wagner@gmail.com < >> > >>> > >>>>> seba.wagner@gmail.com> wrote: >> > >>> > >>>>> >> > >>> > >>>>> > It is likely the OpenMeetings Server and Zimbra run on >> > >>> > >>>>> > different >> > >>> > >>>>> machines. >> > >>> > >>>>> > So you won't be able to trigger the REST / SOAP WebServi= ce >> > >>> > >>>>> > directly >> > >>> > >>>>> > from >> > >>> > >>>>> > JavaScript because Cross Domain Policy of Browsers only >> allow >> > >>> > >>>>> > requests >> > >>> > >>>>> > to >> > >>> > >>>>> > the domain they are loaded from. >> > >>> > >>>>> > Have you an idea how to solve that? >> > >>> > >>>>> > >> > >>> > >>>>> > Sebastian >> > >>> > >>>>> > >> > >>> > >>>>> > 2012/4/12 Ankur Ankan >> > >>> > >>>>> > >> > >>> > >>>>> > > I have written a bit of code. Its almost the structure >> > >>> > >>>>> > > of >> > the >> > >>> > >>>>> > > plugin. >> > >>> > >>>>> > > >> > >>> > >>>>> > > On Wed, Apr 11, 2012 at 8:09 AM, Maxim Solodovnik < >> > >>> > >>>>> solomax666@gmail.com >> > >>> > >>>>> > >wrote: >> > >>> > >>>>> > > >> > >>> > >>>>> > >> I guess I have missed this interview. Hope will >> > participate >> > >>> > >>>>> > >> the >> > >>> > >>>>> > >> next >> > >>> > >>>>> one >> > >>> > >>>>> > >> On Apr 11, 2012 8:26 PM, "Alexei Fedotov" >> > >>> > >>>>> > >> >> > >>> > >>>>> > >> wrote: >> > >>> > >>>>> > >> >> > >>> > >>>>> > >> > Dmitry, folks >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > Please use >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> >> > >>> > >>>>> > >> > >>> > >>>>> >> > >>> > >> > >>> > >> > >> http://demo.dataved.ru/openmeetings/?invitationHash=3Dbd6eb284e48c6e7732= 6fc9c49bdd0a3c >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > This server uses port 80, I can access only this on= e >> > from >> > >>> > >>>>> > >> > this >> > >>> > >>>>> office >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > -- >> > >>> > >>>>> > >> > With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB=C9=CD= =C9 =D0=CF=D6=C5=CC=C1=CE=C9=D1=CD=C9, >> > >>> > >>>>> > >> > Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4=CF= =D4=CF=D7, >> > >>> > >>>>> > >> > http://dataved.ru/ >> > >>> > >>>>> > >> > +7 916 562 8095 >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> > 2012/4/11 Dmitry Zamula : >> > >>> > >>>>> > >> > > Yes, of course >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > 2012/4/11 Alexei Fedotov >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > >> > 16:30 >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > >> Can we move the interview to 17:30? >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > >> -- >> > >>> > >>>>> > >> > >> With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB=C9= =CD=C9 =D0=CF=D6=C5=CC=C1=CE=C9=D1=CD=C9, >> > >>> > >>>>> > >> > >> Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5=C4= =CF=D4=CF=D7, >> > >>> > >>>>> > >> > >> http://dataved.ru/ >> > >>> > >>>>> > >> > >> +7 916 562 8095 >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > >> 2012/4/10 Dmitry Zamula : >> > >>> > >>>>> > >> > >> > I would like to interview tomorrow (4/11/2012) >> > >>> > >>>>> > >> > >> > at >> > >>> > >>>>> > >> > >> > 16-30 >> > >>> > >>>>> > >> > >> > (UTC >> > >>> > >>>>> > >> > >> > + >> > >>> > >>>>> > >> 04:00). >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > 2012/4/10 Alexei Fedotov < >> alexei.fedotov@gmail.com >> > > >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> >> German, >> > >>> > >>>>> > >> > >> >> It's good you have asked. >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> We have to estimate coding skills of each >> > >>> > >>>>> > >> > >> >> participant, >> > >>> > >>>>> > >> > >> >> not >> > >>> > >>>>> only >> > >>> > >>>>> > >> > >> >> proposal writing skills. You already have >> several >> > >>> > >>>>> > >> > >> >> patches, >> > >>> > >>>>> > others >> > >>> > >>>>> > >> > >> >> don't. Still it should not stop you from >> > >>> > >>>>> > >> > >> >> showing >> > >>> > >>>>> > >> > >> >> your >> > >>> > >>>>> dedication >> > >>> > >>>>> > >> to >> > >>> > >>>>> > >> > >> >> GSoC by preparing a patch which advances your >> > >>> > >>>>> > >> > >> >> project. >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> In other words, do the first step of your >> project >> > >>> > >>>>> > >> > >> >> now. >> > >>> > >>>>> > >> > >> >> And >> > >>> > >>>>> never >> > >>> > >>>>> > >> say >> > >>> > >>>>> > >> > >> >> "we don't have time for that" on public lists= . >> :-) >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> Why we ask to do that? There exist brilliant >> > >>> > >>>>> > >> > >> >> proposal >> > >>> > >>>>> > >> > >> >> writers, >> > >>> > >>>>> > who >> > >>> > >>>>> > >> > >> >> cannot code. That actually leads to GSoC >> failure, >> > >>> > because >> > >>> > >>>>> Google >> > >>> > >>>>> > >> is >> > >>> > >>>>> > >> > >> >> very specific on the following matter: just >> fixing >> > >>> > >>>>> documentation >> > >>> > >>>>> > >> is >> > >>> > >>>>> > >> > >> >> not enough. That's why we ask to demonstrate >> > coding >> > >>> > >>>>> > >> > >> >> skills. >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> Ankur, Dmitry, >> > >>> > >>>>> > >> > >> >> In addition to patches we need to set up >> > >>> > >>>>> > >> > >> >> openmeetings >> > >>> > >>>>> interviews >> > >>> > >>>>> > >> with >> > >>> > >>>>> > >> > >> >> both of you. Please specify time which is >> suitable >> > >>> > >>>>> > >> > >> >> for >> > >>> > >>>>> > >> > >> >> you. >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> -- >> > >>> > >>>>> > >> > >> >> With best regards / =D3 =CE=C1=C9=CC=D5=DE=DB= =C9=CD=C9 =D0=CF=D6=C5=CC=C1=CE=C9=D1=CD=C9, >> > >>> > >>>>> > >> > >> >> Alexei Fedotov / =E1=CC=C5=CB=D3=C5=CA =E6=C5= =C4=CF=D4=CF=D7, >> > >>> > >>>>> > >> > >> >> http://dataved.ru/ >> > >>> > >>>>> > >> > >> >> +7 916 562 8095 >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> >> 2012/4/10 German Grekhov < >> > german.grekhov@gmail.com>: >> > >>> > >>>>> > >> > >> >> > Alexei, >> > >>> > >>>>> > >> > >> >> > I don't understand. What does it mean? >> > >>> > >>>>> > >> > >> >> > What patches are you talking about? >> > >>> > >>>>> > >> > >> >> > >> > >>> > >>>>> > >> > >> >> > German. >> > >>> > >>>>> > >> > >> >> > >> > >>> > >>>>> > >> > >> >> [...] >> > >>> > >>>>> > >> > >> >> >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > -- >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > >> > _________________________________________________________ >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, >> > >>> > >>>>> > >> > >> > >> > >>> > >>>>> > >> > >> > =FA=C1=CD=D5=CC=C1 =E4=CD=C9=D4=D2=C9=CA >> > >>> > >>>>> > >> > >> >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > -- >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > >> > _________________________________________________________ >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, >> > >>> > >>>>> > >> > > >> > >>> > >>>>> > >> > > =FA=C1=CD=D5=CC=C1 =E4=CD=C9=D4=D2=C9=CA >> > >>> > >>>>> > >> > >> > >>> > >>>>> > >> >> > >>> > >>>>> > > >> > >>> > >>>>> > > >> > >>> > >>>>> > >> > >>> > >>>>> > >> > >>> > >>>>> > -- >> > >>> > >>>>> > Sebastian Wagner >> > >>> > >>>>> > https://twitter.com/#!/dead_lock >> > >>> > >>>>> > http://www.openmeetings.de >> > >>> > >>>>> > http://www.webbase-design.de >> > >>> > >>>>> > http://www.wagner-sebastian.com >> > >>> > >>>>> > seba.wagner@gmail.com >> > >>> > >>>>> > >> > >>> > >>>>> >> > >>> > >>>> >> > >>> > >>>> >> > >>> > >>>> >> > >>> > >>>> -- >> > >>> > >>>> WBR >> > >>> > >>>> Maxim aka solomax >> > >>> > >>>> >> > >>> > >> >> > >>> > > >> > >>> > >> > >>> >> > >>> >> > >>> >> > >>> -- >> > >>> Sebastian Wagner >> > >>> https://twitter.com/#!/dead_lock >> > >>> http://www.openmeetings.de >> > >>> http://www.webbase-design.de >> > >>> http://www.wagner-sebastian.com >> > >>> seba.wagner@gmail.com >> > >> >> > >> >> > > >> > >> > > > > -- > WBR > Maxim aka solomax >