Commit Graph

59608 Commits

Author SHA1 Message Date
mohtamba
e39d82ab24 Add check for Special Exams toggle 2021-08-11 16:15:08 -04:00
mohtamba
05482aedeb Merge branch 'master' into mohtamba/add-proctor-card-to-course-authoring 2021-08-11 14:15:15 -04:00
Thomas Tracy
af82c6270a MB-1192: [feat] Add course ended, not passing (#28438)
* MB-1192: [feat] Add course ended, not passing

If a student has not passed a course, the course has ended, and they have a verified seat, we want to show them a message at a glance on the
dashboard.
2021-08-11 11:35:15 -04:00
Matt Tuchfarber
d53d8e45a5 refactor: Merge the openedx certs app with lms one (#28435)
* refactor: Merge the openedx certs app with lms one

Move the certs API from openedx into the lms certificates app.
Functionally, this is a no-op. Cleanup will happen in a subsequent
commit. This is simply a move.
2021-08-11 10:25:55 -04:00
mohtamba
9b7d92fe45 Initial Attempt at adding proctored exam settings
Added proctored settings card, however the page doesn't get the legacy link correctly
2021-08-11 08:34:46 -04:00
edx-pipeline-bot
abe822e28f Merge pull request #28441 from edx/private_to_public_933edd2
Mergeback PR from private to public.
2021-08-11 15:11:17 +05:00
Saad Yousaf
933edd27e5 Merge pull request #233 from edx/TNL-8593/security-fix
fix: update lxml parser for celery tasks to be more secure
2021-08-11 14:07:28 +05:00
Michael Roytman
6d0b8ee7a5 Merge pull request #28420 from edx/mroytman/bump-edx-proctoring-to-3.23.1
chore: upgrade edx-proctoring library to 3.23.1
2021-08-10 10:21:36 -04:00
Bianca Severino
98053147b4 Merge pull request #28425 from edx/bseverino/name-affirmation-service
[MST-916] Set runtime service for Name Affirmation
2021-08-10 09:27:30 -04:00
Alexander J Sheehan
fa05c19ff7 Merge pull request #28427 from edx/asheehan-edx/enterprise-version-bump-3-27-21
maint: bumping enterprise version to 3.27.21
2021-08-10 09:24:47 -04:00
Christie Rice
cf3a6c16d6 fix: Stop showing course certificate buttons to beta testers (#28416)
Beta testers can’t earn course certificates, so they should not see a “Request Certificate” button or other info describing how they can earn a cert.

MICROBA-992
2021-08-10 09:06:14 -04:00
Alexander Sheehan
27bf54da54 maint: bumping edx-enterprise version to 3.27.21 2021-08-09 16:16:06 -04:00
Michael Terry
f2bb92bc64 Merge pull request #28124 from open-craft/arjun/bb-4449-anchor-courseware-chormeless
fix: courseware-chromeless: cancel click event only when target is found
2021-08-09 14:39:37 -04:00
sofiayoon
1ad2846200 Merge pull request #28413 from edx/syoon/AA-947
fix: only apply due date to subsection if there is non-ora content
2021-08-09 14:09:31 -04:00
Sofia Yoon
801acb6867 fix: only apply due date to subsection if there is non-ora content 2021-08-09 13:24:10 -04:00
Robert Raposa
036a1a835c Revert "MB-1192: [feat] Add course ended, not passing certificate status to dashboard messaging (#28405)" (#28426)
This reverts commit 35d9330c19.
2021-08-09 12:38:14 -04:00
Bianca Severino
d0da23058d chore: set runtime service for name affirmation
If special exams are enabled, set a runtime service for Name Affirmation
in order to enable it for use in proctored exam attempts.
2021-08-09 11:38:26 -04:00
Julia Eskew
7fc109ebcb fix: ES 7.10 is now the default ES version for devstack, so change the
default address for testing ES using integration tests in devstack.
2021-08-09 11:37:51 -04:00
Thomas Tracy
35d9330c19 MB-1192: [feat] Add course ended, not passing certificate status to dashboard messaging (#28405)
* [feat] Add course over, not passing status to dash

If a student has not passed a course, the course has ended, and they
have a verified seat, we want to show them a message at a glance on the
dashboard.
2021-08-09 10:03:49 -04:00
Bianca Severino
14a369bd7b Merge pull request #28382 from edx/bseverino/certificate-name
[MST-894]: Use verified name for certificates if enabled
2021-08-09 09:39:04 -04:00
Justin Hynes
8a715a5b67 Merge pull request #28417 from edx/jhynes/microba-1354
refactor!: Remove unused `is_certificate_valid` function
2021-08-09 08:37:33 -04:00
michaelroytman
360f24c716 chore: upgrade edx-proctoring library to 3.23.1 2021-08-06 16:37:12 -04:00
Justin Hynes
e62df6fa0b refactor!: Remove unused is_certificate_valid function
[MICROBA-1354]

* Remove unused `is_certificate_valid` function
2021-08-06 15:54:03 -04:00
Bianca Severino
d2fa7f7239 feat: use verified name for certs if enabled
If the verified name feature is enabled and the user has their
preference set to use verified name for certificates, create and
display certificates with their verified name rather than their
profile name.
2021-08-06 14:28:06 -04:00
Chris Deery
8aedebcdb2 Merge pull request #28384 from edx/cdeery/AA-893/DontShowViewAsLearner
fix: [AA-939] Don't show View As Learner if partitions exist
2021-08-06 10:20:35 -04:00
Matthew Piatetsky
5db6cbb795 Merge pull request #28320 from edx/AA-902
feat: update course goals with new fields and a waffle flag to toggle the new behavior
2021-08-06 09:13:22 -04:00
Matthew Piatetsky
8183a5ae64 address comments 2021-08-05 21:45:58 -04:00
Manjinder Singh
f7c5a109d4 Revert "feat: add explicit courserun_key parameter to /event endpoint" (#28410) 2021-08-05 18:05:20 -04:00
Alexander Sheehan
24c87b5521 maint: bumping enterprise version to 3.27.19 2021-08-05 17:45:57 -04:00
Braden MacDonald
da09bcadc5 refactor: run modulestore tests in common/lib/... using Django
Does 3 things:
(1) Use django for modulestore tests
(2) Use normal LMS settings for modulestore tests instead of openedx/tests/settings.py
(3) Simplify some TestCase subclasses by converting them to use ModuleStoreTestCase


Details and rationale:

(1) Currently parts of the modulestore test suite are designed to run "without django", although there is still a lot of django functionality imported at times, and many of the tests do in fact use django. But for the upcoming PR #27565 (moving split's course indexes from MongoDB to MySQL), we will need to always have Django enabled. So this commit paves the way for that change.

(2) The previous tests that did use Django used a special settings file, openedx/tests/settings.py which made some debugging confusing because those tests had quite different django settings than other tests. This change deletes that file and runs the tests using the LMS test settings.

(3) The test suite also contains many different ways of initializing and testing a modulestore, with significant differences in their configuration, and also a lot of repetition. I find this makes understanding, debugging and writing tests more difficult. So this commit also reduces the number of different "test case using modulestore" base classes:

* Simplifies MixedWithOptionsTestCase and MixedSplitTestCase by making them simple subclasses of ModuleStoreTestCase.
* Removes PureModulestoreTestCase.
2021-08-05 12:20:19 -07:00
Alexander J Sheehan
daac2f7585 Merge pull request #28406 from edx/asheehan-edx/ENT-4733-3-27-16
maint: bumping enterprise version to 3.27.17
2021-08-05 14:35:33 -04:00
kenclary
e14ceaab3f Merge pull request #28333 from edx/TNL-7752
feat: add explicit courserun_key parameter to /event endpoint
2021-08-05 13:59:42 -04:00
cdeery
b4b461b698 fix: collapse unit tests by using ddt 2021-08-05 13:40:03 -04:00
Alexander Sheehan
86aea4d93e maint: bumping enterprise version to 3.27.17 2021-08-05 13:37:41 -04:00
Braden MacDonald
9ce7d57556 refactor: remove unused methods from split modulestore 2021-08-05 10:27:41 -07:00
Braden MacDonald
188e9fb15e fix: use integer user IDs consistently for modulestore APIs/tests
Some actions in split modulestore record the user ID who requested the action. Currently, split modulestore doesn't care what data type you use for those user IDs. Most of the codebase uses integers, but some tests used username or email address strings.

My upcoming PR #27565 will move split modulestore's "course index" data from MongoDB into MySQL. In doing so, it requires that user IDs are always numeric. So this PR paves the way for that one by using numeric IDs consistently in all test cases. I believe the actual non-test code was already consistently using integer IDs.
2021-08-05 10:26:43 -07:00
cdeery
eafea504ac fix: changes suggested in code review
Cleaned up the nits.
2021-08-05 12:35:54 -04:00
Justin Hynes
3a87aad963 Merge pull request #28391 from edx/jhynes/microba-1354
refactor: update name of `cert_generation_enabled` function name to reflect actual purpose
2021-08-05 12:27:42 -04:00
SaadYousaf
bb80192f1c fix: update lxml parser for celery tasks to be more secure 2021-08-05 10:56:28 -04:00
mohtamba
67da5bbb9c Merge pull request #28399 from edx/mohtamba/adjust-special-exam-dropdown-spacing
Fixed spacing on special exam dropdown headers
2021-08-05 10:00:53 -04:00
mohtamba
32ef868bad Adjusted structure of code to minimize changes 2021-08-05 08:31:12 -04:00
Mehak Nasir
c7bb91f589 Merge pull request #28402 from edx/test-fix
fix: description text fix for wiki
2021-08-05 15:56:13 +05:00
Mehak Nasir
a488f33542 fix: description text fix for wiki 2021-08-05 14:12:33 +05:00
Jawayria
29f29f9da1 Merge pull request #28380 from edx/jawayria/tox-modernizer
chore: Executed tox-modernizer codemod
2021-08-05 13:04:54 +05:00
edX cache uploader bot
cf53db8f29 Updating Bokchoy testing database cache (#28398) 2021-08-05 10:10:05 +05:00
Ken Clary
bbb14a2c6a feat: add explicit courserun_key parameter to /event endpoint
We add 'courserun_key' (aka "course_id" though that's technically a
misnomer) as an optional parameter to the /event endpoint url. If it
is not present, it will still be parsed out of the url, if the url is
of the right format.

Additionally, Logger.log() in js adds this parameter to its /event
call, pulling it from the $$course_id global.

This provides opportunity for MFEs to (separately) provide the key
without concern about url parsing.

TNL-7752
2021-08-04 22:47:43 -04:00
edX Transifex Bot
e25f4af13f geoip2: update maxmind geolite country database 2021-08-05 02:24:24 +05:00
mohtamba
30a70d06c2 Fixed spacing on dropdowns 2021-08-04 15:25:02 -04:00
Jawayria
5bba158419 Merge pull request #28355 from edx/jawayria/lms-codemod-1
chore: Executed codemods on lms
2021-08-04 21:14:45 +05:00
Andrew Shultz
7303e771a5 Merge pull request #28397 from edx/ashultz0/proctoring3230
chore: update edx-proctoring to 3.23.0
2021-08-04 11:58:04 -04:00