Commit graph

299 commits

Author SHA1 Message Date
Infinite
8672c4437e Navbar key 2020-03-01 21:04:38 +01:00
Infinite
195158db8b Fix performer scrape menu layout 2020-03-01 21:04:37 +01:00
Infinite
857b2cc78d Lint + prettier 2020-03-01 21:04:37 +01:00
Infinite
960d5c7000 Switch to hamburger menu for phones 2020-03-01 21:04:37 +01:00
Infinite
49354d571b Small fixes 2020-03-01 21:04:37 +01:00
Infinite
6f07380628 Fix list hook state 2020-03-01 21:04:37 +01:00
Infinite
151d69632e Refactor list hook filter storag 2020-03-01 21:04:37 +01:00
Infinite
6df25a2c5e Fix toast styles 2020-03-01 21:04:37 +01:00
Infinite
750759e4bf Prettier 2020-03-01 21:04:37 +01:00
Infinite
8fe6eb0d77 Update jwplayer 2020-03-01 21:04:37 +01:00
Infinite
cdadb66d85 Remove or exempt all uses of 'any
* Refactored LocalForage
* Refactored SceneFilenameParser
2020-03-01 21:04:37 +01:00
Infinite
a60c89ceb1 Fix localForage initialization when stored config is undefined 2020-03-01 21:04:37 +01:00
Infinite
a43cae43c0 Prettier 2020-03-01 21:04:37 +01:00
Infinite
a7df23c54d Fix 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
e6d9d385a7 Add O-counter (#334) 2020-03-01 21:04:37 +01:00
Infinite
f23247d9c8 Delete swp 2020-03-01 21:04:37 +01:00
Infinite
a5036ebe5f Prevent flashing when filter is updated 2020-03-01 21:04:37 +01:00
Infinite
4e5c65f90d Maintain filter parameters in session (#326) 2020-03-01 21:04:37 +01:00
Infinite
690596aa34 Refactor list filter query functionality 2020-03-01 21:04:37 +01:00
Infinite
0fdde7726b i18n 2020-03-01 21:04:37 +01:00
Infinite
fb5a49e58c Add Xpath post processing and performer name query (#333) 2020-03-01 21:04:36 +01:00
Infinite
3bbcc65521 Accept random seed from UI for random sorting (#328) 2020-03-01 21:04:36 +01:00
Infinite
79f69b4d61 Allow path separator in scene filename parser pattern (#327) 2020-03-01 21:04:36 +01:00
Infinite
c33639d824 Rename component folders, and prune styles 2020-03-01 21:04:36 +01:00
Infinite
fd560c2147 Switch back to CRA 2020-03-01 21:04:36 +01:00
Infinite
49a6076500 Style changes 2020-03-01 21:04:36 +01:00
Infinite
4a32f90382 Styles 2020-03-01 21:04:36 +01:00
Infinite
c1ce6d539d Prettier 2020-03-01 21:04:35 +01:00
Infinite
3f9f32c356 Responsive styles for portrait orientation phones 2020-03-01 21:04:35 +01:00
Infinite
1ccf8d1586 Changes 2020-03-01 21:04:35 +01:00
Infinite
247ad0a470 Style fixes 2020-03-01 21:04:35 +01:00
Infinite
ac3d03715f Styling 2020-03-01 21:04:35 +01:00
Infinite
3fa3f61d93 Styling 2020-03-01 21:04:35 +01:00
Infinite
c2544fee98 Prettier 2020-03-01 21:04:35 +01:00
Infinite
e1a1914d16 Fixes 2020-03-01 21:04:35 +01:00
Infinite
d1ffc0be0a Optimization 2020-03-01 21:04:35 +01:00
Infinite
1928f09dcf Eject create-react-app 2020-03-01 21:04:35 +01:00
Infinite
95bedc77fe Styling 2020-03-01 21:04:34 +01:00
Infinite
71251ee6a8 Add useful links to about page (#322) 2020-03-01 21:04:34 +01:00
Infinite
498491e82d Fix react warnings (#317) 2020-03-01 21:04:34 +01:00
Infinite
71dd939806 Add scene duration filter (#313) 2020-03-01 21:04:34 +01:00
Infinite
dda36f6b09 Add check version functionality (#296) 2020-03-01 21:04:34 +01:00
Infinite
63cc97d199 Add scenes tab to performer page (#280) 2020-03-01 21:04:33 +01:00
Infinite
dcfd445040 Library updates 2020-03-01 21:04:33 +01:00
Infinite
111d5dd7c5 Fixes 2020-03-01 21:04:33 +01:00
Infinite
244c8ff234 Prettier 2020-03-01 21:04:32 +01:00
Infinite
9827647122 Linting update 2020-03-01 21:04:32 +01:00
Infinite
c83e0898f9 Linting config 2020-03-01 21:04:32 +01:00
Infinite
c31205c47f Linting 2020-03-01 21:04:31 +01:00
Infinite
0cb61d14be Remove final react-router props 2020-03-01 21:04:31 +01:00
Infinite
0e717d6aae Fixes 2020-03-01 21:04:31 +01:00
Infinite
129dcecdef Blueprint removed 2020-03-01 21:04:31 +01:00
Infinite
e18e67b512 Toast 2020-03-01 21:04:31 +01:00
Infinite
cb1fa323e4 Changes 2020-03-01 21:04:30 +01:00
Infinite
f50cb45ca5 Changes 2020-03-01 21:04:30 +01:00
Infinite
4d44deff64 WIP 2020-03-01 21:04:30 +01:00
WithoutPants
8d57629af3
Fix scene selection not working (#373) 2020-02-19 07:56:46 +11:00
WithoutPants
df3d3d24f5
Update stats page (#366)
* Remove notes. Make stats like old version
* Make font size responsive
2020-02-14 08:15:05 +11:00
WithoutPants
ae5aa6a6ec
Change performer position to top (#358) 2020-02-11 08:29:06 +11:00
WithoutPants
c99ba68181
Fix URL update not reflected in list hook (#350)
* Fix URL update not reflected in list hook

* Maintain query prefs on tag click
2020-02-08 14:54:41 +11:00
WithoutPants
1d9913d268 Revert "Make performer image contain (#355)"
This reverts commit 40de2caa95.
2020-02-08 14:46:37 +11:00
WithoutPants
40de2caa95
Make performer image contain (#355) 2020-02-07 21:42:22 -05: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
WithoutPants
077b257316
Fix paging not working (#340)
* Don't set total count while loading

* Don't render pagination while loading
2020-02-01 05:20:13 -05:00
WithoutPants
03c07a429d
Add Xpath post processing and performer name query (#333)
* Extend xpath configuration. Support concatenation

* Add parseDate parsing option

* Add regex replacements

* Add xpath query performer by name

* Fix loading spinner on scrape performer

* Change ReplaceAll to Replace
2020-01-31 17:17:40 -05:00
WithoutPants
2632f9e971
Maintain filter parameters in session (#326)
* Maintain query parameters in local forage

* Keep items per page

* Refactor

* Fix warnings

* Add back required go module

* Fix loading spinner on sub-component listhook

* Add queries to localforage if not present
2020-01-31 17:16:04 -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
5a5f42f061 Refresh yarn.lock (#319)
* Refresh yarn.lock

* * recreate yarn.lock
2020-01-22 16:23:09 -05:00
bnkai
80027b91c0 Add useful links to about page (#322)
* Add useful links to about page

* * open about link urls in new tab/window
2020-01-20 22:11:18 -05:00
WithoutPants
66b4f6db4f Fix react warnings (#317)
* Remove unused imports

* Fix === warnings

* Remove unnecessary escape character

* Add alt text for images

* Add missing alt text

* Remove unused variable

* Change scrubber buttons from anchors

* Change folder select anchor to button

* Replace anchors with buttons

* Add missing useEffect dependencies

* Refactor filter debounce

* Throw error object

* Update dependencies

* Fix === warning
2020-01-16 13:36:38 -05:00
WithoutPants
cf96cae4c8 Add scene duration filter (#313)
* Add scene duration filter
2020-01-13 11:43:14 -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
WithoutPants
bab7c8f250 Add scenes tab to performer page (#280)
* Make performer page tabbed

* Add performer scenes tab

* Make performer scenes criteria smarter

* Adjust performer page layout. Add URL links

* Add lightbox for performer image

* Alias editing
2020-01-05 13:56:06 -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
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
bnkai
e58088b057 Fixed minor typo bug for scene list thumbnails (#275) 2019-12-18 17:32:24 -05:00
WithoutPants
ea995dc374 Fix transcoded video player position (#272)
* Fix transcoded video player position

* Abbreviate change
2019-12-17 18:36:45 -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
f8762c4ef6 jwplayer transcode seek support. Remove video.js (#268) 2019-12-16 11:50:16 -05:00
FleetingOrchard
7ce96cd02b Add "Open Random" to performer list (#265)
Mostly cribbing directly off WithoutPants' work.
2019-12-15 20:37:44 -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
50930f6ca7 Add responsive menu (#257) 2019-12-12 13:57:13 -05:00
WithoutPants
bb164f1895 Add Play random button to scenes and scene markers page (#255)
* Add play random button for scenes

* Add play random to scene markers
2019-12-09 09:39:01 -05:00
WithoutPants
c66d9fcc28 Use inputgroup instead of editabletext (#251) 2019-12-08 17:28:38 -05:00
echo6ix
7dab3fcff7 Beautify scene list table (#252)
* Beautify scene list table

Added modifier props to HTMLTable component.

* Apply table change to performers table
2019-12-08 17:20:38 -05:00
InfiniteTF
ecf4e802b0 Bump react-scripts to version v3.3.0 (#254) 2019-12-08 09:17:02 -05:00
Stash Dev
d76f792f34 JWPlayer 8.11.5 2019-12-05 12:34:55 -08: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
c14153ab5a Allow pasting image into performer/studio (#246) 2019-12-05 10:44:05 -05:00
WithoutPants
fe7bf59906 Marker time input (#242)
* Use duration input for marker time

* Allow reset to current time

* Validate input
2019-12-04 12:47:17 -05:00
WithoutPants
85935f022a Fix video.js current time (#241) 2019-12-03 09:29:45 -05:00
WithoutPants
1760f4fdcf Fix performers/studio/tags updating after parse (#229) 2019-12-01 11:19:44 -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
Stash Dev
ca2680a86d Improve display of wall items
Respect the aspect ratio and show all content
2019-11-30 13:38:23 -08:00
Stash Dev
ddae45f2b4 Revert "Use justified layout for wall (#218)"
This reverts commit 7f03f48310.
2019-11-30 08:41:03 -08:00
WithoutPants
dc781df417 Fix marker page error (#237) 2019-11-30 06:46:20 -08: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
7f03f48310 Use justified layout for wall (#218) 2019-11-17 16:43:14 -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
06fa88cc0a Refetch tags on scene update #195 (#196)
* Don't invalidate allTags on scene update

* Refetch AllTagsForFilter on scene update

* Scene marker mutation should refetch scene

* Fix value for marker tags
2019-11-12 15:08:49 -08:00
echo6ix
a3b60e95dd Update index.scss (#187)
Fixing a z-index property conflict with the bp3-navbar class identified in #186
2019-11-08 07:46:39 -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
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
dependabot[bot]
9c5812b682 Bump axios from 0.18.0 to 0.18.1 in /ui/v2 (#170)
Bumps [axios](https://github.com/axios/axios) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.18.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.18.0...v0.18.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-30 09:40:19 -04:00
WithoutPants
dfd1245739 Invalidate specific query results after mutations (#167)
* Invalidate specific query results after mutations

* Fix bulk scene update wiping query results
2019-10-30 09:38:46 -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
dependabot[bot]
e59fd147cf Bump lodash from 4.17.11 to 4.17.13 in /ui/v2 (#168)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13)

Signed-off-by: dependabot[bot] <support@github.com>
2019-10-30 00:20:46 -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
WithoutPants
70ce01c604 Use wss if origin uses https (#161) 2019-10-25 10:09:03 -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
2021ba5f9e
Merge pull request #102 from WithoutPants/delete_scene
Add Delete Scene button
2019-10-24 14:38:32 -04: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
Leopere
0d439ef42b
Merge pull request #97 from WithoutPants/delete_tag
Add delete tag button #96
2019-10-18 02:34:56 -04:00
WithoutPants
1ac6703d7f Merge from master 2019-10-18 08:15:45 +11:00
daposy
151a0323c8 remove extra icon added to button 2019-10-16 23:18:13 -07:00
daposy
fc20363ed1 update warning to be more descriptive 2019-10-16 23:16:38 -07:00
daposy
481c0bdf74 add warning to clean button and make it match import 2019-10-16 23:09:51 -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
019712bff9 Merge from master 2019-10-17 10:16:36 +11:00
WithoutPants
17b2cc77e7 Merge from master 2019-10-17 08:56:45 +11:00
Leopere
c8e0ac7d20
Merge pull request #132 from friendlycrab/cleanup
Remove unused and generated code
2019-10-16 16:59:18 -04:00
WithoutPants
caa63127ca Add performer list view. Add images to list views. 2019-10-16 09:57:24 +11:00
Friendly C
e6bcff0767 Remove generated GraphQL files 2019-10-15 17:04:02 +02:00
Friendly C
bdd704ddef Remove UI V1 2019-10-15 17:03:44 +02:00
Leopere
99fd1aed05
Merge pull request #140 from WithoutPants/issues/122
Reset to first page when changing sort by
2019-10-15 10:26:47 -04:00
Leopere
37ffa67e15
Merge pull request #141 from WithoutPants/scene_list_view
Add scene list view
2019-10-15 10:13:54 -04:00
Leopere
57e954d4e7
Merge pull request #137 from WithoutPants/nullable_scene_props
Allow unsetting of rating, studio, gallery
2019-10-15 10:09:26 -04:00
WithoutPants
9c8b110aba Add basic scene list view 2019-10-15 20:27:39 +11:00
WithoutPants
484bff8d2d Reset to first page when changing sort by 2019-10-15 18:15:51 +11:00
WithoutPants
becf2769e7 Fix studio display after clearing 2019-10-15 14:21:40 +11:00
Leopere
9ed941dd35
Merge pull request #84 from WithoutPants/live_transcode_seeking
Add seeking for live transcoding via video.js
2019-10-14 11:39:12 -04:00
WithoutPants
470c64b840 Allow unsetting of rating, studio, gallery 2019-10-12 22:32:01 +11:00
WithoutPants
afcadd941b Make title from file metadata optional 2019-10-12 19:20:27 +11:00
WithoutPants
57073faab7
Merge branch 'master' into delete_scene 2019-08-25 17:41:32 +10:00
WithoutPants
21a9baabb9
Merge branch 'master' into version 2019-08-25 17:40:54 +10:00