nextcloud/apps/files_sharing
Daniel Calviño Sánchez 05cbdddb0d Fix valid storages removed when cleaning remote storages
The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.

The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.

Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-18 08:02:28 +00:00
..
appinfo Allow some apps to have root URLs in their own routing file 2020-04-18 11:21:28 +02:00
composer Convert share event to an interaction event 2020-03-25 16:16:45 +01:00
css Fix public layout header title & description 2020-04-30 13:32:28 +02:00
img Svgo optimization 2016-09-27 20:56:26 +02:00
js Only clear share password model when actually saved 2021-03-12 12:23:36 +01:00
l10n [tx-robot] updated from transifex 2021-03-18 02:25:29 +00:00
lib Fix valid storages removed when cleaning remote storages 2021-03-18 08:02:28 +00:00
src Only clear share password model when actually saved 2021-03-12 12:23:36 +01:00
templates Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
tests Fix valid storages removed when cleaning remote storages 2021-03-18 08:02:28 +00:00
.l10nignore Exclude compiled assets of files_sharing for transifex 2019-03-26 11:23:31 +01:00
list.php Properly emit Viewer event on files and files_sharing 2020-03-11 09:28:27 +01:00
public.php Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
webpack.js Allow users to specify to accept (internal) shares by default 2019-12-17 10:49:29 +01:00