crobibero
533b981668
migrate to IHttpClientFactory in InstallationManager
4 years ago
crobibero
5e6cdc8842
Install specific plugin version if requested
4 years ago
crobibero
2b5d515de7
specify plugin repo on install
4 years ago
crobibero
f40bcff113
Catch HttpRequestException when requesting plugins
4 years ago
dkanada
4e08876028
Merge pull request #3418 from Bond-009/minor3
...
Minor changes
4 years ago
Bond-009
3d42f37538
Minor changes
4 years ago
Bond-009
464066f362
Merge pull request #3411 from neilsb/system-plugin-removal
...
Prevent system plugins from being uninstalled
4 years ago
BaronGreenback
a25a233b75
Using Version class.
4 years ago
Neil Burrows
a20fd34161
Update Emby.Server.Implementations/Updates/InstallationManager.cs
...
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
4 years ago
Neil Burrows
c20400fa40
Prevent system plugins from being uninstalled
4 years ago
BaronGreenback
99410f3c97
fixes
4 years ago
BaronGreenback
a041fe8a2d
Add versioning to plugin folders
4 years ago
dkanada
f5d82441a4
Merge branch 'master' into custom-repos
4 years ago
dkanada
91f60c2139
add missing line from using block
4 years ago
dkanada
7161a30af7
improve error handling when a single repository has issues
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
dkanada
8ac2f1bb8b
simplify the custom repository feature for now
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
4 years ago
dkanada
b7f4b8e2b5
initial implementation for custom plugin repositories
4 years ago
dkanada
fe16c3fad4
Merge branch 'master' into install-plugin
4 years ago
dkanada
7176a9a30a
fix build issues
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Vasily
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
4 years ago
dkanada
6a7cb21b7e
apply code suggestions
...
Co-authored-by: Vasily <JustAMan@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
5 years ago
dkanada
6d3e5d8662
update error log for plugin download
5 years ago
dkanada
7972daaba4
fix a few issues with the plugin manifest
5 years ago
Bond_009
fc049caba2
Merge branch 'master' into nullable3
5 years ago
dkanada
bd55bdb4e3
merge branch master into plugin
5 years ago
dkanada
abb7ed9c35
rename target abi property
5 years ago
dkanada
78abbcc251
standardize plugin version and guid properties
5 years ago
dkanada
8e9aeb84b1
remove release channel from plugin classes
5 years ago
Vasily
53db9567d3
Merge pull request #2769 from mark-monteiro/configurable-repo-url
...
Make Plugin Repo URL Configurable
5 years ago
Mark Monteiro
8e3b09a996
Do not use IAsyncEnumerable unnecessarily
5 years ago
Mark Monteiro
ed88430429
Log error messages when the manifest URL is not valid
5 years ago
Mark Monteiro
15dd46c25a
Add '--plugin-manifest-url' command line option and 'InstallationManager:PluginManifestUrl' config option
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
dkanada
974a04c129
update plugin classes for nightly builds
5 years ago
Bond_009
5a8e972952
Enable TreatWarningsAsErrors for some projects
...
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
5 years ago
Bond_009
ec70f3ac75
Fix plugin installation and correct api behaviour
...
The `/Packages/{Name}` endpoint would return a package that had either
the corrent name or the correct guid. In reality it shoud check if both
are correct.
5 years ago
Bond_009
6a6bfa6da9
Fix possible nullref when updating packages
5 years ago
Bond-009
126165080b
Doc improvements
5 years ago
Bond-009
983d38a43b
Merge branch 'master' into installationmanager
5 years ago
dkanada
3bfb36a67d
Merge pull request #1915 from Bond-009/hex
...
Rewrite hex encoder/decoder
5 years ago
Bond_009
81c135c5bb
Fix PR issues
5 years ago
Bond_009
d529f81cd9
Improve IInstallationManager interface
5 years ago
Bond_009
5e0858d13f
Fix xml docs
5 years ago
Bond_009
3f7836d9eb
Update deps and add MultiThreading analyzer
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
5 years ago
Bond_009
06d420f743
Fix plugin installation
5 years ago
Bond-009
6f17a0b7af
Remove legacy auth code ( #1677 )
...
* 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
5 years ago
Bond_009
7243689215
Minor improvements
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
Bond_009
ecb8d8991b
Fix whitespace
5 years ago
Bond_009
65a0ca2f32
Improvements to InstallationManager
5 years ago
Joshua Boniface
754e76a61b
Add TODO to remove string target
6 years ago
Joshua Boniface
09505e0988
Apply review feedback
...
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.
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
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
Claus Vium
406fb045c2
Change logging to match the action
6 years ago
Claus Vium
32992b6143
Add extra linebreak
6 years ago
Claus Vium
da169dddb5
Remove DLL support and require all packages/plugins to be zip archives
6 years ago
Joshua Boniface
2f4a00d322
Add support for ZIP plugin archives
...
Most code from @cvium. Also removes the lazy and ill-conceived GUID-
based checksumming, which just died with ZIP archives.
6 years ago
Bond-009
cb1ff69585
Fix build error
6 years ago
dkanada
7e3c45c917
fix build errors and update plugin manifest location
6 years ago
Bond_009
5ac6d0ae59
Fix more warnings
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
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.
6 years ago
Erwin de Haan
49b61f238e
Merge branch 'dev' into reformat
...
# 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
6 years ago
cvium
e5ffa45dbe
more descriptive TODO
6 years ago
Claus Vium
eca3c099d9
removed a bunch of validation, security, registration, premiere, whatever bs
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
d655283ef0
Visual Studio Reformat: Emby.Server.Implementations Part U-U & Root
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Erwin de Haan
ec1f5dc317
Mayor code cleanup
...
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.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Bond_009
a997bb609f
Remove unnecessary using statements
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago
Bond_009
a1b96a3135
Clean up HttpClientManager, LiveTvManager and InstallationManager
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Vasily
86f6b817fc
Replaced mb3admin.com phoning home with a stub mb3admin.local
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
060215143f
improve httpclient resource disposal
7 years ago
Luke Pulverenti
983b51e083
reduce socket activity
7 years ago
Luke Pulverenti
49b799adbe
3.2.30.8
7 years ago
Luke Pulverenti
e441e2f53d
update active recordings
7 years ago
Luke Pulverenti
636943be4b
shorten package cache time
7 years ago
Luke Pulverenti
2e5db767f3
3.2.28.2
7 years ago
Luke Pulverenti
f4765a87cc
update m3u tuner
7 years ago
Luke Pulverenti
1ad990ad72
update live tv data transfer
7 years ago
Luke Pulverenti
24d91d9363
update image inheritance
7 years ago
Luke Pulverenti
1e5c3db9eb
support individual library refreshing
7 years ago
Luke Pulverenti
992ad9c2d9
fix plugin uninstall
8 years ago
Luke Pulverenti
5babf40023
update plugin uninstall
8 years ago
Luke Pulverenti
696a6b34ea
improve smb support
8 years ago
Luke Pulverenti
34c5aab607
3.2.12.2
8 years ago