Commit Graph

60231 Commits

Author SHA1 Message Date
michaelroytman
34a386f6a5 fix: Add Additional Name Affirmation IDV Signal and Celery Task Logs
To gain further information about why VerifiedName records are not reliably transitioning from "pending" to "submitted", version 1.0.3 adds additional logs to test that the IDV related signals are being received successfully and successfully triggering the Celery task. This code change installs this new version into the platform.

[MST-1130](https://openedx.atlassian.net/browse/MST-1130)
2021-10-26 12:39:23 -04:00
Simon Chen
817a4d5b1d fix: add logging message to debug the idv celery trigger logic (#29113)
We suspect the IDV code do not trigger name_affirmation update celery task correctly. Add the logging in code so we can trace the order of operation and figure out what is missing

Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2021-10-26 11:48:47 -04:00
Awais Jibran
f1957a7cf7 fix: lms discussion tab url should be accurate (#29110)
* fix: lms discussion tab url should be accurate

* refactor: change supports_lti feature

* refactor: rename variable

* refactor: rename feature variable.

* fix: update supports_lti method

* test: fix failing tests.

* test: fix quality test failure

Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2021-10-26 19:57:41 +05:00
alangsto
c7eff160f6 chore: update proctoring version (#29112) 2021-10-26 10:07:57 -04:00
edX requirements bot
6480fe0a58 chore: Updating Python Requirements (#29108) 2021-10-26 17:58:11 +05:00
Kshitij Sobti
d4cd3bd611 fix: enabling the notes tool using the course authoring will now add the notes tab (#29093)
If an existing course doesn't already have the notes tab, enabling notes will not make it show up. This change fixes this by adding the tab in case it isn't already in the course.
2021-10-26 14:57:19 +05:00
Adeel Ehsan
873ca35dd9 Merge pull request #28844 from edx/aehsan/VAN-702/username_suggestions_format_updated
Username suggestion added based on the full name
2021-10-26 12:20:24 +05:00
Max Sokolski
acd83d1c05 fix: use common default for LANGUAGE_COOKIE_NAME (#29096)
Changes:
- use default LANGUAGE_COOKIE_NAME value from common for cases when there is no
`LANGUAGE_COOKIE` and `LANGUAGE_COOKIE_NAME` in ENV_TOKENS
2021-10-25 14:22:00 -04:00
Sarina Canelake
7076abc26d Merge pull request #29104 from edx/sarina/update-ce-ownership
chore: remove CE squad from CODEOWNERS
2021-10-25 13:58:01 -04:00
sarina
0685e77591 chore: remove CE squad from CODEOWNERS
The squad has decided we're not deriving
value from being in this file.
2021-10-25 10:29:25 -04:00
Andrew Shultz
f48ba1ae4c Merge pull request #29091 from edx/ashultz0/no-idv-cert
feat: make IDV optional for cert generation
2021-10-25 10:02:29 -04:00
Dillon Dumesnil
4917c8dc8b Merge pull request #29073 from edx/ddumesnil/update-edx-when-version-aa-1058
chore: AA-1058: Update edx-when version
2021-10-25 06:06:33 -07:00
Awais Jibran
fd6802746c fix: update course app cache per course (#29083) 2021-10-25 17:13:08 +05:00
Kshitij Sobti
140a1bf3d8 docs: ADR for new way to enable/disable teams (#28891)
Enabling or disabling team currently requires adding a team set/topic/group or removing them all. This ADR proposes a new mechanism.
2021-10-25 15:50:52 +05:00
M. Zulqarnain
e54fb5f76e feat: New codemods on CMS (#28768) 2021-10-25 12:59:54 +05:00
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
Dillon Dumesnil
78fbd28f41 chore: AA-1058: Update edx-when version
Updates query counts for the additional query to look up the Schedule
in edx-when
2021-10-22 09:36:04 -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
adeelehsan
590ba28913 Username suggestion added based on the full name
VAN-702
2021-10-22 11:56:39 +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