Patrick Barron
a8f0d0aa0d
Merge branch 'master' into activitydb-efcore
2020-05-13 19:06:04 +00:00
Vasily
f08830ea00
Merge pull request #2774 from mark-monteiro/simplify-https-config
...
Simplify HTTPS Properties
2020-05-13 20:36:54 +03:00
Patrick Barron
b7621d762c
2nd half of changes
2020-05-13 00:00:57 -04:00
Patrick Barron
9ad839c776
Initial migration code
2020-05-12 22:10:35 -04:00
Patrick Barron
62420a6eb1
Remove support for injecting ILogger directly
2020-05-12 16:03:15 -04:00
Mark Monteiro
3abf870c1e
Do not include a double slash in URLs when a base URL is not set
2020-05-10 18:07:56 -04:00
Mark Monteiro
dc5165b97f
Merge branch 'master' into simplify-https-config
2020-05-10 14:43:57 -04:00
Mark Monteiro
43c22a5822
Add GetLoopbackHttpApiUrl() helper method to replace forceHttps functionality
...
Also refactor to use return a Uri instead of a string and use UriBuilder under the hood
2020-05-10 14:36:11 -04:00
gion
8a6ec2fb71
Rename Syncplay to SyncPlay
2020-05-09 12:37:39 +02:00
Patrick Barron
032de931b1
Migrate activity db to EF Core
2020-05-02 18:32:22 -04:00
Bond_009
3623aafcb6
Make SonarCloud happy
2020-05-02 01:30:04 +02:00
Bond_009
04f826e50c
Fix merge errors
2020-05-02 01:09:35 +02:00
Bond_009
15634a1913
Merge branch 'master' into websocket
2020-05-02 00:54:04 +02:00
Bond-009
690fb65cd8
Merge pull request #2985 from sparky8251/prometheus
...
Add Prometheus exporters
2020-04-29 11:36:05 +02:00
BaronGreenback
ebd589aa86
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28 21:57:39 +01:00
BaronGreenback
a3140f83c6
Revert "Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored."
...
This reverts commit 2aaecb8e14
.
2020-04-28 21:51:49 +01:00
BaronGreenback
2aaecb8e14
Whilst fixing issues with SSDP on devices with multiple interfaces, i came across a design issue in the current code - namely interfaces without a gateway were ignored.
...
Fixing this required the removal of the code that attempted to detect virtual interfaces. Not wanting to remove functionality, but not able to keep the code in place, I implemented a work around solution (see 4 below).
Whilst in the area, I also fixed a few minor bugs i encountered (1, 5, 6 below) and stopped SSDP messages from going out on non-LAN interfaces (3)
All these changes are related.
Changes
1 IsInPrivateAddressSpace - improved subnet code checking
2 interfaces with no gateway were being excluded from SSDP blasts
3 filtered SSDP blasts from not LAN addresses as defined on the network page.
4 removed #986 mod - as this was part of the issue of #2986 . Interfaces can be excluded from the LAN by putting the LAN address in brackets. eg. [10.1.1.1] will exclude an interface with ip address 10.1.1.1 from SSDP
5 fixed a problem where an invalid LAN address causing the SSDP to crash
6 corrected local link filter (FilterIPAddress) to filter on 169.254. addresses
2020-04-28 21:45:46 +01:00
gion
10c2c62f07
Implement syncplay backend
2020-04-27 22:07:33 +02:00
sparky8251
e3a42a8fe9
Address reviews
2020-04-27 08:42:46 -04:00
Mark Monteiro
15fd4812f0
Remove unnecessary foreach loop
2020-04-26 18:04:34 -04:00
Joshua M. Boniface
f502c89331
Merge pull request #2798 from JustAMan/fix-livetv-again
...
Make localhost LiveTV restreams always use plain HTTP port
2020-04-26 15:13:27 -04:00
Joshua M. Boniface
23c8ecff37
Apply style change
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:58:24 -04:00
Joshua M. Boniface
d92a3552b7
Apply style change
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:57:45 -04:00
Joshua M. Boniface
7a550d2c4e
Apply style change
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-26 14:57:31 -04:00
Mark Monteiro
57b5ec1d51
Remove unnecessary properties from SystemInfo response object
...
These properties do not provide any useful information to the client. The client would already have to have all this information in order to connect to the endpoint to retrieve it
2020-04-26 12:07:54 -04:00
Mark Monteiro
93649ad77b
Merge remote-tracking branch 'upstream/master' into simplify-https-config
2020-04-26 11:44:42 -04:00
sparky8251
68c7a914c3
Added option to disable metrics collection and defaulted it to off
2020-04-26 11:28:17 -04:00
Mark Monteiro
bc4e72b29b
Create ApplicationHost logger correctly
2020-04-20 20:48:39 -04:00
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-20 20:11:33 -04:00
Vasily
07143bcb68
Merge pull request #2466 from dkanada/plugin
...
Update plugin classes for nightly builds
2020-04-21 01:45:52 +03:00
dkanada
eda208e258
Merge pull request #2829 from Bond-009/warn19
...
Fix some warnings
2020-04-19 12:04:02 +09:00
Mark Monteiro
00a0e013c6
Update documentation for URL methods in ApplicationHost
2020-04-16 21:46:49 -04:00
Mark Monteiro
fee76097f4
Remove CanConnectWithHttps Property
...
It is only used in one place and only adds confusion by existing
2020-04-16 21:45:00 -04:00
ConfusedPolarBear
36f3e933a2
Add quick connect
2020-04-15 14:49:20 -05:00
Bond_009
d6daac5064
Fix build
2020-04-15 11:12:58 +02:00
Mark Monteiro
9728aa8b0a
Merge branch 'master' into register-services-correctly
2020-04-13 17:06:24 -04:00
dkanada
cb2523e2ef
merge branch master into plugin
2020-04-13 14:38:19 +09:00
Bond-009
3d611743ed
Merge pull request #2680 from mark-monteiro/remove-common-process
...
Remove CommonProcess and ProcessFactory
2020-04-11 20:30:20 +02:00
Mark Monteiro
7152b55747
Use a separate line for each property initializer
2020-04-11 13:28:21 -04:00
Mark Monteiro
17e8813378
Use ActivatorUtilities to construct MediaEncoder and update constructor to inject EncodingHelper correctly
2020-04-11 10:53:13 -04:00
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-11 10:00:39 -04:00
dkanada
bd55bdb4e3
merge branch master into plugin
2020-04-11 20:10:16 +09:00
dkanada
8e9aeb84b1
remove release channel from plugin classes
2020-04-11 19:33:36 +09:00
Bond_009
49fe5e0a21
Fix some warnings
2020-04-11 12:03:10 +02:00
Vasily
e85f9f5613
Make localhost LiveTV restreams always use plain HTTP port
2020-04-07 18:41:15 +03:00
dkanada
0cd7cd611e
Merge pull request #2758 from Bond-009/plugininstalled
...
Remove PluginInstalled
2020-04-06 19:01:15 +09:00
Mark Monteiro
5bc6c08a0a
Merge remote-tracking branch 'upstream/master' into simplify-https-config
2020-04-06 00:24:11 -04:00
Mark Monteiro
410a322fe2
Add CanConnectWithHttps to interface
2020-04-05 23:30:57 -04:00
Mark Monteiro
f91f2ef328
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-05 10:07:17 -04:00
Mark Monteiro
f2760cb055
Register IImageEncoder in Jellyfin.Server instead of Emby.Server.Implementations
2020-04-05 10:03:53 -04:00
Bond-009
29539174a3
Merge pull request #2636 from mark-monteiro/development-https
...
Use ASP.NET Core HTTPS Development Certificate
2020-04-05 15:09:27 +02:00
Mark Monteiro
bc91445b5d
Use correct naming convention for _relevantEnvVarPrefixes
2020-04-05 09:05:23 -04:00
Mark Monteiro
735d6c8ad5
Convert properties in ApplicationHost to private readonly fields, where possible
2020-04-04 23:18:47 -04:00
Mark Monteiro
241d0ae65c
Inject IStartupOptions into StartupWizard
2020-04-04 23:14:35 -04:00
Mark Monteiro
809cf3a0c2
Register IJsonSerializer correctly
2020-04-04 21:33:57 -04:00
Mark Monteiro
710767fbf2
Add deprecation warning message for injecting ILogger
2020-04-04 21:27:48 -04:00
Mark Monteiro
e16c16dd51
Register and construct IHttpClient correctly
2020-04-04 21:18:09 -04:00
Mark Monteiro
adf0e8d3fd
Register and construct ITaskManager and IIsoManager correctly
2020-04-04 21:00:11 -04:00
Mark Monteiro
3f2f95d877
Register IProcessFactory, ICryptoProvider and ISocketFactory correctly
2020-04-04 20:42:11 -04:00
Mark Monteiro
aee6a1b476
Remove unnecessary async and parameter from ApplicationHost initialization method
2020-04-04 20:40:50 -04:00
Mark Monteiro
5d648bf54f
Register and construct ILocalizationManager correctly
2020-04-04 20:21:48 -04:00
Mark Monteiro
cbc0224aaf
Register IStreamHelper, IInstallationManager, IZipClient, IHttpResultFactory and IBlurayExaminer correctly
2020-04-04 20:00:55 -04:00
Mark Monteiro
615717e562
Register and construct IUserDataManager and IUserDataRepository correctly
2020-04-04 19:57:26 -04:00
Mark Monteiro
5827f0f5a9
Register IDisplayPreferencesRepository correctly
2020-04-04 19:40:53 -04:00
Mark Monteiro
a5234dfd88
Register and construct IAuthenticationRepository correctly
2020-04-04 19:36:27 -04:00
Mark Monteiro
4daa5436fc
Register and construct IUserManager and IUserRepository correctly
2020-04-04 19:31:14 -04:00
Mark Monteiro
84b48eb69c
Convert MediaEncoder property to field
2020-04-04 19:01:21 -04:00
Mark Monteiro
fe9f4e06d1
Register and construct LibraryManager correctly
2020-04-04 18:28:46 -04:00
Mark Monteiro
7fd25f94f3
Inject and construct ISearchEngine and IMusicManager correctly
2020-04-04 18:22:29 -04:00
Mark Monteiro
c2b21ce553
Register and construct ILibraryMonitor correctly
2020-04-04 17:33:00 -04:00
Mark Monteiro
d173358065
Move ApplicationHost certificate initialization to constructor
2020-04-04 17:19:16 -04:00
Mark Monteiro
07cebbeae2
Register and construct IImageProcessor, SqliteItemRepository and IImageEncoder correctly
2020-04-04 17:12:24 -04:00
Mark Monteiro
efe3ebaab8
Eliminate circular dependency between LibraryManager and ImageProcessor
2020-04-04 16:01:10 -04:00
Mark Monteiro
11693d6024
Register ITvManagerService correctly
2020-04-04 15:44:44 -04:00
Mark Monteiro
71c84905de
Register IDeviceManager correctly
2020-04-04 15:40:06 -04:00
Mark Monteiro
573da63d41
Register and construct IMediaSourceManager correctly
2020-04-04 15:28:21 -04:00
Mark Monteiro
dd5a55aeba
Register ISubtitleManager correctly
2020-04-04 15:12:02 -04:00
Mark Monteiro
0ce82ab332
Remove unnecessary fields in ApplicationHost
2020-04-04 15:05:50 -04:00
Mark Monteiro
51b9a6e94b
Register IProviderManager correctly
2020-04-04 14:56:50 -04:00
Mark Monteiro
75b05ca1e6
Register and construct DtoService correctly
2020-04-04 14:41:03 -04:00
Mark Monteiro
cb2d99e831
Construct LiveTvDtoService and LiveTvManager correctly
2020-04-04 14:40:04 -04:00
Mark Monteiro
f78423bd49
Register IChannerManager correctly
2020-04-04 14:32:35 -04:00
Mark Monteiro
bb3db9e845
Register ISessionManager, IDlnaManager and ICollectionManager correctly; replace private properties with fields
2020-04-04 13:56:01 -04:00
Mark Monteiro
3d5b4f869c
Register ILiveTvManager and IPlaylistManager correctly
2020-04-04 13:16:53 -04:00
Mark Monteiro
1456365411
Register IUserViewManager correctly
2020-04-04 13:10:39 -04:00
Mark Monteiro
f1d0fb1edb
Register INotificationManager correctly; resolve services correctly
2020-04-04 13:03:32 -04:00
Mark Monteiro
78370911c2
Register IDeviceDiscovery, IChapterManager, IAttachmentExtractor correctly
2020-04-04 12:56:36 -04:00
Mark Monteiro
7884c3813d
Register IEncodingManager correctly; remove unnecessary properties in ApplicationHost
2020-04-04 12:51:56 -04:00
Mark Monteiro
4ba07b114d
Register and initialize IActivityRepository correctly
2020-04-04 12:46:35 -04:00
Mark Monteiro
3dbbe54f6c
Register IResourceFileManager correctly
2020-04-04 12:42:21 -04:00
Mark Monteiro
18c1823cea
Register IAuthorizationContext correctly
2020-04-04 12:40:33 -04:00
Mark Monteiro
358deecf52
Register ISessionContext correctly
2020-04-04 12:38:59 -04:00
Mark Monteiro
3147111471
Register IAuthService correctly
2020-04-04 12:34:01 -04:00
Mark Monteiro
92b0d40ad4
Move service initializations into correct method
2020-04-04 12:33:25 -04:00
Mark Monteiro
e9e12b8eb9
Register ISubtitleEncoder correctly
2020-04-04 12:26:24 -04:00
Bond_009
ae21c67537
Remove PluginInstalled
...
Doesn't do anything yet as all plugins (afaik) still require a restart
2020-04-04 11:28:37 +02:00
Mark Monteiro
e0f40f57d8
Merge remote-tracking branch 'upstream/master' into remove-common-process
2020-04-03 20:22:03 -04:00
Mark Monteiro
ca71ac72ab
Replace EnableHttps and SupportsHttps with ListenWithHttps and CanConnectWithHttps
2020-04-02 17:45:04 -04:00
Bond-009
b3283e37f2
Merge pull request #2740 from JustAMan/fix-livetv
...
Fix GetLocalApiUrl for cases with https enabled
2020-04-02 18:04:49 +02:00
Vasily
bece62fd5c
Fix GetLocalApiUrl for cases with https enabled
...
This should fix LiveTV and tuners
2020-04-02 13:40:48 +03:00
Mark Monteiro
0e57348cf4
Merge remote-tracking branch 'upstream/master' into development-https
2020-04-01 23:21:30 +02:00
Mark Monteiro
5b1091db27
Merge remote-tracking branch 'upstream/master' into do-not-instantiate-services-at-startup
2020-04-01 23:05:36 +02:00
Vasily
07ea120ba9
Merge pull request #2601 from mark-monteiro/support-running-without-web-content
...
Support Running Server Without Web Content
2020-04-01 23:38:43 +03:00
Vasily
10275a1f32
Merge pull request #2447 from Bond-009/minor
...
Add analyzers to MediaBrowser.Providers and minor improvements
2020-04-01 23:35:40 +03:00
Bond_009
787049f35f
Merge branch 'master' into minor
2020-04-01 18:53:22 +02:00
Bond_009
147e434634
Try to not crash on unsupported plugin load
2020-04-01 14:50:18 +02:00
Mark Monteiro
b947d98266
Delete unnecessary ProcessFactory abstraction
2020-03-27 00:45:48 +01:00
Mark Monteiro
ee2f911a2b
Remove unnecessary CommonProcess abstraction
2020-03-27 00:10:16 +01:00
Mark Monteiro
d1fe28fac6
Check for null before disposing
2020-03-25 19:16:12 +01:00
Mark Monteiro
6f8c81ff7e
Register ServiceController with the DI framework
2020-03-21 23:28:07 +01:00
Mark Monteiro
dc140429fe
Do not create unnecessary instances of IService at server startup
2020-03-21 23:17:30 +01:00
Mark Monteiro
c36e4ecc6c
Log all 'DOTNET_' and 'ASPNETCORE_' environment variables at application startup
2020-03-21 22:45:57 +01:00
Mark Monteiro
0e3d319a3a
Log 'ASPNETCORE_ENVIRONMENT' value at application startup
2020-03-21 22:30:38 +01:00
dkanada
9649b986d8
Merge pull request #2621 from mark-monteiro/log-env-vars-at-startup
...
Log 'JELLYFIN_' environment variables at application start
2020-03-18 23:52:43 +09:00
dkanada
a96c0a72b8
Merge pull request #2549 from dkanada/refactor
...
Refactor some provider classes
2020-03-18 17:43:15 +09:00
Mark Monteiro
885bc11b67
Log 'JELLYFIN_' environment variables at application start
2020-03-17 14:30:08 +01:00
Mark Monteiro
e2685c51ec
Merge remote-tracking branch 'upstream/master' into support-running-without-web-content
2020-03-15 18:07:02 +01:00
Mark Monteiro
05ab61200a
Do not call UseContentRoot() on the web host builder
...
This call has nothing to do with static web content and should not have ever been called with the web content path: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/?view=aspnetcore-3.1&tabs=windows#content-root
Since this call is removed, the ContentRoot property is also removed from ApplicationHost as it is no longer needed.
Finally, move validation of the static content path to the DashboardService where it is actually used.
2020-03-15 17:42:57 +01:00
Mark Monteiro
6fbdf0d6a2
Construct ApplicationHost with DI framework instead of manually
2020-03-15 15:28:29 +01:00
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
2020-03-11 20:26:43 +01:00
Mark Monteiro
6131599e88
Merge branch 'master' into support-injecting-iconfiguration
2020-03-10 22:45:17 +01:00
dkanada
d7c34b4611
start tvdb migration for plugin interface
2020-03-09 23:53:07 +09:00
Mark Monteiro
9aa259eb95
Revert unnecessary ordering changes in ApplicationHost
2020-03-03 23:56:47 +01:00
Mark Monteiro
6b06a9a919
Make Logger and LoggerFactory both protected in ApplicationHost
2020-03-03 23:53:48 +01:00
Mark Monteiro
c49a12dd73
Make LoggerFactory private in ApplicationHost and use it to construct loggers with context
2020-03-03 23:31:25 +01:00
Mark Monteiro
370c312e01
Make logger private in ApplicationHost
2020-03-03 23:08:42 +01:00
Mark Monteiro
76957213e6
Merge remote-tracking branch 'upstream/master' into support-injecting-iconfiguration
2020-03-03 22:27:49 +01:00
Mark Monteiro
a4bf645ba5
Fix compilation error
2020-03-03 01:10:26 +01:00
Mark Monteiro
c376f4ca51
Register Serilog logging services correctly
2020-03-03 00:35:41 +01:00
Mark Monteiro
189f005846
Remove IConfiguration from service collection
...
This does not appear to be used anywhere and the web host already handles injecting this as a special case anyways
2020-02-28 23:35:53 +01:00
Mark Monteiro
48f8118072
Do not save a reference to the startup config in ApplicationHost
2020-02-28 23:28:15 +01:00
dkanada
974a04c129
update plugin classes for nightly builds
2020-02-26 01:58:39 +09:00
dkanada
a3bb81553d
Merge pull request #2176 from Bond-009/nullable2
...
Enable nullable reference types for Emby.Photos and Emby.Notifications
2020-02-23 21:52:46 +09:00
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
2020-02-23 12:11:43 +01:00
Bond_009
a07ee65365
Minor improvements
2020-02-23 10:53:51 +01:00
dkanada
6e239c52c5
Merge pull request #2291 from Bond-009/sessionmanager
...
Fix warnings in SessionManager
2020-02-23 10:53:44 +09:00
dkanada
61015c1d0f
Merge pull request #2321 from Bond-009/images
...
Simplify image processing by removing image enhancers
2020-02-21 12:32:54 +09:00
Bond-009
0f173e1778
Merge branch 'master' into sessionmanager
2020-02-19 21:07:09 +01:00
Ulrich Wagner
0f2ee2686d
Constructor of the LibraryManager takes the mediaEncoder as parameter
2020-02-19 16:06:30 +01:00
Bond_009
f5db4c8402
Another baseurl related fix
...
Baseurl always starts with a '/' (unless it's empty)
2020-02-12 20:57:34 +01:00
Bond-009
a2490a7ae5
Merge branch 'master' into images
2020-02-12 17:41:46 +01:00
Bond_009
867835a474
Fix build
2020-02-08 22:25:44 +01:00
Bond-009
0a43814596
Merge branch 'master' into sessionmanager
2020-02-06 13:04:07 +01:00
Bond_009
87d2479b78
Fix warnings
2020-01-31 22:26:53 +01:00
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
2020-01-22 22:20:35 +01:00
Bond_009
ddf9b38799
Simplify image processing by removing image enhancers
2020-01-21 20:26:30 +01:00
Bond_009
c601def484
Fix warnings in SessionManager
2020-01-17 00:19:58 +01:00
Bond_009
976459d3e8
Rewrite WebSocket handling code
2020-01-13 20:06:08 +01:00
Bond_009
bb236b9591
Merge branch 'master' into warn12
2020-01-10 21:18:16 +01:00
dkanada
423d50e978
Merge pull request #1838 from Unhelpful/media-attachments
...
Add support for embedded attachments in media files
2020-01-08 11:04:21 +09:00
Bond_009
a253fa616d
Fix build and address comments
2020-01-08 01:23:57 +09:00
dkanada
aca31457c0
merge branch master into media-attachments
2020-01-08 01:21:09 +09:00
Bond_009
5994328903
Fix baseurl (again)
2020-01-02 21:22:10 +01:00
Bond-009
49330e3082
Fix a couple of TODOs
2019-12-30 16:03:20 +01:00
Bond_009
7f5a174dff
Merge branch 'master' into warn12
2019-12-20 19:43:57 +01:00
Bond_009
2ef4ffd698
More warnings (removed)
2019-12-11 00:13:57 +01:00
Bond_009
0bf8bfbb0c
Merge branch 'master' into mediaencoding
2019-12-10 23:00:59 +01:00
Vasily
5263aaa026
Merge pull request #1503 from cvium/webapi_v2
...
Move StartupWizard to ASP.NET Web Api
2019-11-27 11:50:06 +03:00
Bond_009
cc5acf37f7
Make probesize and analyzeduration configurable and simplify circular
...
dependencies
Makes the probesize and analyzeduration configurable with env args.
(`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
2019-11-25 12:07:59 +01:00
Joshua M. Boniface
48120d01dc
Merge pull request #1991 from Bond-009/transtemp
...
Don't append transcodes to transcoding temp path
2019-11-24 15:13:50 -05:00
Claus Vium
47a4f2f387
Fix more review comments
2019-11-24 19:25:46 +01:00
Claus Vium
2af5922af0
Fix review comments
2019-11-24 18:25:43 +01:00
Claus Vium
27e3cf1558
Move appbuilder and service collection to Jellyfin.Server
2019-11-24 15:27:58 +01:00
Claus Vium
706739dbe6
Move API stuff to the api project
2019-11-23 19:43:30 +01:00
Claus Vium
3f651de24c
Add authentication and remove versioning
2019-11-23 16:31:02 +01:00
Bond-009
b477b3874e
Fix some warnings
2019-11-22 16:15:31 +01:00
Bond-009
413ae86dbc
Fix easy password
2019-11-21 17:32:29 +01:00
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
2019-11-21 16:57:49 +01:00
dkanada
37eed8cf1f
revert settings to their old names
2019-11-21 21:55:10 +09:00
dkanada
b1f9b03b17
rename some missed variables and fix warnings
2019-11-21 21:55:10 +09:00
dkanada
f3ca37e523
minor changes to transcode cleanup scheduled task
2019-11-21 21:55:10 +09:00
Claus Vium
05b7e22808
Add SwaggerUI
2019-11-19 22:51:02 +01:00
Claus Vium
c011fa2ea8
Remove old instantiation of serviceProvider in app host
2019-11-19 21:49:20 +01:00
Claus Vium
e5d57bd82f
Move StartupWizard to ASP.NET Web Api
2019-11-19 21:48:16 +01:00
dkanada
0b02c77691
Merge pull request #1864 from Bond-009/installationmanager
...
Improve IInstallationManager interface
2019-11-13 21:12:52 +09:00
Andrew Mahone
c6855e6a2a
Simplify AttachmentExtractor instantiation.
2019-11-07 11:53:39 -05:00
Andrew Mahone
79bbf09ecb
Revert "Simplify AttachmentExtractor instantiation."
...
This reverts commit d33e0a4e2c
.
2019-11-06 08:43:49 -05:00
Andrew Mahone
d33e0a4e2c
Simplify AttachmentExtractor instantiation.
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:17:34 -05:00
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
2019-11-04 10:03:18 -05:00
Bond_009
b0a25c4237
Use Mono.Nat Nuget package
2019-11-01 21:22:35 +01:00
Bond_009
d529f81cd9
Improve IInstallationManager interface
2019-11-01 17:57:19 +01:00
Bond_009
016be02cd6
More warning fixes
2019-10-29 17:56:05 +01:00
Andrew Mahone
a9a85f251e
Instantiate AttachmentExtractor in ApplicationHost.
2019-10-22 11:50:07 -04:00
Vasily
9040ef87dc
Merge pull request #1871 from Bond-009/doc
...
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
2019-10-16 12:40:20 +03:00
Vasily
79f9887625
Merge pull request #1854 from Bond-009/json
...
Use System.Text.Json api for databases
2019-10-10 18:15:48 +03:00
Bond_009
9d4ce82ab9
Enable TreatWarningsAsErrors
for MediaBrowser.Common and Emby.Photos
...
Adds `#pragma warning disable CS1591` to all files in
MediaBrowser.Common containing undocumented members.
2019-10-09 17:14:15 +02:00
Bond_009
e553eba31e
Use System.Text.Json api
2019-10-08 20:59:53 +02:00
Bond-009
3ad34de808
Update ApplicationHost.cs
2019-10-04 18:53:26 +02:00
Joshua Boniface
387192610f
Handle Kestrel startup failures with a nice error
2019-09-29 17:17:19 -04:00
Joshua Boniface
cabb9aed31
Configure Kestrel listener to use configured IPs
2019-09-29 00:37:48 -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
Bond_009
14fbd845c2
Move IsoMounter to plugin
2019-08-29 23:11:55 +02: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
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
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
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
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
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
dkanada
5c366e4697
Merge pull request #1612 from Bond-009/warn4
...
Fix warnings
2019-08-10 15:12:54 -07:00
dkanada
b5f3f28f41
Merge pull request #1578 from Bond-009/httpresponse
...
Replace custom code with Asp.Net Core code
2019-08-09 23:26:10 -07:00
Bond_009
25917db07a
Fix doc releated warnings
2019-08-09 23:50:40 +02:00
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
2019-08-09 23:17:54 +02:00
Bond_009
2a58c643d2
Fix more warnings
2019-08-09 23:16:24 +02:00
Bond_009
9fff4b060e
Replace custom code with Asp.Net Core code
2019-08-09 22:36:20 +02:00
Bond_009
8270d0cc91
Move IPv6 scope id removal logic to it's own function
2019-07-25 00:23:56 +02:00
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
2019-07-25 00:15:06 +02:00
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
2019-07-06 23:08:52 +02:00
Bond_009
d405a400aa
Fixes issues with HttpClientManager
2019-07-06 20:04:42 +02:00
Bond_009
edfd2d0cd9
Fix startup
2019-06-28 12:14:27 +02:00
dkanada
1b2621cd30
Merge pull request #1454 from Bond-009/webresource
...
Simplify file serving code
2019-06-21 23:33:37 -07:00
Bond-009
0a5550b13d
Remove more unused stuff
2019-06-18 22:20:34 -04:00
Anthony Lavado
d4a42a1680
Merge pull request #1080 from Bond-009/httpclient
...
Remove usage of deprecated 'WebRequest'
2019-06-14 09:19:56 -04:00
Bond-009
af099a9b53
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
2019-06-14 08:21:06 +02:00
Bond-009
6ebac0e500
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
2019-06-14 08:20:52 +02:00
Anthony Lavado
b25c08e79a
Merge pull request #1156 from Bond-009/sep
...
Small cleanups here and there
2019-06-13 22:27:00 -04:00
Bond_009
253e72f667
Simplify file serving code
2019-06-10 00:53:16 +02:00
Bond-009
61d7bed181
Merge pull request #1304 from jellyfin/release-10.3.z
...
Backmerge 10.3.1
2019-04-25 07:27:37 +02:00
Bond-009
6973182ade
Fix more possible exceptions
2019-04-20 17:47:11 +02:00
Bond-009
f62af07381
Handle exception when loading unsupported assembly
...
Fixes #1256
2019-04-20 17:47:11 +02:00
Bond-009
a8da122fb3
Merge pull request #1252 from jellyfin/release-10.3.z
...
Backmerge release 10.3.0
2019-04-20 12:25:29 +02:00
Bond-009
8f703f4744
Remove unused event
...
Release builds were failing because of this unused event.
2019-04-18 13:19:16 +02:00
Joshua M. Boniface
c3532b92f7
Merge pull request #1158 from Bond-009/httpclean
...
Reduce complexity http routes
2019-04-17 22:12:17 -04:00
Anthony Lavado
34ab99caf1
Move the ProductName to the public endpoint
...
Moves the ProductName field over from the private system/info point to
the public one, for easier identification
2019-04-16 01:16:02 -04:00
Joshua Boniface
05a4161fd3
Correct the installation and removal of plugins
...
Upgrading plugins was broken for various reasons. There are four
fixes and a minor one:
1. Use a directory name based only on the `Name` of the plugin, not
the source filename, which contains the version. Avoids strange
duplication of the plugin.
2. Use the new directory name for the deletes if it's present, so
that installation and removal happen at that directory level
and we don't leave empty folders laying around. Ensures we
properly remove additional resources in plugins too, not just
the main `.dll` file.
3. Ignore the incoming `target` when installing, and always set
it ourself to the proper directory, which would matter when
reinstalling.
4. Deletes an existing target directory before installing if it
exists. Note that not calling any of the plugin removal code
is intentional; I suspect that would delete configurations
unexpectedly when upgrading which would be annoying. This way,
it just replaces the files and then reloads.
5. (Minor) Added some actual debug messages around the plugin
download section so failures can be more accurately seen.
2019-04-03 20:05:14 -04:00
Joshua Boniface
38fcd31917
Search all subdirectories for Plugins
...
This was added in #801 which broke the previous plugin install
behaviour. Previously plugins could be loaded from subdirectories
but this search was only for the highest level. Change it to search
all subdirectories instead to restore the previous behaviour.
Also modifies the same option from #934 , though I'm not 100% sure
if this is needed here.
2019-04-02 18:29:14 -04:00
Joshua M. Boniface
72dd609109
Merge pull request #1149 from LogicalPhallacy/ImprovedPasswordReset
...
Adds per user password reset
2019-03-29 18:26:30 -04:00
Bond_009
3001f21f8d
Hacky fix for a hacky issue
2019-03-28 19:11:05 +01:00
Joshua M. Boniface
2dbc1153e8
Merge pull request #934 from Bond-009/plugin
...
WIP - Don't require a restart for 75% of plugins
2019-03-27 21:35:09 -04:00
Bond-009
73a9079ee2
Merge branch 'master' into httpclient
2019-03-27 19:43:02 +01:00
Joshua M. Boniface
cc2edc4d66
Merge pull request #1151 from Phlogi/patch-1
...
Use public ports and advertise DNS if available for WAN address
2019-03-27 13:54:14 -04:00
Bond-009
d0fbd260d5
Merge branch 'master' into httpclient
2019-03-27 16:34:26 +01:00
Bond-009
a332092769
Reduce complexity http routes
2019-03-26 19:20:40 +01:00
Phlogi
122cba2aa7
Correct use of local variable wanAddress.
2019-03-25 22:26:05 +01:00
Bond-009
b44a70ff36
Simplify/remove/clean code
...
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant
And ofc fix some warnings ;)
2019-03-25 22:25:32 +01:00
Phlogi
1b03f078b9
No need to assign empty string.
2019-03-25 21:43:50 +01:00
Phlogi
4c8f8cf64c
Removed trailing spaces, renamed get wan IP function.
2019-03-25 21:34:55 +01:00
Bond-009
6566c91360
Seperate changes from #1023
...
The unrelated changes from #1023 (and more)
2019-03-25 21:27:03 +01:00
Claus Vium
6480cfcc87
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:19:08 +01:00
Claus Vium
e36d424b5f
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:18:47 +01:00
Claus Vium
f7e7d72688
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:18:18 +01:00
Claus Vium
3474568ce2
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:18:04 +01:00
Claus Vium
89f2dfd78a
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:17:53 +01:00
Claus Vium
2c4c56d6d6
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-25 10:17:40 +01:00
Phlogi
087d4153ae
Fix check for available WAN address.
2019-03-24 21:47:18 +01:00
Phlogi
fb7f29de18
Format the WAN API Url correctly with https and Port.
2019-03-24 18:33:21 +01:00
Phlogi
d18252542d
Also add the WAN switch to the public system info.
2019-03-24 17:11:21 +01:00
Phlogi
030fcaac15
Proper access to configuration objects
2019-03-24 17:02:03 +01:00
Phlogi
7ebb043249
Removed comment, renamed methods consistently.
2019-03-24 16:50:39 +01:00
Claus Vium
598b1c9966
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-24 16:47:59 +01:00
Claus Vium
cf36aaef2b
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-24 16:47:48 +01:00
Claus Vium
f30af9cd5f
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
2019-03-24 16:47:42 +01:00
Phlogi
4ffec8ad26
Fix build, missing changes.
2019-03-24 12:19:10 +01:00
Phlogi
69cc5814d8
Change WAN IP behaviour: Use ServerConfiguration.WanDdns if set in configuration.
2019-03-24 12:11:46 +01:00
Phlogi
414a318a0d
WAN Address should use public ports instead of local ports.
...
https://github.com/jellyfin/jellyfin/issues/601#issuecomment-475941080
2019-03-24 11:59:40 +01:00
Phallacy
09921a00aa
made password resets an interface and per user
2019-03-22 00:01:23 -07:00
redSpoutnik
480a6607e2
Merge branch 'master' into subtitle-display-title
2019-03-16 17:54:57 +01:00
PloughPuff
d125fbc43d
Added contact email to user agent
...
MusicBrainz request a contact email address is supplied in comment section of user agent field.
2019-03-14 21:34:09 +00:00
redSpoutnik
427688a0a0
Change subtitles DisplayTitle behavior
2019-03-14 22:31:51 +01:00
Bond-009
bf43dc00bb
More warning fixes
2019-03-13 22:32:52 +01:00
PloughPuff
b864e9da2a
Finalise removal of --ffprobe switch
...
Removed --ffprobe from src files and server/docker scripts.
2019-03-12 22:09:18 +00:00
Vasily
297f25cfc2
Merge pull request #1059 from Bond-009/os
...
Remove EnvironmentInfo
2019-03-13 00:01:00 +03:00
Joshua M. Boniface
6751560228
Merge pull request #1092 from joshuaboniface/configurable-webdir
...
Add configurable webdir option
2019-03-12 12:51:11 -04:00
Bond-009
3ddbda9aca
Merge branch 'master' into xml
2019-03-12 16:37:18 +01:00
Vasily
1fef8bf266
Merge pull request #1060 from Bond-009/assinfo
...
Remove redundant class AssemblyInfo
2019-03-12 16:34:21 +03:00
Joshua Boniface
3c4043199a
Implement review feedback
2019-03-12 09:18:45 -04:00
Bond-009
0ff038f0a2
Fix nullref
2019-03-11 23:13:01 +01:00
Joshua Boniface
132ce3ece1
Add further resources to complete WebPath
2019-03-10 17:04:18 -04:00
Joshua Boniface
25deca9579
Make use of WebPath
2019-03-10 16:20:46 -04:00
Claus Vium
f2062ba19b
Disable HTTPS in Kestrel if Certificate is null
2019-03-08 22:25:45 +01:00
Bond-009
7f42dcc60f
Remove more unused stuff
2019-03-08 20:32:14 +01:00
Claus Vium
e3b844b5aa
Add urlprefixes during init
2019-03-07 22:49:41 +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
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
2019-03-07 20:16:51 +01:00
Bond-009
e91dd14b31
Remove redundent class AssemblyInfo
2019-03-07 18:10:55 +01:00
Vasily
a4b52b7264
Merge pull request #844 from ploughpuff/ffmpeg
...
Reworked FFmpeg path discovery and always display to user
2019-03-07 17:23:06 +03:00
Bond_009
a9302b8b53
Remove useless abstraction around XmlReaderSettings
...
This removes the amount of stuff that needs to be passed around
Also removes some unneeded `ManagedFileSystem` usage
2019-03-07 12:04:14 +01:00
Claus Vium
21c2acc520
Remove public Host property
2019-03-06 19:27:05 +01:00
Vasily
2242c8d793
Merge pull request #915 from cvium/remove_encryptionmanager
...
Remove IEncryptionManager
2019-03-06 15:56:15 +03:00
PloughPuff
2617a49b78
Renamed Init() to SetFFmpegPath()
2019-03-05 21:29:15 +00:00
PloughPuff
ed69e690b8
Review comments
...
Address review comments from JustAMan, Bond-009 and cvium.
2019-03-05 21:29:15 +00:00
PloughPuff
20775116f7
Reworked FFmpeg path discovery and always display to user
...
1) Reworked FFmpeg and FFprobe path discovery (CLI switch, Custom xml, system $PATH, UI update trigger). Removed FFMpeg folder from Emby.Server.Implementations. All path discovery now in MediaEncoder.
2) Always display FFmpeg path to user in Transcode page.
3) Allow user to remove a Custome FFmpeg path and return to using system $PATH (or --ffmpeg if available).
4) Remove unused code associated with 'prebuilt' FFmpeg.
5) Much improved logging during path discovery.
2019-03-05 21:24:54 +00:00
Claus Vium
9a4a01fb0e
Fix DI in FileWriter.TransmitFile
2019-03-05 19:32:22 +01:00
Claus Vium
bc00617df7
Remove unused Brotli compressor
2019-03-05 10:26:43 +01:00
Claus Vium
12df381495
Grab content root from config and fix kestrel port bindings
2019-03-05 07:55:29 +01:00
Claus Vium
040871459b
Remove some unused references
2019-03-03 14:35:54 +01:00
Claus Vium
6263b73d9c
Await host startup
2019-03-03 14:30:41 +01:00
Claus Vium
d450169964
Use EnableHttps instead of CertificateInfo
2019-03-03 08:46:17 +01:00
Claus Vium
e823c11b46
Add certificate to https and minor cleanup
2019-03-03 08:29:23 +01:00
Bond-009
9993dafe54
Don't mix LINQ and roreach loops for readability
2019-03-01 17:12:22 +01:00
Claus Vium
fb1de5a921
Remove more cruft and add the beginnings of a socket middleware
2019-02-27 23:22:55 +01:00
Vasily
3769453541
Merge pull request #978 from fasheng/fix-dlna-multiple-interfaces
...
Fix DLNA for multiple interfaces on linux
2019-02-27 19:23:31 +03:00
Claus Vium
9c02e99e35
Undo some of the span abuse
2019-02-26 22:40:25 +01:00
Claus Vium
e342b7bc71
Extend the IHttpServer interface to avoid the typecasting
2019-02-26 22:11:21 +01:00
Claus Vium
e88f079da6
Remove websocket options and configure kestrel listen ports
2019-02-26 22:11:21 +01:00