Commit Graph

14362 Commits

Author SHA1 Message Date
Vasily
8109c7eb30 Always log at least error message when error happens during request processing 2019-10-09 14:00:22 +03:00
Vasily
33b69a7099 Set response length and mime type correctly when reporting an error 2019-10-09 13:54:05 +03:00
Joshua Boniface
2a79ae0a6e Normalize baseUrl behaviour
Fully normalizes the baseUrl behaviour to better match how this sort of
feature works in other programs.

1. The baseUrl is always appended to paths, even the built-in `/emby`
and `/mediabrowser` paths.
2. The baseUrl is set statically at class instance creation, to ensure
it persists through changes until the next restart.
3. Configuration is normalized using a function when set, to ensure it's
in a standard `/mypath` format with leading `/`.
4. Cleans up the conditionals around default redirects. For sanity after
changing the URL, it will match *any* path that doesn't match the
current baseUrl and redirect it back to the main page (with baseUrl).
5. Adds a second method, NormalizeUrlPath, to avoid lots of `+ "/" +`
string manipulations which are unclean - we should always have a leading
slash.
6. Sets the default baseUrl to an empty string to avoid unexpected
behaviour, though this would be worked-around automatically.
7. Adds some debug logs whenever a URL is normalized, to help track down
issues with this code (if any arise).
2019-10-08 18:06:03 -04:00
Bond_009
ac93a5a85c Change slow query time logging to debug 2019-10-08 22:17:15 +02:00
Bond_009
e553eba31e Use System.Text.Json api 2019-10-08 20:59:53 +02:00
Vasily
531642fc53 Improve gitattributes for images 2019-10-08 16:54:41 +03:00
Vasily
aa9d7d7f04
Merge pull request #1862 from joshuaboniface/bump-version
Fix bump_version for submodule removal
2019-10-08 16:04:55 +03:00
Joshua Boniface
f20555bf4a Use NVM to install nodejs v8 and yarn
Prevents failure of the installation of jellyfin-web dependencies due
to the NodeJS version in EPEL being too old. v8 might be a little
conservative but is the earliest compatible version. Instead of using
their repo to install Yarn, use the new nvm binary to install Yarn, thus
forcing it to use the updated NodeJS version.
2019-10-07 23:34:02 -04:00
Joshua Boniface
3fc71731a3 Remove jellyfin-web submodule from bump_version 2019-10-07 22:37:19 -04:00
Joshua Boniface
218015063b Port former create_tarball into COPR Makefile
This script was removed in #1793; instead of restoring it, instead
implement its functionality directly in the COPR Makefile.
2019-10-07 22:30:23 -04:00
Joshua M. Boniface
d8c3b26fa6
Merge pull request #1846 from jellyfin/EraYaN-patch-1
Switch to custom patched build for ffmpeg for the Windows installer
2019-10-06 19:23:01 -04:00
Erwin de Haan
adde41c533
Remove /bin from ffmpeg path. 2019-10-06 22:26:17 +02:00
Erwin de Haan
3925e1dced
Fix extracted path from ffmpeg zip. 2019-10-06 22:20:49 +02:00
Erwin de Haan
c7d1206dcb
Switch to custom patched build for ffmpeg 2019-10-06 22:03:44 +02:00
Vasily
f1567c64a5
Merge pull request #1844 from dkanada/poster
Fix missing image on seasons without posters
2019-10-06 22:16:21 +03:00
Joshua M. Boniface
d900cc5c53
Merge pull request #1845 from joshuaboniface/mesa-va-drivers-fix
Correct missing mesa-va-drivers package
2019-10-06 15:12:48 -04:00
Poki
5c456231b1 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2019-10-06 09:14:04 -04:00
Joshua Boniface
abde7c0242 Make the comment nicer 2019-10-05 18:38:55 -04:00
Joshua Boniface
762d17c3df Move copy steps further so they're not overwriting 2019-10-05 18:24:38 -04:00
dkanada
e006b7f1e1 add comment explaining a bug fix 2019-10-06 01:24:04 +09:00
dkanada
db10f380d1 fix missing image on seasons without posters 2019-10-06 00:58:27 +09:00
Poki
60f8aa540f Added translation using Weblate (Finnish) 2019-10-05 08:04:16 -04:00
Joshua M. Boniface
7b64c696f7
Merge pull request #1841 from joshuaboniface/docs-url
Update Docs to docs.jellyfin.org URL
2019-10-04 15:13:07 -04:00
Joshua Boniface
0367dc21f8 Update GitHub templates 2019-10-04 15:07:59 -04:00
Joshua Boniface
7a172a9051 Update Docs to docs.jellyfin.org URL 2019-10-04 14:37:36 -04:00
Bond_009
416155c35f Ignore warning SA1108 2019-10-04 20:21:47 +02:00
Bond_009
0cd2bfc428 Ignore warning CA1308 2019-10-04 19:55:14 +02:00
Joshua M. Boniface
5bb44c36e1
Merge pull request #1822 from anthonylavado/readme-fix
Update README for new docs location
2019-10-04 13:24:17 -04:00
Bond-009
3ad34de808
Update ApplicationHost.cs 2019-10-04 18:53:26 +02:00
Joo-Hong Lee
4025b2c6a1 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-04 00:13:59 -04:00
Joshua M. Boniface
6b00cc1a06
Merge pull request #1829 from thornbill/fix-sd-auth
Fix SchedulesDirect authentication
2019-10-02 12:36:25 -04:00
Bill Thornton
80dccdef22 Add using block and HexHelper 2019-10-02 09:51:53 -04:00
SaddFox
b0ec5c527d Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2019-10-02 02:13:58 -04:00
Kamilake
5d073713b6 Translated using Weblate (Korean)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ko/
2019-10-02 02:13:58 -04:00
WontTell
d93853375e Translated using Weblate (Spanish (Mexico))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es_MX/
2019-10-02 02:13:58 -04:00
h4ss2
26872eb2c2 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2019-10-02 02:13:58 -04:00
Bill Thornton
119041a425 Fix SchedulesDirect authentication 2019-10-02 01:35:28 -04:00
Joshua M. Boniface
9c85566da7
Merge pull request #1825 from jellyfin/revert-1802-fix-premature-stop
Revert "Fix premature stop when streaming"
2019-10-01 13:55:11 -04:00
Joshua M. Boniface
575b96d03a
Revert "Fix premature stop when streaming" 2019-10-01 12:07:09 -04:00
Anthony Lavado
823f648955
Update README for new docs location
Updates several links in the readme to point to our new docs location.
2019-09-30 17:49:37 -04:00
Joshua M. Boniface
7203f463f4
Merge pull request #1820 from joshuaboniface/fix-portable
Properly build DLL for porable
2019-09-30 01:40:50 -04:00
Joshua Boniface
3651755984 Properly build DLL for porable 2019-09-30 01:11:11 -04:00
Joshua M. Boniface
180fb857ed
Merge pull request #1819 from nvllsvm/ffmpeg_kill
Ignore exception when attempting to kill ffmpeg that has exited
2019-09-29 20:23:19 -04:00
Joshua M. Boniface
cb09459ad1
Merge pull request #1818 from jellyfin/EraYaN-ci-web-clone-fix
Fix SourceBranch -> SourceBranchName in git clone for Web UI
2019-09-29 19:52:05 -04:00
Andrew Rabert
fd1bdad0e2 Ignore exception when attempting to kill ffmpeg that has exited
A race condition where this code attempts to kill an already exited
ffmpeg process is possible. This results in unnecessary error logging.

This change replaces the generic exception handling with the above
mentioned exception. No log output is produced.
2019-09-29 19:19:53 -04:00
Erwin de Haan
b2ba3a5922
Fix SourceBranch -> SourceBranchName in git clone for Web UI 2019-09-29 23:46:09 +02:00
Joshua M. Boniface
749023bf02
Merge pull request #1811 from joshuaboniface/fix-listen
Configure Kestrel listener to use configured IPs
2019-09-29 17:22:40 -04:00
Joshua M. Boniface
dcc8c7b92a
Merge pull request #1808 from joshuaboniface/fix-amf-win
Change Win32 AMF flag to d3d11va
2019-09-29 17:19:23 -04:00
Joshua M. Boniface
f63d591b08
Merge pull request #1817 from joshuaboniface/change-pragma-mode
Change PRAGMA mode from WAL to TRUNCATE
2019-09-29 17:19:08 -04:00
Joshua Boniface
387192610f Handle Kestrel startup failures with a nice error 2019-09-29 17:17:19 -04:00