Commit Graph

801 Commits

Author SHA1 Message Date
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
Claus Vium
d046c4f5f2 reenable udpserver for server discovery in apps etc. (#349) 2019-01-01 14:32:15 +03:00
Bond_009
4c95aee52e Fix logging in XmlTvListingsProvider 2018-12-30 22:49:09 +01:00
Bond_009
bbe2ca412b Fix build error 2018-12-30 22:44:39 +01:00
Bond_009
88aa5da354 Fix build due to rebase 2018-12-30 22:44:39 +01:00
Bond_009
b1ccd6bad9 Fix build post GPL change 2018-12-30 22:44:39 +01:00
Bond_009
79d18cf5a5 Clean up some catch statements 2018-12-30 22:44:39 +01:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
bf01918659 Clean up 2018-12-30 22:44:38 +01:00
Bond_009
0c1b9d3bff Rebase 2018-12-30 22:44:38 +01:00
Bond_009
a8fde5e89c Readded some stuff 2018-12-30 22:44:38 +01:00
Bond_009
88f5471fe3 Pls stop crashing 2018-12-30 22:44:38 +01:00
Bond_009
b7ebb67cbb Remove the need for NullLogger 2018-12-30 22:44:38 +01:00
Bond_009
3d3ec3588b Mark where ILogger is being set to null 2018-12-30 22:44:38 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Bond_009
f31457a457 Final cleanup 2018-12-30 20:21:48 +01:00
Bond_009
9ff45cf969 Some voodoo magic to stop a crash 2018-12-30 18:30:29 +01:00
Bond_009
589aa2416a Clean up XmlTvListeningProvider 2018-12-30 18:21:49 +01:00
Bond_009
baa2afb61e Restore latest version
Source: 30baa15839/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
2018-12-30 17:56:47 +01:00
Bond_009
6ebb00549b Add missing XmlTvListingsProvider
Added from e679ac4224/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
2018-12-30 17:42:54 +01:00
Bond_009
76d3f60f06 Fix NullRefException 2018-12-30 15:27:31 +01:00
Bond_009
69cf9e8fc4 Give more info on error 2018-12-30 13:18:38 +01:00
Joshua M. Boniface
64a1a7560e Merge branch 'dev' into fix-issue-320 2018-12-29 19:39:05 -05:00
Erwin de Haan
9c1c29325d Added extra extension method that create a new instance of the destination object. 2018-12-30 01:25:42 +01:00
Erwin de Haan
de7fcaadb3 Fixed #320 by adding an extension method to BaseItem to make a deep copy of an object. 2018-12-30 01:12:33 +01:00
Bond_009
ab8df3741d Fixes possible NullReferenceException 2018-12-29 17:26:36 +01:00
Flemming Thesbjerg
a91a28c408 re-adds wan ip on dashboard by requesting it from http://ipv4.icanhazip.com 2018-12-29 01:48:31 +01:00
Andrew Rabert
9c49e936f0 Merge pull request #288 from Bond-009/toarray
Remove custom ToArray extension
2018-12-28 16:33:42 -05:00
Andrew Rabert
c2a6a2119a Disable plugin updates
It would always fail since Jellyfin has no plugin repository to check
against.
2018-12-28 15:57:33 -05:00
Bond_009
6e5d2aadaa Remove custom ToArray extension 2018-12-28 16:48:26 +01:00
Andrew Rabert
a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
Andrew Rabert
9bac3ac616 Reformat JSON using JQ with sorted keys
cat "$f" | jq -S | sponge "$f"
2018-12-25 12:10:08 -05:00
Bond_009
22093c9e8f Removed some warnings 2018-12-16 00:49:18 +01:00
Joshua M. Boniface
161f0233b5 Merge pull request #181 from Bond-009/firebase
Fix resource load crash
2018-12-15 16:26:11 -05:00
Bond_009
088da6c5e3 Replace Emby with Jellyfin in the translations 2018-12-15 20:13:25 +01:00
Bond_009
7792a9a9af Fix resource load crash 2018-12-15 16:33:20 +01:00
Mathieu Velten
1d7d52ff9e Port MediaEncoding and Api.Playback from 10e57ce8d21b4516733894075001819f3cd6db6b 2018-12-14 17:32:54 +01:00