Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin hooks #1452

Merged
merged 17 commits into from
Jun 11, 2021
Merged

Plugin hooks #1452

merged 17 commits into from
Jun 11, 2021

Conversation

WithoutPants
Copy link
Collaborator

Adds support for triggering plugin tasks from operations.

Supports triggering on create, update, and delete operations for scenes, images, galleries, movies, markers, performers, studios and tags. Currently supports post hooks only - that is, the plugin is triggered after the operation is complete and the transaction committed.

Includes some refactoring of the session management code.

The manual has been updated to include the new hook functionality, and I will defer writing about how it works to there.

I have included an example plugin that fulfills the requirements for #1011
markerTagToScene.zip

The js example as also been extended to demonstrate hooks.

@WithoutPants WithoutPants added the feature Pull requests that add a new feature label May 29, 2021
@WithoutPants WithoutPants added this to the Version 0.8.0 milestone May 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Pull requests that add a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants