-
Notifications
You must be signed in to change notification settings - Fork 42
refactor: Remove parsel dependency and fix other issues #228
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
base: master
Are you sure you want to change the base?
Conversation
|
@Waleed-Mujahid, I just updated the deps in this repo. Could you please rebase your PR on the latest version of the |
…plorerBlock - Replaced the `_change_relative_url_to_absolute` method with `_replace_relative_static_urls` to utilize a service for URL replacement. - Updated JavaScript to notify runtime on save completion. - Removed parsel from requirements as it is no longer needed. - Upgraded various dependencies in requirements files.
These buttons need to be loaded in both lms and studio explanation: openedx#83 (comment)
5c8662a to
28d17e1
Compare
|
@Agrendalath Done |
da04df4 to
e17aaa4
Compare
|
@Agrendalath @farhaanbukhsh Any feedback on this PR? |
|
Hi @Waleed-Mujahid, I will test this later this week. In the meantime, could you please update the minor version when you have a moment? |
Agrendalath
left a comment
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.
@Waleed-Mujahid, sorry for the delay on this review. Please bump the version to 3.1.0.
👍
- I tested this: checked that the XBlock can be installed in Teak, and replaces the relative links correctly
- I read through the code
- I checked for accessibility issues: n/a
- Includes documentation: n/a
| import logging | ||
| import textwrap | ||
| from io import StringIO | ||
| from urllib.parse import urljoin |
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.
Nit: urljoin is not needed anymore.
Description
_change_relative_url_to_absolutemethod with_replace_relative_static_urlsto utilize a service for URL replacement.Fixes: #197