aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer
AgeCommit message (Collapse)Author
2020-04-22Merge branch 'master' into fix-auth-response-codesBond-009
2020-04-19fix spelling errordkanada
2020-04-16Update Emby.Server.Implementations/HttpServer/HttpResultFactory.csVasily
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-14Make Last-Modified and If-Modified-Since headers follow the specVasily
2020-04-13Do not return the exception message to the client for AuthenticationExceptionsMark Monteiro
2020-04-13Only show developer exception page for 500 server exceptionsMark Monteiro
Other response codes should be returned as normal
2020-04-13Return correct status codes for authentication and authorization errorsMark Monteiro
- Use AuthenticatonException to return 401 - Use SecurityException to return 403 - Update existing throws to throw the correct exception for the circumstance
2020-04-13Clean up SecurityExceptionMark Monteiro
- Remove unused SecurityExceptionType - Add missing constructor for InnerException - Add missing documentation
2020-04-13More consise error messagesVasily
2020-04-12Fix log highlithingVasily
2020-04-12Fix condition flipped by https://github.com/jellyfin/jellyfin/pull/2635Vasily
2020-04-12Addressing review feedbackVasily
2020-04-06Add logging of URL being processed when logging an errorVasily
This might help diagnosing stuff like "Operation was cancelled"
2020-04-02Put Boolean operators at beginning of lines instead of the endMark Monteiro
2020-04-02Merge branch 'master' into use-development-exception-pageMark Monteiro
2020-04-01Merge remote-tracking branch 'upstream/master' into ↵Mark Monteiro
use-development-exception-page
2020-04-01Merge remote-tracking branch 'upstream/master' into ↵Mark Monteiro
do-not-instantiate-services-at-startup
2020-04-01Merge branch 'master' into usingsBond-009
2020-03-24Remove unused usingsBond_009
2020-03-21Create ServiceController via DI instead of manual constructionMark Monteiro
2020-03-21Do not create unnecessary instances of IService at server startupMark Monteiro
2020-03-21Do not handle exceptions manually when in development modeMark Monteiro
2020-03-21Clean up HTTP listener exception handlingMark Monteiro
2020-03-15Merge remote-tracking branch 'upstream/master' into ↵Mark Monteiro
support-running-without-web-content
2020-03-15Construct ApplicationHost with DI framework instead of manuallyMark Monteiro
2020-03-11Merge branch 'master' into warn17Bond-009
2020-02-28Add new 'nowebcontent' configuration flagMark Monteiro
2020-02-28Use constants for settings keysMark Monteiro
2020-02-23Fix some warningsBond_009
* 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-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