Joshua Boniface
31ad366aa9
Implemented suggested conditional
2019-04-18 10:24:08 -04:00
Joshua Boniface
10f33b0273
Update conditional to be correct
2019-04-18 09:31:30 -04:00
Joshua Boniface
eaa1ac8013
Apparently strings can't be !'d
2019-04-17 22:49:17 -04:00
Joshua Boniface
e790f024c2
Return MethodNotAllowedException if Pw is not set
...
Don't accept pre-hashed (not-plaintext) passwords as the auth
provider no longer supports this due to sha1+salting the passwords
in the database.
2019-04-17 22:33:00 -04:00
Bond-009
e89c8dbf76
Use CultureInfo.InvariantCulture
2019-04-17 15:23:03 +02:00
Bond_009
9aaeb19418
Self-documenting code
2019-03-27 17:05:08 +01:00
Bond_009
b647959ec4
Add EnableOutputInSubFolder back
2019-03-27 16:26:33 +01:00
Bond_009
ca37ca291f
More style changes
2019-03-26 23:06:38 +01:00
Bond_009
93e535d3a1
Trying to make sense of the streaming code
...
Mostly small changes as I was looking through the code.
* async void -> async Task
* Properly implemented dispose methods
* Pass the logstream directly to the JobLogger
* Style fixes
2019-03-26 23:00:14 +01:00
Bond_009
2696ac5eac
Lower the amount of running tasks
2019-03-25 21:33:48 +01:00
Phallacy
09921a00aa
made password resets an interface and per user
2019-03-22 00:01:23 -07:00
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
2019-03-14 22:17:56 +01:00
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
2019-03-14 22:11:47 +01:00
Vasily
208585d3f6
Merge pull request #1106 from Bond-009/warn2
...
More warning fixes
2019-03-14 19:54:44 +03:00
Bond-009
bf43dc00bb
More warning fixes
2019-03-13 22:32:52 +01:00
Bond-009
e64aaebbac
Improvements around streams
...
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
2019-03-13 21:11:01 +01:00
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
2019-03-07 22:41:41 +01:00
Vasily
028a98d2c1
Merge pull request #1058 from Bond-009/clean
...
Cleanup/simplification
2019-03-08 00:23:00 +03:00
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
2019-03-07 21:42:56 +01:00
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
2019-03-07 21:13:13 +01:00
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
2019-03-07 20:16:51 +01:00
Bond-009
e4c5d51860
Update MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
...
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-03-07 19:04:50 +01:00
Claus Vium
394d23a73a
Review comments
2019-03-06 19:14:03 +01:00
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
2019-03-05 19:20:28 +01:00
Xu Fasheng
4951ec9814
Fix rmvb video can not play under DLNA
...
Or will report "Could not find handler for /videos/xxx/stream.rm" error
in server side.
Test OK with Kodi and gupnp-tools.
2019-02-28 18:00:25 +08:00
Claus Vium
71ed840944
Simplify websocket listeners
2019-02-27 22:09:22 +01:00
Claus Vium
27e7e792b3
Replace some usage of QueryParamCollection
2019-02-27 14:23:39 +01:00
Claus Vium
4db31acff9
Begin removing System.Net sources
2019-02-26 22:11:21 +01:00
Bond-009
1731bf7372
Remove ordering items
2019-02-26 20:47:23 +01:00
PloughPuff
73c1cdb32a
Avoid exceptions due to folder and file not found
...
1) Use function to return path to temp transcode path which has benefit of creating temp folder if not exists, thereby avoiding the exception when GetFilePaths is used.
2) Check json files exists before attempting to read from it. Avoids having to mask FileNotFound exceptions when debugging.
2019-02-20 13:30:06 +00:00
Vasily
60df855b26
Merge pull request #930 from fruhnow/AuthorizationCheck
...
checking user-permission in GetQueryResult
2019-02-20 14:42:35 +03:00
Joshua M. Boniface
89d4ce309d
Merge pull request #848 from Bond-009/perf
...
Minor changes to reduce allocations
2019-02-19 21:24:51 -05:00
Joshua M. Boniface
b43317c5e1
Merge pull request #830 from Bond-009/update
...
Removed remaining self-update code
2019-02-19 21:21:36 -05:00
Felix Ruhnow
53beebc774
switching logging to serilog convention according to pr comments
2019-02-19 12:17:28 +01:00
Felix Ruhnow
ba003e06ef
adressing pr comments
2019-02-19 12:09:39 +01:00
Felix Ruhnow
1d631540ac
adressing pr comments
2019-02-19 12:06:50 +01:00
Felix Ruhnow
967d5deeb7
checking user-permission in GetQueryResult to prevent accessing the library without permission but having a link. (+added myself as contributor. forgot last time bout that)
2019-02-18 18:29:58 +01:00
Vasily
13f2783a8e
Merge pull request #887 from wtayl0r/replace-primitives-with-iconfiguration
...
Replace primitive injection with IConfiguration
2019-02-18 19:30:11 +03:00
Bond_009
7554f63551
Remove more self-update code
2019-02-18 16:57:08 +01:00
William Taylor
18ae107ce4
Removed unnecessary configuration options and reduced primitive dependencies
2019-02-17 14:09:52 +00:00
Bond-009
a35ea49c99
Merge remote-tracking branch 'upstream/release-10.2.z' into newmaser
2019-02-17 10:38:44 +01:00
Bond-009
4811e76860
Merge branch 'master' into perf
2019-02-16 17:05:44 +01:00
Claus Vium
21f0a7e020
Make all class implementing dynamically loaded interfaces public
2019-02-15 23:05:14 +01:00
Bond_009
8d98885cda
Less string allocations
2019-02-12 21:06:47 +01:00
Bond_009
7722cb3ffa
Some Lists -> IEnumerable
2019-02-12 21:06:47 +01:00
Bond_009
41fb1e5106
Tuple -> ValueTuple
2019-02-12 21:06:47 +01:00
Bond_009
64d5ec12e2
Use HashSets for increased perf
2019-02-12 21:06:47 +01:00
William Lees
db4a72df10
Reduce scope of changes
2019-02-12 09:23:51 +11:00
William Lees
250f03d2d9
add httpClient to more constructors
2019-02-12 00:42:33 +11:00
William Lees
d8cb34dbbc
add httpClient to appropriate constructors
2019-02-12 00:24:00 +11:00
Vasily
3a88a3c795
Merge pull request #822 from Bond-009/imagedimensions
...
Complete rename ImageSize -> ImageDimensions
2019-02-08 20:02:25 +03:00
Claus Vium
e449182641
Move import
2019-02-06 22:54:57 +01:00
Claus Vium
fcfe02ee73
Add await to GetCountries in LocalizationService
2019-02-06 22:40:49 +01:00
Bond-009
e216702bcf
Complete rename ImageSize -> ImageDimensions
2019-02-05 19:53:50 +01:00
Claus Vium
0ef2b46106
Remove custom Threading
2019-02-05 16:47:50 +01:00
Vasily
83af2db679
Merge pull request #798 from Bond-009/apientrypoint
...
Cleanup around the api endpoints
2019-02-04 14:10:08 +03:00
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
2019-02-03 22:23:54 -05:00
Joshua M. Boniface
56dcc45dc0
Merge pull request #732 from Bond-009/locale
...
Reworked LocalizationManager to load data async
2019-02-03 22:08:20 -05:00
Bond-009
cb7bffc233
Remove unused string split
2019-02-03 10:44:07 +01:00
Bond-009
da2caa2902
await async functions
2019-02-03 10:44:07 +01:00
Bond-009
ab0e851db9
Cleanup streaming services
2019-02-03 10:44:07 +01:00
Joshua M. Boniface
32f393d57f
Merge pull request #764 from Bond-009/encoding
...
Remove dead code, made some functions properly async
2019-02-02 19:04:10 -05:00
Andrew Rabert
42d5a48491
Merge pull request #788 from Bond-009/warnings
...
Fix more warnings
2019-02-02 14:21:03 -05:00
Bond_009
95ee3c72e3
Properly dispose Tasks
2019-02-02 15:56:54 +01:00
Bond_009
1385d89df6
Remove MoreLINQ
2019-02-02 12:27:06 +01:00
Bond_009
5ac6d0ae59
Fix more warnings
2019-02-01 21:56:50 +01:00
Joshua M. Boniface
c713824bf9
Merge pull request #734 from Bond-009/culture
...
Fix more analyzer warnings
2019-01-31 21:11:13 -05:00
Claus Vium
8985fb8d58
Remove support for games as a media type
2019-01-31 19:04:47 +01:00
Claus Vium
f7a46c7a56
Remove more Connect related stuff
2019-01-31 18:47:50 +01:00
Bond-009
2a1f6361a5
Merge branch 'master' into locale
2019-01-31 18:44:36 +01:00
Bond-009
1ea219bf3f
Merge branch 'master' into culture
2019-01-30 16:57:15 +01:00
Erwin de Haan
f8aff0c51d
Fix conditions where the ! was swallowed in #726
2019-01-30 01:02:17 +01:00
Vasily
c8cb908004
Merge pull request #716 from Bond-009/warnings
...
Remove more compile time warnings
2019-01-29 19:32:08 +03:00
Vasily
8487319374
Merge pull request #726 from EraYaN/remove-wrappers-for-system-io
...
Clean up IFileSystem wrappers around stdlib.
2019-01-29 16:50:01 +03:00
Justin Suess
6786dfcabd
Made password field non-mandatory upon setup
2019-01-28 17:37:20 -06:00
Justin Suess
f06b9a14f3
Added password as an API field to the Startup/User Service
2019-01-28 17:25:37 -06:00
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
2019-01-28 22:10:50 +01:00
Erwin de Haan
581a7fe078
Unwrapped MoveDirectory
, DirectoryExists
, FileExists
& removed MoveFile
2019-01-28 22:10:00 +01:00
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
2019-01-28 22:09:56 +01:00
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
2019-01-28 22:06:34 +01:00
Bond_009
85a58fd655
Start startup tasks async
2019-01-27 15:40:37 +01:00
Bond_009
a709cbdc64
Fix more analyzer warnings
2019-01-27 12:12:44 +01:00
Bond_009
51edd5d067
Reworked LocalizationManager to load data async
2019-01-27 10:36:05 +01:00
Andrew Rabert
4190410c7e
Merge pull request #710 from Bond-009/spelling
...
Fix a spelling mistake
2019-01-26 14:13:47 -05:00
Bond_009
883575893b
Change image dimentions from double to int
...
Rename ImageSize -> ImageDimensions
2019-01-26 13:16:47 +01:00
Erwin de Haan
d1a0497f55
Revert "Merge pull request #452 from Bond-009/activitydb"
...
This reverts commit 48ad18d12b
, reversing
changes made to fe197415ca
.
2019-01-25 23:32:06 +01:00
Bond_009
ded9dee22c
Remove more compile time warnings
2019-01-25 23:05:01 +01:00
Bond_009
eaa6cb0ddc
Fix a spelling mistake
2019-01-25 22:27:33 +01:00
Bond_009
905a253ff5
Suffix async methods with Async
2019-01-23 19:09:34 +01:00
Andrew Rabert
3d01aa1ae4
Merge pull request #656 from hawken93/more_logging
...
Do some logging in MediaInfoService
2019-01-22 19:38:43 -05:00
hawken
07cba6cbcf
Do some logging in MediaInfoService
2019-01-22 10:24:00 +00:00
Andrew Rabert
13f1ea2c19
Merge pull request #664 from jellyfin/revert-639-ffmpeg4.1
...
Revert "Fix segment_time_delta for ffmpeg 4.1"
2019-01-21 20:21:36 -05:00
Andrew Rabert
9ad182502f
Merge pull request #661 from Bond-009/streamstate
...
Fix NullRef from progress report
2019-01-21 20:05:43 -05:00
Joshua M. Boniface
b2767eceff
Revert "Fix segment_time_delta for ffmpeg 4.1"
2019-01-21 19:29:47 -05:00
Bond_009
73df5bdbe9
Fix NullRef
2019-01-21 23:50:47 +01:00
Joshua M. Boniface
3518400b22
Merge branch 'master' into release-10.1.0
2019-01-20 23:48:23 -05:00
Tthecreator
d02642bf7b
Fixed bug where the server would eat up ram with subtitles request
2019-01-21 00:38:01 +01:00
Andrew Rabert
a1fcf4ea0d
Merge pull request #613 from MatMaul/mediaencoding-dev
...
Update MediaEncoding
2019-01-20 18:11:51 -05:00
Mathieu Velten
da16de48aa
Revert back to 10e57ce8d21b4516733894075001819f3cd6db6b for MediaEncoding
...
Remove some duplicate code that were causing warnings
2019-01-20 22:50:09 +01:00
Bond_009
c27aff1c63
Fix segment_time_delta for ffmpeg 4.1
2019-01-20 21:56:50 +01:00
Andrew Rabert
6561021926
Merge pull request #582 from nvllsvm/image
...
Replace custom image parser with Skia
2019-01-19 22:42:46 -05:00
Andrew Rabert
449dd1a6a2
Remove allowSlowMethods from image processing
2019-01-19 22:33:55 -05:00
Andrew Rabert
8de4eb7d19
Rename ApplicationSemanticVersion to ApplicationVersion
2019-01-19 21:35:33 -05:00
Andrew Rabert
8a5198e6a3
Remove ApplicationVersion
2019-01-19 21:34:47 -05:00
Erwin de Haan
924ec0c191
Revert Jellyfin.Versioning, Update all versions and user agents.
2019-01-20 01:12:44 +01:00
Erwin de Haan
bb8df8dfa0
Updates reported version in System/Info*
set of endpoints.
...
Added ProductName and ServerVersion to API.
Added build version and build step. Addressed issues wtih indentation.
Made the BuildVersion an actual object. This lets up link to the github page of that commit.
Fixed class method type and styled link.
Fixed languages and split out the information in the UI.
Moved update-version script and gave it executable permissions. Windows correctly finds the .bat file. And linux takes the one without extension.
Removed tempfiles from replace sessions from csproj.
Updated version generation scripts. Will also work with pre existing version files. (Source tarballs etc.)
Added simple replace for ssh github links.
Add execute rights to update-version.
Wrapped long line in ApplicationHost.cs
Fixed some small issues.
Fixed some small issues, and flipped some if's around.
Converted parameter names to camelBack casing.
Sealed the attribute class.
Removed MPLv2 license.
Fixed file headers.
Added newline.
Moved links in *.csproj files as well.
Fix issues caused by rebase auto merging.
Removed default constructor and added init values to properties, also hid the Remote value form API.
2019-01-20 00:28:48 +01:00
Erwin de Haan
c5430f86b0
Fixed csproj and xml identation.
2019-01-19 15:01:16 +01:00
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
2019-01-17 20:24:39 +01:00
Erwin de Haan
a358631040
Extra formatting on the merged code.
2019-01-15 17:35:33 +01:00
Erwin de Haan
49b61f238e
Merge branch 'dev' into reformat
...
# Conflicts:
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
# Emby.Server.Implementations/LiveTv/LiveTvManager.cs
# Emby.Server.Implementations/Security/MBLicenseFile.cs
# Emby.Server.Implementations/Security/PluginSecurityManager.cs
# Emby.Server.Implementations/Security/RegRecord.cs
# MediaBrowser.Api/PluginService.cs
# MediaBrowser.Api/System/SystemService.cs
# MediaBrowser.Common/Security/IRequiresRegistration.cs
# MediaBrowser.Common/Security/ISecurityManager.cs
# MediaBrowser.Common/Security/PaymentRequiredException.cs
# MediaBrowser.Model/Entities/MBRegistrationRecord.cs
# MediaBrowser.Model/Entities/PluginSecurityInfo.cs
# deployment/win-generic/build-jellyfin.ps1
2019-01-15 17:34:39 +01:00
Claus Vium
e0e5a487c3
removed commented code
2019-01-15 16:48:21 +01:00
Claus Vium
801726ce38
readded some registration endpoints
2019-01-15 16:48:21 +01:00
Claus Vium
d707e969fa
Added some todos
2019-01-15 16:48:21 +01:00
Claus Vium
4a03ac4022
mock the registration endpoint since livetv etc. still uses it
2019-01-15 16:48:21 +01:00
Claus Vium
eca3c099d9
removed a bunch of validation, security, registration, premiere, whatever bs
2019-01-15 16:48:21 +01:00
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
2019-01-13 21:46:33 +01:00
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
2019-01-13 21:37:13 +01:00
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
2019-01-13 21:31:14 +01:00
Erwin de Haan
089ad8e7c2
Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt
2019-01-13 21:10:15 +01:00
Erwin de Haan
ba610b5094
Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller
2019-01-13 21:01:16 +01:00
Erwin de Haan
742bef5b5f
EditorConfig reformat: Non-CS files.
2019-01-13 20:45:51 +01:00
Erwin de Haan
51ed47f4c4
EditorConfig reformat: Emby.XmlTv, Jellyfin.Server. MediaBrowser.Api, MediaBrowser.Common
2019-01-13 20:30:41 +01:00
Erwin de Haan
b67c1b933e
Visual Studio Reformat: MediaBrowser.Api
2019-01-13 20:24:58 +01:00
Erwin de Haan
846456b41e
Reformatted the files with notes.
2019-01-12 21:41:08 +01:00
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
2019-01-11 12:50:36 +01:00
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
Add Argument*Exceptions now use proper nameof operators.
Added exception messages to quite a few Argument*Exceptions.
Fixed rethorwing to be proper syntax.
Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)
Added some TODOs to log certain exceptions.
Fix sln again.
Fixed all AssemblyInfo's and added proper copyright (where I could find them)
We live in *current year*.
Fixed the use of braces.
Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.
Made more Methods that should be static static.
You can now use static to find bad functions!
Removed unused variable. And added one more proper XML comment.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4
remove trailing whitespace
2019-01-07 23:27:46 +00:00
hawken
ba1794f64b
Remove tabs and trailing whitespace
2019-01-07 23:24:34 +00:00
Andrew Rabert
12112ea25d
Remove more news
2019-01-06 17:52:51 -05:00
Vasily
b27315bc08
Merge pull request #307 from drmrbg/fix-chromecast
...
Fix transcoding of AAC from 5.1 to stereo to support Chromecast
2019-01-06 14:11:09 +03:00
Andrew Rabert
e4a041b832
Merge pull request #283 from Bond-009/gpl-cleanup
...
Post GPL cleanup
2019-01-04 17:40:44 -05:00
Joshua M. Boniface
c13c326171
Merge pull request #378 from cvium/fix_dlna_user_id_null
...
Fix ArgumentNullException in DLNA streams
2019-01-04 15:10:50 -05:00
Bond_009
340a2c6512
Post GPL cleanup
2019-01-03 23:19:02 +01:00
Bond_009
64a79341a7
Don't send info to Emby servers on install
...
Not even to a fake one
2019-01-03 20:21:42 +01:00
Claus Vium
efa3a234e9
Change null check on UserId to a Guid.Empty check
2019-01-03 07:58:14 +01:00
Anthony Lavado
87812d1e7f
Fix spacing to C#/Visual Studio standards
...
- This is a fix automatically applied by Visual Studio
2019-01-02 01:22:21 -05:00
Bond_009
95a5dd8810
Fix log dir
2019-01-02 02:30:59 +03:00
Bond_009
ea4c914123
Fix exception logging
2018-12-30 22:44:39 +01:00
Bond_009
bf01918659
Clean up
2018-12-30 22:44:38 +01:00
Bond_009
0c1b9d3bff
Rebase
2018-12-30 22:44:38 +01:00
Bond_009
b7ebb67cbb
Remove the need for NullLogger
2018-12-30 22:44:38 +01:00
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
2018-12-30 22:44:38 +01:00
drmrbg
6ffde49760
Attempt to fix Chromecast support
2018-12-28 23:18:06 -08:00
Bond_009
6e5d2aadaa
Remove custom ToArray extension
2018-12-28 16:48:26 +01:00
Andrew Rabert
a86b71899e
Add GPL modules
2018-12-27 18:27:57 -05:00
Joshua M. Boniface
8e9485867b
Merge pull request #171 from nvllsvm/state
...
State
2018-12-15 00:19:31 -05:00
Andrew Rabert
bac06eea6e
Adapt for Jellyfin
2018-12-15 00:17:53 -05:00
Andrew Rabert
d137977a6d
Partial revert of 443356fd34c7b3377c41c1029c2973e9d61e0539
2018-12-15 00:17:07 -05:00
Joshua Boniface
c3ade725dc
Restore timeout to 60s as it breaks
2018-12-14 23:37:32 -05:00
Joshua Boniface
fda3f0ad9b
Up the timerDuration back to 10s, 2s is too low
2018-12-14 23:04:19 -05:00