Skip to content

Commit

Permalink
chore(assets): Recompile assets
Browse files Browse the repository at this point in the history
Signed-off-by: nextcloud-command <[email protected]>
  • Loading branch information
nextcloud-command authored and hamza221 committed Jan 24, 2025
1 parent 8ccfb2a commit a19a04a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/files-init.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-init.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/files-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files-main.js.map

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions lib/private/Files/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
use OC\User\User;
use OCA\Files_Sharing\SharedMount;
use OCP\Constants;
use OCP\IL10N;
use OCP\L10N\IFactory;
use OCP\Files\Cache\ICacheEntry;
use OCP\Files\ConnectionLostException;
use OCP\Files\EmptyFileNameException;
Expand All @@ -73,6 +75,7 @@
use OCP\Lock\LockedException;
use Psr\Log\LoggerInterface;


/**
* Class to provide access to ownCloud filesystem via a "view", and methods for
* working with files within that view (e.g. read, write, delete, etc.). Each
Expand Down Expand Up @@ -743,6 +746,12 @@ public function rename($source, $target, array $options = []) {
throw new ForbiddenException("Moving a folder into a child folder is forbidden", false);
}

/** @var IMountManager $mountManager */
$mountManager = \OC::$server->get(IMountManager::class);

$targetParts = explode('/', $absolutePath2);
$targetUser = $targetParts[1] ?? null;

$result = false;
if (
Filesystem::isValidPath($target)
Expand Down

0 comments on commit a19a04a

Please sign in to comment.