Page MenuHomePhabricator

migrate HostBot and GrantsBot to OAuth authentication
Closed, ResolvedPublic

Description

Need to get ahead of the upcoming breaking change: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-January/000100.html

Editing tasks that need to use OAuth:
HostBot

  • Inviting new editors (HostBot)
  • updating recent questions
  • updating recent guest gallery
  • updating active hosts gallery
  • reordering host profiles
  • archiving guest profiles

GrantsBot

  • updating all IdeaLab galleries (ideas, people)
  • updating all IdeaLab and Learning Pattern guides (ideas, patterns, people)
  • updating IdeaLab activity feed

Event Timeline

Capt_Swing claimed this task.
Capt_Swing raised the priority of this task from to Needs Triage.
Capt_Swing updated the task description. (Show Details)

HostBot is now authenticating through OAuth when sending daily invites. Here's an example of the new code: https://github.com/jtmorgan/hostbot/blob/master/scripts/teahouse/send_th_invites.py

There are many other HostBot/GrantsBot scripts that need to be updated to use OAuth as well. Since I support GrantsBot in my staff capacity, those tasks will be tackled first, now that I've gotten the hang of things. This ticket will be left open in the meantime, until/unless I decide to make it an Epic and break it up into sub-tasks.

Capt_Swing added a subscriber: I_JethroBT.

RMV DR because @I_JethroBT is taking over GrantsBot, and HostBot is run in a volunteer capacity.