Commit Graph

105 Commits

Author SHA1 Message Date
Greenback
d9aaba36ec Copy previous plugin settings if they don't exist. 2020-12-16 23:19:09 +00:00
Greenback
6d3e1d6b57 Small Optimization 2020-12-16 19:37:23 +00:00
Greenback
5323887540 Replaced TryGetPlugin with GetPlugin 2020-12-15 20:27:42 +00:00
Greenback
eb2439f23b Changes as recommended. 2020-12-15 16:37:11 +00:00
Greenback
fbb20ebef6 Plugin setting migration to folders. 2020-12-15 00:42:59 +00:00
Greenback
7986465cf7 Initial upload 2020-12-14 16:14:39 +00:00
BaronGreenback
cab78f40b3
[Fix] Possible null reference. (#4585)
Fix possible null reference.
2020-11-28 15:44:14 +01:00
BaronGreenback
47f3bb33f9
Update BasePlugin.cs 2020-11-20 09:03:11 +00:00
BaronGreenback
9c3e484c0e
Update BasePlugin.cs 2020-11-19 18:14:38 +00:00
BaronGreenback
ef05485243
Merge branch 'master' into PluginConfigSave 2020-11-19 09:04:49 +00:00
BaronGreenback
3ffdcfdb80
Update BasePlugin.cs 2020-11-19 09:03:03 +00:00
crobibero
d608ab8042 Fix null reference when saving plugin configuration 2020-11-18 09:29:18 -07:00
Bond-009
331c7f8481
Merge pull request #4253 from BaronGreenback/fordiscussion
DI in plugins
2020-11-15 13:29:04 +01:00
BaronGreenback
51996cd34d
Update BasePlugin.cs 2020-11-11 19:04:22 +00:00
BaronGreenback
957b5df0f0
Update MediaBrowser.Common/Plugins/IPluginServiceRegistrator.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:26:06 +00:00
BaronGreenback
429de72443
Update MediaBrowser.Common/Plugins/BasePlugin.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-11-09 11:25:42 +00:00
crobibero
73f923c8d5 Use class instead of struct 2020-11-08 09:31:53 -07:00
BaronGreenback
38da2ee26e
Merge branch 'master' into update-plugin 2020-10-17 09:47:20 +01:00
BaronGreenback
be4e5eff9c
Update BasePlugin.cs 2020-10-16 14:58:37 +01:00
BaronGreenback
257acbc2c9
Update BasePlugin.cs 2020-10-12 20:33:08 +01:00
BaronGreenback
53bea919d0
Update IPluginServiceRegistrator.cs 2020-10-12 07:51:09 +01:00
BaronGreenback
f7cc2f785c
Rename IPluginRegistrar.cs to IPluginServiceRegistrator.cs 2020-10-12 07:48:53 +01:00
BaronGreenback
ae8a3bc02c
Update MediaBrowser.Common/Plugins/IPluginRegistrar.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2020-10-11 23:49:34 +01:00
Cody Robibero
ee976bb47a
Update MediaBrowser.Common/Plugins/LocalPlugin.cs
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-10-11 15:27:11 -06:00
BaronGreenback
d31178ab4b
Update BasePlugin.cs 2020-10-11 20:00:46 +01:00
BaronGreenback
7e939fa2cb
Update BasePlugin.cs
Plugins supporting di cannot be unloaded.
2020-10-11 19:56:05 +01:00
BaronGreenback
85d36a55a1
Update BasePlugin.cs
Removed trailing spaces
2020-10-11 18:26:59 +01:00
BaronGreenback
8c0748b677
Update BasePlugin.cs
Added ConfigurationChanged event.
2020-10-11 16:41:30 +01:00
Greenback
0b73a1d90f Added extra functionality to support registrar. 2020-10-11 13:19:14 +01:00
BaronGreenback
dff2674b27
Update BasePlugin.cs 2020-10-01 20:42:48 +01:00
BaronGreenback
a69731b5e3
Update BasePlugin.cs
Moved initialisation ApplicationHost.cs /LoadPlugin()
2020-10-01 20:30:12 +01:00
crobibero
53d8023def Update all on-disk plugins 2020-09-30 17:37:30 -06:00
Patrick Barron
a77cf53573 Allow plugins to register services. 2020-08-16 17:25:14 -04:00
Neil Burrows
0bab57ebbc Wrapping long line on function parameters (take 2) 2020-06-22 11:56:18 +01:00
Neil Burrows
966ebfaf68 Wrapping long line on function parameters 2020-06-22 11:53:15 +01:00
Neil Burrows
c20400fa40 Prevent system plugins from being uninstalled 2020-06-22 10:13:28 +01:00
dkanada
bd55bdb4e3 merge branch master into plugin 2020-04-11 20:10:16 +09:00
dkanada
974a04c129 update plugin classes for nightly builds 2020-02-26 01:58:39 +09:00
Bond_009
07cc4be6a7 Fix some warnings
* 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-23 12:11:43 +01:00
Bond-009
137db45fc7
Apply suggestions from code review
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-12-19 22:01:05 +01:00
Bond_009
2ef4ffd698 More warnings (removed) 2019-12-11 00:13:57 +01:00
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.
2019-10-09 17:14:15 +02:00
Erwin de Haan
65bd052f3e ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Erwin de Haan
a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Erwin de Haan
ba610b5094 Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Erwin de Haan
51ed47f4c4 EditorConfig reformat: Emby.XmlTv, Jellyfin.Server. MediaBrowser.Api, MediaBrowser.Common 2019-01-13 20:30:41 +01:00
Erwin de Haan
106d1d18ed Visual Studio Reformat: MediaBrowser.Common 2019-01-13 20:25:11 +01:00
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.
2019-01-10 20:38:53 +01:00
Andrew Rabert
a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00