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

feat: [AXM-349] Implement media generation for problem xblock #2568

Conversation

NiedielnitsevIvan
Copy link

No description provided.

@NiedielnitsevIvan NiedielnitsevIvan self-assigned this Jun 3, 2024
@NiedielnitsevIvan NiedielnitsevIvan force-pushed the NiedielnitsevIvan/AXM-349/feature/Implement-media-generation-for-problem-xblock branch 4 times, most recently from b0f99cd to cf7f366 Compare June 5, 2024 12:01
@NiedielnitsevIvan NiedielnitsevIvan marked this pull request as ready for review June 5, 2024 12:01
@NiedielnitsevIvan NiedielnitsevIvan force-pushed the NiedielnitsevIvan/AXM-349/feature/Implement-media-generation-for-problem-xblock branch 3 times, most recently from 969e20e to e7a46ae Compare June 6, 2024 16:16
@NiedielnitsevIvan NiedielnitsevIvan changed the base branch from mob-develop to NiedielnitsevIvan/AXM-542/feature/Render-xblock-in-CMS June 6, 2024 16:23
log = logging.getLogger(__name__)


def get_static_file_path(relative_path):
Copy link
Collaborator

Choose a reason for hiding this comment

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

We probably will need to use utils from other modules to resolve static for sure

Copy link
Author

Choose a reason for hiding this comment

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

If you mean to use an existing method for this, then unfortunately I couldn't find one, because it uses STATIC_ROOT, not STATIC_URL.

And if you mean to use this method from another part of the platform, then there shouldn't be any problems with that, because assets_management doesn't have imports from LMS and CMS

@NiedielnitsevIvan NiedielnitsevIvan force-pushed the NiedielnitsevIvan/AXM-542/feature/Render-xblock-in-CMS branch from e46b93c to 709e588 Compare June 10, 2024 13:18
@NiedielnitsevIvan NiedielnitsevIvan force-pushed the NiedielnitsevIvan/AXM-349/feature/Implement-media-generation-for-problem-xblock branch from b3114b2 to 450e04a Compare June 10, 2024 13:29
@GlugovGrGlib GlugovGrGlib merged commit 0b64264 into NiedielnitsevIvan/AXM-542/feature/Render-xblock-in-CMS Jun 11, 2024
43 checks passed
GlugovGrGlib pushed a commit that referenced this pull request Jun 11, 2024
* feat: [AXM-349] Implement media generation for problem xblock

* feat: [AXM-349] refactor offline content generation

* style: [AXM-349] fix style issues

* refactor: [AXM-349] move MathJax to assets

* fix: [AXM-349] fix wrong filename

* refactor: [AXM-349] refactor generated file pathes and generating task launching

* style: [AXM-349] remove unused import
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