Commit Graph

59118 Commits

Author SHA1 Message Date
Usama Sadiq
2e33565320 fix: fixed the pylint violations causing quality failures (#27934) 2021-06-11 19:49:17 +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
Mehak Nasir
baa9fd8831 Merge pull request #27860 from edx/TNL-7832
feat: documentation links added in discussion api
2021-06-11 14:57:42 +05:00
edX requirements bot
c8f5602963 Updating Python Requirements (#27926) 2021-06-11 14:49:38 +05:00
Julia Eskew
47b37ed191 Revert "fix: Disable column-statistics during mysqldump command."
This reverts commit b84e8937ff.
2021-06-10 16:30:08 -04:00
Dillon Dumesnil
7e146e0487 Merge pull request #27770 from edx/ddumesnil/special-exam-completeness-aa-773
feat: AA-773: Add in logic to mark special exams as complete
2021-06-10 12:56:11 -07:00
Dillon Dumesnil
cc7be98f91 feat: AA-773: Add in logic to mark special exams as complete
We have had numerous support tickets/bugs related to special exams
not properly displaying completeness (see https://openedx.atlassian.net/browse/AA-773 for
details). Along with a corresponding edx-proctoring PR, this will now
submit completions for all completable children within a special
exam upon the exam being completed for the first time (as dictated by
the logic in the edx-proctoring PR).
2021-06-10 11:58:21 -07:00
Simon Chen
6d380fc5a2 [FEAT]: Add mem caching to the API to create and retrieve IntegritySignature (#27922)
With this change, whenever a IntegritySignature is created or retrieved, the result will be cached into mem cache for future use. This will save round trip to database significantly for honor code check
2021-06-10 14:45:06 -04:00
Mehak Nasir
222d898e39 refactor: renaming external keys and improved code review fixes 2021-06-10 21:51:08 +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
Julia Eskew
b84e8937ff fix: Disable column-statistics during mysqldump command. This option
was recently enabled by default in mysqldump, but the generation of
histogram statistics fails in devstack during this script's mysqldump
commands. The SQL statement and output of the failure:

mysql> SELECT \
COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') \
FROM information_schema.COLUMN_STATISTICS \
WHERE \
SCHEMA_NAME = 'edxtest' AND \
TABLE_NAME = 'agreements_integritysignature';
ERROR 1109 (42S02): Unknown table 'COLUMN_STATISTICS' in information_schema
2021-06-10 12:21:24 -04:00
Kristin Aoki
9ca8c430de fix: anchor tag scroll based on name attribute
This PR changes the default function of HTML anchor tags that focus on another element on the page based on the name attribute. Previously the anchor tags that were set to scroll on the page to another element would do nothing since the scroll was set to only look for the id attribute. As a result, users would have to manually scroll to the location of the name attribute, if it is previously known. Otherwise, the link appears to be broken. Now when the anchor tag is used to focus it and send the location of the focus element to the parent page to scroll to the correct location. This change will impact the Learner in the New Experience view.
2021-06-10 12:12:46 -04:00
Ahtisham Shahid
5fee0a8174 fix: resolved linter issue in common.py (#27918) 2021-06-10 19:58:31 +05:00
Muhammad Soban Javed
15fae139c0 feat: run a11y test using github actions (#27748) 2021-06-10 17:52:43 +05: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
Ahtisham Shahid
63cb1439b6 Merge pull request #27911 from edx/ahtisham/TNL-7936
refactor: added use case to toggle to fix linter issue
2021-06-10 15:11:24 +05:00
adeelehsan
78f1f1916c Account activation popup added
VAN-434
2021-06-10 14:46:49 +05:00
Mehak Nasir
b6f96f25b9 fix: removed google drive link from codebase 2021-06-10 14:17:35 +05:00
Ahtisham Shahid
c132f95d33 refactor: added use case to toggle to fix linter issue 2021-06-10 14:17:20 +05:00
Ahtisham Shahid
2d4a771ca6 Merge pull request #27821 from edx/ahtisham/TNL-7936
refactor: removed legacy proctoring route
2021-06-10 13:42:30 +05:00
edX cache uploader bot
15422b0b20 Updating Bokchoy testing database cache (#27903) 2021-06-10 13:16:04 +05:00
edX requirements bot
8db89d05fb Updating Python Requirements (#27907) 2021-06-10 13:15:45 +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
Mehak Nasir
d4431455a1 refactor: updated provider map structure and test cases 2021-06-10 12:01:51 +05:00
Binod Pant
c52bcaceab feat: Bulk enrollment emails, and default email templates are now in database (#27902)
no more file templates, also supports notion of template_type now (self, admin for now)

ENT-4322
2021-06-09 15:08:22 -04: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
Kristin Aoki
2d97abef1a fix: Scroll page when html anchor tag clicked
This PR changes the default function of HTML anchor tags that focus on another element on the page. Previously the anchor tags that were set to scroll on the page to another element would open the link outside of the iframe and redirect the parent page. As a result, users would have to have to click the back arrow to navigate back to the course and continue the unit. Now when the anchor tag is used to focus it and send the location of the focus element to the parent page to scroll to the correct location. This change will impact the Learner in the New Experience view.

Jira issue: TNL-8312
2021-06-09 11:33:06 -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
alangsto
5272556a90 chore: update edx-proctoring version (#27896) 2021-06-09 11:01:53 -04:00
Matt Hughes
8023a09191 fix: deleted courses do not break program details page
Sometimes learners have certificates in old course runs which've been
deleted. When this happens loading the learner's program progress can
result in 500 errors. This corrects those by choosing to count any
non-existent course the learner has certificates for as counting
towards program completion, effectively assuming that availability
dates have passed for all such courses.

Also fixes an error with a condition related to how we determine
whether an enrolled course is considered "in progress". The previous
version of the code had a bug that would result in a lot more courses
being marked "in progress" for the purpose of program completion than
actually were.

JIRA:EDUCATOR-5787
2021-06-09 10:58:00 -04:00
Natalia Berdnikov
0598cf71d3 docs: update the Contributing.rst file (#27891)
Add noun after mentions of Open edX and change email address for requesting entity agreement.
2021-06-09 07:09:15 -07: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
edX requirements bot
1338081916 Updating Python Requirements (#27892) 2021-06-09 15:22:37 +05:00
Ahtisham Shahid
29e7af5f57 refactor:resolved linter issues 2021-06-09 14:50:16 +05:00
Ahtisham Shahid
ec980a2ba8 refactor:moved mfe proctoring to central point
refactor:fixed variable names

refactor:fixed linter errors

refactor:fixed linter errors

refactor:fixed checklist view variable names

fix: removed redundant variables

refactor:moved exam settings to toggles

refactor: changed function params and added tests

refactor: moved toggle to method

fix: updated toggle and method docs
2021-06-09 14:14:10 +05:00
Ali Akbar
b03129244b Merge pull request #27865 from edx/aakbar/contact-us-search
feat: Add Help Center search in Contact Us
2021-06-09 13:36:53 +05:00
sofiayoon
742686863e Merge pull request #27868 from edx/syoon/AA-796
refactor: AA-796 remove outline and dates tabs flags
2021-06-08 17:06:44 -04:00
Sofia Yoon
7ddc20db58 fix: AA-796 readd overriding course home mfe flag and test cases when mfe is active or not for testing dates tab link render 2021-06-08 15:44:19 -04:00
Sofia Yoon
9cfecdb65c style: AA-796 remove lint-amnesty comment and reorder imported functions alphabetically 2021-06-08 15:44:19 -04:00
Sofia Yoon
87e3ce69b6 refactor: AA-796 remove outline and dates tabs flags 2021-06-08 15:44:19 -04:00
Christie Rice
97f6d0fce8 test: Remove external tests that exercise the internal certificates code. Update tests in preparation for enabling V2 of course certificates globally. (#27881)
MICROBA-1082
2021-06-08 15:29:05 -04:00
Christie Rice
e7900160e8 test: Remove flaky test (#27885)
CR-3732
2021-06-08 15:07:23 -04:00
Christie Rice
878b6f5607 test: Add model tests (#27814)
MICROBA-982
2021-06-08 14:31:17 -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
Ali-D-Akbar
e774901ecc feat: Add Help Center search in Contact Us 2021-06-08 22:16:53 +05:00
alangsto
8c205e5c0e fix: add created and modified fields to integrity signature admin (#27882)
MST-861. The Django admin page for IntegritySignature only displays
the user and course_key for a signature. This adds the created and modified
fields, and will order signatures by the modified field.
2021-06-08 12:15:37 -04:00
Simon Chen
a284b9704c [Fix]: CR-3731 correct the spelling of the error message on password reset (#27883) 2021-06-08 11:33:37 -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