[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2022-01-10 Thread Xqt
Xqt added a comment. https://github.com/xqt/pwb/runs/4761389285?check_suite_focus=true == ERROR: test_clear_cookies (tests.site_tests.TestClearCookies) Test cookies are cleared (T224712).

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2021-07-03 Thread Xqt
Xqt added a comment. Tests are failing now due to this https://travis-ci.com/github/wikimedia/pywikibot/jobs/521442547 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Dalba, Dvorapa, X

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2020-03-28 Thread Dvorapa
Dvorapa added a comment. In T222508#5225702 , @Xqt wrote: > In T222508#5225437 , @Dalba wrote: > >> Wouldn't it be better to mark the test with a `user = True` attribute instead of

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2020-03-28 Thread Dvorapa
Dvorapa added a comment. In T222508#5168363 , @Framawiki wrote: > The later patch also intents to skip test on AppVeyor. > I'm not sure how to deal with the `pywikibot.data.api.APIError: Failed: You have made too many recent login atte

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2020-03-28 Thread Dvorapa
Dvorapa added a comment. In T222508#5158894 , @Dvorapa wrote: > Since the very first patch it also fails on AppVeyor with the following error: > > == > ERROR:

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-31 Thread Xqt
Xqt added a comment. In T222508#5225437 , @Dalba wrote: > Wouldn't it be better to mark the test with a `user = True` attribute instead of `skipIf(os.environ.get('APPVEYOR', ...`? Is this recognized for APPVEYOR tests? TASK DETA

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-30 Thread Dalba
Dalba added a comment. In T222508#5179922 , @gerritbot wrote: > Change 508893 **merged** by jenkins-bot: > [pywikibot/core@master] [bugfix] clear tokens on logout() > > https://gerrit.wikimedia.org/r/508893 Wouldn't it be b

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-27 Thread Dvorapa
Dvorapa added a comment. In T222508#5215339 , @Xqt wrote: > In T222508#5215288 , @Dvorapa wrote: > > > musicbrainz issue solved > > > What was the problem here? My stup

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-27 Thread Xqt
Xqt added a comment. In T222508#5215288 , @Dvorapa wrote: > musicbrainz issue solved What was the problem here? TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settin

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-27 Thread Dvorapa
Dvorapa added a comment. musicbrainz issue solved, only the timeout is the issue now (happens only sometimes) TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Framawiki, Dvorapa Cc: Dvorapa, Xq

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-25 Thread Xqt
Xqt added a comment. In T222508#5212114 , @Dvorapa wrote: > What else should be set to make it work? OAuth? Some preferences? I've no glue. Deactivation tests where login is needed then. TASK DETAIL https://phabricator.wikimedi

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-25 Thread Dvorapa
Dvorapa added a comment. The username and general password do match. What else should be set to make it work? OAuth? Some preferences? TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Framawiki

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-25 Thread Xqt
Xqt added a comment. In T222508#5212037 , @Framawiki wrote: > In T222508#5186431 , @Dvorapa wrote: > > > - en:musicbrainz - test account created, but still failing (weird) > >

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-25 Thread Framawiki
Framawiki added a comment. In T222508#5186431 , @Dvorapa wrote: > - en:musicbrainz - test account created, but still failing (weird) For en:musicbrainz I see `pywikibot.

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-16 Thread Dvorapa
Dvorapa added a comment. Okay, Appveyor tests skipped, en:wsbeta test account created. Last fails: - en:musicbrainz - test account created, but still failing (weird) - zh:wikisource on Python 3.4: still timeouts TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-16 Thread gerritbot
gerritbot added a comment. Change 510520 **merged** by jenkins-bot: [pywikibot/core@master] Skip TestLoginLogout if it is running on Appveyor https://gerrit.wikimedia.org/r/510520 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-15 Thread gerritbot
gerritbot added a comment. Change 510520 had a related patch set uploaded (by Xqt; owner: Xqt): [pywikibot/core@master] Skip TestLoginLogout unless it is running on Travis https://gerrit.wikimedia.org/r/510520 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-14 Thread gerritbot
gerritbot added a comment. Change 508893 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] clear tokens on logout() https://gerrit.wikimedia.org/r/508893 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/pan

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-10 Thread Dvorapa
Dvorapa added a comment. Apart from the wsbeta and musicbrainz on Travis there sometimes occur infinite loops: https://travis-ci.org/wikimedia/pywikibot/jobs/530930561 https://travis-ci.org/wikimedia/pywikibot/jobs/530930559 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAI

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-08 Thread gerritbot
gerritbot added a comment. Change 508893 had a related patch set uploaded (by Framawiki; owner: Framawiki): [pywikibot/core@master] [bugfix] clear tokens on logout() https://gerrit.wikimedia.org/r/508893 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-08 Thread Framawiki
Framawiki added a comment. The later patch also intents to skip test on AppVeyor. I'm not sure how to deal with the `pywikibot.data.api.APIError: Failed: You have made too many recent login attempts. Please wait 5 minutes before trying again.` present on Travis. TASK DETAIL https://phabr

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-06 Thread Dvorapa
Dvorapa added a comment. Perhaps this should be skipped on AppVeyor as we have no chance to add password/env variable in AppVeyor config? TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Framaw

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-06 Thread Xqt
Xqt added a comment. Seems there is no password found to login TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Framawiki, Xqt Cc: Dvorapa, Xqt, Aklapper, pywikibot-bugs-list, Framawiki, joker88

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-06 Thread Dvorapa
Dvorapa added a comment. Since the very first patch it also fails on AppVeyor with the following error: == ERROR: test_login_logout (tests.site_tests.TestLoginLogout) Validate login and logout methods by toggling

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-05 Thread Xqt
Xqt added a comment. There are two remaining issues for wsbeta and musicbrainz: https://travis-ci.org/wikimedia/pywikibot/builds/528404683 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Frama

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-05 Thread gerritbot
gerritbot added a comment. Change 508111 **merged** by jenkins-bot: [pywikibot/core@master] [TEST] fix test_login_logout, OAuth case https://gerrit.wikimedia.org/r/508111 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/setti

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-05 Thread gerritbot
gerritbot added a comment. Change 508111 had a related patch set uploaded (by Framawiki; owner: Framawiki): [pywikibot/core@master] [TEST] fix test_login_logout, OAuth case https://gerrit.wikimedia.org/r/508111 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-04 Thread gerritbot
gerritbot added a comment. Change 508094 **merged** by jenkins-bot: [pywikibot/core@master] [TEST] fix test_login_logout https://gerrit.wikimedia.org/r/508094 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/em

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-04 Thread gerritbot
gerritbot added a comment. Change 508094 had a related patch set uploaded (by Framawiki; owner: Framawiki): [pywikibot/core@master] [TEST] fix test_login_logout https://gerrit.wikimedia.org/r/508094 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://ph

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-04 Thread Xqt
Xqt added a comment. === FAILURES === __ TestLoginLogout.test_login_logout ___ self = def test_login_logout(self): """Validate login and logout meth

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-04 Thread gerritbot
gerritbot added a comment. Change 508072 **merged** by jenkins-bot: [pywikibot/core@master] [bugfix] add CSRF token in sitelogout() api call https://gerrit.wikimedia.org/r/508072 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREFERENCES https://phabricator.wikimedia.o

[Pywikipedia-bugs] [Maniphest] [Commented On] T222508: action=logout needs CSRF token, since API breaking change

2019-05-04 Thread gerritbot
gerritbot added a comment. Change 508072 had a related patch set uploaded (by Framawiki; owner: Framawiki): [pywikibot/core@master] [bugfix] add CSRF token in sitelogout() api call https://gerrit.wikimedia.org/r/508072 TASK DETAIL https://phabricator.wikimedia.org/T222508 EMAIL PREF