Modify

Opened 6 months ago

Last modified 2 weeks ago

#11615 new enhancement

Extension point for event providers

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

Description

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 6 months ago.
T11615-milestones.patch (2.6 KB) - added by lucid 6 months ago.
T11615-extension-point-2.diff (5.9 KB) - added by lucid 2 weeks ago.
T11615-milestones-2.patch (2.7 KB) - added by lucid 2 weeks ago.

Download all attachments as: .zip

Change History (6)

Changed 6 months ago by lucid

Changed 6 months ago by lucid

comment:1 Changed 6 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 2 weeks ago by lucid

Changed 2 weeks ago by lucid

comment:2 Changed 2 weeks ago by lucid

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

Now only calls responsible providers.

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.