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

Consider implementing X-MICROSOFT-CDO-BUSYSTATUS #32

Closed
barrymieny opened this issue Jan 15, 2015 · 6 comments
Closed

Consider implementing X-MICROSOFT-CDO-BUSYSTATUS #32

barrymieny opened this issue Jan 15, 2015 · 6 comments

Comments

@barrymieny
Copy link

We sometimes need to specify out-of-office (X-MICROSOFT-CDO-BUSYSTATUS:OOF) for the status, but this library doesn't support it at the moment. I don't know if this can be implemented as part of $event->setStatus or if it would need to be a separate new property. If this can't be implemented, is there a way to set a custom property manually?

@navarr
Copy link
Contributor

navarr commented Jan 15, 2015

Microsoft Extensions to iCal might be out of scope of this project.

Though it would be fairly easy to write your own MicrosoftEvent that extends Event. You'd want to add a protected variable with getters and setters for your busystatus, and you'd want to overwrite buildPropertyBag(). In your new buildPropertyBag, you'd call parent::buildPropertyBag() and then do

$this->properties->set('X-MICROSOFT-CDO-BUSYSTATUS', $busyStatus); where $busyStatus is your busyStatus, of course.

@barrymieny
Copy link
Author

Thanks, I'll have a look at that. I just thought it could possibly be included as another X-MICROSOFT-CDO-* property is already implemented for all-day events.

@navarr
Copy link
Contributor

navarr commented Jan 15, 2015

I did say might. It's up to @markuspoerschke and I guess anyone who wants to write the code.

@markuspoerschke
Copy link
Owner

Hey,
thanks for you ideas. At the moment we have already some Microsoft and Apple related features implemented. I think this quite useful because this is one of the major problem to keep the iCal file compatible with different readers. Common use cases are of course using Microsoft Outlook or Apple Calendar.

@barrymieny Feel free to open a merge request to add this functionality 😄 I the Microsft Busystatus related to the offical FBSTATUS? (https://tools.ietf.org/html/rfc5545#section-3.2.9)

@barrymieny
Copy link
Author

@markuspoerschke, yes it does seem to be related. From what I can gather though, the Microsoft "OOF" value isn't equal to any of the RFC values. I will have a look at doing a merge after thinking through the best way to handle the "OOF" usage specifically. It would probably be best to just equate it to FBSTATUS BUSY.

@markuspoerschke
Copy link
Owner

I close this issue, because of #146 implements this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants