Claus Vium
706739dbe6
Move API stuff to the api project
5 years ago
Claus Vium
3f651de24c
Add authentication and remove versioning
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond-009
413ae86dbc
Fix easy password
5 years ago
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
5 years ago
dkanada
37eed8cf1f
revert settings to their old names
5 years ago
dkanada
b1f9b03b17
rename some missed variables and fix warnings
5 years ago
dkanada
f3ca37e523
minor changes to transcode cleanup scheduled task
5 years ago
Claus Vium
05b7e22808
Add SwaggerUI
5 years ago
Claus Vium
c011fa2ea8
Remove old instantiation of serviceProvider in app host
5 years ago
Claus Vium
e5d57bd82f
Move StartupWizard to ASP.NET Web Api
5 years ago
dkanada
0b02c77691
Merge pull request #1864 from Bond-009/installationmanager
...
Improve IInstallationManager interface
5 years ago
Andrew Mahone
c6855e6a2a
Simplify AttachmentExtractor instantiation.
5 years ago
Andrew Mahone
79bbf09ecb
Revert "Simplify AttachmentExtractor instantiation."
...
This reverts commit d33e0a4e2c
.
5 years ago
Andrew Mahone
d33e0a4e2c
Simplify AttachmentExtractor instantiation.
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
5 years ago
Bond_009
b0a25c4237
Use Mono.Nat Nuget package
5 years ago
Bond_009
d529f81cd9
Improve IInstallationManager interface
5 years ago
Bond_009
016be02cd6
More warning fixes
5 years ago
Andrew Mahone
a9a85f251e
Instantiate AttachmentExtractor in ApplicationHost.
5 years ago
Vasily
9040ef87dc
Merge pull request #1871 from Bond-009/doc
...
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
5 years ago
Vasily
79f9887625
Merge pull request #1854 from Bond-009/json
...
Use System.Text.Json api for databases
5 years ago
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.
5 years ago
Bond_009
e553eba31e
Use System.Text.Json api
5 years ago
Bond-009
3ad34de808
Update ApplicationHost.cs
5 years ago
Joshua Boniface
387192610f
Handle Kestrel startup failures with a nice error
5 years ago
Joshua Boniface
cabb9aed31
Configure Kestrel listener to use configured IPs
5 years ago
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.
5 years ago
sparky8251
208c8b2b9d
Remove missed unused functions
...
Forgot to remove these in the previous WAN IP detection removal commit
5 years ago
sparky8251
0562b4cf6f
Remove WAN IP Detection
5 years ago
Bond_009
14fbd845c2
Move IsoMounter to plugin
5 years ago
Anthony Lavado
6766e04dd6
Merge pull request #1521 from Bond-009/hdhomerun
...
Clean up livestreaming code
5 years ago
Bond_009
237db8ae92
Clean up livestreaming code
5 years ago
Bond_009
8d3b5c851d
Improvements to UserManager
5 years ago
Bond_009
c699c546e4
Improve LocalizationManager
5 years ago
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
5 years ago
dkanada
685e9e4f58
Merge pull request #1584 from Bond-009/checksum
...
Check checksum for plugin downloads
5 years ago
Bond_009
2fdf7f1098
Properly dispose DisplayPreferencesRepository
5 years ago
Bond_009
e5b163b86a
Fix possible nullref
5 years ago
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
5 years ago
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
5 years ago
dkanada
5c366e4697
Merge pull request #1612 from Bond-009/warn4
...
Fix warnings
5 years ago
dkanada
b5f3f28f41
Merge pull request #1578 from Bond-009/httpresponse
...
Replace custom code with Asp.Net Core code
5 years ago
Bond_009
25917db07a
Fix doc releated warnings
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
2a58c643d2
Fix more warnings
5 years ago
Bond_009
9fff4b060e
Replace custom code with Asp.Net Core code
5 years ago
Bond_009
8270d0cc91
Move IPv6 scope id removal logic to it's own function
5 years ago
Bond_009
ddd1a282ea
Remove IpAddressInfo and IpEndPointInfo classes
5 years ago
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
5 years ago
Bond_009
d405a400aa
Fixes issues with HttpClientManager
5 years ago
Bond_009
edfd2d0cd9
Fix startup
5 years ago
dkanada
1b2621cd30
Merge pull request #1454 from Bond-009/webresource
...
Simplify file serving code
5 years ago
Bond-009
0a5550b13d
Remove more unused stuff
5 years ago
Anthony Lavado
d4a42a1680
Merge pull request #1080 from Bond-009/httpclient
...
Remove usage of deprecated 'WebRequest'
5 years ago
Bond-009
af099a9b53
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
5 years ago
Bond-009
6ebac0e500
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Jean-Samuel Aubry-Guzzi <DrPandemic@users.noreply.github.com>
5 years ago
Anthony Lavado
b25c08e79a
Merge pull request #1156 from Bond-009/sep
...
Small cleanups here and there
5 years ago
Bond_009
253e72f667
Simplify file serving code
5 years ago
Bond-009
61d7bed181
Merge pull request #1304 from jellyfin/release-10.3.z
...
Backmerge 10.3.1
6 years ago
Bond-009
6973182ade
Fix more possible exceptions
6 years ago
Bond-009
f62af07381
Handle exception when loading unsupported assembly
...
Fixes #1256
6 years ago
Bond-009
a8da122fb3
Merge pull request #1252 from jellyfin/release-10.3.z
...
Backmerge release 10.3.0
6 years ago
Bond-009
8f703f4744
Remove unused event
...
Release builds were failing because of this unused event.
6 years ago
Joshua M. Boniface
c3532b92f7
Merge pull request #1158 from Bond-009/httpclean
...
Reduce complexity http routes
6 years ago
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
6 years ago
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.
6 years ago
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.
6 years ago
Joshua M. Boniface
72dd609109
Merge pull request #1149 from LogicalPhallacy/ImprovedPasswordReset
...
Adds per user password reset
6 years ago
Bond_009
3001f21f8d
Hacky fix for a hacky issue
6 years ago
Joshua M. Boniface
2dbc1153e8
Merge pull request #934 from Bond-009/plugin
...
WIP - Don't require a restart for 75% of plugins
6 years ago
Bond-009
73a9079ee2
Merge branch 'master' into httpclient
6 years ago
Joshua M. Boniface
cc2edc4d66
Merge pull request #1151 from Phlogi/patch-1
...
Use public ports and advertise DNS if available for WAN address
6 years ago
Bond-009
d0fbd260d5
Merge branch 'master' into httpclient
6 years ago
Bond-009
a332092769
Reduce complexity http routes
6 years ago
Phlogi
122cba2aa7
Correct use of local variable wanAddress.
6 years ago
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 ;)
6 years ago
Phlogi
1b03f078b9
No need to assign empty string.
6 years ago
Phlogi
4c8f8cf64c
Removed trailing spaces, renamed get wan IP function.
6 years ago
Bond-009
6566c91360
Seperate changes from #1023
...
The unrelated changes from #1023 (and more)
6 years ago
Claus Vium
6480cfcc87
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
e36d424b5f
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
f7e7d72688
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
3474568ce2
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
89f2dfd78a
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
2c4c56d6d6
Formatting update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Phlogi
087d4153ae
Fix check for available WAN address.
6 years ago
Phlogi
fb7f29de18
Format the WAN API Url correctly with https and Port.
6 years ago
Phlogi
d18252542d
Also add the WAN switch to the public system info.
6 years ago
Phlogi
030fcaac15
Proper access to configuration objects
6 years ago
Phlogi
7ebb043249
Removed comment, renamed methods consistently.
6 years ago
Claus Vium
598b1c9966
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
cf36aaef2b
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Claus Vium
f30af9cd5f
Update Emby.Server.Implementations/ApplicationHost.cs
...
Co-Authored-By: Phlogi <Phlogi@users.noreply.github.com>
6 years ago
Phlogi
4ffec8ad26
Fix build, missing changes.
6 years ago
Phlogi
69cc5814d8
Change WAN IP behaviour: Use ServerConfiguration.WanDdns if set in configuration.
6 years ago
Phlogi
414a318a0d
WAN Address should use public ports instead of local ports.
...
https://github.com/jellyfin/jellyfin/issues/601#issuecomment-475941080
6 years ago
Phallacy
09921a00aa
made password resets an interface and per user
6 years ago
redSpoutnik
480a6607e2
Merge branch 'master' into subtitle-display-title
6 years ago
PloughPuff
d125fbc43d
Added contact email to user agent
...
MusicBrainz request a contact email address is supplied in comment section of user agent field.
6 years ago
redSpoutnik
427688a0a0
Change subtitles DisplayTitle behavior
6 years ago
Bond-009
bf43dc00bb
More warning fixes
6 years ago
PloughPuff
b864e9da2a
Finalise removal of --ffprobe switch
...
Removed --ffprobe from src files and server/docker scripts.
6 years ago
Vasily
297f25cfc2
Merge pull request #1059 from Bond-009/os
...
Remove EnvironmentInfo
6 years ago
Joshua M. Boniface
6751560228
Merge pull request #1092 from joshuaboniface/configurable-webdir
...
Add configurable webdir option
6 years ago
Bond-009
3ddbda9aca
Merge branch 'master' into xml
6 years ago
Vasily
1fef8bf266
Merge pull request #1060 from Bond-009/assinfo
...
Remove redundant class AssemblyInfo
6 years ago
Joshua Boniface
3c4043199a
Implement review feedback
6 years ago
Bond-009
0ff038f0a2
Fix nullref
6 years ago
Joshua Boniface
132ce3ece1
Add further resources to complete WebPath
6 years ago
Joshua Boniface
25deca9579
Make use of WebPath
6 years ago
Claus Vium
f2062ba19b
Disable HTTPS in Kestrel if Certificate is null
6 years ago
Bond-009
7f42dcc60f
Remove more unused stuff
6 years ago
Claus Vium
e3b844b5aa
Add urlprefixes during init
6 years ago
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
6 years ago
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
6 years ago
Bond-009
e91dd14b31
Remove redundent class AssemblyInfo
6 years ago
Vasily
a4b52b7264
Merge pull request #844 from ploughpuff/ffmpeg
...
Reworked FFmpeg path discovery and always display to user
6 years ago
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
6 years ago
Claus Vium
21c2acc520
Remove public Host property
6 years ago
Vasily
2242c8d793
Merge pull request #915 from cvium/remove_encryptionmanager
...
Remove IEncryptionManager
6 years ago
PloughPuff
2617a49b78
Renamed Init() to SetFFmpegPath()
6 years ago
PloughPuff
ed69e690b8
Review comments
...
Address review comments from JustAMan, Bond-009 and cvium.
6 years ago
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.
6 years ago
Claus Vium
9a4a01fb0e
Fix DI in FileWriter.TransmitFile
6 years ago
Claus Vium
bc00617df7
Remove unused Brotli compressor
6 years ago
Claus Vium
12df381495
Grab content root from config and fix kestrel port bindings
6 years ago
Claus Vium
040871459b
Remove some unused references
6 years ago
Claus Vium
6263b73d9c
Await host startup
6 years ago
Claus Vium
d450169964
Use EnableHttps instead of CertificateInfo
6 years ago
Claus Vium
e823c11b46
Add certificate to https and minor cleanup
6 years ago
Bond-009
9993dafe54
Don't mix LINQ and roreach loops for readability
6 years ago
Claus Vium
fb1de5a921
Remove more cruft and add the beginnings of a socket middleware
6 years ago
Vasily
3769453541
Merge pull request #978 from fasheng/fix-dlna-multiple-interfaces
...
Fix DLNA for multiple interfaces on linux
6 years ago
Claus Vium
9c02e99e35
Undo some of the span abuse
6 years ago
Claus Vium
e342b7bc71
Extend the IHttpServer interface to avoid the typecasting
6 years ago
Claus Vium
e88f079da6
Remove websocket options and configure kestrel listen ports
6 years ago
Claus Vium
4e8de67aca
Remove SocketSharp from Jellyfin.Server and some other cleanup
6 years ago
Claus Vium
a85488cd20
Fix websockets array index out of bounds and some cleanup
6 years ago
Claus Vium
d6c6f3c10c
Still broken
6 years ago
Claus Vium
38f52a139e
Add response compression middleware
6 years ago
Claus Vium
194da8416b
Use middlewares instead of Routing
6 years ago
Claus Vium
f3e7bc0573
Replace some todos with http extensions and prepare some socket work
6 years ago
Claus Vium
c3fa299acc
Remove hardcoded path and fix url bug in Windows
6 years ago
Claus Vium
852460b991
kestrel init
6 years ago
Bond-009
0804bed66d
Log time in a standardized way
6 years ago
Bond_009
0f9006c81f
Use stopwatch for more accurate measurements and reduce log spam
...
DateTime.Now is suitible for small timespans
Replaced the needlessly complex and verbose logging for the httpserver
6 years ago
Xu Fasheng
cf4e64f430
Add option to toggle if ignore virtual interfaces
...
Some VPN like ZerotierOne owns IP address but no gateway, and there is no
good idea in NetworkManager.GetIPsDefault() to filter such virtual interfaces,
so just provide one option to let user decide it.
6 years ago
Vasily
bca7a26ffd
Merge branch 'master' into update_tvdb
6 years ago
Claus Vium
a23f04623e
Remove IEncryptionManager
6 years ago