Commit Graph

59628 Commits

Author SHA1 Message Date
Dillon Dumesnil
2760c96cfd refactor: Misc. clean up from dashboard investigation
There are some refactors to use an existing variable and also
some removals for code paths that would never execute
2021-09-07 14:27:35 -04:00
Dillon Dumesnil
38d2116263 Merge pull request #28467 from edx/transifex-bot-update-translations2021-08-15
fix(i18n): update translations
2021-08-16 07:24:20 -07:00
Michael Terry
012ffc3969 Merge pull request #28462 from edx/mikix/banner-style
fix: modernize look of in-xblock shift-dates banner
2021-08-16 09:51:53 -04:00
Dillon Dumesnil
09bc2d11e6 fix: Updating the branding/api.py to use unicode copyright
This is really just the change to use the unicode copyright symbol
and then rerunning the pull translations logic (minus the transifex step)
to update the eo files. The other changes were just picked up as part of
running those scripts
2021-08-16 09:43:26 -04:00
Michael Terry
033497d1d7 fix: modernize look of in-xblock shift-dates banner
Specifically, use our standard warning-banner colors and add a
drop shadow. Also, updates the text to match the text used
elsewhere.

AA-835
2021-08-16 09:18:05 -04:00
edX Transifex Bot
fb161be624 fix(i18n): update translations 2021-08-15 20:47:16 +00:00
Dillon Dumesnil
49aaa8621d Merge pull request #28434 from edx/ddumesnil/user-activity-model-aa-903
feat: Add User Activity Model for Course Goals AA-903
2021-08-13 10:56:15 -07:00
Dillon Dumesnil
424abc030b feat: Add User Activity Model for Course Goals AA-903 2021-08-13 13:04:03 -04:00
Binod Pant
fa7ed70cc5 fix: No longer fail when course not found on remote LMS (#28459)
For Blackboard and Moodle

ENT-4082
2021-08-13 11:11:52 -04:00
kenclary
a201a36726 Merge pull request #28447 from edx/TNL-7752-b
feat: add explicit courserun_key parameter to /event endpoint
2021-08-13 11:02:31 -04:00
mohtamba
a06774130c Merge pull request #28445 from edx/mohtamba/add-proctor-card-to-course-authoring
Add proctored exam settings card to the pages and resources webpage
2021-08-12 15:39:01 -04:00
Dillon Dumesnil
afbabab3c6 Merge pull request #28455 from edx/ddumesnil/transifex-pull-translations-patch
fix: Transifex fix for local requirements during paver setup
2021-08-12 12:32:49 -07:00
Dillon Dumesnil
b18f9df299 fix: Transifex fix for local requirements during paver setup
Pull Translations has been broken in edx-platform for a number of months
partially in part because of an import issue with local packages during
paver setup. This solves that problem by running make requirements as part
of the pull_translations make target.

Note: This should not be the default behavior. This is only a patch so the
translation job works again. The paver job being run (i18n_compilejs) does
the same install before it runs so we are doubling up there which is not
great.

PROD-2455
2021-08-12 14:39:06 -04:00
Olivia Ruiz-Knott
23ea0c58e3 Merge pull request #28449 from edx/ork/MICROBA-1422_override-date-on-certificate-2
feat: Display date override on certificate
2021-08-12 12:33:33 -06:00
mohtamba
0dd41df4f2 Fix comments and adjust allowed settings
Fix the allowed permissions on the proctored exam cards.
2021-08-12 14:28:49 -04:00
oliviaruizknott
ecba21dcc0 feat: Display date override on certificate
If the certificate has an associated certificate date override, display
that date on the certificate instead of any other date. The date
override should not affect whether or not the certificate is visible /
available; only the date displayed on the certificate.
2021-08-12 11:33:05 -06:00
Attiya Ishaque
7d029f8283 [VAN-332] Full name validation on registration page. (#28444) 2021-08-12 16:07:32 +05:00
edX Transifex Bot
259a3b5cd1 geoip2: update maxmind geolite country database 2021-08-12 02:14:24 +05:00
Robert Raposa
6cbdc92ca0 docs: update README (#28026)
Minor change, mostly to force a deployment. :)
2021-08-11 16:23:43 -04:00
mohtamba
e39d82ab24 Add check for Special Exams toggle 2021-08-11 16:15:08 -04:00
Ken Clary
8c8450f6dc 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-11 14:40:25 -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