Commit Graph

3030 Commits

Author SHA1 Message Date
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
edX cache uploader bot
b2150cf52e Updating Bokchoy testing database cache (#27116) 2021-03-24 12:51:23 +05:00
edX cache uploader bot
d16241a8d5 Updating Bokchoy testing database cache (#27007) 2021-03-15 19:59:03 +05:00
Kyle McCormick
8813a61da2 feat!: remove SemanticSectionDescriptor, the final XModule (#26990)
A "section" tag in an OLX upload used to map to the
SemanticSectionDescriptor, which translated it into a Sequence
("sequential" tag). This is both obscure and confusing, since it uses
language that predates Studio. Back in the LMS prototype days,
"section" was inconsistently used to be interchangeable with "sequence"
and "sequential", and what Studio today calls a "section" was called a
"chapter". Bits of this legacy terminology are still around in the
courseware rendering code.

The upshot is that if you make an OLX tag "section" before this commit,
it would not map to what we call a "Section" in all our documentation,
but to a "Subsection"; furthermore, if that <section> only had one child
element, the node would be replaced with its singular child, removing
the <section> node from the course tree entirely.

The fact that you can make a "section" OLX tag
at all is nowhere in our documentation because courses haven't been
written that way since late 2011 or early 2012.

SemanticSectionDescriptor came up as part of the XModule ->
XBlock conversion efforts as a legacy XModule that isn't worth
converting. With the removal of this class, all XBlocks
in edx-platform are "pure" XBlocks, ending our reliance
on the XModule-to-XBlock shimming infrastructure.

This commit also removes the process_includes decorator, which was only
used for "section" tags. This does NOT delete the ProblemBlock-specific
<include> tag, which is still supported (if obscure).

There is a chance that through tribal knowledge or copy-paste, some
section tags survive in the wild of old edX courses. It's difficult for
us to assess because by its nature, this tag doesn't just say
"section", but instead actually does the mutation on import so it's
stored as "sequential" in the modulestore–therefore things like
CourseGraph can't detect it.
The fix for any such XML-authored courses is:
* For instances of <section> that wrap a single child node,
  replace the <section> node in favor of its child node.
* For instances of <section> that wrap a sequence of children,
  substitute <section> with <sequential>
Note that "<section>" is a valid HTML tag
type and so may show up in any component that can contain HTML and is
unrelated to the course structure OLX tag alias "<section>" that this
commit removes.

DEPR-124
2021-03-15 09:04:23 -04:00
edX cache uploader bot
9bfa56e27b Updating Bokchoy testing database cache (#26929) 2021-03-10 13:13:37 +05:00
M. Zulqarnain
a664067323 refactor: pyupgrade in common/tests (#26725) 2021-03-09 18:03:34 +05:00
edX cache uploader bot
1310f9ed70 Updating Bokchoy testing database cache (#26906) 2021-03-09 14:19:10 +05:00
edX cache uploader bot
aecf6f1d51 Updating Bokchoy testing database cache (#26896) 2021-03-08 21:04:33 +05:00
edX cache uploader bot
39b9099cdf Updating Bokchoy testing database cache (#26861) 2021-03-05 14:14:42 +05:00
Jawayria
3296619b7b Merge pull request #26534 from edx/jawayria/bom-2351-7
BOM-2351: Removed unused imports from common/test
2021-02-26 16:19:37 +05:00
edX cache uploader bot
7daf618f96 Updating Bokchoy testing database cache (#26720) 2021-02-25 13:00:36 +05:00
edX cache uploader bot
a9e3d716cf Updating Bokchoy testing database cache (#26693) 2021-02-24 13:19:39 +05:00
edX cache uploader bot
3dca7279f0 Updating Bokchoy testing database cache 2021-02-22 11:24:06 -05:00
usamasadiq
96f0915b0f Fixed new pylint warnings.
use generator in any/all()
disable not-callable warnings
disable no-member warnings
Suppressed smaller pylint warnings
Pin edx-proctoring==3.5.0
2021-02-22 16:36:53 +05:00
edX cache uploader bot
4f21aebd63 Updating Bokchoy testing database cache 2021-02-19 04:23:03 -05:00
Aarif
874436b720 replaced unittest assertions pytest assertions (#26539) 2021-02-18 19:13:12 +05:00
edX cache uploader bot
bcdd70bf8e Updating Bokchoy testing database cache (#26562) 2021-02-16 17:07:45 +05:00
Jawayria
62ca4742c1 BOM-2351: Removed unused imports from common/test 2021-02-15 19:30:40 +05:00
edX cache uploader bot
f383a5b385 Updating Bokchoy testing database cache (#26448) 2021-02-09 14:03:15 +05:00
edX cache uploader bot
856087d516 Updating Bokchoy testing database cache 2021-02-04 10:16:18 -05:00
Ali Akbar
c5b0056b30 Merge pull request #215 from edx/IM/security-fixes-6
Incident Management Security Fixes 6
2021-02-04 00:03:38 +05:00
edX cache uploader bot
43ea6c5904 Updating Bokchoy testing database cache (#26334) 2021-02-03 13:55:42 +05:00
Jawayria
9e677960bf Applied pylint-amnesty to common/{lib, test, __init__.py} 2021-02-02 15:42:02 +05:00
usamasadiq
dbfec8ee3c Remove nonrequired conditions 2021-02-01 16:30:47 +05:00
Ali-D-Akbar
533ef0d20e PROD-2248 2021-02-01 15:32:28 +05:00
edX cache uploader bot
2f994a9b21 Updating Bokchoy testing database cache (#26225) 2021-01-29 14:56:13 +05:00
edX cache uploader bot
feab79fc73 Updating Bokchoy testing database cache 2021-01-25 10:37:56 -05:00
edX cache uploader bot
e5ebd2077d Updating Bokchoy testing database cache 2021-01-22 10:08:31 -05:00
edX cache uploader bot
64e06aff02 Updating Bokchoy testing database cache (#26118) 2021-01-20 16:02:43 +05:00
edX cache uploader bot
6ab6cc1536 Updating Bokchoy testing database cache 2021-01-15 08:57:04 -05:00
edX cache uploader bot
830ca33564 Updating Bokchoy testing database cache (#25996) 2021-01-07 00:19:47 +05:00
Ali Akbar
d93abb8d6e Merge pull request #212 from edx/IM/security-fixes-3
Incident Management Security Fixes 3
2021-01-04 18:41:49 +05:00
Ali-D-Akbar
6104eda482 PROD-2252 2020-12-18 20:48:05 +05:00
edX cache uploader bot
8edcda1189 Updating Bokchoy testing database cache (#25912) 2020-12-18 14:13:29 +05:00
edX cache uploader bot
bef3fe4e02 Updating Bokchoy testing database cache 2020-12-15 23:40:32 -05:00
edX cache uploader bot
3551f63f82 Updating Bokchoy testing database cache 2020-12-10 15:20:47 -05:00
edX cache uploader bot
89d182be62 Updating Bokchoy testing database cache (#25814) 2020-12-09 19:00:41 +05:00
edX cache uploader bot
b9738dec18 Updating Bokchoy testing database cache (#25780) 2020-12-07 15:01:29 +05:00
edX cache uploader bot
f68dee02b8 Updating Bokchoy testing database cache (#25748) 2020-12-03 15:22:43 +05:00
Sarina Canelake
2a9d4b796c Merge pull request #25719 from edx/sarina/demox-code-grader
Fix demoX grader print statements
2020-12-02 10:43:05 -05:00
sarina
fa6ace3344 Fix demox code grader print statements 2020-12-02 09:24:53 -05:00
edX cache uploader bot
5588774f29 Updating Bokchoy testing database cache 2020-12-02 08:03:39 -05:00
Sarina Canelake
8378c5714b Merge pull request #25295 from ErikWaters/ewaters/demox-code-grader
Correct DemoX Code Grader solution
2020-12-01 14:56:23 -05:00
edX cache uploader bot
aeb7e0ac1d Updating Bokchoy testing database cache 2020-11-20 05:46:54 -05:00
edX cache uploader bot
e73f0a3dfc Updating Bokchoy testing database cache 2020-11-19 03:37:20 -05:00
edX cache uploader bot
bcc6a86503 Updating Bokchoy testing database cache (#25627) 2020-11-18 18:18:20 +05:00
edX cache uploader bot
fc18fbaa2a Updating Bokchoy testing database cache 2020-11-17 11:13:43 -05:00