Commit Graph

60214 Commits

Author SHA1 Message Date
Andy Shultz
7e3ef93a63 feat: make IDV optional for cert generation
IDV is on its way to retirement, so it's not going to be necessary for cert
generation forever.

Introduces a function to combine the honor code flag with IDV to tell
cert generation if it should care about a missing verification.

Various tests expanded to cover the retired case. The additional calls
in test_task_helper.py are caused by one call to fetch course
overrides which finds none, and that forces one check of the
background flag per student, 71 + 1 + 5 = 77.

MST-854
2021-10-22 14:46:07 -04:00
Alexander J Sheehan
eec1d345d8 Merge pull request #29092 from edx/asheehan/ENT-5081-enterprise-vers-bump
chore: bumping enterprise to version 3.31.1
2021-10-22 12:10:50 -04:00
Alexander Sheehan
5f12db67a4 chore: bumping enterprise to version 3.31.1 2021-10-22 11:26:21 -04:00
Jansen Kantor
4b30d2f18d chore: bump ora to 3.7.3 (#29090) 2021-10-22 11:01:40 -04:00
Attiya Ishaque
38961e7798 fix: [VAN-747] Improvemessage for emails already registered. (#29088) 2021-10-22 18:16:34 +05:00
Awais Jibran
ed74db1daf Revert "feat: Add support for returning thread counts for all topics in a course [BD-38] [TNL-8724] [BB-4927] (#29062)" (#29087)
This reverts commit a2f04fb78b.
2021-10-22 17:21:44 +05:00
M. Zulqarnain
04deb4db62 fix: Upload artifacts even when job fails (#29086) 2021-10-22 15:58:16 +05:00
SaadYousaf
0a75d81eb0 refactor: remove use of non-profit language from template 2021-10-22 14:13:14 +05:00
M. Zulqarnain
43008723be feat: New codemods on OpenedX 3 (#28778) 2021-10-22 13:55:51 +05:00
M. Zulqarnain
9833134fae Post Django 3.2 Cleanup (#29069)
* chore: Post Django 3.2 Cleanup
2021-10-22 13:55:16 +05:00
Zainab Amir
6019971dd4 feat: put year of birth behind feature flag (#29007) 2021-10-22 12:17:06 +05:00
Attiya Ishaque
7e3985291d feat: [VAN-751] Put user's year of birth behind the feature flag (#29025) 2021-10-22 11:33:01 +05:00
Kshitij Sobti
a2f04fb78b feat: Add support for returning thread counts for all topics in a course [BD-38] [TNL-8724] [BB-4927] (#29062)
* feat: Add support for returning thread counts for all topics in a course

In the new discussions experience the thread counts for questions and discussions are displayed in the UI.
This uses a new cs_comments_service API to fetch that data and embed it in the topic listing.

* fix: apply review feedback fixes
2021-10-22 11:22:05 +05:00
Ned Batchelder
0f21f1194e build: use unique names for workflows
It's confusing to have six different checks, all called "CI".  This
gives them unique names to help devs navigate the checks.
2021-10-21 17:03:33 -04:00
Michael Terry
6e2277f522 Merge pull request #28868 from edx/mikix/double-coupon
fix: drop segment call for streak discount
2021-10-21 12:51:22 -04:00
Kshitij Sobti
2ecb4daece fix: update course URL match pattern to also match learning MFE (#29050)
The learning MFE paths include /course/{course_id} which doesn't match /courses/{course_id} which is what the regex expects. This causes issues with the Wiki when when accessed from the learning MFE doesn't detect that course it's related to in the middleware.
2021-10-21 20:24:40 +05:00
Tinuade Adeleke
706df06638 feat: updated pages to the new custom pages design (#28686)
made changes to pages template
refactored method to handle reordering of static tabs
refactored test for the refactored method
added link to the pages and resources MFE on the updated page
2021-10-21 20:06:22 +05:00
Andrew Shultz
f79e18b442 Merge pull request #29076 from edx/ashultz0/mst-853
feat: leave IDV out of proctoring requirements mail if honorcode
2021-10-21 11:02:38 -04:00
Usama Sadiq
95427251dc fix: fixed pylint warnings 2021-10-21 09:54:22 -04:00
Kyle McCormick
470be08a83 build: check for __init__.py files in each directory 2021-10-21 09:54:22 -04:00
Kyle McCormick
9bf266f717 fix: add missing __init__.py files 2021-10-21 09:54:22 -04:00
Manjinder Singh
ef135fba5a feat: only redirect to login for top-level page navigation requests (#29054)
Commit modifies safe session middleware to return an 401 in case of authentication failure and lack of 'text/html' in Accept header.

Previously, the middleware would always redirect to login in case of auth failure, but this was deemed inappropriate for any requests that are not top-level page navigation requests(we check this by seeming if 'text/html' is precent in Accept header)

Co-authored-by: Robert Raposa <rraposa@edx.org>
2021-10-21 08:45:52 -04:00
Justin Hynes
99ceec8647 Merge pull request #29077 from edx/jhynes/microba-1520_redirectv2
feat: Add support for course dashboard redirect for notices app
2021-10-21 07:45:18 -04:00
M. Zulqarnain
ba75bb6569 feat: django codemods changes for common folder (#28775) 2021-10-21 13:52:19 +05:00
edX Transifex Bot
7e17f7113a geoip2: update maxmind geolite country database 2021-10-21 02:03:25 +05:00
Tim McCormack
b0cc253c99 docs: Switch to management commands in Studio OAuth Maple migration (#29057)
This has the side effect of requiring creation of a `studio_worker` service
account, since the `create_dot_application` command requires a user arg,
but this better matches other IDAs.
2021-10-20 21:02:48 +00:00
Justin Hynes
ae18a96090 feat: Add support for course dashboard redirect for notices app
[MICROBA-1520]
- Update course dashboard to check its context for unack'd notices from the notices app. If so, redirect the learner to the first unack'd notice.

(reintroduces earlier changes that were reverted)
2021-10-20 15:05:26 -04:00
Matthew Piatetsky
e0d2cda697 fix: ensure goal reminder command respects flag cofiguration of individual users (#29071) 2021-10-20 15:03:38 -04:00
Andy Shultz
5635782f86 feat: leave IDV out of proctoring requirements mail if honorcode
MST-853
2021-10-20 14:32:50 -04:00
Usama Sadiq
9ee8df0980 fix: Remove pylint constraint and fix warnings (#28646) 2021-10-20 23:00:13 +05:00
Justin Hynes
4854af6336 Merge pull request #29072 from edx/jhynes/revert-redirect
Revert "feat: Add support for course dashboard redirect for notices app"
2021-10-20 11:29:58 -04:00
Long Lin
34418a2667 fix: check enterprise_enabled in is_enterprise_learner 2021-10-20 10:49:30 -04:00
Justin Hynes
f640727e1d Revert "feat: Add support for course dashboard redirect for notices app"
This reverts commit 3611a8c150.
2021-10-20 10:48:25 -04:00
Justin Hynes
d245c0d123 Merge pull request #29017 from edx/jhynes/microba-1520_b2c-redirect
feat: Add support for course dashboard redirect for notices app
2021-10-20 08:22:08 -04:00
Rebecca Graber
668ae8bd25 chore: add ownership mapping for eventtracking (#29065) 2021-10-20 08:02:34 -04:00
edX requirements bot
7919bba4f9 chore: Updating Python Requirements (#29059) 2021-10-20 16:50:41 +05:00
Usama Sadiq
ab4c14afe3 fix: fix pylint warnings (#29049) 2021-10-20 16:28:18 +05:00
Usama Sadiq
5a6d056568 build: remove python 3.5 requirement files (#29070) 2021-10-20 15:59:35 +05:00
SaadYousaf
22d106daf4 refactor: refactoring feature list for providers 2021-10-20 11:54:44 +05:00
brianhw
b3b3ef98b2 feat: add courserun_key property to GA event transformer. (#28761)
The GA transformer adds the context.course_id property of a tracking
log event to the event transmitted automatically to Segment in the
"label" property, so GA can use it.  This adds it also to the
"courserun_key" property, so that regular users of Segment events can
also query it in a more consistently-named property.  However, it does
so only if it is a valid CourseKey.

For DENG-997.

Add CourseKey parsing.
2021-10-19 16:40:30 -04:00
Justin Hynes
3611a8c150 feat: Add support for course dashboard redirect for notices app
[MICROBA-1520]
- Update course dashboard to check its context for unack'd notices from the notices app. If so, redirect the learner to the first unack'd notice.
2021-10-19 15:31:24 -04:00
Binod Pant
098bc97ada feat: Release edx-enterprise 3.30.14 (#29064)
with logging fix for blackboard PR 1389 for edx-enterprise
2021-10-19 13:21:06 -04:00
Ned Batchelder
a6cc52144b test: don't run xss-commit-linter unless we have a target branch 2021-10-19 12:24:16 -04:00
Ned Batchelder
d1aa75e3f2 build: run xss-commit-linter verbosely 2021-10-19 12:24:16 -04:00
Long Lin
24544aa395 chore: bumping enterprise version to 3.30.12 2021-10-19 10:05:12 -04:00
Chris Deery
ac8b4f5a6d Weekly Learning Goal back end (#28955)
* feat: [AA-906] Number of days Goal setting back end updates

added number_of_days_goals_enabled flag to course_goals

* feat: [AA-906] renamed number of days goal to WeeklyLearningGoal

* feat: [AA-906] fix unit test

* feat: [AA-906] fix unit test

cleanup
2021-10-18 13:33:03 -04:00
Robert Raposa
e399fa4b56 Merge pull request #29053 from edx/robrap/exempt-register-safe-session
Exempt multiple safe session user mismatches
2021-10-18 13:22:13 -04:00
Simon Chen
d543a23fe5 fix: User unretirement admin template use static instead of admin_static template library (#29052)
TNL-8884. This change would fix the issue where the undeleting a user results in 500. This is a change needed after the django version is upgraded to django 3.2

Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2021-10-18 12:33:38 -04:00
Robert Raposa
ab9fedf874 fix: mark access token login user change
Since we may get a user change during access token
login, we mark it as expected so our Safe Session
protection won't be triggered.
2021-10-18 12:17:20 -04:00
Robert Raposa
b92bc527a8 fix: mark register user change
Since we may get user changes during registration,
we mark it as expected so our Safe Session protection
won't be triggered.
2021-10-18 12:05:28 -04:00