Commit Graph

3076 Commits

Author SHA1 Message Date
Justin Lapierre
f6f3a79a15 Revert "[BD-13] Deprecate ModuleSystem.render_template" 2021-11-16 15:16:08 -05:00
Ned Batchelder
d9dd10dc97 style: code cleanups from Steven Burch (#29292)
* chore: update deprecated import from collections

* chore: remove outdated imports from markdown library

as it hasn't been supported since 2.0.3 and we're on 3.x.
This was deprecated at least as early as 2012!

* docs: add docstring and remove lint-amnesty to markdown plugin

* chore: remove deprecated etree import

* style: remove unnecessary-comprehension for sets

* style: resolve a number of amnestied pylint complaints

Co-authored-by: stvn <stvn@mit.edu>
2021-11-10 07:11:57 -08:00
Jillian Vogel
457f959356 refactor: deprecates ModuleSystem.render_template
in favor of the added MakoSystem render_template method.

Related changes:
* Adds the MakoService to the StudioEditModuleRuntime,
  PreviewModuleSystem, LmsModuleSystem, and XBlockRuntime
* MakoService constructor takes a `namespace_prefix` string, so that the
  CMS PreviewModuleSystem can render to LMS templates, without needing
  the special render_from_lms helper method.
* ModuleSystem.render_template becomes a read-only property, so the
  constructor calls and test module systems are updated accordingly.
* Adds tests for the MakoService and module system shims.
2021-11-09 14:03:50 +10:30
Matthew Piatetsky
4583b639e6 fix: change svg to png and other email fixes (#29145) 2021-10-29 15:12:36 -04:00
Kyle McCormick
9bf266f717 fix: add missing __init__.py files 2021-10-21 09:54:22 -04:00
Usama Sadiq
023f4144ab fix: fix new pylint warnings (#28725) 2021-09-23 17:54:15 +05:00
DawoudSheraz
e986d360c9 refactor: move course location util to common djangoapp instead of xmodule 2021-09-03 12:40:28 +05:00
Azan Bin Zahid
1cce2e952d feat: add pact verification method 2021-08-24 14:59:46 +05:00
edX cache uploader bot
f7d41c4afc Updating Bokchoy testing database cache (#28493) 2021-08-20 20:50:56 +05:00
edX cache uploader bot
cf53db8f29 Updating Bokchoy testing database cache (#28398) 2021-08-05 10:10:05 +05:00
edX cache uploader bot
414d020380 Updating Bokchoy testing database cache (#28328) 2021-08-02 09:15:10 -04:00
edX cache uploader bot
0dc34f8862 Updating Bokchoy testing database cache (#28283) 2021-07-28 15:09:12 +05:00
edX cache uploader bot
665b32e477 Updating Bokchoy testing database cache (#28262) 2021-07-24 14:56:12 +05:00
Bianca Severino
025eae4b98 chore: install edx-name-affirmation 2021-07-20 14:34:28 -04:00
edX cache uploader bot
33eee4ee3e Updating Bokchoy testing database cache (#28226) 2021-07-20 11:02:49 +05:00
edX cache uploader bot
235f8244f8 Updating Bokchoy testing database cache (#28173) 2021-07-14 11:40:30 +05:00
edX cache uploader bot
b04082dd40 Updating Bokchoy testing database cache (#28160) 2021-07-13 12:30:01 +05:00
edX cache uploader bot
fb7ff7798a Updating Bokchoy testing database cache (#28154) 2021-07-12 22:21:26 +05:00
edX cache uploader bot
8e11603bb6 Updating Bokchoy testing database cache (#28106) 2021-07-07 20:36:25 +05:00
edX cache uploader bot
27d57d1b7e Updating Bokchoy testing database cache (#28099) 2021-07-07 11:45:36 +05:00
edX cache uploader bot
36319bda48 Updating Bokchoy testing database cache (#28087) 2021-07-03 08:40:54 +05:00
edX cache uploader bot
e2319b972b Updating Bokchoy testing database cache (#28079) 2021-07-02 04:59:05 +05:00
Michael Terry
c62626227a fix: jump_to should redirect to first unit on invalid key
Previously, it would 404. While accurate, it's not a great user
experience. Users can be offered invalid jump_to paths in the normal
course of things, if course content disappears or they lose access
to it.

In both cases, they might be offered a resume URL in the courseware
that would be to a now-invalid location.

With this change, that invalid link will at least give them
*something* (the first unit in the course) rather than an error
page.

This also (unrelatedly) fixes an exception when the learning MFE
outline page tries to render a course that contains sequences
with no children.

AA-867
2021-06-28 15:43:12 -04:00
edX cache uploader bot
e0a04c6b48 Updating Bokchoy testing database cache (#28027) 2021-06-24 22:32:15 +05:00
edX cache uploader bot
94b97c1f8f Updating Bokchoy testing database cache (#28010) 2021-06-24 12:18:48 +05:00
sofiayoon
3616910841 Merge pull request #27899 from edx/syoon/AA-797
feat: AA-797 switch course home flag to opt out
2021-06-21 09:37:48 -04:00
edX cache uploader bot
2d79aabacb Updating Bokchoy testing database cache (#27971) 2021-06-17 10:24:59 +05:00
Sofia Yoon
e645d11bba feat: AA-797 switch course home flag to opt out by replacing it with a course home use legacy frontend flag 2021-06-16 10:04:49 -04:00
edX cache uploader bot
38ce1e6bd2 Updating Bokchoy testing database cache (#27962) 2021-06-16 12:06:43 +05:00
edX cache uploader bot
fd937661e0 Updating Bokchoy testing database cache (#27949) 2021-06-14 23:38:28 +05:00
edX cache uploader bot
73fa7bd3b1 Updating Bokchoy testing database cache (#27938) 2021-06-14 13:07:38 +05:00
Julia Eskew
14ec30e018 feat: Make the new courseware MFE the default courseware experience.
- Remove the REDIRECT_TO_COURSEWARE_MICROFRONTEND waffle flag.
- Add a new COURSEWARE_USE_LEGACY_FRONTEND waffle flag that directs
all learners to the legacy courseware experience.
- Skip two failing a11y tests which fail due to the new default of
the courseware MFE.

TNL-8279
2021-06-10 12:21:24 -04:00
edX cache uploader bot
15422b0b20 Updating Bokchoy testing database cache (#27903) 2021-06-10 13:16:04 +05:00
edX cache uploader bot
020c3707b1 Updating Bokchoy testing database cache (#27846) 2021-06-04 23:52:54 +05:00
edX cache uploader bot
114fbeabdf Updating Bokchoy testing database cache (#27823) 2021-06-03 19:58:37 +05:00
edX cache uploader bot
7a6ac8642d Updating Bokchoy testing database cache (#27769) 2021-05-28 20:39:49 +05:00
edX cache uploader bot
b0c74b4272 Updating Bokchoy testing database cache (#27685) 2021-05-20 13:52:32 +05:00
edX cache uploader bot
e1d4dc7d62 Updating Bokchoy testing database cache (#27666) 2021-05-20 00:38:02 +05:00
edX cache uploader bot
6cc3515fa0 Updating Bokchoy testing database cache (#27663) 2021-05-18 14:10:56 +05:00
Usama Sadiq
4f4be6538a BOM-2477: pylint warnings lint-amnesty (#27585) 2021-05-11 17:22:40 +05:00
Usama Sadiq
e7b8328620 BOM-2494: pyupgrade second iteration-IX (#27449) 2021-05-10 13:45:29 +05:00
edX cache uploader bot
3c6222052e Updating Bokchoy testing database cache (#27531) 2021-05-06 12:52:14 +05:00
M. Zulqarnain
73f5da9b32 Revert "Updating Bokchoy testing database cache (#27514)" (#27523)
This reverts commit 91422e22e7.
2021-05-05 16:38:20 +05:00
edX cache uploader bot
91422e22e7 Updating Bokchoy testing database cache (#27514) 2021-05-05 12:57:53 +05:00
edX cache uploader bot
94818924a5 Updating Bokchoy testing database cache 2021-04-29 12:08:51 +05:00
edX cache uploader bot
af59696087 Updating Bokchoy testing database cache (#27445) 2021-04-28 17:36:15 +05:00
edX cache uploader bot
bb3bf5c15e Updating Bokchoy testing database cache (#27298) 2021-04-12 22:35:40 +05:00
edX cache uploader bot
9106174b5a Updating Bokchoy testing database cache 2021-04-06 12:19:47 +05:00
Christie Rice
1181fb343e feat!: Remove allow_certificate checks from course certificates (#27206)
DEPR-140 MICROBA-985
2021-04-05 14:00:07 -04:00
edX cache uploader bot
c4a905352a Updating Bokchoy testing database cache (#27214) 2021-04-01 18:05:19 +05:00