From benson_muite at emailplus.org Wed Aug 2 13:54:01 2017 From: benson_muite at emailplus.org (Benson Muite) Date: Wed, 2 Aug 2017 16:54:01 +0300 Subject: [zanata-users] Invite translator feature request Message-ID: Hi, Might it be possible to add an option for users in Zanata to send join invitations to language teams or projects to other people by email? Regards, Benson From camunoz at redhat.com Wed Aug 2 14:04:40 2017 From: camunoz at redhat.com (Carlos Munoz) Date: Wed, 02 Aug 2017 14:04:40 +0000 Subject: [zanata-users] Invite translator feature request In-Reply-To: References: Message-ID: Hi Benson, please feel free to file a Feedback request at http://zanata.atlassian.net You might get more attention to your request there :) On Wed, Aug 2, 2017 at 10:02 AM Benson Muite wrote: > Hi, > > Might it be possible to add an option for users in Zanata to send join > invitations to language teams or projects to other people by email? > > Regards, > Benson > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users > -- CARLOS A. MU?OZ SOFTWARE ENGINEERING MANAGER, CUSTOMER PLATFORM Red Hat carlos.munoz at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From eumel at arcor.de Wed Aug 16 16:18:48 2017 From: eumel at arcor.de (Frank Kloeker) Date: Wed, 16 Aug 2017 18:18:48 +0200 Subject: [zanata-users] Question about authentification on REST API In-Reply-To: References: Message-ID: <9c40f450c0151ffcfe73de63a6475fd6@arcor.de> Hi there, maybe someone can help with an authentification problem on Zanata REST API. I tried to switch the status of a version in a project with PUT request, described in [1]. I've setup a small ansible playbook as you can see in [2]. I've set X-Auth-User header and X-Auth-Token regarding my credentials. The account is maintainer of the project. What I've got if the status is already set is 200 OK what mean there is a good connection to API (I would expect another return code). When I send a request to change the status I became 401 not authorized what caused by wrong credentials or wrong X-Auth-Header settings. I didn't found any in documentation so maybe someone has an idea. thx Frank [1] https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/resource_ProjectVersionResource.html#resource_ProjectVersionResource_put_PUT [2] https://paste.fedoraproject.org/paste/OsdAmyIzXQXDLxgr62keMA From aeng at redhat.com Wed Aug 16 22:02:18 2017 From: aeng at redhat.com (Alex Eng) Date: Thu, 17 Aug 2017 08:02:18 +1000 Subject: [zanata-users] Question about authentification on REST API In-Reply-To: <9c40f450c0151ffcfe73de63a6475fd6@arcor.de> References: <9c40f450c0151ffcfe73de63a6475fd6@arcor.de> Message-ID: Hi Frank, 1) Is the project version status "read-only" or "archived" before your REST request? Prior 4.0 (Openstack is running 3.9), the PUT command return 403 if the project version is not "Active" when performing the PUT command. 2) Since you got 401 (unauthorized), can you check if your username and API matches with information in https://translate.openstack.org/dashboard/settings/client (requires login). https://translate.openstack.org/iteration/view/manila-ui/stable-newton On Thu, Aug 17, 2017 at 2:18 AM, Frank Kloeker wrote: > Hi there, > > maybe someone can help with an authentification problem on Zanata REST > API. I tried to switch the status of a version in a project with PUT > request, described in [1]. I've setup a small ansible playbook as you can > see in [2]. I've set X-Auth-User header and X-Auth-Token regarding my > credentials. The account is maintainer of the project. What I've got if the > status is already set is 200 OK what mean there is a good connection to API > (I would expect another return code). When I send a request to change the > status I became 401 not authorized what caused by wrong credentials or > wrong X-Auth-Header settings. I didn't found any in documentation so maybe > someone has an idea. > > thx Frank > > [1] https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zan > ata-common-api/rest-api-docs/resource_ProjectVersionResourc > e.html#resource_ProjectVersionResource_put_PUT > [2] https://paste.fedoraproject.org/paste/OsdAmyIzXQXDLxgr62keMA > > _______________________________________________ > zanata-users mailing list > zanata-users at redhat.com > https://www.redhat.com/mailman/listinfo/zanata-users > -- ALEX ENG SENIOR SOFTWARE ENGINEER, team lead globalisation tooling, customer platform Red Hat Asia-Pacific Pty Ltd Brisbane, Australia aeng at redhat.com M: +61423353457 IM: aeng -------------- next part -------------- An HTML attachment was scrubbed... URL: From eumel at arcor.de Thu Aug 17 09:02:16 2017 From: eumel at arcor.de (Frank Kloeker) Date: Thu, 17 Aug 2017 11:02:16 +0200 Subject: [zanata-users] Question about authentification on REST API In-Reply-To: References: <9c40f450c0151ffcfe73de63a6475fd6@arcor.de> Message-ID: <4439d0f7aa14ae7207ef3f3713eb76c1@arcor.de> Hi Alex, thanks for reply. It seems I'm running in this bug: "msg": "Status code was not [200]: HTTP Error 403: Forbidden", "redirected": false, "server": "WildFly/10", "status": 403, "url": "https://translate.openstack.org/rest/project/manila-ui/version/stable-newton", If the status is READONLY and I want to change it to ACTIVE, I've got 403 If the status is ACTIVE and I want to change it to READONLY, I've got 200, but the status wasn't changed. Is my request on [2] correct? Upgrade to 4.0 is on our list. Will try the request again after this. thx Frank Am 2017-08-17 00:02, schrieb Alex Eng: > Hi Frank, > > 1) Is the project version status "read-only" or "archived" before your > REST request? Prior 4.0 (Openstack is running 3.9), the PUT command > return 403 if the project version is not "Active" when performing the > PUT command. > > 2) Since you got 401 (unauthorized), can you check if your username > and API matches with information in > https://translate.openstack.org/dashboard/settings/client (requires > login). > > https://translate.openstack.org/iteration/view/manila-ui/stable-newton > > On Thu, Aug 17, 2017 at 2:18 AM, Frank Kloeker wrote: > >> Hi there, >> >> maybe someone can help with an authentification problem on Zanata >> REST API. I tried to switch the status of a version in a project >> with PUT request, described in [1]. I've setup a small ansible >> playbook as you can see in [2]. I've set X-Auth-User header and >> X-Auth-Token regarding my credentials. The account is maintainer of >> the project. What I've got if the status is already set is 200 OK >> what mean there is a good connection to API (I would expect another >> return code). When I send a request to change the status I became >> 401 not authorized what caused by wrong credentials or wrong >> X-Auth-Header settings. I didn't found any in documentation so maybe >> someone has an idea. >> >> thx Frank >> >> [1] >> > https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/resource_ProjectVersionResource.html#resource_ProjectVersionResource_put_PUT >> [1] >> [2] https://paste.fedoraproject.org/paste/OsdAmyIzXQXDLxgr62keMA [2] >> >> _______________________________________________ >> zanata-users mailing list >> zanata-users at redhat.com >> https://www.redhat.com/mailman/listinfo/zanata-users [3] > > -- > > ALEX ENG > > SENIOR SOFTWARE ENGINEER, team lead > > globalisation tooling, customer platform > > Red Hat Asia-Pacific Pty Ltd [4] > > Brisbane, Australia > > aeng at redhat.com M: +61423353457 [5] IM: aeng > > [6] > > > > Links: > ------ > [1] > https://zanata.ci.cloudbees.com/job/zanata-api-site/site/zanata-common-api/rest-api-docs/resource_ProjectVersionResource.html#resource_ProjectVersionResource_put_PUT > [2] https://paste.fedoraproject.org/paste/OsdAmyIzXQXDLxgr62keMA > [3] https://www.redhat.com/mailman/listinfo/zanata-users > [4] https://www.redhat.com/ > [5] tel:+61423353457 > [6] https://red.ht/sig