Commit Graph

64 Commits

Author SHA1 Message Date
Bond-009
7d28d08e08
Enable more warnings as errors (#11288) 2024-04-12 17:45:01 -06:00
Bond_009
b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +01:00
Bond_009
afc195286f Start adding IDisposableAnalyzers to projects 2023-09-23 15:15:58 +02:00
Bond_009
767a42fbdb Minor LibraryMonitor improvements
* Enable nullable
* Add a fast return to ReportFileSystemChanged when path should be ignored
* Use Span overloads of Path.* functions where possible
* IFileSystem: remove NormalizePath as Path.TrimEndingDirectorySeparator already checks if it's a root path
2023-09-13 17:30:50 +02:00
Bond-009
84643e328d
Reduce the amount of allocations in GetWhereClauses (#10114) 2023-08-21 18:38:32 +02:00
Bond_009
b5f0760db8 Use RegexGenerator where possible 2023-06-28 17:07:57 +02:00
Bond-009
769c48c629
Deduplicate media stream ordering code (#9014) 2023-01-07 11:30:55 -07:00
Bond-009
69a51c425a
Fix all warnings in Jellyfin.Api (#9003) 2023-01-04 08:01:31 -07:00
Bond-009
210a4921f2
Fix some warnings and only disable TreatWarningsAsErrors for CodeAnalysis (#8709) 2022-12-05 13:54:28 +01:00
Bond_009
f6af28cf96 Fix some things that slipped through the cracks 2022-10-11 23:37:29 +02:00
Bond-009
2d57e71b44
Don't allow throwing System.Exception (#8378) 2022-09-11 17:56:41 -06:00
Bond_009
5732e6188c Fix some warnings 2022-02-15 18:59:46 +01:00
Bond_009
2dcb2f8a9f Ban the usage of Task.Result
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-22 16:48:31 +01:00
Bond_009
05836c8cd3 Fix warning SA1414 and CA1849 2022-01-10 10:57:32 +01:00
Bond_009
77c615ba42 Error on SA1316 2022-01-05 10:58:57 +01:00
Bond_009
cbfa355e31 Update StyleCop 2021-12-24 18:28:27 +01:00
Bond_009
257e1be95f Fix some warnings 2021-11-16 16:31:57 +01:00
Bond_009
474b035d99 Fix some warnings 2021-11-15 15:57:07 +01:00
Bond_009
1d19a5be61 Fix some warnings
down to 580
2021-11-09 22:29:33 +01:00
Bond_009
5726535a26 Fix some warnings
609 left
2021-11-09 13:14:31 +01:00
Bond_009
0d16c48998 Fix some warnings 2021-09-09 15:59:13 +02:00
Bond_009
637e86478f Fix some warnings 2021-09-03 19:32:11 +02:00
Bond_009
cf061f7563 MediaBrowser.Providers: Remove some warnings 2021-06-27 02:00:27 +02:00
Bond_009
0bc0601442 Fix some warnings 2021-05-28 14:33:54 +02:00
Bond-009
c64bdbb4ff
Merge pull request #6051 from Bond-009/tests7
Add tests for Recordinghelper
2021-05-18 00:05:33 +02:00
Bond_009
a9f44c21eb Add tests for Recordinghelper 2021-05-16 01:24:49 +02:00
Bond_009
42be818a09 Fully disable stupid rules 2021-05-15 20:38:29 +02:00
Bond_009
5fc664fd4f Add test for handling dangling symlinks 2021-04-11 00:35:32 +02:00
Bond_009
9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
Bond_009
141efafd3d Enable TreatWarningsAsErrors for MediaBrowser.Model 2021-02-20 23:29:33 +01:00
Bond_009
e9f22303a4 Properly forward cancellationTokens 2021-02-15 14:19:17 +01:00
Bond_009
bad516d473 Disable broken rule 2020-12-28 15:32:50 +01:00
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17 2020-03-11 20:26:43 +01:00
Bond_009
29cee00d2d Address comments 2020-03-11 16:36:55 +01:00
Bond_009
a2f955e2eb Fix formatting 2020-02-23 12:22:48 +01: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
91707f13a8 Add endpoints back 2020-02-04 12:29:14 +01:00
Vasily
dd7feacd34
Merge pull request #2105 from Bond-009/namingtests
Add back all old emby tests
2020-01-11 02:11:13 +03:00
Bond_009
b50c4938e1 Merge branch 'master' into namingtests 2020-01-09 18:26:22 +01:00
Mark Monteiro
3924df9c51 Move CA1032 rule to correct location 2019-12-14 23:35:28 +01:00
Mark Monteiro
47805d89fe Set CA1032 (Implement standard exception constructors) severity to info globally
This replaces the existing [SurpressMessage] attribute
2019-12-14 16:01:24 +01:00
Bond_009
2ef4ffd698 More warnings (removed) 2019-12-11 00:13:57 +01:00
Bond_009
35151553e3 Add back all old emby tests 2019-12-06 20:41:39 +01:00
Vasily
c45d54efb2
Merge pull request #1942 from Bond-009/nullable
Enable nullable reference types for Jellyfin.Server
2019-11-27 11:48:41 +03:00
Bond_009
28df726c33 Disable CA1720: Identifiers should not contain type names 2019-11-01 18:45:16 +01:00
Bond_009
3f7836d9eb Update deps and add MultiThreading analyzer 2019-11-01 17:55:44 +01:00
Bond_009
2702dca8b6 Enable nullable reference types for Jellyfin.Server 2019-10-26 23:58:23 +02:00
Bond_009
416155c35f Ignore warning SA1108 2019-10-04 20:21:47 +02:00
Bond_009
0cd2bfc428 Ignore warning CA1308 2019-10-04 19:55:14 +02:00
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
2019-08-11 15:54:58 +02:00