Ian McKenzie
180a0fa8dd
Add updated_at field to stash_id's ( #5259 )
...
* Add updated_at field to stash_id's
* Only set updated at on stash ids when actually updating in identify
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-10-31 15:56:16 +11:00
its-josh4
c6bcdd89be
Use slices package from the stdlib when possible ( #5360 )
...
* Use slices from the stdlib when possible
* Add some unit tests
* More small tweaks + add benchmark func
2024-10-29 11:26:23 +11:00
Arshad
32c48443b5
adding exists check before dropping constraints ( #5363 )
...
Co-authored-by: Arshad Khan <arshad@Arshads-MacBook-Air-2.local>
2024-10-15 13:10:47 +11:00
WithoutPants
9b567fa6f4
Exclude null values from image studio id index ( #5335 )
2024-10-03 11:53:29 +10:00
WithoutPants
c6c3754f02
Fix panic when deleting image with no files ( #5328 )
2024-10-02 12:19:13 +10:00
WithoutPants
be6431ac13
Fix parent/child tag sort order ( #5320 )
2024-09-30 17:13:45 +10:00
WithoutPants
7e8c764dc7
Fix migrations not using tx ( #5282 )
2024-09-22 14:03:54 +10:00
dogwithakeyboard
fd9e4b3ec2
add table alias to group scene sort ( #5279 )
2024-09-22 13:20:33 +10:00
WithoutPants
476688c84d
Database connection pool refactor ( #5274 )
...
* Move optimise out of RunAllMigrations
* Separate read and write database connections
* Enforce readonly connection constraint
* Fix migrations not using tx
* #5155 - allow setting cache size from environment
* Document new environment variable
2024-09-20 12:56:26 +10:00
WithoutPants
a17199ba21
Handle symlink zip files ( #5249 )
2024-09-11 13:58:02 +10:00
WithoutPants
d1c207e40b
Rename movies to groups in menu items in 65 post-migration ( #5247 )
...
* Only backup config file if needed in 58 migration
* Change movies to groups in menu items in 65 post-migration
2024-09-11 13:39:46 +10:00
WithoutPants
5407596e0d
Anonymise missing fields ( #5244 )
...
* Anonymise missing fields:
- galleries.photographer
- performers.disambiguation
- gallery_urls
* Anonymise captions and saved filters
2024-09-11 11:50:27 +10:00
WithoutPants
8c2a25b833
Fix gallery scrubber image order ( #5222 )
2024-09-05 12:59:20 +10:00
WithoutPants
ad17e7defe
Fix handling of files to delete during delete Gallery operation ( #5213 )
...
* Only remove file in zip from image if deleting from zip file
* Only remove file in folder from image if deleting from folder
2024-09-05 11:27:31 +10:00
WithoutPants
bcf0fda7ac
Containing Group/Sub-Group relationships ( #5105 )
...
* Add UI support for setting containing groups
* Show containing groups in group details panel
* Move tag hierarchical filter code into separate type
* Add depth to scene_count and add sub_group_count
* Add sub-groups tab to groups page
* Add containing groups to edit groups dialog
* Show containing group description in sub-group view
* Show group scene number in group scenes view
* Add ability to drag move grid cards
* Add sub group order option
* Add reorder sub-groups interface
* Separate page size selector component
* Add interfaces to add and remove sub-groups to a group
* Separate MultiSet components
* Allow setting description while setting containing groups
2024-08-30 11:43:44 +10:00
Ian McKenzie
96fdd94a01
Create a section in the history panel to reset scene activity ( #5168 )
...
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-08-29 13:34:22 +10:00
sezzim
68738bd227
Support for assigning any image from a gallery as the cover ( #5053 )
...
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-08-29 11:24:52 +10:00
WithoutPants
b7799df2a6
Add package docs and project vision/goals ( #5169 )
...
* Add goals/design vision to contributing doc
* Add barebones package documentation
2024-08-28 09:01:39 +10:00
WithoutPants
996dfb1c2f
Gallery scrubber ( #5133 )
2024-08-28 08:59:41 +10:00
dogwithakeyboard
3089e1ad69
Markers scene filter ( #5097 )
...
* Add scene filter to markers
* Fix labels for scenes
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-08-27 17:23:34 +10:00
Ian McKenzie
62ff6f3c7f
Use existing consts for table names in anonymise.go where available ( #5167 )
2024-08-27 13:01:12 +10:00
Ian McKenzie
e49beb139c
Truncate scenes_o_dates and scenes_view_dates as part of anonymize ( #5166 )
2024-08-27 09:03:22 +10:00
WithoutPants
a94bf29b34
Add missing performer sort options to whitelist ( #5129 )
...
Adds career length, measurements and weight.
2024-08-13 16:13:15 +10:00
WithoutPants
d96850c008
Rename movie tables to groups in database schema ( #5082 )
...
* Rename movie tables to groups
* Correct index name
* Rename synopsis to description in schema
2024-07-30 14:14:16 +10:00
WithoutPants
720b233be6
Rename movie group backend ( #5044 )
...
* Rename movie go files
* Rename movie package to group
2024-07-04 11:36:05 +10:00
WithoutPants
15a7b8a859
Movie group renames ( #5039 )
...
* Rename Movie and MoviePartial to Group/GroupPartial
* Rename Movie interfaces
* Update movie url builders to use group
* Rename movieRoutes to groupRoutes
* Update dataloader
* Update names in sqlite package
* Rename in resolvers
* Add GroupByURL to scraper config
* Scraper backward compatibility hacks
2024-07-04 09:10:26 +10:00
WithoutPants
2739696813
Add group graphql interfaces ( #5017 )
...
* Deprecate movie and add group interfaces
* UI changes
2024-07-03 13:59:40 +10:00
WithoutPants
3156191b83
Fix scene marker query ( #5014 )
2024-06-24 16:02:46 +10:00
WithoutPants
593207866f
Adjust 64 post-migrate where logic
...
I think not including the scene_id meant that a date could be corrected earlier, meaning the rows affected would be 0. Adding scene_id means that each row should be migrated one by one.
2024-06-24 16:02:18 +10:00
WithoutPants
6775a28ec7
Add schema migration to fix view_date format ( #4992 )
...
Also adds index on scene_id and adds a not null constraint to scene_id
2024-06-24 13:15:54 +10:00
WithoutPants
a1fc14f8c4
Fix join function for studio scenes_filter handler ( #4994 )
2024-06-19 20:00:30 +10:00
bob123491234
b3d35dfae4
Add tags to studios ( #4858 )
...
* Fix makeTagFilter mode
* Remove studio_tags filter criterion
This is handled by studios_filter. The support for this still needs to be added in the UI, so I have removed the criterion options in the short-term.
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-06-18 15:55:20 +10:00
WithoutPants
f26766033e
Performer urls ( #4958 )
...
* Populate URLs from legacy fields
* Return nil properly in xpath/json scrapers
* Improve migration logging
2024-06-18 13:41:05 +10:00
WithoutPants
fda4776d30
Movie/Group tags ( #4969 )
...
* Combine common tag control code into hook
* Combine common scraped tag row code into hook
2024-06-18 11:24:15 +10:00
WithoutPants
f9a624b803
Default view filters ( #4962 )
...
* Merge/adapt from yoshnopa:defaultDetails
* Deprecate and remove default filter calls
* Fix weird behaviour when clicking set as default
* Update deprecated get/set default filter resolvers
* Add config migration
---------
Co-authored-by: yoshnopa <usingusenet@protonmail.com>
2024-06-18 10:51:52 +10:00
WithoutPants
2d483f2d11
Bulk edit tags ( #4925 )
...
* Refactor tag relationships and add bulk edit
* Add bulk edit tags dialog
2024-06-11 13:41:20 +10:00
WithoutPants
62bdff351d
Movie URLs ( #4900 )
...
* Fix exclude behaviour for stringListCriterionHandlerBuilder
2024-06-11 13:08:49 +10:00
WithoutPants
e843c890fb
Add related object filter criteria to various filter types in graphql schema ( #4861 )
...
* Move filter criterion handlers into separate file
* Add related filters for image filter
* Add related filters for scene filter
* Add related filters to gallery filter
* Add related filters to movie filter
* Add related filters to performer filter
* Add related filters to studio filter
* Add related filters to tag filter
* Add scene filter to scene marker filter
2024-06-11 11:34:38 +10:00
WithoutPants
2ca53714a6
Fix SQL error when querying performers with missing aliases ( #4894 )
2024-05-29 07:48:35 +10:00
WithoutPants
eb67f7f4d6
Fix corrupted frontPageContent keys during migration ( #4870 )
...
* Add NestedMap.Delete
* Migrate corrupt frontPageContent keys
2024-05-23 13:59:39 +10:00
WithoutPants
4794a1d453
Fix setting pointers corrupting config in memory ( #4868 )
2024-05-23 10:56:18 +10:00
WithoutPants
89553864f5
Enforce whitelist for sort values ( #4865 )
2024-05-22 14:59:08 +10:00
WithoutPants
bfc60bb23f
Replace viper with koanf ( #4845 )
...
* Migrate to koanf
* Use temp logger for crashes before config is initialised
* Remove snake case hacks
* Add migration for config file keys
* Add migration note for new migration
* Renamed viper functions
* Remove front-end viper workaround
* Correctly default scan options
2024-05-21 11:24:47 +10:00
dogwithakeyboard
e32593023e
Add additional fields and restyle Movie select and Gallery select ( #4851 )
...
* Add new fields and restyle gallery selector
* Add new fields and style movie selector
2024-05-20 13:10:36 +10:00
bob123491234
3e3e8b95e2
Add scenes filter to galleries ( #4840 )
2024-05-20 13:04:45 +10:00
NotForMyCV
c8aeb7966a
Add last_played_at filter ( #4829 )
2024-05-14 14:40:46 +10:00
Dankonite
29859fa4ad
Tag Favoriting ( #4728 )
...
* Add missing key unbind
---------
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2024-05-09 12:04:58 +10:00
NodudeWasTaken
a369613d42
bitrate filter ( #4713 )
2024-03-21 12:36:08 +11:00
WithoutPants
8c454582c7
Add support for favorite Studios ( #4675 )
...
* Backend changes
* Add favorite icon to studio cards
* Add favorite button to studio page
* Add studio favorite filtering
2024-03-14 11:17:44 +11:00
WithoutPants
e5929389b4
Make migration an asynchronous task ( #4666 )
...
* Add failed state and error to Job
* Move migration code
* Add websocket monitor
* Make migrate a job managed task
2024-03-14 11:06:23 +11:00