Skip to content

Preparations for Unified Sharing Legacy Sync - #64733

Open
provokateurin wants to merge 13 commits into
masterfrom
unified-sharing-legacy-sync-preparations
Open

provokateurin wants to merge 13 commits into
masterfrom
unified-sharing-legacy-sync-preparations

Conversation

@provokateurin

@provokateurin provokateurin commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

For #64737.

A lot of random things had to be adjusted or fixed. This is not even all, but I just wanted to make a first batch to get that out of the way. The tests will probably not pass right away, because I didn't run all of them locally.

Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
…is done

Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
…te the recipients

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin added this to the Nextcloud 36 milestone Sep 24, 2026
@provokateurin
provokateurin requested a review from a team as a code owner September 24, 2026 15:01
@provokateurin
provokateurin requested review from leftybournes, salmart-dev and sorbaugh and removed request for a team September 24, 2026 15:01
@provokateurin provokateurin added bug 3. to review Waiting for reviews technical debt 🧱 🤔🚀 ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Sep 24, 2026
@provokateurin provokateurin changed the title chore(psalm): Update baseline Preparations for Unified Sharing Legacy Sync Sep 24, 2026
@provokateurin provokateurin self-assigned this Sep 24, 2026
@provokateurin

Copy link
Copy Markdown
Member Author

/backport to stable35

}

if ($share->getPassword() !== null && !$share->isPasswordHashed()) {
throw new RuntimeException('The password must be hashed already.');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
throw new RuntimeException('The password must be hashed already.');
throw new \RuntimeException('The password must be hashed already.');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

there is another instance of the same typo in the file

private readonly ISharingManager $manager,
) {
$eventDispatcher->addServiceListener(GroupDeletedEvent::class, self::class);
$eventDispatcher->addServiceListener(BeforeGroupDeletedEvent::class, self::class);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is that a before deletion listener?
If deletion fails you still deleted the data.
Should be listener on groupdeletedevent with a high priority, no?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same remark for the user listener

This branch has not been deployed

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

Labels

3. to review Waiting for reviews backport-request bug ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) technical debt 🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants