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

Add all properties when creating a subscription #25318

Merged
merged 1 commit into from Jul 1, 2016

Conversation

tcitworld
Copy link
Member

Originally at #25231

Fix #24469

@tcitworld tcitworld added this to the 9.1-current milestone Jun 30, 2016
@@ -1079,22 +1079,27 @@ function createSubscription($principalUri, $uri, array $properties) {
'lastmodified' => time(),
];

foreach($this->subscriptionPropertyMap as $xmlName=>$dbName) {
if (isset($properties[$xmlName])) {
$propertiesBoolean = array('striptodos', 'stripalarms', 'stripattachments');
Copy link
Member

Choose a reason for hiding this comment

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

please use short array declaration []

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed and squashed commits.

@DeepDiver1975
Copy link
Member

@georgehrke please test again - thx

@tcitworld tcitworld force-pushed the add-all-properties-create-subscription branch from ab562ad to 126f256 Compare July 1, 2016 09:42
@georgehrke
Copy link
Contributor

looks good to me 👍

@DeepDiver1975
Copy link
Member

👍

@DeepDiver1975 DeepDiver1975 merged commit aaf4c30 into master Jul 1, 2016
@DeepDiver1975 DeepDiver1975 deleted the add-all-properties-create-subscription branch July 1, 2016 11:42
@DeepDiver1975 DeepDiver1975 modified the milestones: 9.2, 9.1 Jul 1, 2016
PVince81 pushed a commit that referenced this pull request Jul 8, 2016
DeepDiver1975 pushed a commit that referenced this pull request Jul 8, 2016
* Revert "Merge pull request #25240 from owncloud/remove-svg"

This reverts commit 8b8d2b6, reversing
changes made to a35747b.

* Revert "Merge pull request #25253 from owncloud/users-fixotherquotadropdown"

This reverts commit a35747b, reversing
changes made to a573b68.

* Revert "Merge pull request #25314 from owncloud/files_external-backends-config"

This reverts commit a573b68, reversing
changes made to 8147eef.

* Revert "Add all properties while creating a subscription (#25318)"

This reverts commit aaf4c30.

* Revert "Merge pull request #25276 from owncloud/delete-own-session-token"

This reverts commit e42ce62, reversing
changes made to aaf4c30.

* Revert "Merge pull request #25262 from owncloud/fed-sharing-error"

This reverts commit 027715f, reversing
changes made to e42ce62.
@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CalDAVBackend::createSubscription ignores a lot of properties
4 participants