Commit Graph

173 Commits

Author SHA1 Message Date
WithoutPants 78eb527ec4 Scraper fixes (#332)
* Fix panic on invalid xpath

* Add missing attrs to scraped performer fragment
2020-01-24 22:36:24 -05:00
WithoutPants 3d3f8877de Accept random seed from UI for random sorting (#328) 2020-01-24 22:35:21 -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 cf96cae4c8 Add scene duration filter (#313)
* Add scene duration filter
2020-01-13 11:43:14 -05:00
WithoutPants 600862c0bb Autotag no longer overwrites studio (#312) 2020-01-09 13:40:23 -05:00
bnkai 87f0b667b5 Add check version functionality (#296)
* Add check version functionality
 * add backend support
 * add ui support
 * minor fixes
 * cosmetic fixes
 * workaround query refetch not working after network error
 * revert changes to Makefile after testing is complete
 * switch to Releases Github API endpoint, add latest Release URL to UI
 * latest version is only shown in UI when version is available and data is ready
 * resolve conflict , squash rebase
2020-01-07 17:21: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
WithoutPants 7fdaccf669 Xpath scraping from URL (#285)
* Add xpath performer and scene scraping

* Add studio scraping

* Refactor code

* Fix compile error

* Don't overwrite performer URL during a scrape
2020-01-04 11:39:33 -05:00
Stash Dev d35f3a9b10 Tweaked launch console messages 2019-12-31 14:42:06 -08:00
Stash Dev 653406efd1 Added support for import / export of scene cover images 2019-12-31 14:38:49 -08:00
all-hail-canada 9766071815 Display both server address and listening address in log (#300)
* Show localhost in console output instead of 0.0.0.0

* Updated message to reflect both navigation and listening address

Co-authored-by: InfiniteTF <infinitekittens@protonmail.com>
2019-12-31 09:22:34 -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
FleetingOrchard b31af52d41 Fix usage of Box.Bytes causing depreciation message (#295)
* Add release make target

* Use Box.Find now that Box.Bytes is depreciated

Pretty much directly mocked off of the post-depreciation implementation
of Box.Bytes in packr. In theory we should totally be checking the
returned error but I'm lazy.
2019-12-28 09:53:16 -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
WithoutPants f52db4f58b Add stash scraper type (#269)
* Add stash scraper type

* Add graphql client to vendor

* Embed stash credentials in URL

* Fill URL from scraped scene

* Nil IDs returned from remote stash

* Nil check
2019-12-20 19:13:23 -05:00
WithoutPants 043745a84f Add cache breaker for screenshot using modtime (#271) 2019-12-17 12:28:44 -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 92837fe1f7 Add scene metadata scraping functionality (#236)
* Add scene scraping functionality

* Adapt to changed scraper config
2019-12-15 20:35:34 -05:00
WithoutPants f8a760d729 Fix vtt for chapter display in scene players (#263) 2019-12-13 15:41:46 -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 50784025f2 Change scraper config to yaml (#256) 2019-12-12 14:27:44 -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
bnkai 3f511e48e8 Fix previews generation bug (#231) 2019-11-30 08:58:15 -08: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 5963844191 Add develop branch releases and display version tag (#216)
* Add releases for develop branch. Show version tag

* Pass version tag to cross-compile
2019-11-17 16:41:08 -05:00
WithoutPants 6dcb270471 Close database after migrating. Add reset errors (#215) 2019-11-17 16:39:33 -05:00
bnkai a6b8a3f2e8 Make sort filter queries for name case insensitive (#183) 2019-11-15 17:12:47 -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
WithoutPants 4a5d2bd6e5 Register regexp func in init (#202) 2019-11-14 10:28:17 -08:00
WithoutPants 49c9b1aa9a Fix race condition in running encoders (#199) 2019-11-14 10:27:13 -08: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 3c089dd97c More performer filter criteria (#179)
* Add new performer filter criteria to UI

* Add backend support for new performer criteria
2019-11-06 23:36:48 -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 be12a9f5a1 Fix ffmpeg error output (#176) 2019-11-04 16:34:57 -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 7cb9cd8a38 Scene filename to metadata parser (#164)
* Initial UI prototype

* Add backend support to update multiple scenes

* Fix title editing issues

* Add query regex support. UI improvements

* Rewrite parser. Add fields button and page size

* Add helper text for escaping {} characters

* Validate date

* Only set values if different from original

* Only update scenes that have something changed

* Add built in parser input recipes

* Make pattern matching case-insensistive
2019-10-30 09:37:21 -04:00
WithoutPants d0730c7243 Add query options for tags, performers, studios #29 (#157)
* Add query options for tags, performers, studios

* Remove errant log

* Apply expanded query criteria to scene markers
2019-10-27 09:05:54 -04:00
WithoutPants 0655223c38 Bulk update scenes (#92)
* Add bulk update functionality

* Restore multiselect fixes from previous branch

* Prevent unsetting of studios/tags

* Detect when slice fields are omitted and ignore
2019-10-27 09:05:31 -04:00