aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer
AgeCommit message (Collapse)Author
2020-02-06Fix some warnings in Emby.Server.ImplementationsBond_009
2020-01-22Fix buildBond_009
2020-01-22Remove FileSystem.GetStreamBond-009
2019-12-11More warnings (removed)Bond_009
2019-12-10Apply suggestions from code reviewBond-009
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-11-27Fix more warningsBond_009
2019-11-27Merge pull request #1503 from cvium/webapi_v2Vasily
Move StartupWizard to ASP.NET Web Api
2019-11-24Fix review commentsClaus Vium
2019-11-24Move appbuilder and service collection to Jellyfin.ServerClaus Vium
2019-11-23Add authentication and remove versioningClaus Vium
2019-11-22Fix some warningsBond-009
2019-11-13Fix GetPathValue functionBond-009
2019-10-16Address review commentsVasily
2019-10-14Log to debug all HTTP 500 response urlsVasily
2019-10-09Merge pull request #1863 from joshuaboniface/fix-baseurl-issuesVasily
Fix inconsistent BaseUrl behavior
2019-10-09Make NormalizeUrlPath staticJoshua Boniface
2019-10-09Fix template for loggingVasily
2019-10-09Always log at least error message when error happens during request processingVasily
2019-10-09Set response length and mime type correctly when reporting an errorVasily
2019-10-08Normalize baseUrl behaviourJoshua Boniface
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-09-25Merge pull request #1785 from dkanada/compatVasily
Add mediabrowser route back for now
2019-09-24add an exception to loggingdkanada
2019-09-24add mediabrowser route back for nowdkanada
2019-09-23Fix multiple mistakes and warningsBond_009
2019-09-18Set log level to debug for HTTP range requestsErik Larsson
This removes some spam when a DLNA renderer uses byte seeking.
2019-09-02Fix warnings, improve performance (#1665)Bond-009
* 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-08-11keep old base url for nowdkanada
2019-08-11add base url to server configurationdkanada
2019-08-11remove old routes from http serverdkanada
2019-08-09Replace custom code with Asp.Net Core codeBond_009
2019-08-03Set log level to debug for HTTP range requestsErik Larsson
2019-06-01Merge branch 'master' into tasksBond-009
2019-04-30Merge pull request #1337 from jellyfin/release-10.3.zJoshua M. Boniface
Backmerge for 10.3.2 release
2019-04-25Merge pull request #1304 from jellyfin/release-10.3.zBond-009
Backmerge 10.3.1
2019-04-24Fix #1234Bond_009
2019-04-24Re-add content length, semi revert of changes in #1010 (#1287)Claus Vium
* Re-add content length, semi revert of changes in #1010
2019-04-20Merge pull request #1252 from jellyfin/release-10.3.zBond-009
Backmerge release 10.3.0
2019-04-17Add MethodNotAllowedException with code 405Joshua Boniface
2019-04-17Merge pull request #1158 from Bond-009/httpcleanJoshua M. Boniface
Reduce complexity http routes
2019-03-26Reduce complexity http routesBond-009
2019-03-25Simplify/remove/clean codeBond-009
* Remove useless runtime check (we only support one) * Remove unused args * Remove a global constant And ofc fix some warnings ;)
2019-03-25Lower the amount of running tasksBond_009
2019-03-19Fix default value for Expires headerBill Thornton
2019-03-13Improvements around streamsBond-009
* Use ArrayPool instead of allocating new buffers each time * Remove NetworkStream copy * Remove some dead code
2019-03-07Add urlprefixes during initClaus Vium
2019-03-07Don't set status code if response is closedClaus Vium
2019-03-07Make SkipLogExtensions staticClaus Vium
2019-03-06Make FileSystem readonlyClaus Vium
2019-03-05Remove more Content-Length referencesClaus Vium
2019-03-05Add ProcessWebSocketRequest to IHttpListenerClaus Vium