Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(encryption): Migrate from hooks to events #48560

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Oct 3, 2024

Part of #32128

Summary

This is not half as clean as I would’ve liked, because original code is convoluted.
The owner thing in the event listener is ugly and probably incorrect but it was there before in HookManager class.

Checklist

@come-nc come-nc added the 3. to review Waiting for reviews label Oct 3, 2024
@come-nc come-nc added this to the Nextcloud 31 milestone Oct 3, 2024
@come-nc come-nc self-assigned this Oct 3, 2024
@come-nc come-nc force-pushed the fix/migrate-encryption-away-from-hooks branch from 86bebdc to 7b456c7 Compare November 5, 2024 15:42
@come-nc come-nc force-pushed the fix/migrate-encryption-away-from-hooks branch from 7b456c7 to fc22188 Compare November 5, 2024 15:53
…ffects

It was clearing the hooks with the same results before

Signed-off-by: Côme Chilliet <[email protected]>
…ects

Adapt tests a bit to make them pass with Encryption wrapper registered

Signed-off-by: Côme Chilliet <[email protected]>
…ith encryption registered

Signed-off-by: Côme Chilliet <[email protected]>
…ems in files_versions tests

Signed-off-by: Côme Chilliet <[email protected]>
@come-nc
Copy link
Contributor Author

come-nc commented Nov 26, 2024

Getting there, only one more failure. For some reason it’s not the same one locally and in the CI 🤷

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant