Commit Graph

18981 Commits

Author SHA1 Message Date
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
Diana Huang
29548459fa refactor: Remove PyContracts usage. (#27887)
* refactor: Remove PyContracts usage.

We have not used PyContracts in a while and it is overhead we don't
need in edx-platform.

https://openedx.atlassian.net/browse/DEPR-147

* chore: Updating Python Requirements (#28018)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-06-23 18:24:06 -04:00
edX Transifex Bot
a775d5cebc geoip2: update maxmind geolite country database 2021-06-24 02:17:58 +05:00
Diane Kaplan
797e93e89e REV-2260: fix decimal display issue for enterprise learners 2021-06-22 09:19:27 -04:00
Kristin Aoki
456d6c502c fix: Update course preview redirect
This PR changes the preview URL redirect from Studio. Before when a user clicked on the course preview button to check unpublished changes, the preview in the New Experience would show the most recently published version of the course. The unpublished changes that the user was hoping to view are no present. At the moment users have been publishing the content to check it then having to republish the old version if they did not like the changes. As a short-term fix, this PR redirects to the Legacy experience where the preview option previously worked. Now the user can see the unpublished changes. A long-term fix is still being explored. This change will impact the Course Author.
2021-06-21 13:36:21 -04: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
edX Transifex Bot
73c026fa9d geoip2: update maxmind geolite country database 2021-06-17 02:27:47 +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
Albert (AJ) St. Aubin
add5c1130b feature: Update text for downloadable certs 2021-06-16 09:09:35 -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
Régis Behmo
b1eaf9c7f8 refactor: remove deprecated mongodb client class
As of pymongo 3.0, the MongoReplicaSetClient is deprecated in favour of
MongoClient. Thus, the creation of mongodb clients is simplified.

See: https://pymongo.readthedocs.io/en/stable/changelog.html#mongoclient-changes
2021-06-14 09:42:34 -04:00
Zainab Amir
014a54c7b7 Fix account activation messages (#27913) 2021-06-14 14:31:02 +05:00
edX cache uploader bot
73fa7bd3b1 Updating Bokchoy testing database cache (#27938) 2021-06-14 13:07:38 +05:00
SaadYousaf
1189766c36 fix: update MathJax configuration to set default renderer to SVG 2021-06-11 22:14:52 +05:00
Ihor Romaniuk
06c542dfa0 [BD-26] feat: add temporary waffle flag for enabling disabling proctored exams (#27810)
* feat: [BD-26] add the is_proctored value to SequenceMetadata API

* feat: add temporary flag for enabling/disabling proctored exams

* fix: change creation date

* fix: fix text indents

* fix: [BD-26] Remove redundant duplicated test.

Co-authored-by: Sagirov Eugeniy <sagirov19@gmail.com>
Co-authored-by: Igor Degtiarov <igor.degtiarov@raccoongang.com>
2021-06-11 10:04:11 -04: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
Adeel Ehsan
335a0f28de Merge pull request #27661 from edx/aehsan/VAN-434/account_activation_dialogue_box_added
Account activation popup added
2021-06-10 15:20:15 +05:00
adeelehsan
78f1f1916c Account activation popup added
VAN-434
2021-06-10 14:46:49 +05:00
edX cache uploader bot
15422b0b20 Updating Bokchoy testing database cache (#27903) 2021-06-10 13:16:04 +05:00
edX Transifex Bot
d818b816c0 geoip2: update maxmind geolite country database 2021-06-10 12:55:31 +05:00
Saad Yousaf
783925332d fix: update MathJax configs to use Common HTML as default renderer. (#27877)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.lan>
2021-06-10 12:47:41 +05:00
Bianca Severino
c3c31af329 Merge pull request #27898 from edx/bseverino/integrity-signature-flag-fix
fix: convert integrity signature waffle flag to CourseWaffleFlag
2021-06-09 14:01:54 -04:00
Bianca Severino
58d5b29f19 fix: convert integrity signature waffle flag to CourseWaffleFlag 2021-06-09 13:19:17 -04:00
Mike OConnell
d083912ff3 Add log message when password reset requested (#27886)
Logs an INFO message whenever a password reset email is generated.
The intent is to detect abuse of this feature.

SEG-48
2021-06-09 11:05:31 -04:00
Kyle McCormick
de8859584f Merge pull request #27874 from edx/kdmccormick/xmodule-no-cms
refactor: make xmodule & openedx independent of code in cms

The xmodule and openedx packages both contain code that is common
between LMS and CMS. The cms package is, of course,
contains CMS-specific code.

So, one prerequisite to extracting CMS into an independent service
will be making sure that lms, common, openedx, and the projects in
common/lib (xmodule, capa, etc.) are not coupled to any CMS-specific
features. This PR moves us towards that reality by making sure
that those packages are independent from cms from a Python-import
perspective, at least.
2021-06-09 09:15:31 -04:00
Christie Rice
e7900160e8 test: Remove flaky test (#27885)
CR-3732
2021-06-08 15:07:23 -04:00
Albert (AJ) St. Aubin
eb346f1ab2 feature: Updated the text when a learner earns a cert on the Dashboard
[MICROBA-678]

This patch will update the text on the course dashboard when a learner
successfully earns a certificate and that certificate is available. It
also adds to the Outline API for the Outline in the Learning MFE so that
the same changes can be made there.
2021-06-08 14:07:06 -04:00
Kyle McCormick
7a26ec6b92 refactor: move xml_importer-specific exceptions into xml_importer
This is a minor refactoring in order to remove
a code dependency of ./xmodule on ./cms
2021-06-08 10:46:52 -04:00
Kyle McCormick
c1e79c993e refactor: use handler_url from xblock runtime, not cms
This is a minor refactoring in order to remove
a code dependency of ./xmodule on ./cms
2021-06-08 10:46:52 -04:00
Albert (AJ) St. Aubin
c37e88fdbf refactor: Move CertificateStatuses to data.py file per OEP-49
[MICROBA-678]

To allow access to CertificateStatuses constants in other Django apps we are moving the
CertificateStatuses enum to data.py per OEP-49.
2021-06-08 08:56:21 -04:00
Kyle McCormick
d42b0c401d refactor: normalize xmodule imports
Code in ./common/lib/xmodule/xmodule should
be imported as `from xmodule`, since `xmodule`
is a locally-installed package.

This is weird, but as long as it is the case,
we should be consistent.

(In BOM-2584, I propose moving the files to
 ./xmodule, which would quell this confusion.)
2021-06-07 16:36:38 -04:00
edX cache uploader bot
020c3707b1 Updating Bokchoy testing database cache (#27846) 2021-06-04 23:52:54 +05:00
Bianca Severino
f19582a67c Merge pull request #27831 from edx/bseverino/proctoring-integrity-signature-check
[MST-838] Pass integrity signature waffle flag to timed exam view
2021-06-04 11:26:05 -04:00
Bianca Severino
f7aee7a900 fix: pass integrity signature waffle flag to timed exam view 2021-06-03 15:28:39 -04:00
Michael Terry
20429dde34 Merge pull request #27826 from edx/mikix/grade-display-names
fix: don't escape assignment names in grades API
2021-06-03 11:48:24 -04:00
Michael Terry
6a41c61adc fix: don't escape assignment names in grades API
We had been pre-escaping display names like 'Math & Science' as
'Math &amp; Science" in the REST API itself - which meant that
consumers like MFEs that do their own escaping displayed the wrong
thing.

It's better for the API to just leave the string as-is. As far as
I know, this only affects the gradebook and progress pages, both
of which do their own escaping of the result from the API already.

AA-808
2021-06-03 11:11:07 -04:00
edX cache uploader bot
114fbeabdf Updating Bokchoy testing database cache (#27823) 2021-06-03 19:58:37 +05:00
Shimul Chowdhury
2a8a58ae6b feat: add Course Membership API
The get_course_members API returns a dict of users associated with a course.
This is a potentially expensive operation on a large course, so there is a
control in place to limit its cost.  If a course has more than
settings.COURSE_MEMBER_API_ENROLLMENT_LIMIT enrollments, then the function
raises an OverEnrollmentLimitException.

This API was added to help implement the LTI 1.3 Names and Roles Provisioning
service.

Jira references: [BD-24] [BB-2726] [TNL-7330] 
Pull request: #25843
Co-authored-by: Giovanni Cimolin da Silva <giovannicimolin@gmail.com>
2021-06-03 09:38:13 -04:00
Julia Eskew
f88a44d8dd TNL-8080 ][: Use module mixin and fix permissions for proxy models. (#27811)
* chore: Update Python requirements via pip-tools. Needed the newest
edx-django-utils version.

* refactor: Use the newly-added ReadOnlyAdminMixin from the updated module and
remove the existing implementation.

* fix: edx-platform now has a Django proxy model - CourseOutlineRegenerate.
Without this fix, the permissions to the model's admin interface cannot be
added to a group and successfully granted to users.
2021-06-02 17:33:03 -04:00
edX Transifex Bot
8bcf248339 geoip2: update maxmind geolite country database 2021-06-03 02:17:21 +05:00
edX cache uploader bot
7a6ac8642d Updating Bokchoy testing database cache (#27769) 2021-05-28 20:39:49 +05:00
Matthew Piatetsky
f7e986f3b0 Merge pull request #27746 from edx/expose_streak_celebration_to_django_admin
[AA-759] feat: add admin for the User Celebration Model
2021-05-27 15:57:45 -04:00
Adam Stankiewicz
31f66a4f2c feat: enterprise learner portal access modal (#27736)
* feat: enterprise learner portal access modal

* fix: quality

* fix: remove log.info
2021-05-27 15:31:27 -04:00
Matthew Piatetsky
8978bc26e1 feat: add admin for the User Celebration Model 2021-05-27 15:19:24 -04:00
edX Transifex Bot
b4fa41c869 geoip2: update maxmind geolite country database 2021-05-27 02:22:09 +05:00
Gábor Boros
baca47782b feat: add CCX ID to generated filename prefixes (#27028) 2021-05-25 10:25:07 -04:00
Albert (AJ) St. Aubin
351228cee4 refactor: Updating cert availability messaging.
[MICROBA-678]

Added cert availability date to the API used to get certificate status
by the learning MFE to support updated messaging.

Updated the cert availability messaging in the Coruse Dashboard,
including a text color change.
2021-05-24 12:42:03 -04:00