Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Aug 2, 2024

Summary

Ensure that public and internal endpoint both provide the necessary data, so we can e.g. on both request nc:note.
As the share note is not something only for users but also for public shares.

Checklist

@susnux susnux added this to the Nextcloud 30 milestone Aug 2, 2024
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is on the very edge between a fix and a feat... 😅🙈
Approved nonetheless!

@Altahrim Altahrim mentioned this pull request Aug 5, 2024
* Convert target path to source path and pass the function call to the correct storage provider
*/
class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements ISharedStorage, IDisableEncryptionStorage {
class SharedStorage extends \OC\Files\Storage\Wrapper\Jail implements LegacyISharedStorage, ISharedStorage, IDisableEncryptionStorage {

Check notice

Code scanning / Psalm

DeprecatedInterface

OCA\Files_Sharing\ISharedStorage is marked deprecated
});

$propFind->handle(self::DATA_FINGERPRINT_PROPERTYNAME, function () use ($node) {
$propFind->handle(self::DATA_FINGERPRINT_PROPERTYNAME, function () {

Check notice

Code scanning / Psalm

MissingClosureReturnType

Closure does not have a return type, expecting mixed
use OCP\Files\Storage\ISharedStorage;
use OCP\Share\IShare;

class PublicShareWrapper extends Wrapper implements ISharedStorage {

Check notice

Code scanning / Psalm

DeprecatedInterface

OCP\Files\Storage is marked deprecated
@susnux susnux merged commit b34edf2 into master Aug 12, 2024
@susnux susnux deleted the fix/dav-public branch August 12, 2024 10:06
@skjnldsv skjnldsv mentioned this pull request Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants