stash/pkg/models
WithoutPants 4fe4da6c01
Merge tags functionality (#1481)
* Add API to merge tags

Add new API endpoint, `tagsMerge(source, destination)` to merge multiple
tags into a single one. The "sources" must be provided as a list of ids
and the destination as a single id. All usages of the source tags
(scenes, markers (primary and additional), images, galleries and
performers) will be updated to the destination tag, all aliases of the
source tags will be updated to the destination, and the name of the
source will be added as alias to the destination as well.

* Add merge tag UI
* Add unit tests
* Update test mocks
* Update internationalisation
* Add changelog entry

Co-authored-by: gitgiggety <gitgiggety@outlook.com>
2021-06-16 14:33:54 +10:00
..
mocks Merge tags functionality (#1481) 2021-06-16 14:33:54 +10:00
extension_find_filter.go Auto tag rewrite (#1324) 2021-04-26 12:51:31 +10:00
extension_resolution.go Add sqlite filter builder. Add AND, OR, NOT filters to scene filter (#1115) 2021-03-02 11:27:36 +11:00
gallery.go Add scene/image/gallery popover count buttons for performer/studio/tag cards (#1293) 2021-04-15 10:46:31 +10:00
image.go Add scene/image/gallery popover count buttons for performer/studio/tag cards (#1293) 2021-04-15 10:46:31 +10:00
json_time.go Prevent invalid date tag in video file from aborting scan (#836) 2020-10-11 12:02:41 +11:00
model_gallery.go Autotag support for images and galleries (#1345) 2021-05-03 13:09:46 +10:00
model_image.go Autotag support for images and galleries (#1345) 2021-05-03 13:09:46 +10:00
model_joins.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
model_movie.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
model_performer.go Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
model_scene.go Add Handy / Funscript support (#1377) 2021-05-24 13:34:28 +10:00
model_scene_marker.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
model_scraped_item.go added details, deathdate, hair color, weight to performers and added details to studios (#1274) 2021-04-16 16:06:35 +10:00
model_studio.go Added rating to performers and studios (#1308) 2021-04-26 13:48:32 +10:00
model_tag.go Tag aliases (#1412) 2021-05-26 14:36:05 +10:00
movie.go Remove slim graphql endpoints (#1207) 2021-03-17 11:17:01 +11:00
performer.go fix typos in performer models repo interface (#1410) 2021-05-24 14:07:08 +10:00
repository.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
scene.go Add phash generation and dupe checking (#1158) 2021-04-12 09:04:40 +10:00
scene_marker.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
scraped.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
sql.go Make file upload limits configurable (#1079) 2021-01-29 20:27:02 +11:00
sqlite_date.go Add partial import functionality (#812) 2020-09-20 18:36:02 +10:00
sqlite_timestamp.go Handle zip file modification (#877) 2020-11-05 10:26:51 +11:00
stash_ids.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00
studio.go Auto tag rewrite (#1324) 2021-04-26 12:51:31 +10:00
tag.go Merge tags functionality (#1481) 2021-06-16 14:33:54 +10:00
transaction.go Data layer restructuring (#997) 2021-01-18 12:23:20 +11:00