Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Bond_009
5265b3eee7
Replace PBKDF2-SHA1 with PBKDF2-SHA512
...
This also migrates already created passwords on login
Source for the number of iterations:
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
3 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
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
5 years ago
Bond_009
f47ad85011
Fix warnings MediaBrowser.Model
5 years ago
Bond_009
fef35d0505
Add clearer exceptions, warnings and docs
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
efc4805233
Fix login
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
0f897589ed
Streamline authentication proccess
5 years ago
Bond_009
defc5f1cf9
Force LF line endings
6 years ago
Phallacy
8f4895e8a5
more fixes for perf and style
6 years ago
Bond-009
c31b0b311b
Apply suggestions from code review
...
more minor fixes before I do larger fixes
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
bef665be36
Minor fixes to address style issues
6 years ago
Phallacy
2c26517172
minor style fixes
6 years ago
Phallacy
6bbb968b57
minor changes and return to netstandard
6 years ago
Phallacy
48e7274d37
added justaman notes, fixed new bug from emty has removals
6 years ago
Phallacy
77602aff88
Minor fixes re:PR870, added null checks from PR876
6 years ago
Phallacy
05bbf71b6d
sha256 with salt auth and sha1 interop
6 years ago
Phallacy
4519ce26e2
Upgrade crypto provider, retarget better framework
6 years ago
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
6 years ago
Erwin de Haan
382e8699a2
EditorConfig reformat: MediaBrowser.Model
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
a8b340cbb2
update portable projects
8 years ago
Luke Pulverenti
f52373609e
move classes to portable project
8 years ago
Luke Pulverenti
b76a1abda5
move classes to portable server lib
8 years ago
Luke Pulverenti
31c8c3bf7f
make open subtitle project portable
8 years ago
Luke Pulverenti
07791d46a5
rework scheduled tasks in preparation of common project going portable
8 years ago