Opened 14 months ago

Closed 7 months ago

#11615 closed enhancement (fixed)

Extension point for event providers

Reported by: psuter Owned by: lucid
Priority: normal Component: WeekPlanPlugin
Severity: normal Keywords:
Cc: Trac Release:


This plugin could define a new extension point for event providers.

The existing DB stored notes would then be moved to a separate component, and additional components could be added for different kinds of events:

  • Milestone and ticket events (due dates)
  • External iCalendar feed events
  • ...

These providers should define a "plan prefix" and are used as data sources when that prefix is used. (E.g. [[WeekPlan(plan=milestone:iteration1|ical:myfeed)]])

They should also be informed if the event is moved / edited. (Or mark events as readonly.)

Attachments (4)

T11615-extension-point.patch (5.5 KB) - added by lucid 14 months ago.
T11615-milestones.patch (2.6 KB) - added by lucid 14 months ago.
T11615-extension-point-2.diff (5.9 KB) - added by lucid 8 months ago.
T11615-milestones-2.patch (2.7 KB) - added by lucid 8 months ago.

Download all attachments as: .zip

Change History (7)

Changed 14 months ago by lucid

Changed 14 months ago by lucid

comment:1 Changed 14 months ago by lucid

The attached patches:

  • Defines an extension point for event providers.
  • Moves the existing DB events into a provider implementation.
  • Partially implement an additional provider for milestones due and completion dates.
    • Example: [[WeekPlan(plan=milestone:milestone1)]]

Both need some refinement but the basic concept is working.

  • Extension point:
    • Should wait until plugin is stable? (Fix WeekPlanPlugin#KnownLimitations first?)
    • Better concept for which provider handles which events / plans / prefixes and only call responsible provider?
  • Milestones:
    • Either milestone events should be marked as readonly somehow.
    • Or milestone add, update and delete should be implemented somehow.

Changed 8 months ago by lucid

Changed 8 months ago by lucid

comment:2 Changed 8 months ago by lucid

Updated patches (works with event sources, see changeset:14089).

Now only calls responsible providers.

comment:3 Changed 7 months ago by lucid

  • Resolution set to fixed
  • Status changed from new to closed

In 14175:

WeekPlanPlugin: Define IWeekPlanEventProvider extension point. (fix #11615)
Bump version to 1.1.

Parse as UTC so localtimezone is ignored.
Update drop / resize event arguments.
Only hook up the enter key to submit dialogs of this plugin.
Tweak default colors.

Add Comment

Modify Ticket

as closed The owner will remain lucid.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.