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

Cleanup dav #31943

Merged
merged 2 commits into from
May 17, 2022
Merged

Cleanup dav #31943

merged 2 commits into from
May 17, 2022

Conversation

CarlSchwan
Copy link
Member

  • Remove unused class AppEnabledPlugin
  • Add more types hinting when possible
  • Port to LoggerInterface in some places

Only merge after branching

@CarlSchwan CarlSchwan added the 2. developing Work in progress label Apr 12, 2022
@CarlSchwan CarlSchwan self-assigned this Apr 12, 2022
@tcitworld
Copy link
Member

Remove unused class AppEnabledPlugin

Added by @icewind1991 in owncloud/core#9962, maybe they have opinions on this?

@CarlSchwan
Copy link
Member Author

Remove unused class AppEnabledPlugin

Added by @icewind1991 in owncloud/core#9962, maybe they have opinions on this?

Looking at https://github.com/owncloud-archive/contacts/pull/563/files it seems it is about disabling caldav and the carddav endpoint when the respective apps are disabled. The usage of AppEnabledPlugin has been removed in the two apps since the carddav and caldav backend still work if the calendar and contact apps are disabled or not installed

@CarlSchwan
Copy link
Member Author

CarlSchwan commented Apr 12, 2022

  • todo fix tests

@tcitworld
Copy link
Member

Ah yes this is very very old. 🕸️ 🧹

Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

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

Boy those typed properties sure are nice 😍

apps/dav/lib/Connector/PublicAuth.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/Auth.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/BlockLegacyClientPlugin.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/ChecksumUpdatePlugin.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/CopyEtagHeaderPlugin.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/DummyGetResponsePlugin.php Outdated Show resolved Hide resolved
apps/dav/lib/Connector/Sabre/FilesPlugin.php Outdated Show resolved Hide resolved
- Remove unused class AppEnabledPlugin
- Add more type hinting when possible

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan
Copy link
Member Author

Also noticed that apps/dav/bin/chunkperf.php is broken (require path is not correct), might be a good idea to remove it completely?

@CarlSchwan CarlSchwan force-pushed the dav-cleanup branch 2 times, most recently from fbd2094 to 1d283fc Compare May 6, 2022 13:13
@CarlSchwan CarlSchwan requested a review from miaulalala May 6, 2022 13:14
Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan requested a review from kesselb May 17, 2022 12:59
@CarlSchwan CarlSchwan merged commit 07c9bf1 into master May 17, 2022
@CarlSchwan CarlSchwan deleted the dav-cleanup branch May 17, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. developing Work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants