Commit Graph

59173 Commits

Author SHA1 Message Date
Sofia Yoon
f9897e1bc2 refactor: delete reference to old course home microfrontend flag 2021-06-21 10:35:40 -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
irfanuddinahmad
af523a1b0d Merge pull request #27981 from edx/iahmad/ENT-4611-1
chore: ENT-4611 Updated edx-enterprise
2021-06-18 17:40:59 +05:00
irfanuddinahmad
53971f21d6 chore: ENT-4611 Updated edx-enterprise 2021-06-18 16:29:44 +05:00
Ali Akbar
2b25635203 Merge pull request #27815 from edx/aakbar/PROD-1637
feat: Add a create enrollment endpoint for support tools
2021-06-18 14:40:14 +05:00
Christie Rice
63a5d3030d docs: Add link to DEPR ticket (#27978)
MICROBA-1294
2021-06-17 15:06:03 -04:00
Justin Lapierre
37aa2db9e3 Merge pull request #27269 from open-craft/gabor/custom-report-dir-and-task-kwargs
[SE-4304] Allow custom upload directory and filename for grade and calculated profile reports
2021-06-17 12:58:51 -04:00
David Ormsbee
fe6448303d fix: Use learning_sequences to remove bad sequences from outline.
A common usage pattern is to make an exam that is restricted to a
particular enrollment track. Since there is no UI in Studio to do this
at the sequence/subsection level, course authors instead restrict every
unit in the sequence to that track (e.g. "verified"). The legacy
courseware experience could handle this, but the Course Blocks API does
not. It is likely that we'll want to permit toggling this at the
sequence level, but regardless of whether we do that going forward, we
still have to deal with this kind of content data in existing courses.

An entirely empty sequence is useless, and currently breaks the
Courseware MFE browsing experience. This commit introduces the first
part of that fix, invoking the new Learning Sequences API to remove
sequences that the user shouldn't be allowed to know about. The plan is
to switch over the entire course outline from the Course Blocks API to
the Learning Sequences API, and this is the first small step in that
direction.

This also creates CourseWaffleFlag learning_sequences.use_for_outlines
to control the gradual rollout of this feature. This will start as a
very limited rollout to address courses that show this specific bug
(TNL-8377).

New learning_sequences public API call: public_api_available
2021-06-17 11:13:47 -04:00
Ali-D-Akbar
0d1d9190e5 feat: add a create enrollment endpoint for support tools 2021-06-17 18:46:53 +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
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
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