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

Move iMIP to its own interface #34893

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

miaulalala
Copy link
Contributor

@miaulalala miaulalala commented Oct 31, 2022

and clean up the code a bit.

The old implementation forced every writable calendar to support iMIP.

Added:

  • author

Removed:

  • unused imports

Changed:

  • moved iMIP handling to new interface
  • pointed code to new implementation

Documentation: nextcloud/documentation#9269

@miaulalala miaulalala added bug 3. to review Waiting for reviews php Pull requests that update Php code feature: caldav Related to CalDAV internals labels Oct 31, 2022
@miaulalala miaulalala self-assigned this Oct 31, 2022
@miaulalala miaulalala added this to the Nextcloud 26 milestone Oct 31, 2022
@ChristophWurst ChristophWurst changed the title Move iMIP to it's own interface Move iMIP to its own interface Oct 31, 2022
@ChristophWurst ChristophWurst added the pending documentation This pull request needs an associated documentation update label Oct 31, 2022
@miaulalala
Copy link
Contributor Author

Should the IManager's methods also be extracted? Same issue here, all implementations of IManager now need to support iMIP.

@ChristophWurst
Copy link
Member

Should the IManager's methods also be extracted? Same issue here, all implementations of IManager now need to support iMIP.

IManager is a consumed/injected service. The implementation is done by the server. This is fine.

The breaking change only occurs when you add methods to interfaces that are implemented by apps.

@miaulalala miaulalala force-pushed the fix/move-imip-to-separate-interface branch 2 times, most recently from 4590e18 to f166d4b Compare October 31, 2022 12:37
lib/public/Calendar/IHandleImipMessage.php Show resolved Hide resolved
lib/public/Calendar/IHandleImipMessage.php Outdated Show resolved Hide resolved
@miaulalala
Copy link
Contributor Author

Documentation PR here: nextcloud/documentation#9269

and clean up the code a bit.

Added:
- author

Removed:
- unused imports

Changed:
- moved iMIP handling to new interface
- pointed code to new implementation

Signed-off-by: Anna Larch <anna@nextcloud.com>
@miaulalala miaulalala force-pushed the fix/move-imip-to-separate-interface branch from e5405d0 to aebcc31 Compare November 3, 2022 09:07
@miaulalala
Copy link
Contributor Author

Drone failure unrelated

@ChristophWurst ChristophWurst merged commit 3b084e5 into master Nov 3, 2022
@ChristophWurst ChristophWurst deleted the fix/move-imip-to-separate-interface branch November 3, 2022 14:03
@juliushaertl
Copy link
Member

Drone failure was related, the dumped autoloader needs an update ;)

@juliushaertl
Copy link
Member

PR to fix in #34954

@miaulalala miaulalala removed the pending documentation This pull request needs an associated documentation update label Nov 8, 2022
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 bug feature: caldav Related to CalDAV internals php Pull requests that update Php code
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants