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

fix(nextcloud): Add missing share types #1647

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

provokateurin
Copy link
Member

Aligned with https://github.com/nextcloud/server/blob/master/lib/public/Share/IShare.php
I had to use the value backed enum because it seems like 14 was just skipped. In the future we might also want to just remove the deprecated values, so this prepares us for that as well.

Copy link
Member

@Leptopoda Leptopoda left a comment

Choose a reason for hiding this comment

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

Can we do this in a non breaking way?
Maybe by adding a _notUsed element that isn't visible due to the underscore?

We should change it in the next major release but I don't see it warranted just for this.

@provokateurin provokateurin force-pushed the fix/nextcloud/fix-share-type-values branch from 243f953 to 7f6f38d Compare February 24, 2024 09:58
@provokateurin provokateurin changed the title fix(nextcloud)!: Fix share type values feat(nextcloud): Add missing share types Feb 24, 2024
Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin provokateurin force-pushed the fix/nextcloud/fix-share-type-values branch from 7f6f38d to f03f75f Compare February 24, 2024 10:02
@provokateurin provokateurin changed the title feat(nextcloud): Add missing share types fix(nextcloud): Add missing share types Feb 24, 2024
Copy link
Member

@Leptopoda Leptopoda left a comment

Choose a reason for hiding this comment

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

Can you open an issue and add it to the nc milestone so we don't forget to change this for the nex tmajor release?

@provokateurin
Copy link
Member Author

TBH I would just keep it like this and not make any further changes.

@provokateurin provokateurin merged commit 5b5f9b0 into main Feb 24, 2024
8 checks passed
@provokateurin provokateurin deleted the fix/nextcloud/fix-share-type-values branch February 24, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants