Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account Sync / logevents? #810

Open
janpio opened this issue Jul 23, 2017 · 1 comment
Open

Account Sync / logevents? #810

janpio opened this issue Jul 23, 2017 · 1 comment
Labels

Comments

@janpio
Copy link
Contributor

janpio commented Jul 23, 2017

Per #809 I am looking into understand the broad strokes of the app. Can someone explain to me how the Account Sync / logevents stuff works?

My first impression is that actual operations on the Wiki (uploads and modifications) are async via a queue and this is handles via the "Account" integration in Android. Is this correct?

How are the results of these operations handled in the app? Are these the logevents calls to the API https://github.com/commons-app/apps-android-commons/wiki/External-APIs#get-previous-uploads--new-logevents?

@janpio janpio changed the title logevents / Account Sync? Account Sync / logevents? Jul 23, 2017
@janpio
Copy link
Contributor Author

janpio commented Jul 23, 2017

Found the code for (some of) this functionality:
https://github.com/commons-app/apps-android-commons/tree/master/app/src/main/java/fr/free/nrw/commons/auth

Some seems to be shared with (or better: an ancient version of) the Wikipedia Android app:
https://github.com/wikimedia/apps-android-wikipedia/tree/master/app/src/main/java/org/wikipedia/wikidata

So that's probably where it came from.

How exactly it works I still don't understand...

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

No branches or pull requests

2 participants