nextcloud/lib/private
Joas Schilling a4ba2113b2
Fix getById for files in appdata and the root mount
In case the path we are currently in is inside the appdata_* folder,
the original getById method does not work, because it can only look inside
the user's mount points. But the user has no mount point for the root storage.

So in that case we directly check the mount of the root if it contains
the id. If it does we check if the path is inside the path we are working
in.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-17 11:15:59 +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 #16859 from PhrozenByte/patch-1 2019-09-09 12:20:27 +02:00
AppFramework Handle throwables in the http dispatcher 2019-08-29 17:19:14 +02:00
Archive Cleanup some PHPDoc leftovers and unused variables 2019-03-06 15:43:56 +01:00
Authentication Use Symfony's new contract Event class instead of the deprecated one 2019-09-12 14:44:55 +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 remove unneeded is_dir from file cache gc 2018-05-24 14:24:10 +02:00
Calendar RoomManager/ResourceManager: Inject IServerContainer instead of using OC Server 2018-10-08 01:50:17 +02:00
Collaboration Add a repair step to clear the projects access cache 2019-08-21 09:16:14 +02:00
Command Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
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 include dashboard into core 2018-10-15 19:59:27 +02:00
DB add MAX and MIN to functionbuilder 2019-09-06 12:28:17 +02:00
Diagnostics Update license headers 2017-11-06 16:56:19 +01:00
Encryption list files which could not be decrypted 2018-12-14 12:00:49 +01:00
EventDispatcher Merge pull request #17106 from nextcloud/feature/dispatch-typed-event 2019-09-12 09:25:26 +02:00
Federation According to the OCM specification the body needs to be JSON encoded 2019-02-19 17:32:01 +01:00
Files Fix getById for files in appdata and the root mount 2019-09-17 11:15:59 +02:00
FullTextSearch Merge pull request #16399 from nextcloud/improvement/noid/fulltextsearch-simple-queries 2019-07-15 10:18:04 +02:00
GlobalScale Update license headers 2017-11-06 16:56:19 +01:00
Group group display name support (service level + ldap) 2019-05-27 12:03:05 +02:00
Hooks Fix PHP doc for API docs 2017-12-03 12:02:29 +01:00
Http Set a default request timeout 2019-09-02 15:42:48 +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 Merge pull request #16859 from PhrozenByte/patch-1 2019-09-09 12:20:27 +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 Make sure SystemConfig class can be injected and syslog_tag is fetched properly 2019-08-13 16:26:18 +02:00
Mail changed order of methods 2019-02-26 00:24:46 +01:00
Memcache Drop support for xcache 2018-08-12 17:14:08 +02:00
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 Allow to skip retrieving from cache in the DiscoveryService 2018-04-18 19:18:34 +02:00
Preview Explicit cast for ProviderV1Adapter 2019-08-20 15:47:59 +02:00
Remote Add some more tests for ocs remote api 2017-12-08 16:37:14 +01:00
Repair Kill repair step for cypress tests 2019-09-02 11:50:23 +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 Update license headers 2017-11-06 16:56:19 +01:00
Security Harden identifyproof openssl code 2019-09-14 13:52:10 +02:00
Session replace setcookie value with '' instead of null. 2018-09-06 20:34:16 +02:00
Settings Split personal security settings in code 2019-09-10 16:22:41 +02:00
Setup Merge pull request #15187 from vitormattos/bugfix-create-database-user 2019-08-08 09:03:48 +02:00
Share Make the sharing constants publicly available 2019-08-23 13:54:19 +02:00
Share20 Bye Spreed namespace, hello Talk! 2019-09-05 15:32:58 +02:00
Support Add extendedSupport to Subscription 2019-06-17 16:36:23 +02:00
SystemTag Only trigger the events with tags that where actually assigned 2019-08-21 11:58:27 +02:00
Tagging Use ::class statement instead of string 2018-01-29 12:03:47 +01:00
Template Lock SCSS so we only run 1 job at a time 2019-07-12 16:18:02 +02:00
Updater Backend work to provide NC whats New info to users 2018-07-05 14:33:08 +02:00
User Disable app token creation for impersonated people, ref #15539 2019-09-15 12:04:27 +02:00
AllConfig.php Add methods to get casted system values 2019-02-22 08:25:41 +01:00
AppConfig.php Filter more configs 2019-08-19 16:32:20 +02:00
CapabilitiesManager.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
Color.php Fix autoloader 2018-04-12 16:24:44 +02:00
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 Remove unneeded parameter in DatabaseException 2017-07-24 13:44:12 +02:00
DatabaseSetupException.php Fix others 2016-07-21 18:13:57 +02:00
DateTimeFormatter.php Update license headers 2017-11-06 16:56:19 +01:00
DateTimeZone.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
ForbiddenException.php Fix others 2016-07-21 18:13:57 +02:00
HintException.php Update license headers 2017-11-06 16:56:19 +01:00
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 Make LargeFileHelper.php faster by avoiding execs as much as possible 2018-05-17 14:28:32 +02:00
Log.php Allow crash reporters to catpture any message 2019-05-09 14:06:44 +02:00
MemoryInfo.php Adds license to files. Updates the branch. 2018-08-20 20:46:23 +02:00
NaturalSort.php move log constants to ILogger 2018-04-26 10:45:52 +02:00
NaturalSort_DefaultCollator.php Fix others 2016-07-21 18:13:57 +02:00
NavigationManager.php Generate id for navigation item 2019-02-25 14:49:51 +01:00
NeedsUpdateException.php Update with robin 2016-07-21 18:13:58 +02:00
NotSquareException.php Fix others 2016-07-21 18:13:57 +02:00
PreviewManager.php Remove deprecated function createPreview 2019-09-15 10:52:34 +02:00
PreviewNotAvailableException.php Opening the trashbin causes errors in log for files without preview 2016-09-09 13:53:06 +02:00
RedisFactory.php Allow redis cluster to use password 2019-05-22 12:19:07 +02:00
Repair.php Kill repair step for cypress tests 2019-09-02 11:50:23 +02:00
RepairException.php Fix others 2016-07-21 18:13:57 +02:00
Search.php Removed deprecated search function from ISearch 2018-01-13 19:27:25 +01:00
Server.php Harden identifyproof openssl code 2019-09-14 13:52:10 +02:00
ServerContainer.php Do not try to autoload built in types 2019-06-04 15:13:32 +02:00
ServerNotAvailableException.php Fix others 2016-07-21 18:13:57 +02:00
ServiceUnavailableException.php Update with robin 2016-07-21 18:13:58 +02:00
Setup.php Allow to access source maps on apache 2019-06-19 09:54:49 +02:00
Streamer.php Use zip32 only if there are less than 65536 files 2018-04-06 15:59:30 +02:00
SubAdmin.php Expose subadmin to OCP 2019-01-29 20:47:35 +01:00
SystemConfig.php Merge pull request #7020 from Fiech/master 2017-11-07 10:27:53 +01:00
TagManager.php Fix others 2016-07-21 18:13:57 +02:00
Tags.php Check if the favorite tag exists 2018-07-26 15:33:26 +02:00
TemplateLayout.php autoloader.php could raise Not AllowedException 2019-08-20 17:11:40 +02:00
TempManager.php Update license headers 2017-11-06 16:56:19 +01:00
Updater.php Make the auto-disabled list more broad 2019-08-15 11:12:45 +02:00
URLGenerator.php Allow empty strings in getAbsoluteURL 2018-11-20 13:36:16 +01:00