Bond-009
d8d2e52e3f
Merge pull request #1870 from JustAMan/fix-http-ex1
...
Fix exception when handling error, log errors better
2019-10-09 16:08:50 +02:00
Joshua Boniface
b96079fee6
Make NormalizeUrlPath static
2019-10-09 09:22:55 -04:00
dkanada
8d7ac291bc
Merge pull request #1855 from Bond-009/stylefixes
...
Minor style fixes
2019-10-09 22:21:32 +09:00
Vasily
03450f383f
Fix template for logging
2019-10-09 14:05:32 +03:00
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
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
Bond_009
c5995af493
Some style fixes
2019-09-25 17:19:48 +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
Bond_009
0aaaaab7a0
Fix invalid arg for
2019-08-29 20:25:56 +02:00
dkanada
21ff63c371
move the transcode path
2019-08-29 00:14:50 -07:00
Anthony Lavado
efaa668158
Merge pull request #1633 from Bond-009/udpclient
...
Attempt to fix #1391
2019-08-28 09:41:11 -04:00
Bond_009
efc4805233
Fix login
2019-08-28 14:45:46 +02:00
Bond_009
dc194015c2
Remove unused args
2019-08-28 13:59:17 +02:00
Bond_009
5dd332b63d
Attempt to fix #1391
2019-08-28 13:55:36 +02:00
Andrew Rabert
24775f4988
Merge pull request #1651 from sl1288/master
...
Fix local trailers playback
2019-08-27 19:02:05 -04:00
Odd Stråbø
f255788383
Translated using Weblate (Norwegian Bokmål)
...
Currently translated at 95.7% (90 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nb_NO/
2019-08-26 22:06:50 -04:00
Pafzedog
ba0997a8db
Translated using Weblate (French)
...
Currently translated at 95.7% (90 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2019-08-26 22:06:50 -04:00
Axel Gabriel Calle Granda
7d4bb28d18
Translated using Weblate (Spanish)
...
Currently translated at 95.7% (90 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2019-08-26 22:06:50 -04:00
Matzi24GR
d2c69e7733
Translated using Weblate (Greek)
...
Currently translated at 95.7% (90 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-08-26 22:06:50 -04:00
Βασίλης Μουρατίδης
143a408342
Translated using Weblate (Greek)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-08-26 22:06:50 -04:00
Matzi24GR
6be68a3656
Translated using Weblate (Greek)
...
Currently translated at 100.0% (94 of 94 strings)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-08-26 22:06:50 -04:00
Joshua M. Boniface
dc1782d049
Merge pull request #1646 from Bond-009/lock
...
Return DB lock immediately
2019-08-21 18:24:47 -04:00
SL1288
fdc24ec2ee
Fix LocalTrailers playback.
2019-08-19 18:56:41 +02:00
Bond_009
3fd489d1cb
Upgrade SQLitePCL to v2
2019-08-19 17:03:21 +02:00
Bond_009
f70a63d575
Return DB asap
2019-08-18 22:05:06 +02:00
Bond_009
24fac4b191
Fix UserNotFoundError
2019-08-18 20:12:25 +02:00
Joshua M. Boniface
4bb0c2d053
Merge pull request #1642 from cvium/fix_slow_db
...
Speed up BaseItem deserialization
2019-08-18 13:42:08 -04:00
Claus Vium
f48eaccc51
Use reader.GetString instead of indexing
2019-08-18 17:32:41 +02:00
Claus Vium
e7c05dcfaf
Speed up BaseItem deserialization
2019-08-18 17:22:45 +02:00
dkanada
25a590e8cd
Merge pull request #1636 from Bond-009/isomounter
...
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
2019-08-18 03:19:27 -07:00
Anthony Lavado
6766e04dd6
Merge pull request #1521 from Bond-009/hdhomerun
...
Clean up livestreaming code
2019-08-17 02:24:39 -04:00
Bond_009
1bc9b42c57
More fixes
2019-08-16 21:18:37 +02:00
Bond-009
4b37caa63a
Update SharedHttpStream.cs
2019-08-16 21:13:18 +02:00
Bond_009
237db8ae92
Clean up livestreaming code
2019-08-16 21:13:18 +02:00
Bond_009
8d3b5c851d
Improvements to UserManager
2019-08-16 21:06:11 +02:00
Bond_009
dc662beefe
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
2019-08-16 21:03:45 +02:00
Anthony Lavado
7a27dd8a1b
Merge pull request #1632 from Bond-009/locale
...
Improve LocalizationManager
2019-08-16 14:17:01 -04:00
Anthony Lavado
af3c4e0ce8
Merge pull request #1588 from dkanada/url
...
Add base url option to server configuration
2019-08-16 14:16:18 -04:00
Bond_009
c699c546e4
Improve LocalizationManager
2019-08-16 17:31:47 +02:00
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
2019-08-15 21:01:44 -07:00
dkanada
685e9e4f58
Merge pull request #1584 from Bond-009/checksum
...
Check checksum for plugin downloads
2019-08-15 01:00:33 -07:00
Bond_009
d62a3f0e57
Fix master
2019-08-15 00:00:21 +02:00
Bond_009
2fdf7f1098
Properly dispose DisplayPreferencesRepository
2019-08-14 20:35:36 +02:00
Bond_009
e5b163b86a
Fix possible nullref
2019-08-14 20:24:44 +02:00
Anthony Lavado
35da4ffa3e
Remove unneeded comment
2019-08-14 11:59:14 -04:00
Anthony Lavado
4762e2fc6c
Add a task to clean up transcode cache
2019-08-14 01:51:46 -04:00
dkanada
8f8d8e3d0b
Merge pull request #1581 from Bond-009/socket1
...
Use System.Net abstractions instead of raw socket
2019-08-13 19:58:57 -07:00
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11 16:52:37 +02:00
Bond_009
7243689215
Minor improvements
2019-08-11 15:57:36 +02:00
Bond_009
5eaf5465a5
Check checksum for plugin downloads
...
* Compare the MD5 checksum when downloading plugins
* Reduced log spam due to http requests
* Removed 'GetTempFileResponse' function from HttpClientManager
* Fixed caching for HttpClientManager
2019-08-11 15:54:58 +02:00