Page MenuHomePhabricator

Method API for scheduled events
Open, Needs TriagePublic

Description

Public:

  1. EchoEvent::createScheduled method to schedule events at a given time.
  2. Method in EventMapper to cancel events.
  3. Method in EventMapper to look up scheduled events by user ID (required) and optionally page ID and event type.

Private:

  1. Method in EventMapper to look up events that are ready to deliver (scheduled time has arrived).
  2. Method in NotificationController to fire a scheduled event (making it a direct event) when its scheduled time has arrived.

Event Timeline

Change 370502 had a related patch set uploaded (by Foxy brown; owner: Foxy brown):
[mediawiki/extensions/Echo@master] Adding to the Article Reminder feature its delay mechanism

https://gerrit.wikimedia.org/r/370502

Aklapper removed Eee888 as the assignee of this task.Sep 26 2018, 3:13 PM

@Eee888: I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action...Assign / Claim in the dropdown menu) - it would be welcome! Thanks for your understanding!

Restricted Application added a project: Growth-Team. · View Herald TranscriptSep 26 2018, 3:13 PM
SBisson moved this task from Inbox to Triaged but Future on the Growth-Team board.Sep 28 2018, 2:25 AM