Skip to content

Conversation

@icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Apr 28, 2023

  • requires add command to summarize space usage #37865

  • occ files:get: read a file to stdout or file

    • refuses to write binary files to stdout by default
  • occ files:put: write a file from stdin or file

  • occ files:delete: delete a file or folder

    • warns if more than one users has access to a file
    • offers to unshare the file instead when pointed to a share root

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Apr 28, 2023
@icewind1991 icewind1991 added this to the Nextcloud 27 milestone Apr 28, 2023
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, blizzz and come-nc and removed request for a team April 28, 2023 15:44
@skjnldsv skjnldsv mentioned this pull request May 3, 2023
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
… as argument instead of option

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 force-pushed the info-file-get branch 2 times, most recently from 8023185 to 3e5f52b Compare May 4, 2023 16:30
$storage = $node->getStorage();
if (!$inputIsId && $storage->instanceOfStorage(SharedStorage::class) && $node->getInternalPath() === '') {
/** @var SharedStorage $storage */
[,$user] = explode('/', $fileInput, 3);

Check notice

Code scanning / Psalm

PossiblyUndefinedArrayOffset

Possibly undefined array key
This was referenced May 9, 2023
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels May 9, 2023
@icewind1991 icewind1991 merged commit 4822f10 into master May 10, 2023
@icewind1991 icewind1991 deleted the info-file-get branch May 10, 2023 11:40
@icewind1991
Copy link
Member Author

/backport to stable26

@icewind1991
Copy link
Member Author

/backport to stable25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants