stash/pkg/models
woodgen 4045ddf3e9
Implement scraping movies by URL (#709)
* api/urlbuilders/movie: Auto format.

* graphql+pkg+ui: Implement scraping movies by URL.

This patch implements the missing required boilerplate for scraping
movies by URL, using performers and scenes as a reference.

Although this patch contains a big chunck of ground work for enabling
scraping movies by fragment, the feature would require additional
changes to be completely implemented and was not tested.

* graphql+pkg+ui: Scrape movie studio.

Extends and corrects the movie model for the ability to store and
dereference studio IDs with received studio string from the scraper.
This was done with Scenes as a reference. For simplicity the duplication
of having `ScrapedMovieStudio` and `ScrapedSceneStudio` was kept, which
should probably be refactored to be the same type in the model in the
future.

* ui/movies: Add movie scrape dialog.

Adds possibility to update existing movie entries with the URL scraper.

For this the MovieScrapeDialog.tsx was implemented with Performers and
Scenes as a reference. In addition DurationUtils needs to be called one
time for converting seconds from the model to the string that is
displayed in the component. This seemed the least intrusive to me as it
kept a ScrapeResult<string> type compatible with ScrapedInputGroupRow.
2020-08-10 15:34:15 +10:00
..
extension_find_filter.go Reorg 2019-02-14 15:42:52 -08:00
json_time.go Fix json time when unmarshalling 2019-03-09 10:14:55 -08:00
model_gallery.go Gallery list improvement (#622) 2020-06-21 21:43:57 +10:00
model_joins.go Add Studio to movie and fix movie schema (#458) 2020-04-22 11:22:14 +10:00
model_movie.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
model_performer.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
model_scene.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
model_scene_marker.go Scenes with a marker missing a primary tag fails to load 2019-04-20 10:32:01 -07:00
model_scraped_item.go Implement scraping movies by URL (#709) 2020-08-10 15:34:15 +10:00
model_studio.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
model_tag.go Add grid view, image to tag (#641) 2020-07-07 10:35:43 +10:00
querybuilder_gallery.go Generate content for specific scenes (#672) 2020-07-19 11:59:18 +10:00
querybuilder_gallery_test.go Gallery list improvement (#622) 2020-06-21 21:43:57 +10:00
querybuilder_joins.go Add Studio to movie and fix movie schema (#458) 2020-04-22 11:22:14 +10:00
querybuilder_movies.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
querybuilder_movies_test.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
querybuilder_performer.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
querybuilder_performer_test.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
querybuilder_scene.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
querybuilder_scene_marker.go Generate content for specific scenes (#672) 2020-07-19 11:59:18 +10:00
querybuilder_scene_marker_test.go Speed up tag count queries (#570) 2020-05-24 16:18:02 +10:00
querybuilder_scene_test.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
querybuilder_scraped_item.go Dependency updates 2019-05-27 12:34:26 -07:00
querybuilder_sql.go Fix tag query performance problems (#657) 2020-07-09 08:42:07 +10:00
querybuilder_studio.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
querybuilder_studio_test.go Move image blobs into separate tables (#618) 2020-06-23 09:19:19 +10:00
querybuilder_tag.go Fix tag query performance problems (#657) 2020-07-09 08:42:07 +10:00
querybuilder_tag_test.go Fix tag query performance problems (#657) 2020-07-09 08:42:07 +10:00
setup_test.go Add oshash support (#667) 2020-08-06 11:21:14 +10:00
sqlite_date.go Fix dates 2019-03-04 19:37:22 -08:00
sqlite_timestamp.go Reorg 2019-02-14 15:42:52 -08:00