stash/pkg
gitgiggety 82e4ad4130
Execute Gallery.Create.Post plugin hook during scan (#1731)
* Execute Gallery.Create.Post plugin hook during scan

Fix issue where Gallery.Create.Post hook is not executed when a new
gallery is created during scan, when the gallery is created based on the
folder.

* Fix Gallery.Create.Post hook being invoked in transaction

Invoke the Gallery.Create.Post hook during zip scan after the
transaction has been committed. This is necessary to allow the plugin to
access the gallery (using GraphQL API). Otherwise the API obviously uses
a different database transaction which can't find the gallery as it
isn't committed yet.
2021-09-19 10:28:34 +10:00
..
api Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
autotag Fix autotag tag alias (#1713) 2021-09-17 09:23:56 +10:00
database Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
dlna Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
ffmpeg Remove unused (#1709) 2021-09-09 14:10:08 +10:00
gallery Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
image Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
job Fix data race in progress_test (#1696) 2021-09-07 13:30:26 +10:00
logger Scraper log improvements (#1741) 2021-09-19 10:06:34 +10:00
manager Execute Gallery.Create.Post plugin hook during scan (#1731) 2021-09-19 10:28:34 +10:00
models Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
movie Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
performer Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
plugin Scraper log improvements (#1741) 2021-09-19 10:06:34 +10:00
scene Remove unused (#1709) 2021-09-09 14:10:08 +10:00
scraper Scraper log improvements (#1741) 2021-09-19 10:06:34 +10:00
session Remove unused (#1709) 2021-09-09 14:10:08 +10:00
sqlite Make hierarchical criterion depth input optional (#1733) 2021-09-16 20:41:07 +10:00
studio Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
tag Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
utils Remove unused (#1709) 2021-09-09 14:10:08 +10:00