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

http_caldav.c: do not require tzdist module for calendar-timezone-id #5065

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

rsto
Copy link
Member

@rsto rsto commented Oct 3, 2024

No description provided.

@rsto rsto requested a review from ksmurchison October 3, 2024 14:07
Copy link
Contributor

@ksmurchison ksmurchison left a comment

Choose a reason for hiding this comment

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

This works, but couldn't we just always set ALLOW_CAL_NOTZ?

@rsto
Copy link
Member Author

rsto commented Oct 3, 2024

I thought that, too. We could but it would enable a couple of other features, too.

Copy link
Contributor

@ksmurchison ksmurchison left a comment

Choose a reason for hiding this comment

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

Yeah, you're right. This is probably safer for now. However, I also think we want this change in propfind_timezone() as well.

@rsto rsto force-pushed the http_caldav_proppatch_timezone_id branch from 1ff33b7 to 4dbcf4f Compare October 3, 2024 14:33
@rsto
Copy link
Member Author

rsto commented Oct 3, 2024

Agreed. Applied change and restarted CI.

@rsto rsto force-pushed the http_caldav_proppatch_timezone_id branch from 4dbcf4f to 30dbd79 Compare October 4, 2024 06:19
@rsto
Copy link
Member Author

rsto commented Oct 4, 2024

Could not reproduce CI failures on local build. Most likely a VM glitch. Rerunning CI.

@rsto rsto force-pushed the http_caldav_proppatch_timezone_id branch from 30dbd79 to ffe619a Compare October 4, 2024 07:17
@dilyanpalauzov
Copy link
Contributor

proppatch_tzid() could reject acting on Scheduling Outbox and Attachments.

caldav_get_calendar_tz() looks for the timezone in the collection and in the calendar-homeset. It is reasonable to allow proppatch_tzid() and proppatch_timezone() when req_tgt.userid is set, fctx->req_tgt->resource is not set, and irrespective of whether fctx->req_tgt->collection is NULL.

@rsto rsto force-pushed the http_caldav_proppatch_timezone_id branch from ffe619a to 0612d1e Compare October 21, 2024 11:58
@rsto rsto merged commit cca5510 into cyrusimap:master Oct 22, 2024
1 check passed
@rsto rsto deleted the http_caldav_proppatch_timezone_id branch October 22, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants