nextcloud/lib/private
Lionel Elie Mamane ac8b40b8b1
Return correct loginname in credentials,
even when token is invalid or has no password.

Returning the uid as loginname is wrong, and leads to problems when
these differ. E.g. the getapppassword API was creating app token with
the uid as loginname. In a scenario with external authentication (such
as LDAP), these tokens were then invalidated next time their underlying
password was checked, and systematically ceased to function.

Co-authored-by: kesselb <mail@danielkesselberg.de>
for: switch to consistent camelCase

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2020-08-20 16:02:22 +02:00
..
Accounts Create account structure also for empty record 2020-05-17 15:30:36 +02:00
Activity allow grouping of activity settings 2020-08-05 16:13:03 +02:00
App Allow to update to nightly 2020-08-07 13:51:39 +02:00
AppFramework Fix CS 2020-08-19 11:20:36 +02:00
Archive Update license headers for 19 2020-04-29 11:57:22 +02:00
Authentication Return correct loginname in credentials, 2020-08-20 16:02:22 +02:00
Avatar Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Remove getLastJob from IJobList 2020-08-13 21:50:06 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Expose status via Collaborators API 2020-08-14 17:04:52 +02:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts/ContactsMenu contactsmanager shall limit number of results early 2020-07-31 12:42:17 +02:00
DB Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
Dashboard Refactor API to match the widget wording 2020-08-05 17:03:38 +02:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external 2020-07-10 00:02:59 +02:00
EventDispatcher Deprecate the internal Symfony dispatcher adapter 2020-07-15 13:57:35 +02:00
Federation Update share type constant usage 2020-06-24 16:49:16 +02:00
Files Merge pull request #22237 from nextcloud/bugfix/noid/allow_putContent_empty_string 2020-08-20 09:03:06 +02:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Search also the email and displayname in user mangement for groups 2020-08-05 14:14:05 +02:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http parse_url returns null in case a parameter is not found 2020-07-29 08:32:20 +02:00
IntegrityCheck Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Add a dedicated method to get the language for another user 2020-07-01 10:20:07 +02:00
Lock Merge pull request #21074 from jvsalo/shared-lock-multi-release 2020-07-06 14:06:41 +02:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Make the PSR-3 adapter exception-aware 2020-07-14 09:38:51 +02:00
Mail Fix header logo size in notification mails 2020-07-23 17:52:21 +02:00
Memcache Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Allow notification apps to defer and flush the sending 2020-07-03 16:44:43 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Preview Always try and show pre rendered preview 2020-08-13 22:50:38 +02:00
Remote Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair Make legacy cipher opt in 2020-08-19 15:45:45 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +02:00
Search Hand in the route and the parameters of the request 2020-08-05 12:52:16 +00:00
Security Fix CS 2020-08-19 11:20:36 +02:00
Session Silence duplicate session warnings 2020-08-14 05:23:11 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Update license headers for 19 2020-04-29 11:57:22 +02:00
Share Cascading effect - more code that now is not used anymore 2020-07-06 14:13:53 +02:00
Share20 Allow to disable share emails 2020-08-19 09:03:58 +02:00
Support Make the subscription registry lazy 2020-07-09 12:21:06 +02:00
SystemTag Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
Tagging Update license headers for 19 2020-04-29 11:57:22 +02:00
Template Give up after 10 seconds in SCSS timeout 2020-06-19 14:39:31 +02:00
Updater Update license headers for 19 2020-04-29 11:57:22 +02:00
User Return correct loginname in credentials, 2020-08-20 16:02:22 +02:00
UserStatus Provide a PHP Api for UserStatus 2020-08-05 13:48:46 +02:00
legacy Merge pull request #22280 from nextcloud/bugfix/noid/429-on-brute-force-maximum 2020-08-19 18:21:01 +02:00
AllConfig.php Define getSystemValueBool/Int/String function default parameter with correct type 2020-04-29 14:19:52 +02:00
AppConfig.php Exclude the Bridge Bot password as well 2020-08-20 10:28:35 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Config.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ContactsManager.php Use matching parameter names form interfaces and implementations 2020-08-19 18:16:35 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Allow to update to nightly 2020-08-07 13:51:39 +02:00
LargeFileHelper.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair.php Make legacy cipher opt in 2020-08-19 15:45:45 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Fix "misplaced variables" warning of Psalm in PHPDoc statements 2020-08-17 17:46:57 +02:00
Server.php Return correct loginname in credentials, 2020-08-20 16:02:22 +02:00
ServerContainer.php Fix overwriteService() for apps 2020-07-28 09:38:43 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Add audio formats to htaccess 2020-06-24 20:33:51 -07:00
Streamer.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SubAdmin.php Don't loop over all groups to check for subadmins 2020-04-27 08:37:53 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Tags.php and the old sharing mechanism 2020-07-06 14:12:12 +02:00
Tags.php merge file activity settings into a single 'favorite changed' item 2020-08-13 00:01:34 +02:00
TempManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TemplateLayout.php Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes 2020-08-04 21:36:22 +02:00
URLGenerator.php Properly inject IRouter into URLGenerator to properly encapsulate tests 2020-08-19 22:00:47 +02:00
Updater.php Update license headers for 19 2020-04-29 11:57:22 +02:00