-
Notifications
You must be signed in to change notification settings - Fork 108
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 moodle filter adaption to the meeting topic and description #615
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @karenliulll ! There were a couple bumps during our testing, but it's definitely doing some nice things for the Zoom description/agenda. Hopefully we can find a more-reliable way to handle the context piece and determine if Moodle activity names are supported by filters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks great overall and fixes two existing edge cases. The only concern I have now is getting the module context in a reliable way so that the filters can produce the expected output.
This should be tested to see if/how well the code paths are working:
|
I did some quick testing and came across the following issues -
|
It should, but the Lines 426 to 429 in 8dc452f
My idea is: "Move the
I don't know what the sequence is or what the context is as the point when the restore steps run. And it's possible that the full course backup and restore would behave differently than an individual activity backup/restore and even a activity duplicate action. However, I do think that the fixes for question "2" might significantly help fix some of these issues because the "calculated" name will be updated semi-regularly by Moodle and send the updates into Zoom. |
I tested all the above after the latest code change, it works fine for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much @karenliulll!
This journey was much more complicated than expected, but the resulting code is definitely an improvement. When we know the context, we are now correctly filtering it without any significant overhead.
Process Zoom meeting topic and description with proper Moodle filters such as filterCodes and Generico when being viewed outside of Moodle (tested on our NC State Zoom site).
Fixes #610
Fixes #616