Patrick Barron
ab396225ea
Migrate Display Preferences to EF Core
4 years ago
Bond-009
cb193b6afd
Add support for ReadOnlySpan<char> in IgnorePatterns
4 years ago
crobibero
9772749d8f
Add more ignorepatterns and tests
4 years ago
dkanada
bb7444db07
Merge pull request #3439 from cvium/ignore_application_folders
...
Never ignore application folders
4 years ago
crobibero
9eba11379a
catch skia errors when getting image dimensions
4 years ago
Claus Vium
0f07b19ca5
Remove AllowIgnorePath
4 years ago
Claus Vium
9dee1eef83
Never ignore application folders
4 years ago
Bond-009
f75024fade
Fix scan crashed
4 years ago
telans
7f307f9082
brace multiline if statements
4 years ago
telans
8de6452967
fix some documentation periods
4 years ago
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
...
Add full stop at end of comments (SA1629)
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
9018f8d8be
Add full stop at end of comments (SA1629)
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
telans
726e116d5b
fix SA1510
4 years ago
Patrick Barron
42b4f0aa2e
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
...
Use typed logger where possible
4 years ago
Patrick Barron
fc02157b42
Fix build errors
4 years ago
Patrick Barron
7a115024aa
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# MediaBrowser.Controller/Library/ILibraryManager.cs
# MediaBrowser.Providers/Users/UserMetadataService.cs
4 years ago
Bond-009
ad5c41b542
Merge pull request #3258 from aled/2149-fix-a-small-number-of-compile-warnings-1
...
Fix a small number of compile warnings
4 years ago
crobibero
7ed5cf3dca
Force configuration paths to not be ignored.
5 years ago
aled
22a860a806
Fix a small number of compile warnings
5 years ago
Daniyar Itegulov
613748b45d
Make books resumable and have duration of 1 second
5 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Patrick Barron
06f9cde22f
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/EntryPoints/ServerEventNotifier.cs
# Emby.Server.Implementations/Library/UserManager.cs
# Emby.Server.Implementations/Sorting/IsFavoriteOrLikeComparer.cs
# Emby.Server.Implementations/Sorting/IsPlayedComparer.cs
# Emby.Server.Implementations/Sorting/IsUnplayedComparer.cs
# Emby.Server.Implementations/TV/TVSeriesManager.cs
# Jellyfin.Server.Implementations/Users/DefaultAuthenticationProvider.cs
5 years ago
Bond-009
2dbb9d4895
Fix build
5 years ago
Vasily
40502a33e0
Merge pull request #3203 from Bond-009/warn18
...
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Vasily
668e10ceb7
Merge pull request #2767 from Bond-009/nullable3
...
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Vasily
b9618c8c01
Merge pull request #2676 from GranPC/public-pr/blurhash
...
Implement Blurhash generation for images
5 years ago
Vasily
26eef1bbf8
Move logic of computing Blurhash components to ImageProcessor
...
Also rename last few instances of GetImageHash to GetImageBlurHash for clarity
5 years ago
Bond_009
4748105dce
Enable TreatWarningsAsErrors for Jellyfin.Server.Implementations in Release mode
5 years ago
Vasily
9208acd5ae
Convert non-local image to local before computing blurhash
5 years ago
Vasily
ed791dee46
Do not compute dimensions or blurhash for remote images
5 years ago
Bond_009
7439e095e2
Merge branch 'master' into nullable3
5 years ago
Vasily
edcfcadcd3
Make sure blurhash is recomputed if image changed or metadata refresh toggled
5 years ago
Vasily
6c9dc04189
Handle errors during blurhash generation so it does not fail the scan
5 years ago
Patrick Barron
eef7cfd912
Make SonarCloud less angry
5 years ago
Patrick Barron
01ce56016a
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Library/UserManager.cs
# Jellyfin.Data/Jellyfin.Data.csproj
# MediaBrowser.Api/UserService.cs
# MediaBrowser.Controller/Library/IUserManager.cs
5 years ago
Joshua M. Boniface
0be3dfe7c5
Revert "Fix emby/user/public API leaking sensitive data"
5 years ago
Vasily
29443e3681
Apply suggestions from code review
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
5 years ago
Vasily
1f83a21288
Rename Hash to BlurHash in all properties and methods for clarity
5 years ago
Vasily
8b517e9bef
Fix nullref for imageProcessor in LibraryManager
5 years ago
Patrick Barron
c464f700db
Remove redundant qualifiers
5 years ago
artiume
0efb81b21e
Add lost+found to ignore list
...
https://forum.jellyfin.org/t/library-not-loading/2086
5 years ago
Vasily
186b7f303c
More small optimizations
5 years ago
Vasily
a226a4ee03
Compute hash only when one is not computed in DB, small optimizations here and there
5 years ago
Vasily
bfb644d5f5
Fix nullref exception
5 years ago
Vasily
02da312f8a
Fix compilation after rebase
5 years ago
Jesús Higueras
fe480caf54
Add endpoint to update all items in library
5 years ago
Jesús Higueras
b9fc0d2628
Add BlurHash support to backend
5 years ago
Vasily
2d2c1d9473
Merge pull request #3099 from rigtorp/ignore-patterns
...
Use glob patterns to ignore files
5 years ago
Erik Rigtorp
f144acdc96
Use glob patterns to ignore files
5 years ago
Patrick Barron
aca7e221d8
Merge branch 'master' into userdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs
# Emby.Server.Implementations/ApplicationHost.cs
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Jellyfin.Server/Jellyfin.Server.csproj
# Jellyfin.Server/Migrations/MigrationRunner.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
5 years ago
artiume
4eb4ad3be7
Update Books Resolver File Types
5 years ago
Patrick Barron
9ad839c776
Initial migration code
5 years ago
Patrick Barron
62420a6eb1
Remove support for injecting ILogger directly
5 years ago
Bond-009
62da4d0e5c
Merge pull request #2492 from Polpetta/fix-api-private-data-leak
...
Fix emby/user/public API leaking sensitive data
5 years ago
Davide Polonio
57cf19f058
Fix variable declaration and follow sonarcloud suggestions
5 years ago
Davide Polonio
472efeeec4
Remove extra line in UserManager
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
5 years ago
Vasily
5922c35d69
Merge pull request #2920 from Bond-009/tests2
...
Add some simple tests
5 years ago
dkanada
97d7ffc458
Merge pull request #2861 from mark-monteiro/fix-auth-response-codes
...
Fix Auth Response Codes
5 years ago
Bond-009
07326c1d9b
Merge branch 'master' into fix-auth-response-codes
5 years ago
Bond_009
c430a7ed8f
Address comments
5 years ago
Mark Monteiro
bc4e72b29b
Create ApplicationHost logger correctly
5 years ago
Mark Monteiro
f815059698
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Bond_009
7f4a229cd2
Add some simple tests
5 years ago
randrey
d30fd3b3d2
Changed '\d' to '[0-9]'.
5 years ago
randrey
92f273cb0c
Limit imdbid to 8 digits.
5 years ago
randrey
d7a71cee3c
Fix imdbid regex
5 years ago
Vasily
e1fb24c9ee
Merge pull request #2830 from Bond-009/dvdlib
...
DvdLib: remove dependency on MediaBrowser.Model
5 years ago
Bond-009
bcf53b3226
Merge pull request #2746 from dafo90/master
...
Authentication request log with IP
5 years ago
Bond_009
fc049caba2
Merge branch 'master' into nullable3
5 years ago
Mark Monteiro
9c7b3850f9
Throw AuthenticationException instead of ArgumentNullException when a user does not exist
5 years ago
Mark Monteiro
53380689ad
Return correct status codes for authentication and authorization errors
...
- Use AuthenticatonException to return 401
- Use SecurityException to return 403
- Update existing throws to throw the correct exception for the circumstance
5 years ago
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
5 years ago
Bond_009
d8a7462205
DvdLib: remove dependency on MediaBrowser.Model
5 years ago
Vasily
06c5b73c15
Merge pull request #2755 from Bond-009/dbcleanup
...
Clean up SqliteItemRepository
5 years ago
dafo90
dd128b5e30
Log message for each exception during login
5 years ago
Vasily
5b59cd2eb2
Merge pull request #2696 from mark-monteiro/fix-extras
...
Display Extras With Unknown Types
5 years ago
dafo90
62b0db59aa
Fix Authentication request log
5 years ago
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
5 years ago
Mark Monteiro
615717e562
Register and construct IUserDataManager and IUserDataRepository correctly
5 years ago
Mark Monteiro
4daa5436fc
Register and construct IUserManager and IUserRepository correctly
5 years ago
Mark Monteiro
fe9f4e06d1
Register and construct LibraryManager correctly
5 years ago
Mark Monteiro
7fd25f94f3
Inject and construct ISearchEngine and IMusicManager correctly
5 years ago
Mark Monteiro
573da63d41
Register and construct IMediaSourceManager correctly
5 years ago
Bond_009
8e7b15285e
Clean up SqliteItemRepository
5 years ago
Didier Dafond
2fb9e36493
Authentication request log with IP
5 years ago
Mark Monteiro
34204046dd
Remove duplicate array of extras directory names
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Mark Monteiro
b67e9cde8c
Replace ILogger with ILogger<T> wherever possible
...
Log entries will contain additional class context when using this interface
5 years ago
Bond-009
464039043d
Merge pull request #2491 from mark-monteiro/2425-fix-playlists
...
Fix Playlist Deletion
5 years ago
Vasily
13d30a0a79
Merge pull request #2436 from dkanada/music
...
Add config options for MusicBrainz
5 years ago
Davide Polonio
5d760b7ee8
Fix emby/user/public API leaking private data
...
This commit fixes the emby/user/public API that was returning more data
than necessary. Now only the following information are returned:
- the account name
- the primary image tag
- the field hasPassword
- the field hasConfiguredPassword, useful for the first wizard only
(see
https://github.com/jellyfin/jellyfin/issues/880#issuecomment-465370051 )
- the primary image aspect ratio
A new DTO class, PrivateUserDTO has been created, and the route has been
modified in order to return that data object.
5 years ago
Mark Monteiro
1204818698
Clean up and document PlaylistResolver
5 years ago
Mark Monteiro
41a26f8ecd
Correctly resolve playlists that are stored using a directory path
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
dkanada
6715450598
Merge pull request #2427 from Bond-009/minor
...
Minor improvements
5 years ago
dkanada
65a9d618cc
add config options for musicbrainz
5 years ago
Bond_009
adc9fc282c
Minor improvements
5 years ago
Ulrich Wagner
3bd7633cbf
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
a9e744bea0
Curly braces on new lines
5 years ago
Ulrich Wagner
3d9dc59554
Omitting the parameter ExtraChapters
5 years ago
Ulrich Wagner
f4d0fa8dc8
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
d6971581d6
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
0f2ee2686d
Constructor of the LibraryManager takes the mediaEncoder as parameter
5 years ago
Ulrich Wagner
b16ba7d985
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
7005326685
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
4d0ee3f6cc
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
39b6d6586f
Update Emby.Server.Implementations/Library/LibraryManager.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Ulrich Wagner
5fed4d10ab
Only reading the result of GetMediaInfo if it completed successfully
5 years ago
Ulrich Wagner
d7f199bb1c
#2407 : Prefer MP4-Metadata for episodes
5 years ago
Bond-009
d5fcca3d05
Merge branch 'master' into naming
5 years ago
dkanada
fe325a6e73
Merge pull request #2359 from Bond-009/username
...
Allow changing capitalization of usernames
5 years ago
dkanada
692a9bfdd0
update some comments
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
dkanada
afe9ed977b
improve scan progress and fix a few bugs
5 years ago
Bond_009
acc1846e3e
Allow changing capitalization of usernames
5 years ago
Bond_009
dc62e436c4
Clean up Emby.Naming
5 years ago
dkanada
c618f3f8eb
Merge pull request #2257 from Bond-009/cleantests
...
Fix a couple of tests
5 years ago
dkanada
d217f1614e
Merge pull request #2096 from Bond-009/embytv
...
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
5 years ago
Bond_009
abf03f7d3a
Clean up some more
5 years ago
Vasily
dd7feacd34
Merge pull request #2105 from Bond-009/namingtests
...
Add back all old emby tests
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
Bond_009
e714b9930e
Merge branch 'master' into embytv
5 years ago
Bond_009
b50c4938e1
Merge branch 'master' into namingtests
5 years ago
Bond_009
a253fa616d
Fix build and address comments
5 years ago
dkanada
aca31457c0
merge branch master into media-attachments
5 years ago
dkanada
aac0a1ed26
Merge pull request #2206 from Bond-009/userconfig
...
Delete user config dir on user deletion
5 years ago
dkanada
fb61a1f882
Merge pull request #2150 from Bond-009/releaseerror
...
Enable TreatWarningsAsErrors for some projects
5 years ago
dkanada
529cff3920
Merge pull request #2153 from dkanada/fix-playlist
...
Fix playlist deletion and a few warning fixes
5 years ago
dkanada
c10cb66169
remove directory check
5 years ago
Bond_009
ab57b504fe
Delete user config dir on user deletion
5 years ago
Bond_009
7f5a174dff
Merge branch 'master' into warn12
5 years ago
Bond-009
6b185119aa
Merge branch 'master' into namingtests
5 years ago
dkanada
28e922326d
remove space
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
dkanada
623e85a9e4
add suggested changes
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
dkanada
1b2453b4e9
fix playlist deletion
5 years ago
dkanada
02928128b9
track progress for any item that supports the feature
5 years ago
Bond_009
5a8e972952
Enable TreatWarningsAsErrors for some projects
...
Analyzers are only run in debug build, so setting TreatWarningsAsErrors
for release build will catch the compiler warnings until we resolve all
analyzer warnings.
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
dkanada
67922dff50
Merge pull request #2041 from Bond-009/warn11
...
Fix more warnings
5 years ago
Bond-009
affb58ef9e
Apply suggestions from code review
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
dkanada
dee3076eaf
Merge pull request #1923 from Bond-009/random
...
Don't shuffle some types by default
5 years ago
Bond_009
35151553e3
Add back all old emby tests
5 years ago
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
5 years ago
Bond_009
5cab79c839
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond_009
3221e837f9
* Add support for multi segment base urls
...
* Make baseurl case-insensitive
5 years ago
dkanada
51cdc6ea16
Merge pull request #1926 from Bond-009/auth
...
Add clearer exceptions, warnings and docs
5 years ago
Bond_009
d7335f6ae6
Reword exception message
5 years ago
Bond-009
b477b3874e
Fix some warnings
5 years ago
Bond-009
413ae86dbc
Fix easy password
5 years ago
dkanada
f51f59d675
Merge pull request #1965 from Bond-009/dbjson
...
Deserialize with the correct type (and warning fixes)
5 years ago
dkanada
61b9b4046a
Merge pull request #1929 from Narfinger/parser-fix4
...
[Draft][Help wanted] Fix parsing of certain names and adds a default season if no season was found
5 years ago
Andrew Mahone
d73f46dcda
Update Emby.Server.Implementations/Library/MediaSourceManager.cs
...
docs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
8b2d7062c4
Update Emby.Server.Implementations/Library/MediaSourceManager.cs
...
docs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
193a1fa474
Update Emby.Server.Implementations/Library/MediaSourceManager.cs
...
docs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Narfinger
9cd62d661f
removed restriction to 3 digits in episodenumber and 4 in season numbers
5 years ago
Andrew Mahone
7110069b39
Return list result directly for MediaAttachments.
5 years ago
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
5 years ago
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
5 years ago
Bond_009
846857b60e
Deserialize with the correct type (and warning fixes)
5 years ago
Bond_009
016be02cd6
More warning fixes
5 years ago
Bond_009
d9a03c9bb1
Fix more warnings
5 years ago
Bond-009
24c076eff3
Update Emby.Server.Implementations/Library/UserViewManager.cs
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
5 years ago
Andrew Mahone
1513c76a3e
Support MediaAttachment retrieval in MediaSourceManager.
5 years ago
Narfinger
4a20260a27
add another parser case and allow parsing of seasonless
...
Add another parser case and we now allow parsing of seasonless series which hopefully should cover more cases of directory structure
5 years ago
Bond_009
fef35d0505
Add clearer exceptions, warnings and docs
5 years ago
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
Bond_009
51edd5d067
Reworked LocalizationManager to load data async
6 years ago
Bond_009
722120af74
Remove conditions that are always true/false
6 years ago
Andrew Rabert
803bf563d7
Merge pull request #621 from Bond-009/perf
...
Minor improvements to library scan code
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Bond_009
35d97dc949
Minor improvements to library scan code
6 years ago
Erwin de Haan
321c440739
Reformat JustAMan review pt1 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
58b582bdcb
Visual Studio Reformat: Emby.Server.Implementations Part I-Lib
6 years ago
Joshua M. Boniface
9dcaafe700
Merge pull request #458 from EraYaN/code-cleanup
...
Clean up several minor issues and add TODOs
6 years ago
Joshua M. Boniface
016bad1ea3
Merge pull request #556 from grafixeyehero/dev
...
Fix "Password Reset by PIN" page
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
grafixeyehero
9659decef0
fix the forgotpasswordpin
...
fix passwordreset.txt print
6 years ago
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.
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Vasily
73c6a3f29a
Merge pull request #409 from Bond-009/fix254
...
[Fix #254 ] Fix nullrefexception in SubtitleEncoder
6 years ago
Bond_009
a997bb609f
Remove unnecessary using statements
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago
Bond_009
59d8d9a82c
Fix nullrefexception in SubtitleEncoder
6 years ago
Bond_009
340a2c6512
Post GPL cleanup
6 years ago
Bond_009
b1ccd6bad9
Fix build post GPL change
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
b7ebb67cbb
Remove the need for NullLogger
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Erwin de Haan
9c1c29325d
Added extra extension method that create a new instance of the destination object.
6 years ago
Erwin de Haan
de7fcaadb3
Fixed #320 by adding an extension method to BaseItem to make a deep copy of an object.
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
Andrew Rabert
a86b71899e
Add GPL modules
6 years ago
Bond_009
22093c9e8f
Removed some warnings
6 years ago