Commit Graph

837 Commits

Author SHA1 Message Date
Andrew Rabert
55538764fa Merge pull request #575 from EraYaN/reformat
Reformat all C# server code to conform with code standards
2019-01-19 15:11:50 -05:00
Erwin de Haan
c5430f86b0 Fixed csproj and xml identation. 2019-01-19 15:01:16 +01:00
Erwin de Haan
e63b18f17d Reformat JustAMan review second pass changes. 2019-01-19 14:30:23 +01:00
Erwin de Haan
d116efe1f7 Merge branch 'dev' into reformat 2019-01-18 17:04:01 +01:00
Andrew Rabert
e9e152d2fc Adapt SwaggerService for Jellyfin 2019-01-18 00:55:33 -05:00
Andrew Rabert
cfd5d1a4f2 Restore SwaggerService from 7aa573d4e0fc231932ad3da4cdf15199cf97709a 2019-01-18 00:40:33 -05:00
Erwin de Haan
321c440739 Reformat JustAMan review pt1 changes
Refs #575
2019-01-17 20:24:01 +01:00
Bond-009
d0980f0da5 Update HttpListenerHost.cs 2019-01-16 19:13:13 +01:00
Bond-009
900dc851e6 Merge branch 'dev' into cleanup 2019-01-16 19:10:42 +01:00
Erwin de Haan
a358631040 Extra formatting on the merged code. 2019-01-15 17:35:33 +01:00
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
2019-01-15 17:34:39 +01:00
cvium
e5ffa45dbe more descriptive TODO 2019-01-15 16:48:21 +01:00
cvium
22a64f37f5 More cleaning 2019-01-15 16:48:21 +01:00
cvium
0e422a33d6 Some code style clean up 2019-01-15 16:48:21 +01:00
Claus Vium
256e6dc195 removed more dead code 2019-01-15 16:48:21 +01:00
hawken
19319e8eb6 Remove MBLicenseFile 2019-01-15 16:48:21 +01:00
Claus Vium
eca3c099d9 removed a bunch of validation, security, registration, premiere, whatever bs 2019-01-15 16:48:21 +01:00
Erwin de Haan
9d0a08571e Merge branch 'dev' into reformat 2019-01-13 21:59:37 +01:00
Joshua M. Boniface
f8dd182e42 Merge pull request #562 from hawken93/misc_fix
Fix error with uppercase photo extension and fix typo in a log line
2019-01-13 15:49:05 -05:00
Erwin de Haan
23f5c1d90b ReSharper format: 'out' parameter inlining 2019-01-13 21:48:18 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01: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
089ad8e7c2 Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt 2019-01-13 21:10:15 +01:00
Erwin de Haan
e566d9a231 Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv 2019-01-13 20:54:44 +01:00
Erwin de Haan
742bef5b5f EditorConfig reformat: Non-CS files. 2019-01-13 20:45:51 +01:00
Erwin de Haan
5b3d8a6d76 EditorConfig reformat: Emby.IsoMounting, Emby.Server.Implementations 2019-01-13 20:30:03 +01:00
Erwin de Haan
d655283ef0 Visual Studio Reformat: Emby.Server.Implementations Part U-U & Root 2019-01-13 20:23:38 +01:00
Erwin de Haan
25f0315e91 Visual Studio Reformat: Emby.Server.Implementations Part T-T 2019-01-13 20:22:56 +01:00
Erwin de Haan
0efc699e3d Visual Studio Reformat: Emby.Server.Implementations Part S-S 2019-01-13 20:22:24 +01:00
Erwin de Haan
39ef1106d7 Visual Studio Reformat: Emby.Server.Implementations Part Liv-P 2019-01-13 20:22:00 +01:00
Erwin de Haan
58b582bdcb Visual Studio Reformat: Emby.Server.Implementations Part I-Lib 2019-01-13 20:21:32 +01:00
Erwin de Haan
c5c7a3c4ee Visual Studio Reformat: Emby.Server.Implementations Part De-H 2019-01-13 20:20:41 +01:00
Erwin de Haan
a5288115a8 Visual Studio Reformat: Emby.Server.Implementations Part A-Da 2019-01-13 20:20:16 +01:00
Joshua M. Boniface
9dcaafe700 Merge pull request #458 from EraYaN/code-cleanup
Clean up several minor issues and add TODOs
2019-01-13 12:14:53 -05:00
hawken
c8e3c1737a Fix small logging typo with the "name (path) will be refreshed" message 2019-01-13 11:59:24 +00:00
Erwin de Haan
e9519de07d Fixed removed start tag of XMLComment. 2019-01-12 22:54:47 +01:00
Erwin de Haan
846456b41e Reformatted the files with notes. 2019-01-12 21:41:08 +01:00
Joshua M. Boniface
016bad1ea3 Merge pull request #556 from grafixeyehero/dev
Fix "Password Reset by PIN" page
2019-01-12 13:44:09 -05:00
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Joshua M. Boniface
15c89d281e Merge pull request #506 from hawken93/linting
Removing tabs and trailing whitespace
2019-01-10 19:54:18 -05:00
grafixeyehero
9659decef0 fix the forgotpasswordpin
fix passwordreset.txt print
2019-01-11 01:15:00 +03: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
3d867c2c46 Merge pull request #516 from Bond-009/env
Remove useless properties from IEnvironmentInfo
2019-01-09 22:08:58 -05:00
Joshua M. Boniface
9156b21714 Merge pull request #493 from Bond-009/values
Remove unused resource
2019-01-08 18:04:12 -05:00
Bond_009
f520ddc966 Remove useless properties from IEnvironmentInfo 2019-01-08 17:35:56 +01:00
hawken
bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
hawken
ba1794f64b Remove tabs and trailing whitespace 2019-01-07 23:24:34 +00:00
hawken
82a801c9ae Some less obvious ones that I was told were there 2019-01-07 21:29:59 +00:00
Bond_009
672e635742 Remove unused resource 2019-01-07 18:39:35 +01:00
Andrew Rabert
edfc3cb8c6 Merge pull request #437 from cvium/remove_run_at_startup
Remove AutoRunAtStartup
2019-01-06 18:31:20 -05:00
Andrew Rabert
12112ea25d Remove more news 2019-01-06 17:52:51 -05:00
Bond_009
07a8e49c4b Cleanup some small things 2019-01-06 20:35:36 +01:00
Bond_009
c07d5a6963 Remove unused PowerManagement
It isn't up to the application to prevent the system from going to sleep
2019-01-06 12:55:48 +01:00
Joshua M. Boniface
7630e58218 Merge pull request #428 from Bond-009/config
Make config path configurable
2019-01-05 20:10:16 -05:00
Ben Fayers
b39585cbf6 Change "who is EmbyServer?" and other udp responders to jellyfin alternatives. (#400)
* replace emby server udp responders with Jellyfin responders

* remove unnecessary second udp responder

* readdemby listener

* use false instead of true dunni why but it was like that sooo
2019-01-05 19:21:20 -05:00
Vasily
73c6a3f29a Merge pull request #409 from Bond-009/fix254
[Fix #254] Fix nullrefexception in SubtitleEncoder
2019-01-06 03:09:12 +03:00
Vasily
d5d9dfd8e6 Merge pull request #390 from Bond-009/logging
Remove remaining part of old logging code
2019-01-06 02:48:16 +03:00
Anthony Lavado
f2fedb9f34 Merge pull request #383 from Bond-009/unused
Remove firebase and empty resource config file
2019-01-05 23:06:08 +00:00
cvium
bb879fff33 Remove AutoRunAtStartup 2019-01-05 23:07:06 +01:00
cvium
f911aca082 Remove RegisterServerWithAdministratorAccess 2019-01-05 22:42:10 +01:00
Bond_009
2850ff7b8a Make config path configurable 2019-01-05 20:06:22 +01:00
Vasily
f93cd97f9b Merge pull request #393 from Bond-009/removesmb
Remove support for opening files via SMB without mounting the share.

This doesn't mean you can't use a SMB share to host your files for Jellyfin. You will just have to mount the share using OS-level mechanisms.
2019-01-05 03:04:54 +03:00
Bond_009
a997bb609f Remove unnecessary using statements 2019-01-05 01:49:52 +03:00
Bond_009
391b48614d Remove FireEventIfNotNull
It's a pretty useless "helper" class
2019-01-05 01:49:52 +03:00
Andrew Rabert
e4a041b832 Merge pull request #283 from Bond-009/gpl-cleanup
Post GPL cleanup
2019-01-04 17:40:44 -05:00
Bond_009
59d8d9a82c Fix nullrefexception in SubtitleEncoder 2019-01-04 18:52:04 +01:00
Bond_009
340a2c6512 Post GPL cleanup 2019-01-03 23:19:02 +01:00
Bond_009
a640d437c8 Remove news service 2019-01-03 23:10:18 +01:00
Bond_009
6a8b94b0c7 Remove SMB support
This doesn't mean you can't use an SMB share to store your files for
Jellyfin. You will just have to connect to it on the OS level.
2019-01-03 21:54:59 +01:00
Bond_009
4875d49fa2 Remove remaining part old logging code 2019-01-03 21:25:39 +01:00
Bond_009
d2be83dc44 Don't send usage to emby 2019-01-03 20:38:36 +01:00
Joshua M. Boniface
89a3db9346 Merge pull request #286 from Bond-009/cleanup
Clean up HttpClientManager, LiveTvManager and InstallationManager
2019-01-03 14:00:16 -05:00
Bond_009
db62648510 Remove firebase and empty resource config file 2019-01-03 19:51:18 +01:00
Bond_009
3d6dac26f4 Don't dispose the object we are returning 2019-01-03 18:28:01 +01:00
Bond_009
0bbc4f8219 Figure out why it's failing 2019-01-03 18:24:26 +01:00
Bond_009
a1b96a3135 Clean up HttpClientManager, LiveTvManager and InstallationManager 2019-01-03 18:24:26 +01:00
Bond_009
8adcce5c64 DeleteLogFileTask: only delete the .txt log files 2019-01-02 20:12:24 +01:00
Andrew Rabert
0cafd7dfef Merge pull request #361 from cvium/fix_userid_type
DeviceQuery: change UserId to GUID
2019-01-02 13:15:11 -05:00
Claus Vium
1d6987c713 added todo 2019-01-02 19:13:35 +01:00
Andrew Rabert
8e7a88335d Merge pull request #371 from Bond-009/update
Remove GitHub updater and don't trow exception in release
2019-01-02 13:07:08 -05:00
Andrew Rabert
b756390887 Merge pull request #364 from Bond-009/font
Remove unused FontConfigLoader
2019-01-02 13:05:06 -05:00
Bond-009
f1bf87665f Delete PluginUpdateTask.cs 2019-01-02 18:44:19 +01:00
Bond-009
1fb975c6e7 Delete SystemUpdateTask.cs 2019-01-02 18:44:06 +01:00
Bond_009
3fa751e9bb Remove CheckForApplicationUpdate function 2019-01-02 18:13:18 +01:00
Bond_009
78dafb5399 Throw exception when calling unreachable function 2019-01-02 18:05:04 +01:00
Bond_009
36a109cb0f Disable PluginUpdateTask 2019-01-02 18:03:03 +01:00
Bond_009
7679ed037f Disable SystemUpdateTask 2019-01-02 17:54:26 +01:00
Bond_009
40563dc6cc Remove GitHub updater and don't trow exception in release 2019-01-02 17:09:40 +01:00
Bond_009
32469b3f65 Remove obsolete functions 2019-01-02 17:58:44 +03:00
Bond_009
3a65fb1da2 Remove obsolete GetMBId 2019-01-02 17:58:44 +03:00
Bond_009
ec47c5b0f7 Remove unused FontConfigLoader 2019-01-02 15:12:52 +01:00
Bond_009
6643ac3ea4 Clean up EnvironmentInfo 2019-01-02 02:45:06 +03:00
Bond_009
a445233192 Fix warning and improve performance 2019-01-02 02:35:40 +03:00
Bond_009
c99b45dbe0 Remove some warnings 2019-01-02 02:35:40 +03:00
Bond_009
cf7e365610 Fix inconsistent code style 2019-01-02 02:30:59 +03:00
Bond_009
95a5dd8810 Fix log dir 2019-01-02 02:30:59 +03:00
Bond_009
33889e5352 Remove useless string builder 2019-01-02 02:30:59 +03:00
Bond_009
a44936f97f Fix and improve logging 2019-01-02 02:30:59 +03:00
Bond_009
75efe9cf0a Rename and rework entry point 2019-01-02 02:30:59 +03:00