nextcloud/apps/files_sharing/lib
Vincent Petry 377fdf3860
Skip null groups in group manager (#26871) (#26956)
* Skip null groups in group manager (#26871)

* Skip null groups in group manager

* Also skip null groups in group manager's search function

* Add more group null checks in sharing code

* Add unit tests for null group safety in group manager

* Add unit tests for sharing code null group checks

* Added tests for null groups handling in sharing code

* Ignore moveShare optional repair in mount provider

In some cases, data is inconsistent in the oc_share table due to legacy
data. The mount provider might attempt to make it consistent but if the
target group does not exist any more it cannot work. In such case we
simply ignore the exception as it is not critical. Keeping the
exception would break user accounts as they would be unable to use
their filesystem.

* Adjust null group handing + tests

* Fix new group manager tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-17 00:07:03 -06:00
..
Activity Add a single public api for resolving a cloud id to a user and remote and back 2017-02-08 15:17:02 +01:00
AppInfo register cloudidmanager for files_sharing 2017-02-08 15:17:03 +01:00
Controller Skip null groups in group manager (#26871) (#26956) 2017-03-17 00:07:03 -06:00
Exceptions Fix apps/ 2016-07-21 18:13:57 +02:00
External Add a single public api for resolving a cloud id to a user and remote and back 2017-02-08 15:17:02 +01:00
Middleware allow to access mail shares even if public links are disabled 2017-01-04 21:23:26 +01:00
ShareBackend Move Share backends to PSR-4 instead of using class path (#24941) 2016-08-05 14:13:41 +02:00
Cache.php Merge pull request #2196 from nextcloud/cache-owner-displayname 2016-11-18 13:51:24 +01:00
Capabilities.php remove 'send mail notification' option from sharing, replaced by send-by-mail feature 2016-11-02 18:30:38 +01:00
DeleteOrphanedSharesJob.php Fix apps/ 2016-07-21 18:13:57 +02:00
ExpireSharesJob.php Fix apps/ 2016-07-21 18:13:57 +02:00
Helper.php Remove config change hook that deletes link shares (#26612) 2016-12-19 16:18:51 +01:00
Hooks.php HTTPHelper is deprecated 2016-08-24 21:30:39 +02:00
ISharedStorage.php Update with robin 2016-07-21 18:13:58 +02:00
Migration.php remove the 'shareapi_allow_mail_notification' setting 2016-11-02 21:17:05 +01:00
MountProvider.php Skip null groups in group manager (#26871) (#26956) 2017-03-17 00:07:03 -06:00
Scanner.php use unmasked permissions in shared scanner 2016-12-14 14:37:51 +01:00
SharedMount.php Typecast filecache 'storage' as int to return it as documented, fixes #3461 2017-02-20 22:23:27 -05:00
SharedPropagator.php reuse the known rootinfo in the shared cache when possible 2016-11-17 14:59:31 +01:00
SharedStorage.php use unmasked permissions in shared scanner 2016-12-14 14:37:51 +01:00
Updater.php Fix apps/ 2016-07-21 18:13:57 +02:00