Joshua Boniface
b96079fee6
Make NormalizeUrlPath static
2019-10-09 09:22:55 -04: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
Vasily
f1567c64a5
Merge pull request #1844 from dkanada/poster
...
Fix missing image on seasons without posters
2019-10-06 22:16:21 +03: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
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
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
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
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 Boniface
387192610f
Handle Kestrel startup failures with a nice error
2019-09-29 17:17:19 -04:00
Joshua M. Boniface
9aec21f6b5
Nicer link format for comment
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-09-29 16:18:05 -04:00
Joshua Boniface
72edf5b555
Change PRAGMA mode from WAL to TRUNCATE
2019-09-29 15:53:35 -04:00
Joshua Boniface
cabb9aed31
Configure Kestrel listener to use configured IPs
2019-09-29 00:37:48 -04:00
Joshua M. Boniface
2d797adc08
Merge pull request #1773 from sparky8251/remove-wan-ddns
...
Remove WAN DDNS
2019-09-28 18:08:24 -04:00
Joshua M. Boniface
c069496b27
Merge pull request #1770 from sparky8251/remove-wan-ip
...
Remove WAN IP Detection
2019-09-28 18:08:10 -04:00
Bond_009
06d420f743
Fix plugin installation
2019-09-28 21:06:58 +02:00
Vasily
fc99f1f563
Merge pull request #1785 from dkanada/compat
...
Add mediabrowser route back for now
2019-09-25 14:18:21 +03:00
dkanada
b5b7db1f32
add an exception to logging
2019-09-24 23:59:24 +09:00
dkanada
ab7e697f30
add mediabrowser route back for now
2019-09-24 23:59:24 +09:00
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
2019-09-23 20:32:44 +02:00
Dan Johansen
b8fd6a7ec3
Translated using Weblate (Danish)
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2019-09-23 12:28:24 -04:00
WWWesten
2c2a55abab
Translated using Weblate (Russian)
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2019-09-22 23:13:44 -04:00
Mário Victor Ribeiro Silva
f7e9b0a27f
Translated using Weblate (Portuguese (Brazil))
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_BR/
2019-09-22 23:13:44 -04:00
pucherot
6b33089274
Translated using Weblate (Spanish)
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-09-22 23:13:44 -04:00
Mark Bai
54d33c06c7
Translated using Weblate (Chinese (Simplified))
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-09-20 03:13:39 -04:00
sparky8251
14f563d7c2
Removed WAN DDNS
...
It's odd that JF still had code lying around for generating a self signed cert. Currently, it does not do this so this code has been removed.
JF also appears to have functions in place to modify provided certs? Warrants deeper investigation. JF should not be attempting modifications of any certs under any circumstance.
2019-09-19 15:56:54 -04:00
sparky8251
208c8b2b9d
Remove missed unused functions
...
Forgot to remove these in the previous WAN IP detection removal commit
2019-09-19 11:21:19 -04:00
sparky8251
0562b4cf6f
Remove WAN IP Detection
2019-09-19 10:55:58 -04:00
Erik Larsson
74864832ca
Set log level to debug for HTTP range requests
...
This removes some spam when a DLNA renderer uses byte seeking.
2019-09-18 18:29:15 +02:00
Bond-009
6f17a0b7af
Remove legacy auth code ( #1677 )
...
* Remove legacy auth code
* Adds tests so we don't break PasswordHash (again)
* Clean up interfaces
* Remove duplicate code
* Use auto properties
* static using
* Don't use 'this'
* Fix build
2019-09-17 12:07:15 -04:00
Joshua M. Boniface
adc2a68a98
Merge pull request #1744 from Bond-009/dataprovider
...
Rewrite `ItemDataProvider` to be more robust
2019-09-17 09:11:50 -04:00
Bond-009
221b831bb2
Reset invalid login counter on successfull login
2019-09-13 17:18:45 +02:00
Bond_009
8fe7b6551f
Rewrite ItemDataProvider
to be more robust
...
* Stop locking 2+ times per operation
* Don't clone the list multiple times
* Keep the lock for the duration of the operation
2019-09-12 21:34:55 +02:00
Bond-009
2919cf28ea
Update deps ( #1735 )
2019-09-11 13:31:35 -04:00
Abdulkadir Furkan Şanlı
e131078673
Translated using Weblate (Turkish)
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2019-09-11 10:13:20 -04:00
qqq-qqqq
e1b445d133
Translated using Weblate (Chinese (Simplified))
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hans/
2019-09-11 10:13:20 -04:00
tluciomiranda
177ca3ccba
Translated using Weblate (Portuguese (Portugal))
...
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pt_PT/
2019-09-11 10:13:20 -04:00
Bond_009
675754bc5c
Possible fix for MrMC
2019-09-08 21:07:29 +02:00
Joshua Boniface
baa30b41de
Add debug logs and try/catch when creating folder
2019-09-02 23:32:03 -04:00
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
2019-09-02 02:19:29 -04:00
Anthony Lavado
cb393c215a
Merge pull request #1686 from Bond-009/warn7
...
More warning fixes
2019-09-02 02:07:19 -04:00
Bond_009
1616f24cee
Fix more warnings
2019-09-01 18:39:23 +02:00
Bond-009
a266b54ad6
Merge pull request #1683 from dkanada/misc
...
Move the transcode path and other small fixes
2019-09-01 17:27:08 +02:00
Bond_009
14fbd845c2
Move IsoMounter to plugin
2019-08-29 23:11:55 +02:00
Bond_009
e4f893a0eb
More warning fixes
2019-08-29 22:28:33 +02:00