aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
AgeCommit message (Collapse)Author
2019-06-09Revert "Don't set a default reset provider"Joshua M. Boniface
This reverts commit c230d49d7c37d4fbe77676b835c3afd6c8cb56e7. 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.
2019-06-09Remove superfluous conditionalJoshua M. Boniface
This wasn't needed to prevent updating the policy on-disk from my tests and can be removed as suggested by @Bond-009
2019-06-09Don't set a default reset providerJoshua M. Boniface
2019-06-09Use SecurityException for auth failureJoshua M. Boniface
2019-06-09Apply suggestions from code reviewJoshua M. Boniface
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com> Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-06-09Add nicer log message and commentJoshua M. Boniface
2019-06-08Implement InvalidAuthProviderJoshua M. Boniface
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
2019-05-25Format correctly the PIN when updating itDrPandemic
2019-05-11Fix pin bug introduced in 10.3.z.DrPandemic
The issue is that the new easyPassword format prepends the hash function. This PR extract the hash from "$SHA1$_hash_".
2019-04-30Fix incorrect hasPassword flag when easy pin setbugfixin
2019-04-29Merge pull request #1305 from bugfixin/passwordless-form-encodedJoshua M. Boniface
Fix passwordless authentication with non-json content-types
2019-04-25Don't coalesce empty strings to null in StringMapTypeDeserializerbugfixin
2019-04-24Fix #1234Bond_009
2019-04-24Re-add content length, semi revert of changes in #1010 (#1287)Claus Vium
* Re-add content length, semi revert of changes in #1010
2019-04-20Merge pull request #1258 from Bond-009/fixpluginloadJoshua M. Boniface
Handle exception when loading unsupported assembly
2019-04-20Fix comparison for empty password migrationClaus Vium
2019-04-20Fix more possible exceptionsBond-009
2019-04-20Handle exception when loading unsupported assemblyBond-009
Fixes #1256
2019-04-19Merge branch 'translations' into release-10.3.zJoshua Boniface
2019-04-19Rename Chinese (Traditional) fileWeblate
2019-04-19Translated using Weblate (Czech)Libor Filípek
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-04-19Translated using Weblate (Swiss German)Heldenkrieger01
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/gsw/
2019-04-19Translated using Weblate (Slovenian)SaddFox
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2019-04-19Translated using Weblate (Kazakh)WWWesten
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kk/
2019-04-19Translated using Weblate (Greek)Βασίλης Μουρατίδης
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/el/
2019-04-19Translated using Weblate (Danish)Dan Johansen
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2019-04-19Translated using Weblate (Czech)Libor Filípek
Currently translated at 100.0% (94 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2019-04-19Translated using Weblate (Chinese (Traditional))tinganhsu
Currently translated at 96.8% (91 of 94 strings) Translation: Jellyfin/Jellyfin Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant/
2019-04-19Added translation using Weblate (Chinese (Traditional))tinganhsu
2019-04-18Merge pull request #1244 from joshuaboniface/hotfix-authapiJoshua M. Boniface
Hotfix authapi
2019-04-17Add MethodNotAllowedException with code 405Joshua Boniface
2019-04-17Fix metadata path saveBond_009
2019-04-16Move the ProductName to the public endpointAnthony Lavado
Moves the ProductName field over from the private system/info point to the public one, for easier identification
2019-04-15Remove the old message respondersAnthony Lavado
Leaves only an answer to "Who is Jellyfin", removing older ones for EmbyServer and MediaBrowser_v2.
2019-04-10Merge pull request #1209 from joshuaboniface/hotfix-authprovider-createJoshua M. Boniface
Override username with AuthenticationProvider
2019-04-07Override username with AuthenticationProviderJoshua Boniface
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.
2019-04-04Add TODO to remove string targetJoshua Boniface
2019-04-04Apply review feedbackJoshua Boniface
Remove a few superfluous/testing log statements, and print the deletion debug messages when it occurs rather than earlier. Use a nicer name for the isDirectory variable.
2019-04-03Correct the installation and removal of pluginsJoshua Boniface
Upgrading plugins was broken for various reasons. There are four fixes and a minor one: 1. Use a directory name based only on the `Name` of the plugin, not the source filename, which contains the version. Avoids strange duplication of the plugin. 2. Use the new directory name for the deletes if it's present, so that installation and removal happen at that directory level and we don't leave empty folders laying around. Ensures we properly remove additional resources in plugins too, not just the main `.dll` file. 3. Ignore the incoming `target` when installing, and always set it ourself to the proper directory, which would matter when reinstalling. 4. Deletes an existing target directory before installing if it exists. Note that not calling any of the plugin removal code is intentional; I suspect that would delete configurations unexpectedly when upgrading which would be annoying. This way, it just replaces the files and then reloads. 5. (Minor) Added some actual debug messages around the plugin download section so failures can be more accurately seen.
2019-04-02Search all subdirectories for PluginsJoshua Boniface
This was added in #801 which broke the previous plugin install behaviour. Previously plugins could be loaded from subdirectories but this search was only for the highest level. Change it to search all subdirectories instead to restore the previous behaviour. Also modifies the same option from #934, though I'm not 100% sure if this is needed here.
2019-03-29Correct bad quote charactersJoshua Boniface
2019-03-29Merge pull request #1149 from LogicalPhallacy/ImprovedPasswordResetJoshua M. Boniface
Adds per user password reset
2019-03-29Remove dashes from pinsLogicalPhallacy
2019-03-29adds readonly to propertiesPhallacy
2019-03-28fix byte stringPhallacy
2019-03-28Hacky fix for a hacky issueBond_009
2019-03-28switched to a hexa string with crypto random backingPhallacy
2019-03-27minor fixes and usingsPhallacy
2019-03-27Merge pull request #934 from Bond-009/pluginJoshua M. Boniface
WIP - Don't require a restart for 75% of plugins
2019-03-27Update Emby.Server.Implementations/Library/DefaultPasswordResetProvider.csBond-009
Co-Authored-By: LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com>