SmallCoccinelle
a3f38d8edf
When stopping, close the database ( #1686 )
...
* When stopping, close the database
This patch is likely to cause errornous behavior in the application.
This is due to the fact that the application doesn't gracefully shut
down, but is forcefully terminated.
However, the purpose is to uncover what needs to be done, to make
it a more graceful shutdown.
2021-09-07 14:28:40 +10:00
gitgiggety
915533b8c5
Create default config directory during setup ( #1623 )
...
* Create default config directory during setup
Instead of creating the config directory during startup, create it
during setup when needed.
Fixes #1616
2021-08-10 14:58:14 +10:00
WithoutPants
46bbede9a0
Plugin hooks ( #1452 )
...
* Refactor session and plugin code
* Add context to job tasks
* Show hooks in plugins page
* Refactor session management
2021-06-11 17:24:58 +10:00
WithoutPants
508f7b84f2
Fix plugin cache initialisation ( #1475 )
2021-06-03 11:00:17 +10:00
WithoutPants
0e01374537
Job queueing ( #1379 )
2021-05-24 14:24:18 +10:00
WithoutPants
76019af3e5
DLNA ( #1364 )
2021-05-20 16:58:43 +10:00
WithoutPants
22a2fc3177
Make ffmpeg download location more portable ( #1384 )
...
* Download ffmpeg to config path
* Add setup message for ffmpeg download
* Handle missing ffmpeg in tasks
2021-05-18 09:14:25 +10:00
WithoutPants
16fe21138f
CPU profiling ( #1371 )
...
* Add cpuprofile flag
* Add notes to readme
2021-05-16 17:21:11 +10:00
WithoutPants
e0623eb302
Fix initial setup issue issues ( #1380 )
...
* Refactor initial setup behaviour
* Adjust wizard
2021-05-13 22:15:21 +10:00
WithoutPants
08c294414d
Fix initial plugins/scrapers paths when initialising in home directory ( #1358 )
...
* Only set default values once config file present
* Fix configLocation presentation when using home
2021-05-04 07:42:33 +10:00
bnkai
7836a37d6e
Fix various generate issues ( #1322 )
...
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2021-04-22 13:51:51 +10:00
WithoutPants
f6ffda7504
Setup and migration UI refactor ( #1190 )
...
* Make config instance-based
* Remove config dependency in paths
* Refactor config init
* Allow startup without database
* Get system status at UI initialise
* Add setup wizard
* Cache and Metadata optional. Database mandatory
* Handle metadata not set during full import/export
* Add links
* Remove config check middleware
* Stash not mandatory
* Panic on missing mandatory config fields
* Redirect setup to main page if setup not required
* Add migration UI
* Remove unused stuff
* Move UI initialisation into App
* Don't create metadata paths on RefreshConfig
* Add folder selector for generated in setup
* Env variable to set and create config file.
Make docker images use a fixed config file.
* Set config file during setup
2021-04-12 09:31:33 +10:00
WithoutPants
0dd2e269ee
Don't delete downloads directory at startup if generated not set ( #1098 )
...
* Don't empty directories if generated not set
* Rename downloads to download_stage
2021-02-02 20:32:37 +11:00
WithoutPants
1e04deb3d4
Data layer restructuring ( #997 )
...
* Move query builders to sqlite package
* Add transaction system
* Wrap model resolvers in transaction
* Add error return value for StringSliceToIntSlice
* Update/refactor mutation resolvers
* Convert query builders
* Remove unused join types
* Add stash id unit tests
* Use WAL journal mode
2021-01-18 12:23:20 +11:00
WithoutPants
c74f145224
Only set stash from env if not set ( #937 )
2020-11-12 10:05:09 +11:00
WithoutPants
03d4826c85
Selective export ( #770 )
2020-09-15 17:28:53 +10:00
JoeSmithStarkers
ecc42e4e24
Preview generation fallback ( #725 )
...
* Added preview generation fallback feature.
When a preview generation fails (often for wmv/avi files), the new code tries with less stricted (no xerror) and more time consuming options (slow+fast seek).
Fix a minor issue when stash downloads ffmpeg/ffprobe, but doesn't re-detect their paths.
2020-08-17 09:21:58 +10:00
WithoutPants
0ffefa6e16
Add plugin tasks ( #651 )
2020-08-08 12:05:35 +10:00
bnkai
4373f9bf01
Add cdp support for xpath scrapers ( #625 )
...
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-08-04 10:42:40 +10:00
WithoutPants
a2341f0819
Allow customisation of preview generation ( #673 )
...
* Add generate-specific options
* Include no-cache in preview response
2020-07-23 12:51:35 +10:00
WithoutPants
2b9215702e
Refactor xpath scraper code. Add fixed and map ( #616 )
...
* Refactor xpath scraper code
* Make post-process a list
* Add map post-process action
* Add fixed xpath values
* Refactor scrapers into cache
* Refactor into mapped config
* Trim test html
2020-07-21 14:06:25 +10:00
bnkai
9b1518beae
Export performance optimization ( #475 )
...
* recreate metadata path if needed, before exporting data
2020-04-24 12:52:21 +10:00
caustico
5fb8bbf768
Movies Section ( #338 )
...
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-03-10 14:28:15 +11: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
StashAppDev
7c97e36af8
Config should be read from cwd before user profile ( #225 )
...
fixes #219
2019-11-26 13:11:42 -08: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
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
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
f0110083a8
Disable watching config file to fix #83
2019-08-23 15:27:00 +10: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
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
d0331c53dc
Fixed crash on first launch
2019-02-28 18:08:29 -08:00
Stash Dev
b488c1ed7d
Reorg
2019-02-14 15:42:52 -08:00