Commit Graph

58673 Commits

Author SHA1 Message Date
edX requirements bot
fcd5ed5b40 Updating Python Requirements (#27437) 2021-04-28 11:49:25 +05:00
stvn
9b84869a9a Merge PR #27282 bd03/api/post-legacy
* Commits:
  feat: Add support for legacy discussions settings to API
  test: Add CourseFactory to discussions API tests
2021-04-27 13:47:07 -07:00
stvn
eaeec735a9 feat: Add support for legacy discussions settings to API 2021-04-27 12:50:53 -07:00
stvn
4776ab1504 test: Add CourseFactory to discussions API tests 2021-04-27 12:37:29 -07:00
Olivia Ruiz-Knott
d7a4947ea9 Merge pull request #27322 from edx/ork/MICROBA-963_move-notify-credentials-to-celery-task
perf: move notify_credentials to a celery task
2021-04-27 09:47:03 -06:00
Binod Pant
735d01283e ENT-4383 fix the hinted login page experience when enterprise login enables hinted login (#27431)
* fix: 🐛 Correctly check that saml provider is available using tpa_hint in next param

This fixes the issue of 404 when an enterprise customer sends a tpa_hint in next, but that param is not correctly checked to disable auth MFE. The hinted login page now works with this change.

ENT-4383

* feat: comment update

comment update

ENT-4383
2021-04-27 11:33:00 -04:00
stvn
39ffd01c12 Merge PR #27371 bd03/api/change-provider/lti
* Commits:
  feat: Hide lti_configuration from non-LTI discussions providers
  fix: Update discussions lti_configuration during provider_type change
  feat: Add helper for discussions configuration to indicate feature support
  refactor: Remove superfluous dict comprehension
2021-04-27 08:21:57 -07:00
Zachary Hancock
25efc6ef30 update edx-proctoring to 3.8.8 (#27421) 2021-04-27 11:04:26 -04:00
Christie Rice
a6d9275cde fix: Ignore passing signal if the cert status is already downloadable (#27403)
MICROBA-1106
2021-04-27 10:24:30 -04:00
Matt Hughes
637405aecf [fix]: studio display of ungraded subs.s w/useless due dates
By "useless" due dates I'm specifically talking about due dates which
are erroneously set in the course strucutre, but which don't matter
because the entire course is self-paced, rather than instructor-paced.

JIRA:EDUCATOR-5713
2021-04-27 10:02:07 -04:00
Christie Rice
6e1f700cdc feat: Generate more certificate status for V2 course certs (#27326)
MICROBA-1106
2021-04-27 09:40:06 -04:00
Hammad Ahmad Waqas
7a3b53afec Merge pull request #27430 from edx/hammad/ENT-4483
Updated account view to accept application/json for the post request.
2021-04-27 17:37:48 +05:00
Awais Qureshi
5e1449640d Merge pull request #27428 from edx/remove-con-Sphinx--
refactor: removing Sphinx constraint.
2021-04-27 16:50:44 +05:00
HammadAhmadWaqas
149e448e5b Updated account view to accept application/json for the post request. 2021-04-27 16:47:57 +05:00
Awais Qureshi
a54d5f59be Merge pull request #27429 from edx/jenkins/upgrade-python-requirements-79d93a2
Python Requirements Update
2021-04-27 15:57:07 +05:00
edX requirements bot
6bef014dc2 chore: Updating Python Requirements 2021-04-27 06:55:08 -04:00
Awais Qureshi
79d93a2df1 refactor: removing Sphinx constraint.
BOM-2191
2021-04-27 15:49:14 +05:00
Usama Sadiq
588f11b100 refactor: apply lint-amnesty to pylint violations 2021-04-27 14:43:31 +05:00
Usama Sadiq
a2adfcaf36 refactor: Pinned pyjwt & social-auth-core
pin pyjwt<2.0.0 version
pin social-auth-core<4.1.0
2021-04-27 14:31:26 +05:00
Bianca Severino
5c6bdb4db8 Merge pull request #27419 from edx/bseverino/idv-remove-utm-parameters
[MST-740] Toggle verification approved emails from ACE
2021-04-26 15:26:45 -04:00
Bianca Severino
a8957fd118 refactor: remove verification approved emails from ACE 2021-04-26 14:55:47 -04:00
oliviaruizknott
5fbb339c25 perf: move notify_credentials to a celery task
Before this change, the notify_credentials management command ran for
about 10-15 minutes and occasionally overlapped with an edxapp
deployment which would cause the machine the command was running
on to die. The command ran through a bunch of certs and grades, and then
spun off celery tasks to send the relevant data to credentials.

Now, most of the logic of the notify_credentials management command has
been moved into a new celery task, so that combing through longs lists
of certs and grades is done asynchronously. This task then spins off the
original data-sending tasks as before.

Note that this requires a change in alerting: where the jenkins job
would previously notify us about failures, we need to know when this
new celery task fails for any reason. We’ve made this a LoggedTask
so that failures will be logged to Splunk and alerting can be built off
of the error messages.

This commit also moves the relevant tests.

MICROBA-963
2021-04-26 12:11:25 -06:00
Dillon Dumesnil
2330150193 Merge pull request #27406 from edx/ddumesnil/fix-staff-access-aa-646
fix: AA-646: Fix is_staff_user check to check for course staff
2021-04-26 10:56:25 -07:00
Dillon Dumesnil
82414f5b5e Merge pull request #27401 from edx/ddumesnil/enable-dates-tab-aa-741
feat: AA-741: Enables the dates tab for all enrolled learners
2021-04-26 10:56:08 -07:00
Justin Hynes
025c76bc8f Merge pull request #27400 from edx/jhynes/microba-1080_doc-update
docs: Add doc for recent cert revocation changes
2021-04-26 12:31:54 -04:00
alangsto
50d57a64bb MST-757 Move exam registration to async task (#27398)
Synchronously registering proctored exams while saving content to studio is causing a significant slow down. The function that registers the exams has been moved to an async task. In addition, a signal handler on_course_publish has also been moved to the async task, as it relies on exam registration being complete before being executed.
2021-04-26 12:04:04 -04:00
Adam Stankiewicz
9892f358fc chore: bump edx-enterprise to 3.22.9 (#27410) 2021-04-26 11:20:15 -04:00
Julia Eskew
4462ed37b2 Revert "update login api" (#27416)
This PR might be causing e2e tests to fail. Reverting and merging without waiting on tests.
2021-04-26 10:07:36 -04:00
Ned Batchelder
443730509c build: no need for this hackathon testing plugin
This was to support an experiment in using coverage test contexts to
record what tests ran each line of code (informally known as
who-tests-what, or wtw).   It never became operational.
2021-04-23 18:12:05 -04:00
Justin Hynes
8902a945ea docs: Add ADR for recent cert revocation and regeneration changes
[MICROBA-1080]
- Add additional context in the `invalidate` and `mark_notpassing` functions related to recent work
2021-04-23 11:33:07 -04:00
Mubbshar Anwar
2ab1f8f9c9 Merge pull request #27380 from edx/VAN-366
Add country code in MFEAppContextView
2021-04-23 20:05:59 +05:00
Dillon Dumesnil
8c18242ecb fix: AA-646: Fix is_staff_user check to check for course staff
It was checking for global staff, but really only needed to check
for course staff. This corrects the check.
2021-04-23 10:24:53 -04:00
mubbsharanwar
709e31a2aa Add country code in MFEAppContextView
add new api MFEAppContextView to handle country code
add unit test MFEAppContextViewTest
this newly created api will be marged in TPAContextViewTest when margeing code in master branch

VAN-366
2021-04-23 19:12:35 +05:00
Uzair Rasheed
36c767cdda Merge pull request #27338 from edx/update-login-api
update login api
2021-04-23 18:05:58 +05:00
uzairr
5103f59df9 upgrade login api
Modify the existing login api in a way that
it will allow the user to login via username as well.
currently it is only allowing email to log the user in.

VAN-445
2021-04-23 17:21:18 +05:00
Dillon Dumesnil
0a08852600 feat: AA-741: Enables the dates tab for all enrolled learners
Removes the relative dates flag check as it is no longer
necessary to show the dates tab
2021-04-22 15:22:26 -04:00
Kyle McCormick
b0d41f6ebb refactor: simplify ProblemBlock inheritance hierarchy (#27363)
Previously, ProblemBlock's implementation was split between
CapaMixin/CapaFields (in capa_base.py) and ProblemBlock
(in capa_module.py), the former being the base classes of the
latter. The split existed for a historical reason:
as a former XModule, ProblemBlock was once split
between CapaDescriptor (author-facing) and CapaModule
(learner-facing). Since ProblemBlock has been converted
to being a pure XBlock, the division between the base
classes and the block class are no longer necessary
nor semantically helpful.

docs: Flesh out ProblemBlock's docstring a bit.
2021-04-22 12:44:15 -04:00
Ali Akbar
973ca69c1e Merge pull request #27395 from edx/aakbar/update_thresholds
updating thresholds after security fixes #27391
2021-04-22 17:11:10 +05:00
Muhammad Ammar
9bb4c421e1 Merge pull request #27396 from edx/ammar/upgrade-edx-enterprise-pkg
upgrade edx-enterprise to 3.22.8
2021-04-22 17:03:38 +05:00
Justin Hynes
35cfca0be1 Merge pull request #27357 from edx/jhynes/microba-1164_revoke-program-certs-bugfix
fix: fix bug with `revoke_program_certificates` task
2021-04-22 07:38:32 -04:00
muhammad-ammar
732c567154 upgrade edx-enterprise to 3.22.8 2021-04-22 15:05:28 +05:00
Waheed Ahmed
5aa8245133 add username suggestions functionality (#27387)
Added username suggestions functionality upon username already exists
validation error for both registration and registration validation
endpoints.

VAN-52
2021-04-22 14:08:40 +05:00
Ali-D-Akbar
3da5198a5f chore: updating thresholds after security fixes #27391 2021-04-22 13:43:03 +05:00
edX Transifex Bot
55b1375c7c geoip2: update maxmind geolite country database 2021-04-21 17:11:09 -04:00
edx-pipeline-bot
15f3900095 Merge pull request #27391 from edx/private_to_public_025fb5e
Mergeback PR from private to public.
2021-04-21 17:07:01 -04:00
Ali Akbar
025fb5ed66 Merge pull request #228 from edx/aakbar/xss-security-fixes
Fix XSS for numerous files
2021-04-22 01:16:47 +05:00
Julia Eskew
efa13ff1d2 fix: TNL-8233: Change exception raised at problem creation failure from generic exception to LoncapaProblemError. (#27361)
Raising this specific exception will cause the failure to be handled more gracefully by problem rescoring code.
2021-04-21 16:13:23 -04:00
Albert (AJ) St. Aubin
a1fe3d58dc [bug] Corrected issue where program dash showed incorrect completed
count

[MICROBA-1163]

This change will correct an issue in the Program Dashboard where a user
would see a course as completed, but not see their Certificate because
it was not available to them yet.
2021-04-21 16:03:33 -04:00
Justin Hynes
a7bc9d1cc1 fix: fix bug with revoke_program_certificates task
[MICROBA-1164]
* cast `course_key` as a string when scheduling the `revoke_program_certificates` task
* Update existing unit tests
* Move test utility method in test_tasks.py out from the middle of the test cases
* Fix spelling in test function name
2021-04-21 14:43:03 -04:00
Albert (AJ) St. Aubin
a21d0ff224 [bug] Updated confusing text about when a certificated is available
Currently when a certificate availability date is set the text on the
course dasboard is confusing to the learner and could lead them to the
wrong conclusions. The cert should not be available until on or after
the available date.
2021-04-21 12:43:53 -04:00