Bond_009
bbc0875387
Don't shuffle some types by default
5 years ago
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
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
221b831bb2
Reset invalid login counter on successfull login
5 years ago
Joshua Boniface
baa30b41de
Add debug logs and try/catch when creating folder
5 years ago
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* Fix warnings, improve performance
`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)
* Update Providers .csproj to latest C#
* Remove extra newline from DtoService.cs
* Remove extra newline from UserLibraryService.cs
5 years ago
Bond_009
efc4805233
Fix login
5 years ago
Bond_009
24fac4b191
Fix UserNotFoundError
5 years ago
Bond_009
8d3b5c851d
Improvements to UserManager
5 years ago
Joshua M. Boniface
a96fa7a5c7
Merge pull request #1397 from Bond-009/passfast
...
Streamline authentication proccess
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
ab7ef9c9cb
Fix style issues
5 years ago
Bond_009
0f897589ed
Streamline authentication proccess
5 years ago
dkanada
9e9952d81f
Merge pull request #1247 from bugfixin/master
...
Adjust detection of 'sample' in filenames to use regex boundaries
5 years ago
Bond_009
d961278b3d
Reduce amount of raw sql
5 years ago
Joshua M. Boniface
687255aa31
Merge pull request #1442 from jellyfin/release-10.3.z
...
Backmerge for Release 10.3.4 and 10.3.5
6 years ago
Joshua M. Boniface
2946ae1009
Revert "Don't set a default reset provider"
...
This reverts commit c230d49d7c
.
This reenables an edge case where an admin might want to reset, with
the default auth provider, the password of an externally-provided
user so they could "unlock" the account while it was failing. There
might be minor security implications to this, but the malicious
actor would need FS access to do it (as they would with any password
resets) so it's probably best to keep it as-is.
Removing this in the first place was due to a misunderstanding
anyways so no harm.
6 years ago
Joshua M. Boniface
4b8f735cb8
Remove superfluous conditional
...
This wasn't needed to prevent updating the policy on-disk from my
tests and can be removed as suggested by @Bond-009
6 years ago
Joshua M. Boniface
c230d49d7c
Don't set a default reset provider
6 years ago
Joshua M. Boniface
20e2cb2d86
Use SecurityException for auth failure
6 years ago
Joshua M. Boniface
b70083f3b3
Apply suggestions from code review
...
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
Co-Authored-By: Bond-009 <bond.009@outlook.com>
6 years ago
Joshua M. Boniface
74ef389879
Add nicer log message and comment
6 years ago
Joshua M. Boniface
d78a55adb4
Implement InvalidAuthProvider
...
Implements the InvalidAuthProvider, which acts as a fallback if a
configured authentication provider, e.g. LDAP, is unavailable due
to a load failure or removal. Until the user or the authentication
plugin is corrected, this will cause users with the missing provider
to be locked out, while throwing errors in the logs about the issue.
Fixes #1445 part 2
6 years ago
Bond-009
a6f9ceedd8
Fix more warnings
6 years ago
DrPandemic
69ee49bee6
Format correctly the PIN when updating it
6 years ago
Bond-009
2d011b781e
Merge pull request #1383 from jellyfin/release-10.3.z
...
Backmerge for Release 10.3.3
6 years ago
DrPandemic
c22068d6b1
Fix pin bug introduced in 10.3.z.
...
The issue is that the new easyPassword format prepends the hash
function. This PR extract the hash from "$SHA1$_hash_".
6 years ago
Bond-009
35d7e97258
Ignore casing photo extensions
6 years ago
bugfixin
1df73fdeba
Fix incorrect hasPassword flag when easy pin set
6 years ago
bugfixin
da842d5a73
Fix incorrect escaping in regex pattern
6 years ago
bugfixin
0794a3edf4
Adjust detection of 'sample' in filenames to use regex boundaries
6 years ago
Joshua Boniface
1af9c047fb
Override username with AuthenticationProvider
...
Pass back the Username directive returned by an AuthenticationProvider
to the calling code, so we may override the user-provided Username
value if the authentication provider passes this back. Useful for
instance in an LDAP scenario where what the user types may not
necessarily be the "username" that is mapped in the system, e.g.
the user providing 'mail' while 'uid' is the "username" value.
Could also then be extensible to other authentication providers
as well, should they wish to do a similar thing.
6 years ago
Joshua Boniface
f0fbd0232c
Correct bad quote characters
6 years ago
LogicalPhallacy
13e94a8b1b
Remove dashes from pins
6 years ago
Phallacy
2d396cb589
adds readonly to properties
6 years ago
Phallacy
b56031b9f3
fix byte string
6 years ago
Phallacy
48b50a22a4
switched to a hexa string with crypto random backing
6 years ago
Phallacy
5e8496bc59
minor fixes and usings
6 years ago
Bond-009
b07c146fd9
Update Emby.Server.Implementations/Library/DefaultPasswordResetProvider.cs
...
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
6be8624373
async improvements and post reset cleanups
6 years ago
LogicalPhallacy
740c95d557
Apply minor suggestions from code review
...
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
86772bd7bd
removes needless dictionary
6 years ago
Claus Vium
4e2841f0d7
Update Emby.Server.Implementations/Library/UserManager.cs
...
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
26fe4040bf
fixes some usings
6 years ago
Phallacy
758e35baba
greaterthen/lessthen reversal fix
6 years ago
Phallacy
09921a00aa
made password resets an interface and per user
6 years ago
Phallacy
80aedcd7e2
really fixed line endings
6 years ago
Phallacy
fc28c9237c
fixed line endings
6 years ago
Phallacy
b04200ca68
adding regex fix
6 years ago
Joshua M. Boniface
e3dbed1c1a
Update Emby.Server.Implementations/Library/UserManager.cs
...
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
7f0fa74467
updated regex to string literal with escaped -
6 years ago
LogicalPhallacy
9df1506794
Merge pull request #2 from LogicalPhallacy/master
...
update lockoutfix to latest for testing
6 years ago
LogicalPhallacy
2d0844b5db
Merge pull request #1 from jellyfin/master
...
merging myself to latest
6 years ago
Phallacy
1ee016c997
configurable user lockout
6 years ago
Phallacy
221389089c
quick fix for auth bug
6 years ago
Bond-009
bf43dc00bb
More warning fixes
6 years ago
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
6 years ago
Bond-009
f486f5966f
Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
...
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
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
edba82db37
fixed logic flip in auth empty check and fixed crypto algo choice
6 years ago
Phallacy
098de6b050
made newlines into linux newlines
6 years ago
Phallacy
a0d31a49a0
merging with master to clear merge conflict
6 years ago
Phallacy
6bbb968b57
minor changes and return to netstandard
6 years ago
Joshua M. Boniface
89d4ce309d
Merge pull request #848 from Bond-009/perf
...
Minor changes to reduce allocations
6 years ago
Phallacy
48e7274d37
added justaman notes, fixed new bug from emty has removals
6 years ago
LogicalPhallacy
9f3aa2cead
Apply suggestions from code review
...
Adding minor stylistic suggestions from Bond-009
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Bond-009
4811e76860
Merge branch 'master' into perf
6 years ago
Bond-009
bdfd042d70
Merge branch 'master' into fields
6 years ago
Claus Vium
21f0a7e020
Make all class implementing dynamically loaded interfaces public
6 years ago
Claus Vium
d8e6808d77
Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
...
fix to styling
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Claus Vium
9e58e31de0
Update Emby.Server.Implementations/Library/DefaultAuthenticationProvider.cs
...
fix to styling
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>
6 years ago
Phallacy
77602aff88
Minor fixes re:PR870, added null checks from PR876
6 years ago
Phallacy
1ffd443d5a
fixed nul user check to be first per justaman
6 years ago
Bond_009
3e6819c718
Don't clone lists
6 years ago
Bond_009
41fb1e5106
Tuple -> ValueTuple
6 years ago
Bond_009
64d5ec12e2
Use HashSets for increased perf
6 years ago
Phallacy
05bbf71b6d
sha256 with salt auth and sha1 interop
6 years ago
LogicalPhallacy
8bf88f4cb2
Merge pull request #9 from jellyfin/master
...
Yanking in latest changes
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Bond_009
70c85925af
Move some arrays to generics
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Vasily
0b3e6548db
Merge pull request #797 from Bond-009/warnings
...
Fix all warnings
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Joshua M. Boniface
56dcc45dc0
Merge pull request #732 from Bond-009/locale
...
Reworked LocalizationManager to load data async
6 years ago
Bond-009
78e4e2ed92
Fix all warnings
6 years ago
Joshua M. Boniface
c713824bf9
Merge pull request #734 from Bond-009/culture
...
Fix more analyzer warnings
6 years ago
Claus Vium
8985fb8d58
Remove support for games as a media type
6 years ago
Claus Vium
f7a46c7a56
Remove more Connect related stuff
6 years ago
Bond-009
2a1f6361a5
Merge branch 'master' into locale
6 years ago
Phallacy
4519ce26e2
Upgrade crypto provider, retarget better framework
6 years ago
Bond-009
1ea219bf3f
Merge branch 'master' into culture
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
ffe79c8982
Check if file exists instead of catching exceptions
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
Bond_009
a709cbdc64
Fix more analyzer warnings
6 years ago