Commit graph

204 commits

Author SHA1 Message Date
bnkai
bd45daacf3
Add a cache for gallery thumbnails (#496) 2020-05-11 17:20:08 +10:00
WithoutPants
3d22d5a742
Refactor build (#493)
* Add lint/format checks to build
* Make travis get full repo to get tags
* Run packr2 once in cross-compile
* Fix quotes in package.json
* Fix linting issues
* Formatting
* Fix vet issue
* Fix go lint issues
* Show start of each platform compilation
* Add validate target
* Set gitattributes for go fmt and mod vendor
* Fix tag name
* Add fmt-ui target
2020-04-29 12:13:08 +10:00
WithoutPants
309f7047b0
Add parser support for 3-letter month (#500) 2020-04-26 16:29:53 +10:00
WithoutPants
5923917e6c
Clean missing galleries (#489)
* Clean missing galleries
* Refactor matchFile
2020-04-25 09:32:55 +10:00
bnkai
9b1518beae
Export performance optimization (#475)
* recreate metadata path if needed, before exporting data
2020-04-24 12:52:21 +10:00
WithoutPants
ba09bfa64a
Include scene o-counter in import/export (#488)
* Include o-counter in import/export
* Fix scene card o-counter display
2020-04-23 09:14:58 +10:00
WithoutPants
eee7adfb85
Add Studio to movie and fix movie schema (#458)
* Add movie migration
* Update server and UI code for type changes
* Add studio to movies
* Movie blobs to end
* Document movie duration
* Add filtering on movie studio
2020-04-22 11:22:14 +10:00
WithoutPants
91d842ed47
Delete marker preview on marker change or delete (#446) 2020-04-10 08:39:41 +10:00
bnkai
d5617307f1
Add detection of container/video_codec/audio_codec compatibility for live file streaming or transcoding (#384)
* add forceMKV, forceHEVC config options
* drop audio stream instead of trying to transcode for ffmpeg unsupported/unknown audio codecs
2020-04-10 08:38:34 +10:00
WithoutPants
15e7756d33
Replace basic auth with cookie authentication (#440)
* Add logout functionality and button
* Make session age configurable
2020-04-08 12:51:12 +10:00
WithoutPants
b3e8d1e8dd
Add scene rating to scene filename parser (#432)
* Fix scene parser display issues in 2.5
* Dropdown menu presentation improvements
* Fix refresh on parser apply
* Ignore line endings on scss files
2020-04-05 07:59:57 +10:00
hiddenpants255
494b794228
Add gender support for performer (#371)
Co-authored-by: HiddenPants255 <>
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-04-01 09:36:38 +11:00
WithoutPants
abf2b49803
Configurable scraper user agent string (#409)
* Add debug scrape option.

Co-authored-by: HiddenPants255 <>
2020-03-21 08:55:15 +11:00
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
WithoutPants
17b2cc77e7 Merge from master 2019-10-17 08:56:45 +11:00
bill
02f485e40e refactoring 2019-10-16 18:27:38 +03:00
bill
40b270eb49 fix issue #144 2019-10-16 04:17:04 +03: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
0852199e27 Only update non-nil database fields 2019-10-15 08:57:53 +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
87f81f79c1 Make IsStreamable return using codec not MIME type 2019-10-14 10:58:46 +11:00
WithoutPants
afcadd941b Make title from file metadata optional 2019-10-12 19:20:27 +11:00
WithoutPants
41c8cac738
Merge branch 'master' into optional_performer_image 2019-08-27 19:21:25 +10:00
StashAppDev
64ccee48ec
Merge pull request #114 from WithoutPants/issues/83
Disable watching config file to fix #83
2019-08-24 10:01:37 -07:00
WithoutPants
f0110083a8 Disable watching config file to fix #83 2019-08-23 15:27:00 +10:00
WithoutPants
7562792589 Add custom css 2019-08-23 08:24:14 +10:00
WithoutPants
7f276cb331 Fix checksum for import performer/studio 2019-08-22 12:43:24 +10:00
StashAppDev
32a4f34c7c
Merge pull request #106 from bnkai/scan_ign_dupes
fix for my own added bug ....
2019-08-20 13:08:37 -07:00
bill
aa6420e9e9 bug fix 2019-08-20 16:46:05 +03:00
StashAppDev
6e46b103d7
Merge pull request #103 from WithoutPants/metadata_from_file
Set title, details and date from scene file metadata
2019-08-19 16:29:25 -07:00
WithoutPants
79f2902e26 Parse title, details, date from file metadata 2019-08-16 08:47:35 +10:00
bill
1fdb00fa0e Don't add duplicate scenes,galleries to the DB 2019-08-13 16:41:56 +03:00
WithoutPants
d94cb759c8 Don't hash blank password. Treat blank username/pw as no credentials 2019-07-29 16:49:39 +10:00
WithoutPants
5a891d00cf Add basic username/password authentication 2019-07-28 19:36:52 +10:00
Stash Dev
82fcb72c51 User more appropriate permissions (755 -> 644) 2019-07-08 17:37:03 -07:00
Stash Dev
4b037e1040 Dependency updates 2019-05-27 12:34:26 -07:00
Stash Dev
7a18c54c6e Fix generation 2019-05-04 12:28:18 -07:00
Stash Dev
a67a45ce91 Scan task speed improvement
Only use FFProbe when we need to instead of for every file
2019-04-20 10:39:24 -07:00
Stash Dev
d6eb2c2d8e Scenes with a marker missing a primary tag fails to load
Fixes #42
2019-04-20 10:32:01 -07:00
bnkai
7742024dfb Enviroment Variables (#45)
* testing env version

* added STASH_CACHE env

* Remove debug prints used for testing

* Update manager.go
2019-04-20 09:54:27 -07:00
Stash Dev
29a40c5bdd Configuration
* Added flags to customize the host and port
* Start up just one server rather than a server for HTTP and HTTPS.  HTTPS server will only start if a cert and key are found
2019-04-11 10:55:58 -07:00
Stash Dev
f15c734d4f Another tweak to fix sprite generation 2019-03-31 17:59:45 -07:00
Stash Dev
f2b32083ad Another tweak to fix sprite generation 2019-03-29 11:33:21 -07:00
Stash Dev
0ce9e073bd Another tweak to fix sprite generation 2019-03-29 08:16:39 -07:00
Stash Dev
abbc2fa230 Another tweak to fix sprite generation 2019-03-28 15:58:13 -07:00
Stash Dev
4f7266f0ed Added created / updated timestamp to exported JSON 2019-03-27 14:00:06 -07:00
Stash Dev
2e57c2a17a Fixes
Various fixes from Discord discussions.
2019-03-27 12:26:50 -07:00
Stash Dev
e05d187a77 Fixes
* Added date to release body
* Added AVI to the scan task
* Fixed index out of bounds when generating sprites
2019-03-26 09:45:08 -07:00
Stash Dev
ae9bbf237f Support multiple content folders. Closes #2 2019-03-23 14:09:05 -07:00
Stash Dev
dd22d88d07 Config Tweaks
Using viper for config management.  Added configuration endpoint.
2019-03-23 10:06:37 -07:00
Stash Dev
c4d45db30c Fix json time when unmarshalling
https://github.com/stashapp/stash/issues/25
2019-03-09 10:14:55 -08:00
Stash Dev
b70d5f33d2 Improved date handling 2019-03-04 17:14:52 -08:00
Stash Dev
d0331c53dc Fixed crash on first launch 2019-02-28 18:08:29 -08:00
Stash Dev
5db9cd9c05 Removed unnecessary error from IsStreamable 2019-02-19 16:21:38 -08:00
Stash Dev
b488c1ed7d Reorg 2019-02-14 15:42:52 -08:00