Mar 18 2016
Applicable grants: High-volume editing, Edit existing pages, Make changes to pages, View your watchlist, Edit your watchlist
Sep 23 2015
Aug 24 2015
Aug 20 2015
Aug 19 2015
Aug 17 2015
Aug 14 2015
Aug 13 2015
I can confirm that it's not a bug in mwoauth. It about how oauthlib and requests-oauth deal with it.
Our login request with OAuth will end up to the following branch in requests-oauthlib:
Aug 12 2015
Aug 10 2015
Aug 9 2015
Aug 8 2015
The description mentions 'several patches under review'. What are those patches?
Aug 7 2015
This is solved by PS17 of T102602.
Aug 6 2015
Aug 5 2015
Aug 4 2015
@Addshore, it looks like the OAuth client lacks the two permissions about watch list:
Sorry for my careless. I proposed a new client, also the old one could be disabled or expired. Thank you! :)
@jayvdb, for python 2.7.6, it doesn't work.
Aug 3 2015
Aug 1 2015
@hashar, I may need your help for this task, like T104764. The account Pywikibot-oauth in test.wikipedia.org will be used for test. It also need to be in the group of Confirmed users group to propose an OAuth client. Thank you! :)
With respect to T104764, This is the configuration of OAuth client on the beta cluster: http://deployment.wikimedia.beta.wmflabs.org/w/index.php?title=Special:OAuthListConsumers/view/6ad8150a40735dac98d4f07826061cd1&name=&publisher=&stage=0
The tests seem to work well on the beta cluster :D
It looks more like to be the problem of orain.org... Does it have possibility that requests lib can't adapt to orain.org or the TLS configuration of orain.org?
Jul 31 2015
@Tgr I think you're right.
Jul 30 2015
Only 2.7.0 2.7.0, 2.7.1, 2.7.2
The version (0.8.0) of unittest2 we specify for python 2.6 will work well. So I'd like to use unittest2 0.8.0.
@hashar, it looks like the OAuth client lacks the two permissions about watch list:
Sorry for my careless. I proposed a new client, also the old one could be disabled. Thank you! :)
Jul 29 2015
It seems that the version of OAuth extension on Orain isn't compatible with the latest mwoauth 0.2.4:
Jul 28 2015
@jayvdb A problem: there is no memcached on toollabs. But memcached is necessary. OAuth relies on memcached for temporary tokens and sessions.
@jayvdb the problem of pip has been fixed by using virtualenv, only test on python 2.7.0 failed.
What happened on Python 2.7.0 is so weird.
The first argument is what Namespace.resolve() returns, that's a list only containing a Namespace object. The second argument is a list only containing file_ns, that's also a Namespace object.
These two object should be equal:
__eq__ of Namespace: https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/site.py#L332
Yes. Pip supports environment markers since 6.0 but the pre-installed version in some tests is <6.0.
Jul 27 2015
Jul 26 2015
Hi @hashar. After discussion with @jayvdb, we'd like to use Pywikibot-oauth as an official account for OAuth testing. Could you help me to assign this account to group of Confirmed users so I could propose a new OAuth client? Thank you!
Jul 24 2015
Jul 21 2015
Thanks for your reply, @hashar! I've registered on deployment but don't have rights to propose. It told me that only users of group Autoconfirmed users and Confirmed users have rights. I'm in Users group. Could you help me with that? My username is also 'Vcamx'.
@Ladsgroup I think I'm in tools project now. Can you try to add me to tools.pywikibot-testwiki group again? Thank you!
Jul 20 2015
Jul 17 2015
Jul 16 2015
@XZise Okay, I'll send a new patch for that.
Jul 15 2015
@jayvdb Thanks for your explain! I was stuck in the C implementation of SSLError. It helps me a lot! :D
@jayvdb, 2.7.8 works well, 2.7.10 has the same problem.
- Perform a login and logout using OAuth with assertions that verify APISite._userinfo is correct.
- Login, edit a userpage, and confirm the edit was performed using the OAuth-authenticated account.
I think it's a platform-specific bug for ssl.SSLError, or a misuse of ssl.SSLError.
I executed the following commands on different platforms:
>>> import ssl >>> class AError(Exception): pass >>> str(ssl.SSLError('a', AError('b')))
and got different results: