These are chat archives for translate/dev

29th
Sep 2017
Jose J. Martinez
@jjmcarrascosa
Sep 29 2017 07:11
@phlax ping! Tell me when you are available, thank you!
phlax
@phlax
Sep 29 2017 08:25
pong @jjmcarrascosa
Jose J. Martinez
@jjmcarrascosa
Sep 29 2017 08:31
I'm already finishing the development. I have created a new form for uploading a file and setting all project info, that also takes the extension and converts the file to xliff or po, depending of the converter script, and imports into the project.So thank you for your help, I couldn't have it done with you!
phlax
@phlax
Sep 29 2017 08:34
cool, good to hear
can you PR the fix to the command that we found
Jose J. Martinez
@jjmcarrascosa
Sep 29 2017 08:36
Yes, I'll do it after the deadline
I have a question. I need to connect it to our single sign-on service by oauth2. I read at some time that Pootle supports oauth2, I have also read some doc, but I was wondering if you can guide me a little of how to do it
phlax
@phlax
Sep 29 2017 08:37
i havent look at it too much - but it has support through allauth
when we did look at it before it wasnt so difficult - but there wasnt proper uis etc for showing it
i think there were some old PRs related that never landed...
Jose J. Martinez
@jjmcarrascosa
Sep 29 2017 08:40
Well, allauth then. I'll take a look
I've seen this page
phlax
@phlax
Sep 29 2017 08:41
cant find old PRs now
yep allauth is the place to look
Jose J. Martinez
@jjmcarrascosa
Sep 29 2017 08:44
so it's not in pootle project
it's in the django installation
right?
Ok i've found it
uhmmmm
  1. Let Allauth know about your social provider.
    UPDATE django_site SET DOMAIN = 'foo.bar.tld', name = 'Site name' WHERE id=1;
    INSERT INTO socialaccount_socialapp (provider, name, secret, client_id, 'key')
        VALUES ("github", "GitHub", "---Client-Secret-from-above---",
                "---Client-ID-from-above---", "");
    INSERT INTO socialaccount_socialapp_sites (socialapp_id, site_id)
        VALUES (1,1);
this is in the database right?