Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

transifex OAuth support + Mobile templates + 2 new api requests #238

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open

Conversation

fazakis
Copy link

@fazakis fazakis commented May 14, 2013

Hello guys,
this patch adds OAuth support so that more developers will be able to build upon the transifex platform without risking the platform's security.

In detail:

  1. I've added patches for django-piston: https://github.com/fazakis/django-piston(don't forget to apply these patches) and transifex CE so OAuth can work correctly

  2. I've added mobile templates for signin and authorization (so that mTx can work)
    (/mobile/accounts/signin/ and e.t.c. urls ) these templates can also be used as a nice base extension of mobile tf.

  3. I've added 2 new api requests(search projects and get user dashboard projects) to the transifex api accessible from /mobile/api/2/

  4. I've started building a Mobile Transifex Client which utilizes all the above functionality found here https://github.com/fazakis/mtx (note some functionality is not working correctly due to transifex CE old api bugs)

Hint: i tried to implement the above from within a new module called mobile so changes will have the lowest possible impact in transifex codebase itself.

TODO:

  1. decide for access token expiration times
  2. handle some way the recreation of access tokens for apps and users that've already issued a valid access token (multiple access tokens, bad thing)

I have not tested extensively the new functionality cause of lack of time but for sure oauth GET POST PUT DELETE requests do work as you can Test using the mTx project.

For any questions reach me at: [email protected]

Thanks and Cya

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant