Commit Graph

59164 Commits

Author SHA1 Message Date
Hamza Farooq
0e4d2ff823 fix: adds default texts for missing answer texts in capa problems to fix response report generation
If an author has created a capa problem like an mcqs or something similar without providing answer text to an option and some learner selected that option then the response report generation will fail due to that missing answer text. The current commit will add default text to be substituted and prevents report generation crash.
2021-06-17 15:59:24 +05:00
HamzaIbnFarooq
883d223d59 fix: add validation to capa problem markdown for missing option text
Before this commit, if a course author created a capa mcqs or similar problem without providing any answer text for an option the question would be created causing abnormal behavior for learners. This commit will validate answer text of all options and raise an error message to author to fix the issue on the go.
2021-06-17 15:59:24 +05:00
Ahtisham Shahid
20d631ff70 fix: added access for data researcher in courseware (#27935)
fix: fixed data researcher permissions on instructor dashboard
2021-06-17 10:57:46 +05:00
edX cache uploader bot
2d79aabacb Updating Bokchoy testing database cache (#27971) 2021-06-17 10:24:59 +05:00
jawad khan
ad2f92767b fix: fixed atmoic block error in course_status_info
* fix: fixed atmoic block error in course_status_info

We are getting "An error occurred in the current transaction. You cant execute queries until the end of the atomic block."
error in get course status info on both versions i.e. 0.5 and 1. I was unable to reproduce it locally. But by looking
in django documentation and some other online helps I concluded that it might be because of some db intefrity error
that we didnt handle properly and now the cursor is broken for this transaction. Therefore i am making it non atomic
transaction. Since its a get request we can make transactions run independentantly.

LEARNER-8267
2021-06-17 07:26:11 +05:00
stvn
2b445f13be merge(#27799): agrendalath/fix_view_in_studio_button
commits
=======
- fix: handle opening verticals in new tabs with the "View In Studio" button
2021-06-16 16:46:01 -07:00
edX Transifex Bot
73c026fa9d geoip2: update maxmind geolite country database 2021-06-17 02:27:47 +05:00
Jansen Kantor
61643d6074 bump ora to 3.6.4 (#27970) 2021-06-16 15:22:30 -04:00
Josh McLaughlin
ddffeaac4a fix: Use UserProfile.meta for city field if set in the profile information report
There are two distinct ways to store a city for users in edx-platform:
one directly in UserProfile.city, and another in UserProfile.meta.

Depending on configuration, both fields can be used. Though the
UserProfile.meta['city'] field is not set unless specifically configured,
so we choose this over the UserProfile.city field when generating the student
features report.

Additional details and discussion available on edx/edx-platform#23171
2021-06-16 11:26:41 -07:00
Dillon Dumesnil
74340c368d Merge pull request #27973 from edx/revert-27770-ddumesnil/special-exam-completeness-aa-773
Revert "feat: AA-773: Add in logic to mark special exams as complete"
2021-06-16 10:55:23 -07:00
Christie Rice
6d703a086e fix: Add missing init files to trigger linting and address quality errors (#27972) 2021-06-16 13:44:20 -04:00
Kristin Aoki
3cf541cc76 fix: Autoscroll on page when using jump_to_id (#27952)
This PR changes the default function of HTML anchor tags that focus on
another element on a different page in the course. Previously the anchor
tags that were set to scroll on a different page would open up the page
but remain at the top of the page. As a result, users would have to
manually scroll to the correct part of the page if that information is
known or they will read the entire page. Now when the anchor tag is used
to focus on a different page, the link of the new page is checked for a
hash and sends the location of the hash to the parent page to scroll to
the correct location. This change will impact the Learner in the New
Experience view.
2021-06-16 13:43:56 -04:00
Brian Beggs
1d4bb15aa5 Upgrade edx-enterprise to 3.25.5 to address ENT-4455 2021-06-16 13:25:10 -04:00
Dillon Dumesnil
68cce7dbbb Revert "feat: AA-773: Add in logic to mark special exams as complete" 2021-06-16 10:16:27 -07:00
Christie Rice
09e456bce5 feat: Copy data to certificate allowlist (#27967)
MICROBA-982
2021-06-16 11:53:49 -04:00
Ned Batchelder
9a4004f477 docs: add a link from CONTRIBUTING to docs (#27931) 2021-06-16 07:15:24 -07:00
AsadAzam
ff5b3d532d Move pages and resource mfe link to content menu (#27937) 2021-06-16 18:45:07 +05: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
Christie Rice
2a9b1a495e fix: Emit a segment event after passing certificate generation in V2 of course certificates (#27965)
MICROBA-1082
2021-06-15 15:51:05 -04:00
Christie Rice
59dc0a4a39 feat!: Enable v2 of course certificates for all course runs (#27817)
This moves all course runs that use certificates over to V2 of course certificates, and disables the option for a course run to use V1 of course certificates.

MICROBA-1082
2021-06-15 15:08:40 -04:00
Hammad Ahmad Waqas
4f5f829911 Merge pull request #27964 from edx/hammad/version-bump
edx-enterprise version bump.
2021-06-15 21:19:29 +05:00
HammadAhmadWaqas
64230832bc edx-enterprise version bump. 2021-06-15 20:27:25 +05:00
Christie Rice
09d58a4eb8 test: Update course certificate tests before enabling v2 of course certificates globally (#27954)
MICROBA-1082
2021-06-15 10:27:44 -04:00
Mubbshar Anwar
51f1c4cc71 Merge pull request #27932 from edx/mubbshar/VAN-532
fix:Login failed email_or_username
2021-06-15 17:38:21 +05:00
Agrendalath
01ada0b49f fix: handle opening verticals in new tabs with the "View In Studio" button
#24020 introduced a workaround for viewing the current vertical in Studio
However, replacing `window.location.href` on `click` did not support opening
it in a new tab.
2021-06-15 14:16:56 +02:00
M. Zulqarnain
fb86d4111b BOM-2247 - Upgrade pip-tools (#27861)
* chore: upgrade pip-tools

* replace --no-index with --no-emit-index-url

* upgrade pip

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-06-15 17:02:22 +05:00
Zaman Afzal
174c14d21e ENT4508- Bump Edx-Enterprise Version (#27958) 2021-06-15 16:57:40 +05:00
M. Zulqarnain
f11362543a Fix: Make Upgrade job failure (#27959)
* fix: upgrade job failure

* chore: Updating Python Requirements (#27960)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2021-06-15 15:59:14 +05:00
Alex Dusenbery
3b8162fb6c fix: update edx-enterprise to 3.25.2 | log exception stack trace during DSC licensed-enrollment flow so that we can understand what part of some licensed-enrollment flows are failing. 2021-06-14 16:31:45 -04:00
Muhammad Ammar
7d0bf2b3e7 fix: add is_staff permission on endpoint (#27947) 2021-06-14 15:15:34 -04:00
edX cache uploader bot
fd937661e0 Updating Bokchoy testing database cache (#27949) 2021-06-14 23:38:28 +05:00
Christie Rice
417b2cc959 fix: Handle missing course overviews (#27849)
MICROBA-1082
2021-06-14 12:57:45 -04:00
Christie Rice
0ee5a64939 feat: Save updates to the allowlist model, and add history to the allowlist model (#27904)
MICROBA-982
2021-06-14 12:07:28 -04:00
Kristin Aoki
4a5fbebe0c fix: Correct iframe cutting off text (#27939)
This PR changes the style of the "STAFF DEBUG INFO" dialog. Before in
the New Experience view, when a user viewed the dialog and the text in a 
table exceed the width of the dialog, it would continue outside of the
dialog and be hidden. Therefore, the user could not properly read all the
debug information. Now when the text in the table exceeds the width of
the dialog, it will automatically wrap within the table block.
2021-06-14 10:32:30 -04:00
Alexander J Sheehan
01f4db3e99 Merge pull request #27948 from edx/asheehan-edx/ENT-4622-bump-enterprise
maint: bumping enterprise to 3.25.1
2021-06-14 10:17:03 -04:00
Christie Rice
94a1940115 fix: Add missing PII annotation and fix amnesty warnings (#27917) 2021-06-14 09:57:08 -04: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
Alexander Sheehan
6afd719932 maint: bumping enterprise to 3.25.1 2021-06-14 08:37:16 -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
mubbsharanwar
7b299977b7 fix:Login failed email_or_username
Fix email_or_username null in login failed case.

Fixes: VAN-532
2021-06-14 10:38:40 +05:00
Tim McCormack
c0bed87954 Revert "ENT-4361 | Added user's "id" and "email" as public fields in ACCOUNT_VISIBILITY_CONFIGURATION." (#27942) 2021-06-11 22:53:41 +00:00
Hammad Ahmad Waqas
69488dac5b version bump (#27921) 2021-06-11 15:59:15 -04:00
Simon Chen
16cffd206f Revert "[FEAT]: Add mem caching to the API to create and retrieve IntegritySignature" (#27936)
This reverts commit c6192b8b40656c44ba0a89cdd569fb0c0e4f87c4.
The caching does little to save performance and in the case of whole
course interation, it has a netgative performance impact.
2021-06-11 13:59:20 -04:00
SaadYousaf
1189766c36 fix: update MathJax configuration to set default renderer to SVG 2021-06-11 22:14:52 +05:00
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