Commit graph

92 commits

Author SHA1 Message Date
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
InfiniteTF
b3fab3cfef
Make mobile menu behavior more consistent, and stats styles responsive (#391) 2020-03-08 12:55:42 +11:00
Infinite
6d71663f99 Fix whitespace 2020-03-01 21:04:37 +01:00
Infinite
195158db8b Fix performer scrape menu layout 2020-03-01 21:04:37 +01: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
bnkai
6578cfb843
Fix version check for v0.1.0+ (#382)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-02-25 11:59:08 +11:00
WithoutPants
bf49a23df8
Fix panic when version check times out (#374) 2020-02-19 07:56:24 +11:00
twotobinary
776727140f
fix(middleware): set baseURL to external host if provided (#369) 2020-02-17 14:01:02 +11:00
bnkai
df890dca79
Fix database locked on image cover too big bug (#359) (#360) 2020-02-13 11:57:17 +11:00
WithoutPants
3c1eeb3d47
Prepare for 0.1.0 release (#345)
* Tag develop builds as latest. Version in makefile
* Rename latest to latest_develop
* Update GetLatestVersion
* Separate master and develop releases
* Add release date back into development version
* Remove unused code
* Two minute limit per file to upload to transfer.sh
2020-02-07 06:39:08 +11:00
WithoutPants
f87117b0d6
Add O-counter (#334)
* Add backend support for o-counter

* Add o-counter buttons everywhere

* Put o-counter button right-aligned on tabs

* Add o-counter filter
2020-02-02 19:17:28 -05:00
InfiniteTF
cd9c6e998e
Add cache headers to static files and etags to performer images (#337) 2020-01-31 17:20:14 -05: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
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
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
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
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
WithoutPants
8493c013e7 Loop and autostart flags. Save interface options (#230) 2019-11-28 20:41:17 -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
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
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
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
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
WithoutPants
f29509577a Add logs to Logs page (#151)
* Add websocket connection

* Add logs to the log page

* Make debug color more readable

* Remove TODO from front page

* Put all log entries in latest first order

* Add filtering of log entries by level

* Limit log entries and throttle updates

* Fix logger not throttling broadcasts

* Remove now unnecessary UI-side log throttling

* Filter incoming logs by log level

* Make log view more terminal-like
2019-10-24 19:07:07 -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
Leopere
2021ba5f9e
Merge pull request #102 from WithoutPants/delete_scene
Add Delete Scene button
2019-10-24 14:38:32 -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
WithoutPants
7949e04af3 Merge branch 'master' into version 2019-10-23 13:19:42 +11: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
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
daposy
6aa54c2775 add functionality to clean button 2019-10-16 16:47:53 -07:00