Commit Graph

22809 Commits

Author SHA1 Message Date
Carla Duarte
8542b9c840 Merge pull request #27670 from edx/ciduarte/AA-816
feat: add total number of assignments to progress API (AA-816)
2021-05-19 13:43:46 -04:00
Dillon Dumesnil
4dfce2c4f8 Merge pull request #27668 from edx/ddumesnil/end-date-update-aa-686
feat: Update the course end date block display logic
2021-05-19 08:49:56 -07:00
Dillon Dumesnil
8aeb460133 feat: Update the course end date block display logic
For self-paced courses, we have decided to switch to showing the end
date as long as it is within 365 days rather than the expected
duration of the course.
2021-05-19 09:09:57 -04:00
Sameen Fatima
d8b07ebacd Revert "ENT-4095: Handle coupon expiration date scenario in LMS (#27539)" (#27675)
This reverts commit 9f2a72ad08.
2021-05-19 18:06:21 +05:00
Albert (AJ) St. Aubin
1b13ff4c21 refactor!: Removing the cert_whitelist management command
[MICROBA-1052]

We are removing the cert_whitelist management command because it does
not provide a clear value with the current state of Certificate
generation on edx-platform. It adds a user to the whitelist table, but
does not generate a certificate.

We recommend using the exceptions tab in the Instructor tab of the LMS
Course.
2021-05-19 07:11:12 -04:00
Sameen Fatima
9f2a72ad08 ENT-4095: Handle coupon expiration date scenario in LMS (#27539) 2021-05-19 12:47:11 +05:00
Carla Duarte
d7a4948b8e feat: add total number of assignments to progress API (AA-816) 2021-05-18 17:18:25 -04:00
Azan Bin Zahid
0f1ea9b254 Merge pull request #27639 from edx/azan/PROD-2333
feat: add activation_key in accounts view
2021-05-18 21:18:04 +05:00
Azan Bin Zahid
d9abf98056 feat: add activation_key in accounts view 2021-05-18 20:09:00 +05:00
Bianca Severino
e9fd0a0667 Merge pull request #27658 from edx/bseverino/drop-expiry-date-migration
[MST-785] Drop expiry_date column from SoftwareSecurePhotoVerification
2021-05-18 09:33:56 -04:00
Simon Chen
ce6087f546 [Chore]:MST-677 Cleanup the waffle flag to roll out Proctoring Improvements (#27657) 2021-05-17 20:46:24 -04:00
David Ormsbee
2376b3d124 Revert "refactor: upgrade django=2.2.23. Fileupload issue fixed." 2021-05-17 17:22:41 -04:00
Awais Qureshi
61be2b554b Merge pull request #27638 from edx/awais786/upgrade-django
refactor: upgrade django=2.2.23. Fileupload issue fixed.
2021-05-17 22:47:51 +05:00
Bianca Severino
51f014a515 feat: migration to drop expiry_date column 2021-05-17 13:36:15 -04:00
Bianca Severino
8523ffda91 Merge pull request #27651 from edx/bseverino/drop-expiry-date
[MST-785] Remove expiry_date from SoftwareSecurePhotoVerification
2021-05-17 13:34:24 -04:00
Justin Hynes
e0cfae745f Merge pull request #27646 from edx/jhynes/microba-1209_function-cleanup
refactor: consolidate (mostly) duplicated function
2021-05-17 12:59:42 -04:00
Bianca Severino
bba7ea5d37 fix: remove expiry_date from SoftwareSecurePhotoVerification 2021-05-17 12:56:28 -04:00
Justin Hynes
563a762625 Merge pull request #27643 from edx/jhynes/microba-1238_cleanup-external
refactor: update function calls outside of certificates app for updated `generate_user_certificates` and `regenerate_user_certificates` functions
2021-05-17 12:34:45 -04:00
Dillon Dumesnil
35d62ff365 Merge pull request #27602 from edx/ddumesnil/improve-course-goals-aa-768
feat: AA-768: Add history to Course Goals model and update events
2021-05-17 09:29:39 -07:00
Dillon Dumesnil
d46f6369ea feat: AA-768: Add history to Course Goals model and update events
Also removes the remove_course_goal method as it is no longer
used anywhere and removes the functionality of deleting course goals
if a user unenrolls. Adds in fields for eventing to make them more
useful.
2021-05-17 11:55:27 -04:00
Sarina Canelake
d6a00019f0 Merge pull request #27605 from OmarIthawi/patch-2
Remove "edX" from the logout popup message
2021-05-17 10:33:08 -04:00
Awais Qureshi
5c73e5dd86 refactor: upgrade django=2.2.23. Fileupload issue fixed. 2021-05-17 19:27:46 +05:00
Awais Qureshi
b62d7d45fa refactor: upgrade django=2.2.23. Fileupload issue fixed. 2021-05-17 19:27:46 +05:00
Justin Lapierre
58c57342ab Merge pull request #27218 from open-craft/0x29a/bb3611/improve_zip_file_content_structure
[BD-05][TNL-7915][BB-3611] Improve ZIP File content structure
2021-05-17 10:01:56 -04:00
Bianca Severino
f72054eee0 Merge pull request #27614 from edx/bseverino/remove-expiry-date
[MST-785] Remove references to expiry_date in IDV
2021-05-17 09:56:38 -04:00
Justin Hynes
d4f3e11092 refactor: consolidate (mostly) duplicated functions
[MICROBA-1209]
Part of the modulestore cleanup/removal in the certificates app. The function `list_with_level_from_course_overview` was temporary. Cleaning this up. Modifying the original `list_with_level` to accept a course-id/course-key as it doesn't actually need the entire course object.
* Update `list_with_level` function to accept a course run id/course-key
* Remove `list_with_level_from_course_key` function (and update any functions using it to use `list_with_level` again)
2021-05-17 09:50:39 -04:00
Justin Hynes
313a295c95 refactor: update function calls outside of certificates app for updated generate_user_certificates and regenerate_user_certificates functions
[MICROBA-1238]
* remove unused `course` argument from `generate_user_certificates` function in the certificates app
* remove unused `course` argument from `regenerate_user_certificates` functioni n the certificates app
* remove `course` argument if passed in edx-platform apps outside of the certificates app
2021-05-17 09:39:36 -04:00
Justin Hynes
ae750fb9d2 Merge pull request #27626 from edx/jhynes/microba-1238_cleanup
refactor: remove unused `course` arguments from certificate generation functions
2021-05-17 09:38:29 -04:00
0x29a
6aa70b764d feat: remove course_id argument and upgrade ora2 dependency 2021-05-17 15:21:03 +02:00
Dillon Dumesnil
e885733881 Merge pull request #27622 from edx/ddumesnil/update-completion-aa-802
feat: AA-802: Update the BlockCompletionTransformer
2021-05-17 06:05:29 -07:00
Justin Hynes
70810879e0 refactor: remove unused course arguments from certificate generation functions
[MICROBA-1238]
- Remove unused `course` arguments from certificate generation functions

Part of our cleanup after removing use of the modulestore from the Certificates app.
2021-05-14 15:38:43 -04:00
Dillon Dumesnil
6f773d1eca feat: AA-802: Update the BlockCompletionTransformer
We discovered a subsection that contained a unit without any content
inside, but because of our logic requiring children, it would never be
marked complete (meaning the subsection, section, and course could thus
never be marked complete). This fixes that by removing the children
check from setting completion, but first gating that code path on the
xblock being an aggregator (to prevent leaves from marking as true
simply because there are no children).

Test fixes include adding a test for the empty aggregator case as
well as some changes to not have an entire course marked complete
because they are all empty aggregators.
2021-05-14 11:22:07 -04:00
Justin Hynes
7edaf8aae3 Merge pull request #27612 from edx/jhynes/microba-1208_consolidate-functions
refactor: consolidate duplicate utility functions in certificates app
2021-05-14 07:34:11 -04:00
Carla Duarte
2d2ceb8728 Merge pull request #27601 from edx/ciduarte/AA-790
fix: handle unenrolled users in course home APIs (AA-790)
2021-05-13 14:44:52 -04:00
Carla Duarte
2f8572d540 fix: handle unenrolled users in course home APIs (AA-790) 2021-05-13 14:08:44 -04:00
Giovanni Cimolin da Silva
9a334a383e feat: Add changes for waiting step details
Bump ORA version and fix method signature.
2021-05-13 09:27:53 -03:00
Justin Hynes
dd06820cad refactor: consolidate duplicate utility functions in certificates app
[MICROBA-1208]
* consolidate `has_html_certificates_enabled` and `has_html_certificates_enabled_from_course_overview`, the latter of the two functions was created for use during our transition away from using the modulestore in the certificate app.
2021-05-13 07:52:02 -04:00
Binod Pant
da9afe6290 fix: 🐛 ENT-4525 fix learner portal experience when missing courseEnrollment records (#27611)
* fix: 🐛 ENT-4525 fix learner portal experience courseEnrollment records are missing

sometimes integrations may create EnterpriseCourseEnrollments but for some reason missing courseEnrollment, in this case we want to just filter out the EnterpriseCourseEnrollments instead of erroring the learner poratl

ENT-4525

* fix: pylint fixes

pylint fixes
2021-05-13 07:27:17 -04:00
Bianca Severino
69b6cf8d42 feat: remove references to expiry_date in IDV 2021-05-12 16:42:32 -04:00
Justin Hynes
462ccf46ab Merge pull request #27607 from edx/jhynes/microba-1178_modulestore-cont
refactor: remove use of modulestore in certificates app
2021-05-12 14:10:36 -04:00
Justin Hynes
ee5c881a46 refactor: remove use of modulestore in certificates app
[MICROBA-1178]

* Remove use of modulestore in `queue.py`
* Remove use of modulestore in `ungenerated_certs.py`
* Remove use of modulestore in `resubmit_error_certificates.py`
* Update unit tests in `test_cert_management.py`
2021-05-12 13:35:32 -04:00
Christie Rice
4854b2eb17 refactor: Use api instead of calling the certificate whitelist model directly (#27606)
MICROBA-1212
2021-05-12 11:40:32 -04:00
Diana Huang
7f10a9b571 Merge pull request #27577 from edx/diana/clean-student-migrations
refactor: Remove squashed student migrations.
2021-05-12 10:37:20 -04:00
Christie Rice
1473973b2b refactor: Rename whitelist to allowlist (#27533)
MICROBA-1021
2021-05-12 09:51:26 -04:00
alangsto
c651e58fb7 feat: Add GET endpoint for Integrity Signature (#27590)
MST-781. Add endpoint to retrieve data related to the integrity signature model.
2021-05-12 08:38:45 -04:00
Omar Al-Ithawi
64f8c01a92 Remove "edX" from the logout popup message
Not using `settings.PLATFORM_NAME` because sharing it with this script would need too much platform changes for this small error.

Removing the word "edX" makes the statement more accurate for other forks. Generally there shouldn't be any mention of "edX" in the code.
2021-05-12 13:49:38 +03:00
Diana Huang
3eb2078c38 refactor: remove squashed student migrations
We squashed migrations in the student djangoapp a while back.
This is the followup work to remove the migrations that were
squashed and to convert the squashed migration into a 'normal'
migration.

ARCHBOM-1177
2021-05-11 15:19:17 -04:00
Diana Huang
55a3469d37 refactor: Remove shoppingcart djangoapp.
Now that we have passed the named release boundary,
removing these migrations is no longer a breaking change.

https://openedx.atlassian.net/browse/DEPR-43
2021-05-11 14:07:13 -04:00
Matt Tuchfarber
4c0f856962 Merge pull request #27562 from edx/tuchfarber/show_course_card_with_cert
feat: Show course enrollment with cert on dash
2021-05-11 10:46:12 -04:00
Bianca Severino
6cee3f858a Merge pull request #27544 from edx/bseverino/honor-code
[MST-780] Create IntegritySignature model and API
2021-05-11 09:19:39 -04:00