aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Updates/InstallationManager.cs
AgeCommit message (Collapse)Author
2019-11-02Merge pull request #1915 from Bond-009/hexdkanada
Rewrite hex encoder/decoder
2019-11-01Fix PR issuesBond_009
2019-11-01Improve IInstallationManager interfaceBond_009
2019-11-01Fix xml docsBond_009
2019-11-01Update deps and add MultiThreading analyzerBond_009
2019-11-01Rewrite hex encoder/decoderBond_009
2019-09-28Fix plugin installationBond_009
2019-09-17Remove legacy auth code (#1677)Bond-009
* Remove legacy auth code * Adds tests so we don't break PasswordHash (again) * Clean up interfaces * Remove duplicate code * Use auto properties * static using * Don't use 'this' * Fix build
2019-08-11Minor improvementsBond_009
2019-08-11Check checksum for plugin downloadsBond_009
* Compare the MD5 checksum when downloading plugins * Reduced log spam due to http requests * Removed 'GetTempFileResponse' function from HttpClientManager * Fixed caching for HttpClientManager
2019-06-28Fix whitespaceBond_009
2019-06-14Improvements to InstallationManagerBond_009
2019-04-04Add TODO to remove string targetJoshua Boniface
2019-04-04Apply review feedbackJoshua Boniface
Remove a few superfluous/testing log statements, and print the deletion debug messages when it occurs rather than earlier. Use a nicer name for the isDirectory variable.
2019-04-03Correct the installation and removal of pluginsJoshua Boniface
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-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-02-11Change logging to match the actionClaus Vium
2019-02-11Add extra linebreakClaus Vium
2019-02-11Remove DLL support and require all packages/plugins to be zip archivesClaus Vium
2019-02-10Add support for ZIP plugin archivesJoshua Boniface
Most code from @cvium. Also removes the lazy and ill-conceived GUID- based checksumming, which just died with ZIP archives.
2019-02-03Fix build errorBond-009
2019-02-03fix build errors and update plugin manifest locationdkanada
2019-02-01Fix more warningsBond_009
2019-01-28Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.Erwin de Haan
2019-01-28Unwrapped `OpenRead` and `CopyFile`Erwin de Haan
2019-01-28Unwrapped CreateDirectory and DeleteDirectoryErwin de Haan
2019-01-28Unwrapped GetDirectoryName and DirectorySeperatorCharErwin de Haan
2019-01-20Replaced injections of ILogger with ILoggerFactoryWilliam Taylor
This makes resolving dependencies from the container much easier as you cannot resolve with primitives parameters in a way that is any more readable. The aim of this commit is to change as little as possible with the end result, loggers that were newed up for the parent object were given the same name. Objects that used the base or app loggers, were given a new logger with an appropriate name. Also removed some unused dependencies.
2019-01-15Merge branch 'dev' into reformatErwin de Haan
# 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-15more descriptive TODOcvium
2019-01-15removed a bunch of validation, security, registration, premiere, whatever bsClaus Vium
2019-01-13ReSharper format: conform inline 'out' parameters.Erwin de Haan
2019-01-13ReSharper conform to 'var' settingsErwin de Haan
2019-01-13Visual Studio Reformat: Emby.Server.Implementations Part U-U & RootErwin de Haan
2019-01-11Merge branch 'dev' into code-cleanupErwin de Haan
2019-01-10Mayor code cleanupErwin de Haan
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-07remove trailing whitespacehawken
2019-01-05Remove unnecessary using statementsBond_009
2019-01-05Remove FireEventIfNotNullBond_009
It's a pretty useless "helper" class
2019-01-03Clean up HttpClientManager, LiveTvManager and InstallationManagerBond_009
2018-12-30Fix exception loggingBond_009
2018-12-30Use Microsoft.Extensions.Logging abstractionBond_009
2018-10-22Replaced mb3admin.com phoning home with a stub mb3admin.localVasily
2018-09-12Update to 3.5.2 and .net core 2.1stefan
2017-10-20improve httpclient resource disposalLuke Pulverenti
2017-10-04reduce socket activityLuke Pulverenti
2017-09-053.2.30.8Luke Pulverenti
2017-08-24update active recordingsLuke Pulverenti
2017-08-23shorten package cache timeLuke Pulverenti
2017-08-203.2.28.2Luke Pulverenti