Skip to content

Add event dispatcher to OCP - #15777

Merged
rullzer merged 1 commit into
masterfrom
feature/ocp-event-dispatcher
Jun 25, 2019
Merged

rullzer merged 1 commit into
masterfrom
feature/ocp-event-dispatcher

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented May 28, 2019 •

Copy link
Copy Markdown
Member

This is an overhaul of the event system. It's a thin abstraction over the Symfony event system, re-exported for apps with a little helper for DI.

  • Adds an Event abstraction to OCP
  • Adds an IEventListener interface
  • Adds an ServiceEventListener helper that routes events to event listeners lazy loaded by the DI container

Comment thread lib/public/EventDispatcher/LazyEventListener.php Outdated
Comment thread lib/public/EventDispatcher/IEventDispatcher.php
Comment thread apps/files_trashbin/lib/Storage.php
@ChristophWurst
ChristophWurst marked this pull request as ready for review May 29, 2019 08:49
@ChristophWurst
ChristophWurst force-pushed the feature/ocp-event-dispatcher branch from d322353 to 76012fe Compare June 19, 2019 12:53
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jun 19, 2019
@ChristophWurst

Copy link
Copy Markdown
Member Author

This should be good to go :)

Comment thread apps/dav/lib/HookManager.php
@georgehrke georgehrke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 24, 2019
@rullzer

This comment has been minimized.

Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst
ChristophWurst force-pushed the feature/ocp-event-dispatcher branch from 76012fe to 3174012 Compare June 25, 2019 08:02
@rullzer
rullzer merged commit 5fbf304 into master Jun 25, 2019
@rullzer
rullzer deleted the feature/ocp-event-dispatcher branch June 25, 2019 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants