server/lib/private
Roeland Jago Douma 145eee91fe
Get the proper UID
Some user backends (like the database backend) allow us to obtain a user
case insensitive. However the UID itself is case sensitive.

Example:
* create a user User1
* login as User1
  - This results the data/User1 folder to be created etc
* now have some code somewhere that obtains the userFolder (from
IRootFolder) but pas in 'uSER1' as uid
  - The code will check if that is a valid user. And in this case it is
  since User1 and uSER1 both map to the same user
  - However the the UID in the user object is used for the folder a new
  folder fill be create data/uSER1

With this PR this is avoided now. Since we obtain the real UID casing in
the backend before creating the user object.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-13 09:33:46 +02:00
..
Accounts Add default values when parsing account data 2018-12-23 16:33:02 +01:00
Activity Set false as default for requirePNG 2019-02-18 00:13:02 +01:00
App Merge pull request #16450 from nextcloud/tech-debt/noid/cleanup-unused-OC_API-methods 2019-07-22 16:04:01 +02:00
AppFramework Add feature policy header 2019-08-10 14:26:22 +02:00
Archive Cleanup some PHPDoc leftovers and unused variables 2019-03-06 15:43:56 +01:00
Authentication Pass $configargs to openssl_pkey_export 2019-07-21 22:21:59 +02:00
Avatar Move font from Nunito to Noto Sans 2019-06-22 11:23:44 +02:00
BackgroundJob Fix integer background job id type error 2019-01-15 14:36:03 +01:00
Cache
Calendar
Collaboration Set type for access column on cacheAccessForCollection 2019-05-02 21:10:47 +02:00
Command
Comments PHPStorm code cleanup 2019-07-24 10:39:57 +02:00
Console Make sure maintenance mode is always casted to bool 2019-02-22 08:25:41 +01:00
Contacts/ContactsMenu Respect sharing enumeration config in contacts menu 2019-04-18 11:39:49 +02:00
Dashboard
DB Add event dispatcher to OCP 2019-06-25 10:02:27 +02:00
Diagnostics
Encryption list files which could not be decrypted 2018-12-14 12:00:49 +01:00
EventDispatcher Add event dispatcher to OCP 2019-06-25 10:02:27 +02:00
Federation According to the OCM specification the body needs to be JSON encoded 2019-02-19 17:32:01 +01:00
Files Properly return an int in the getId function of the cache 2019-08-07 20:38:42 +02:00
FullTextSearch Merge pull request #16399 from nextcloud/improvement/noid/fulltextsearch-simple-queries 2019-07-15 10:18:04 +02:00
GlobalScale
Group group display name support (service level + ldap) 2019-05-27 12:03:05 +02:00
Hooks
Http Correctly handle emtpy string in proxyuserpwd config 2019-08-11 21:07:30 +02:00
IntegrityCheck Exclude .rnd files from integrity check 2019-07-21 20:29:11 +02:00
L10N Make the L10N loading lazy 2019-05-22 11:22:12 +02:00
legacy Remove duplicated spaces 2019-08-11 20:11:50 +02:00
Lock Code cleanup. 2019-03-21 11:42:00 +01:00
Lockdown Remove deprecated searchByTag 2019-07-26 12:29:19 +02:00
Log Move log detail aggregation to separate class and reuse it in syslog/systemd logger 2019-07-17 08:45:55 +02:00
Mail changed order of methods 2019-02-26 00:24:46 +01:00
Memcache
Migration Properly inject EventDispatched in BackgroundRepair 2019-03-22 10:29:36 +01:00
Notification Update since to the correct version 2019-07-16 16:58:38 +02:00
OCS
Preview Merge pull request #16307 from nextcloud/bugfix/noid/previewv1adapter-isAvailable 2019-07-09 13:37:07 +02:00
Remote
Repair Merge pull request #15606 from nextcloud/fix/15605/add-catch-for-runtime-exception 2019-07-16 08:05:11 +02:00
RichObjectStrings Validate all rich objects not only the used ones 2018-11-23 12:39:02 +01:00
Route Make sure maintenance mode is always casted to bool 2019-02-22 08:25:41 +01:00
Search
Security Add feature policy header 2019-08-10 14:26:22 +02:00
Session
Settings Move OC\Settings\Admin and OC\Settings\Personal to actual settings 2019-05-30 12:49:47 +02:00
Setup Merge pull request #15187 from vitormattos/bugfix-create-database-user 2019-08-08 09:03:48 +02:00
Share Remove unused OC\Share\Share::checkPasswordProtectedShare 2019-07-29 15:23:21 +02:00
Share20 Fix permission check on incoming federated shares 2019-07-31 12:59:51 +02:00
Support Add extendedSupport to Subscription 2019-06-17 16:36:23 +02:00
SystemTag
Tagging
Template Lock SCSS so we only run 1 job at a time 2019-07-12 16:18:02 +02:00
Updater
User Get the proper UID 2019-08-13 09:33:46 +02:00
AllConfig.php Add methods to get casted system values 2019-02-22 08:25:41 +01:00
AppConfig.php treat sensitive config keys by pattern 2019-07-26 13:31:14 +02:00
CapabilitiesManager.php
Color.php
Config.php Remove deleteFromOpcodeCache & clearOpcodeCache 2019-01-30 17:36:14 +01:00
ContactsManager.php Allow to search for real pattern in contacts 2019-05-28 10:01:56 +02:00
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php
DateTimeZone.php
ForbiddenException.php
HintException.php
InitialStateService.php Add a key parameter to the new initial state API 2019-01-30 16:08:08 +01:00
Installer.php Run repair steps when enabling an app that has already been installed 2019-06-05 13:52:46 +02:00
LargeFileHelper.php
Log.php Allow crash reporters to catpture any message 2019-05-09 14:06:44 +02:00
MemoryInfo.php
NaturalSort.php
NaturalSort_DefaultCollator.php
NavigationManager.php Generate id for navigation item 2019-02-25 14:49:51 +01:00
NeedsUpdateException.php
NotSquareException.php
PreviewManager.php Allow IProviderV2 for previews as well 2019-07-05 13:57:46 +02:00
PreviewNotAvailableException.php
RedisFactory.php Allow redis cluster to use password 2019-05-22 12:19:07 +02:00
Repair.php Add enterprise logo 2019-07-15 16:45:53 +02:00
RepairException.php
Search.php
Server.php Add proper PostLoginEvent 2019-07-29 16:31:40 +02:00
ServerContainer.php Do not try to autoload built in types 2019-06-04 15:13:32 +02:00
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php Allow to access source maps on apache 2019-06-19 09:54:49 +02:00
Streamer.php
SubAdmin.php Expose subadmin to OCP 2019-01-29 20:47:35 +01:00
SystemConfig.php
TagManager.php
Tags.php
TemplateLayout.php Fix "Undefined index: user_uid" on login page 2019-02-22 08:33:32 +01:00
TempManager.php
Updater.php Block install without CAN_INSTALL file 2019-04-11 09:32:33 +02:00
URLGenerator.php Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00