Skip to content

Generate one ical event for meetings instead of one per weekday #339

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

Closed

Conversation

natep-tech
Copy link

Updated the generateIcal() function. (Breaking out the multiple changes from #325 into separate PRs for clarity)

Added code that'll generate a single series for a multi-day course (Mon,Web,Fri for example) to simplify calendars (see the iCal specification for RRULE). If any details are different between the different times (different location or times, for example) it'll fallback to the old code that makes separate series for each listed time in the course. #63

Updated the generateIcal() function.

1. Updated the code that gets the starting date of the course, to use the weekday number of the term start date. This way if the term starts on a day other than Monday, it'll still correctly generate the start day of the course.,

2. Added code that'll generate a single series for a multiday course (Mon,Web,Fri for example) to simplify calendars. If any details are different between the different times (different location or times, for example) it'll fallback to the old code that makes separate series for each listed time in the course.
Updated the generateIcal() function:

1. Updated the code that gets the starting date of the course, to use the weekday number of the term start date. This way if the term starts on a day other than Monday, it'll still correctly generate the start day of the course.,

2. Added code that'll generate a single series for a multiday course (Mon,Web,Fri for example) to simplify calendars. If any details are different between the different times (different location or times, for example) it'll fallback to the old code that makes separate series for each listed time in the course.
@natep-tech natep-tech requested a review from a team as a code owner December 26, 2023 20:18
@Mstrodl
Copy link
Member

Mstrodl commented Jan 3, 2024

Please fix merge conflicts

@Mstrodl Mstrodl changed the title Update Schedule.php to fix iCal's that have classes that happen on multiple days of the week Generate one ical entry for meetings instead of one per weekday Jan 3, 2024
@Mstrodl Mstrodl changed the title Generate one ical entry for meetings instead of one per weekday Generate one ical event for meetings instead of one per weekday Jan 3, 2024
@natep-tech
Copy link
Author

Merge conflicts should be resolved now.

@Mstrodl
Copy link
Member

Mstrodl commented Jan 3, 2024

Hm. The diff still doesn't look right. Try rebasing against develop?

natep-tech and others added 3 commits January 8, 2024 12:25
Updated the generateIcal() function.

1. Updated the code that gets the starting date of the course, to use the weekday number of the term start date. This way if the term starts on a day other than Monday, it'll still correctly generate the start day of the course.,

2. Added code that'll generate a single series for a multiday course (Mon,Web,Fri for example) to simplify calendars. If any details are different between the different times (different location or times, for example) it'll fallback to the old code that makes separate series for each listed time in the course.
@natep-tech
Copy link
Author

I ran a rebase again, hopefully that fixes everything

Copy link
Member

@Mstrodl Mstrodl left a comment

Choose a reason for hiding this comment

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

I'm going to see if I can fix this

@natep-tech
Copy link
Author

natep-tech commented Jan 9, 2024

I apologize for the trouble with this PR. Thank you for your patience, the two comments you left should have been resolved by my latest commit.

I'm doing another quality review tonight to ensure the rest of the file is up to snuff.

@Mstrodl
Copy link
Member

Mstrodl commented Jan 9, 2024

superseded by #343

@Mstrodl Mstrodl closed this Jan 9, 2024
@natep-tech natep-tech deleted the Fix-iCal-Generation branch January 11, 2024 19:41
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