Commit graph

91 commits

Author SHA1 Message Date
bnkai
9dacad70a1
Autoassociate galleries to scenes when scanning (#405) 2020-03-19 12:36:00 +11:00
WithoutPants
3de6955a9e
Generate cover image (#376)
* Make mutating metadata ops mutation
* Implement scene generate screenshot
* Remove fetch policy on metadata mutations
* Port UI changes to v2.5
* Set generated image in database
2020-03-12 08:34:04 +11:00
caustico
5fb8bbf768
Movies Section (#338)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-03-10 14:28:15 +11:00
Infinite
3a0420b79e Change i18n to just use single language setting 2020-03-01 21:04:37 +01:00
Infinite
0fdde7726b i18n 2020-03-01 21:04:37 +01:00
twotobinary
776727140f
fix(middleware): set baseURL to external host if provided (#369) 2020-02-17 14:01:02 +11:00
InfiniteTF
6a6e8d8875
Change thumbnail default size and resize algorithm (#336)
* Change thumbnail resize algorithm and add size parameter

* Height -> Width

* Change default size from 100px to 200px

* Height -> width
2020-01-31 17:19:15 -05:00
WithoutPants
c83eb098bc Allow path separator in scene filename parser pattern (#327)
* Allow path in filename parser

* Fix helper text re escaping {} characters
2020-01-24 22:34:01 -05:00
bnkai
fed7311d9c Add timeout to neededGenerate function (#324)
* Add timeout to neededGenerate function

* * verbose and cosmetic fixes
2020-01-21 22:54:38 -05:00
WithoutPants
600862c0bb Autotag no longer overwrites studio (#312) 2020-01-09 13:40:23 -05:00
Stash Dev
f8aa0433a3 Fix scene covers not importing correctly 2020-01-06 15:18:06 -08:00
WithoutPants
488cd5575d Use arg for regex queries (#311) 2020-01-06 13:02:25 -05:00
Stash Dev
653406efd1 Added support for import / export of scene cover images 2019-12-31 14:38:49 -08:00
Stash Dev
9a51c586db Fix incorrect sprites
The step size was being cast to an int which made the time lose precision and would offset sprite images incorrectly
2019-12-31 09:14:52 -08:00
bnkai
52dd0197ee Added exclude patterns support for Clean Task (#274)
* Added exclude patterns support for Clean Task

* Added test file

* Refactoring and cosmetic fixes

* * Replace Match with MatchString
2019-12-23 21:06:07 -05:00
bnkai
0714cbfa34 Add exclude file from scan feature (#253)
* Added exclude file from scan feature

* Abort exclusion instead of panicking when pattern isn't valid

* Added UI configuration for exclude patterns

*   * cosmetic fixes
  * changed behavior of exclude function to continue and ignore invalide regex patterns
  * added some more tests (windows networks and continue after regex error)
2019-12-17 09:26:16 -05:00
WithoutPants
da3e91193c Allow uploading of custom scene covers (#262)
* Refactor common code

* Further refactoring

* Add UI support for changing scene cover image

* Add backend support for changing scene screenshot
2019-12-13 15:40:58 -05:00
WithoutPants
c05496a724 Make scene metadata from file metadata optional (#259) 2019-12-13 01:18:02 -05:00
WithoutPants
12c7faab4e Scene ui improvements (#232)
* Move duration and resolution to overlay

* Improve display of portrait videos

* Condense filter controls

* Add performer images to scene tags

* Add studio overlay to scene cards

* Fade out scene overlays on hover

* CSS grid tweaks

* Align overlay to bottom of video preview

* Fix opacity value

* Fix performer thumbnails

* Show studio overlay on mouseover

* Correct display colour for display mode buttons

* Add scene zoom slider

* Add show studio as text option

* Move select all/none to more button
2019-12-05 12:24:22 -05:00
WithoutPants
1704d3771f Add scene auto-tagging from filename (#204)
* Add auto tagging for performers, studios and tags

* Fix scene title logging

* Fix golang 1.11 compile error

* Improve regex pattern. Only log when added

* Remove paging from parse query

* Add integration test

* Fix prefix detection on paths
2019-12-01 11:18:44 -05:00
WithoutPants
8493c013e7 Loop and autostart flags. Save interface options (#230) 2019-11-28 20:41:17 -05:00
StashAppDev
7c97e36af8
Config should be read from cwd before user profile (#225)
fixes #219
2019-11-26 13:11:42 -08:00
WithoutPants
2a02e5a65d Add test and integration tests to the Makefile (#222)
* Add unit and integration test to make file

* Add gitattributes for go.mod/go.sum files

* Always run integration tests

* Removed redundant call. Clarified targets
2019-11-24 21:10:16 -05:00
WithoutPants
17247060b6 Generic performer scrapers (#203)
* Generalise scraper API

* Add script performer scraper

* Fixes from testing

* Add context to scrapers and generalise

* Add scraping performer from URL

* Add error handling

* Move log to debug

* Add supported scrape types
2019-11-18 21:49:05 -05:00
WithoutPants
23657408de Refresh config when paths change (#217) 2019-11-17 16:42:24 -05:00
WithoutPants
6dcb270471 Close database after migrating. Add reset errors (#215) 2019-11-17 16:39:33 -05:00
WithoutPants
9e8d7bb26f Fix panic on import with existing scene (#205) 2019-11-15 16:34:00 -05:00
bnkai
5c0ec39db1 Calculate and print job totals for scan and generate tasks (#188)
* Calculate and print job totals for scan and generate tasks

* Cosmetic print fixes
2019-11-15 12:23:58 -05:00
Stash Dev
7416a8237d Fixed a race condition in running_streams.go 2019-11-07 13:34:32 -08:00
WithoutPants
84bee2eb60 Performers, Tags and Studio from scene filename (#174)
* Make regex matching case-insensitive

* Port filename parser code to backend

* Add performers to scene filename parser UI

* Finish porting parser to backend

* Add performer, studio and tag parsing

* Hide fields not being parsed

* Don't query for empty performer/studio/tag

* Use exact matches

* Fix panic

* Fix arrays changed false positive. Fix layout
2019-11-07 07:49:08 -05:00
WithoutPants
c0911f1626 Stop tasks and show task progress (#181)
* Add job status to tasks page

* Add support for stopping task

* Show progress of some tasks
2019-11-06 23:35:04 -05:00
WithoutPants
d1ea2fffa5 Add configurable transcode sizes (#178) 2019-11-04 16:38:33 -05:00
WithoutPants
fee2de5547 Use custom.css is same path as config file (#175) 2019-11-04 16:32:52 -05:00
bnkai
1d46cb8a76 Check if scenes are in the library when cleaning (#169) 2019-10-30 09:39:44 -04:00
WithoutPants
564786f968 Add logging options (#154)
* Add various log options

* Remove logFormat. Add UI for log config

* Fix UI boolean flags
2019-10-24 20:13:44 -04:00
Leopere
d7271d75fc
Merge pull request #109 from WithoutPants/optional_performer_image
Generate performer checksum from name instead of image. Use default performer image
2019-10-24 15:35:26 -04:00
WithoutPants
1eb50fab33 Unify common code between delete and clean 2019-10-24 18:18:53 +11:00
WithoutPants
71a4cc6a07 Merge from master 2019-10-24 15:07:34 +11:00
Leopere
a2e550063b
Merge pull request #145 from bnkai/scan_screens
Scan screens
2019-10-20 12:19:58 -04:00
bill
2693a2b22f print message when recreating images for the scan process 2019-10-18 20:35:53 +03:00
Leopere
ccde317a56
Merge pull request #146 from endqwerty/add_clean_func
Add functionality to the Clean Button
2019-10-18 02:35:25 -04:00
bill
8d2df527b7 makeScreenshots cleanup 2019-10-18 02:17:51 +03:00
Daniel
619012a24d
update delete logging
make delete logging info instead of debug
update the logged text for clarity when deleting db data
changed from "delete" to "cleaning" to clarify the actual type of action taken
2019-10-17 15:07:17 -07:00
WithoutPants
1ac6703d7f Merge from master 2019-10-18 08:15:45 +11:00
WithoutPants
a401a7880e Close streams/encodes before deleting file 2019-10-18 07:42:12 +11:00
bill
ab1690d5b1 makeScreenshots can be called for a new or already existing file 2019-10-17 16:50:30 +03:00
daposy
ffa85b6537 update variable name to be descriptive 2019-10-16 23:12:23 -07:00
daposy
de1a2a9007 use WithoutPants logic for cleaning up artifacts 2019-10-16 18:13:42 -07:00
daposy
6aa54c2775 add functionality to clean button 2019-10-16 16:47:53 -07:00
WithoutPants
1b98702e17 Merge from master 2019-10-17 09:31:04 +11:00