nextcloud/apps/files_sharing
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
..
ajax only use one kind of hack for the storage wrappers of the sharing code 2016-11-16 19:04:47 +01:00
appinfo use closure to properly defer l10n initialization (#27328) 2017-03-13 08:52:54 +01:00
css Fix layout of sharing buttons 2017-03-14 22:52:28 -06:00
img Svgo optimization 2016-09-27 20:56:26 +02:00
js Always enable avatars 2017-02-13 17:53:33 -06:00
l10n [tx-robot] updated from transifex 2017-03-13 01:08:19 +00:00
lib Skip null groups in group manager (#26871) (#26956) 2017-03-17 00:07:03 -06:00
templates fix log and app name 2017-01-23 09:06:45 +01:00
tests Skip null groups in group manager (#26871) (#26956) 2017-03-17 00:07:03 -06:00
list.php Fix apps/ 2016-07-21 18:13:57 +02:00
public.php Fix apps/ 2016-07-21 18:13:57 +02:00