stash/pkg/manager
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
..
config Error strings noncapitalized (#1704) 2021-09-08 11:23:10 +10:00
jsonschema Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
paths Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
apikey.go Setup and migration UI refactor (#1190) 2021-04-12 09:31:33 +10:00
checksum.go Fix: config race conditions with RWMutex (#1645) 2021-08-24 15:18:30 +10:00
downloads.go Selective export (#770) 2020-09-15 17:28:53 +10:00
exclude_files.go Cleanup fixes (#1422) 2021-05-25 11:03:09 +10:00
exclude_files_test.go Added exclude patterns support for Clean Task (#274) 2019-12-23 21:06:07 -05:00
filename_parser.go Studio aliases (#1660) 2021-09-09 18:13:42 +10:00
gallery.go Images section (#813) 2020-10-13 10:12:46 +11:00
generator.go Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
generator_phash.go Add in-memory screenshot generation for sprites and phash (#1316) 2021-05-05 13:22:05 +10:00
generator_preview.go Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
generator_sprite.go Fix: unhandled errors (#1419) 2021-05-25 18:40:51 +10:00
image.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
import.go Add partial import functionality (#812) 2020-09-20 18:36:02 +10:00
json_utils.go Images section (#813) 2020-10-13 10:12:46 +11:00
manager.go When stopping, close the database (#1686) 2021-09-07 14:28:40 +10:00
manager_tasks.go Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
migrate_hash.go Migrate generated files when a scene is rescanned (#1106) 2021-02-10 10:50:34 +11:00
post_migrate.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
running_streams.go DLNA (#1364) 2021-05-20 16:58:43 +10:00
scene.go Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
scene_screenshot.go Allow uploading of custom scene covers (#262) 2019-12-13 15:40:58 -05:00
screenshot.go Generate cover image (#376) 2020-03-12 08:34:04 +11:00
studio.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
subscribe.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task_autotag.go Fix autotag tag alias (#1713) 2021-09-17 09:23:56 +10:00
task_clean.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_export.go Job queueing (#1379) 2021-05-24 14:24:18 +10:00
task_generate_markers.go Generate screenshot images for markers (#1604) 2021-09-15 12:27:05 +10:00
task_generate_phash.go Overwrite phash during generate if flag set (#1633) 2021-08-11 16:08:10 +10:00
task_generate_preview.go Make audio stream optional for preview generation (#1454) 2021-06-11 15:01:32 +10:00
task_generate_screenshot.go Error strings noncapitalized (#1704) 2021-09-08 11:23:10 +10:00
task_generate_sprite.go Strip file extension from scene title when scanning (#1022) 2021-01-07 11:38:30 +11:00
task_import.go Tag hierarchy (#1519) 2021-09-09 14:58:43 +10:00
task_migrate_hash.go Migrate generated files when a scene is rescanned (#1106) 2021-02-10 10:50:34 +11:00
task_plugin.go Plugin hooks (#1452) 2021-06-11 17:24:58 +10:00
task_scan.go Execute Gallery.Create.Post plugin hook during scan (#1731) 2021-09-19 10:28:34 +10:00
task_stash_box_tag.go Correct error propagation (#1703) 2021-09-08 11:22:56 +10:00
task_transcode.go Cleanup fixes (#1422) 2021-05-25 11:03:09 +10:00