Commit Graph

23215 Commits

Author SHA1 Message Date
Kshitij Sobti
32748788bf fix!: use bleach instead of custom code to sanitise forum posts (#28641)
The rest API for discussions was using custom HTML sanitisation code that
matched the behaviour of the client-side library. This replaces the custom
code with bleach for better security.
2021-09-23 11:37:05 +05:00
Felipe Montoya
dbb4658819 Merge pull request #28640 from eduNEXT/MJG/2nd_batch_openedx_events
[BD-32] feat: add 2nd batch of Open edX Events
2021-09-22 14:12:06 -05:00
Bianca Severino
24e7819a2c Merge pull request #28815 from edx/bseverino/remove-proctoring-mfe-flags
[MST-938] Remove special exam MFE flags
2021-09-22 09:59:58 -04:00
Bianca Severino
0484799f84 fix: remove special exam mfe flags 2021-09-22 09:07:33 -04:00
Awais Qureshi
38e16d56b6 Merge pull request #28750 from edx/dj-cookie-samesite
fix: Don't use django-cookies-samesite on Django >= 3.1
2021-09-22 16:41:16 +05:00
julianajlk
a7759582df fix: privacy banner close button issue in Track Selection (#28814) 2021-09-21 16:58:26 -04:00
julianajlk
94378cb06c feat: add JS for upgrade button redirect in Track Selection (#28805)
REV-2387
2021-09-21 13:34:10 -04:00
Matjaz Gregoric
5487ff5906 Fix RTL issue with capa problems (#28562)
* fix: resolve styling cap RTL styling issue

Margins were incorrect in the RTL version of the stylesheet.

* fix: move style overrides from lms-course to capa

These styles were only applied to the LTR version of the stylesheet, but
we want them in the RTL version as well.
2021-09-21 10:44:35 -04:00
Phillip Shiu
6d7dcef8d6 fix: correct typo, content is locked, not lost (#28802) 2021-09-21 09:49:55 -04:00
Sarina Canelake
c699923d03 Merge pull request #28628 from edx/sarina/i18n-tuneup
fix: abstract edX-specific strings
2021-09-21 08:57:58 -04:00
AsadAzam
208e1b177c feat: Implement program discussions iframe (#28770)
* feat: Implement program discussions iframe

* Fixed conflicts

* Fixed conflicts

* Fixed conflicts

* Refactored code
2021-09-21 16:24:52 +05:00
edX requirements bot
0f528f9125 Python Requirements Update (#28806)
* chore: Updating Python Requirements

* fix: disabled unused import warnings

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2021-09-21 14:21:00 +05:00
Michael Terry
1133854a59 Merge pull request #28783 from edx/mikix/goal-reminder-email-aa-908
Add goal reminder email management command
2021-09-20 15:18:18 -04:00
Michael Terry
ce39f52680 chore: add tests for new goal reminder email management command 2021-09-20 14:32:06 -04:00
Matthew Piatetsky
ba7518304c Merge pull request #28675 from edx/AA-905
Populate the course goals user activity table when a user visits course-specific pages
2021-09-20 13:52:27 -04:00
Matthew Piatetsky
3200851563 start addressing comments 2021-09-20 13:08:12 -04:00
Awais Qureshi
708dbb71ec fix: removing jango-cookies-samesite package for django32. 2021-09-20 19:01:54 +05:00
julianajlk
42d79c5ef5 fix: get correct root URL for Track Selection page (#28772)
REV-2387
2021-09-20 09:56:42 -04:00
Awais Qureshi
71567719f2 fix: Don't use django-cookies-samesite on Django > 3.1
BOM-2752
2021-09-20 18:54:52 +05:00
Ahtisham Shahid
f2c3b5939d feat: Moved Programs details data in respective tabs (#28700)
* feat: Moved Programs details data in respective tabs
2021-09-20 12:38:11 +05:00
sarina
0c74d347f7 fix: abstract edX-specific strings 2021-09-19 14:01:20 -04:00
Soban Javed
56d12bf230 feat!: upgrade pyjwt to version 2.1.0 2021-09-17 16:08:15 +05:00
Sarina Canelake
5ab43ca0c2 Merge pull request #28638 from edx/sarina/abstract-branded-url-strings
Remove or contextualize references to `edX.org` in translated strings
2021-09-16 12:58:06 -04:00
Matthew Piatetsky
bf6e135762 feat: Populate the course goals user activity table when a user visits course-specific pages 2021-09-16 12:30:36 -04:00
Syed Muhammad Dawoud Sheraz Ali
df20c2e0ea Merge pull request #28754 from edx/dsheraz/PROD-2477
feat: add support-only endpoint to get FBE details
2021-09-16 21:06:57 +05:00
Andrew Shultz
9b4656c96d Merge pull request #28753 from edx/ashultz0/rm-duplicate-verified-name-flag
fix: remove now unnecessary course flag for verified names
2021-09-16 10:28:21 -04:00
Awais Jibran
4196ac7730 refactor: remove duplicate decorator (#28763) 2021-09-16 16:06:29 +05:00
Dillon Dumesnil
659283d0fd feat: AA-908: Add goal reminder email management command 2021-09-15 17:44:28 -04:00
Phillip Shiu
86f902b002 Merge pull request #28655 from edx/pshiu/REV-2325_TrackSelectionUnhappyPath
feat: Add screen for partial feature based enrollment
2021-09-15 16:13:35 -04:00
Phillip Shiu
b6e79c6dc8 fix: review comments on names and link variables 2021-09-15 15:20:23 -04:00
Robert Raposa
8cfe58ab8e Revert "refactor: Misc. clean up from dashboard investigation" 2021-09-15 14:54:28 -04:00
Maria Grimaldi
1c447e6176 feat: add 2nd batch of Open edX Events
* Add COURSE_ENROLLMENT_CHANGED: sent after the enrollment update
* Add COURSE_UNENROLLMENT_COMPLETED: sent after the user's unenrollment
* Add CERTIFICATE_CREATED after the user's certificate generation has
been completed
* Add CERTIFICATE_CHANGED: after the certification update has been
completed
* Add CERTIFICATE_REVOKED: after the certificate revocation has been
completed
* Add COHORT_MEMBERSHIP_CHANGED: when a cohort membership update ends
2021-09-15 14:50:28 -04:00
edX Transifex Bot
879f0262fd chore(i18n): update translations 2021-09-15 23:39:09 +05:00
DawoudSheraz
80637ed891 feat: add support-only endpoint to get FBE details 2021-09-15 22:46:50 +05:00
Andy Shultz
4b05f23d30 fix: remove now unnecessary course flag for verified names
MST-1020
2021-09-15 13:33:48 -04:00
sarina
a6616fd292 fix: Remove or contextualize refs to edX.org in strings 2021-09-15 12:21:10 -04:00
Phillip Shiu
9185b3335b fix: correct relative paths in templates to track_selection.html 2021-09-15 12:08:21 -04:00
Phillip Shiu
9d259d7a99 refactor: remove folder track_selection_types 2021-09-15 12:08:21 -04:00
Phillip Shiu
2997e23f83 refactor: s/full_fbe/fbe, s/partial_fbe/unfbe + unfbe logic 2021-09-15 12:08:20 -04:00
Phillip Shiu
359f3cf3f6 fix: add partial_fbe.html 2021-09-15 12:08:20 -04:00
Phillip Shiu
2e5b922692 fix: abstract track selection bullets into new mako template 2021-09-15 12:08:08 -04:00
Dillon Dumesnil
1db8ee5edc Merge pull request #28669 from edx/ddumesnil/misc-cleanup
refactor: Misc. clean up from dashboard investigation
2021-09-15 07:52:56 -07:00
julianajlk
519872a993 feat: add SVGs for icons in Track Selection, refactor URLs and tests (#28701)
REV-2133
2021-09-15 09:37:31 -04:00
Olivia Ruiz-Knott
5678b9e036 Merge pull request #28715 from edx/ork/MICROBA-1488_change-override-to-datetime-field
feat: Change override date to datetime
2021-09-13 09:23:46 -06:00
edX Transifex Bot
6e9d448a19 chore(i18n): update translations 2021-09-13 02:45:53 +05:00
oliviaruizknott
59fefa10eb feat: Change override date to datetime
When first building the Certificate Date Override feature, I set up the
CertificateDateOverride model to store the override dates as Dates
instead of DateTimes.

Turns out this is not how edX typically handles dates, and it’s causing
some minor headaches around needing to convert values. Also, using just
Dates causes timezone issues.

MICROBA-1488
2021-09-10 14:42:36 -06:00
julianajlk
5cfa680835 fix: add nested CSS to avoid popover class name override (#28712)
REV-2329
2021-09-10 15:32:53 -04:00
oliviaruizknott
dbfe2a3f2b feat: notify_credentials of changed overrides
We use the `notify_credentials` management command to keep certificate-
related data in the LMS and Credentials service in sync. We can run it
with specific arguments (user_ids, course_keys, etc.) when we notice a
data discrepancy; and it is run regularly by a Jenkins job with the
`--auto` flag every ~4 hours to keep things up-to-date.

Because we probably never want to notify credentials of of ALL the
GeneratedCertificates, the celery task must be given some arguments
to filter down to the relevant certificates. Running the management
command with the `--auto` flag (as the Jenkins job does) adds
`start_date` and `end_date` arguments of 4 hours ago and now,
respectively.

The handle_notify_credentials celery task then takes those arguments and
looks for any GeneratedCertificates that have been modified within the
given time range by checking the GeneratedCertificate modified_date.
It will send the current data for those certificates to credentials.

However, we also want to notify credentials about certificates that have
an associated CertificateDateOverride that has changed within that time
range: added, updated, or deleted. But changes to a
CertificateDateOverride won’t affect the GeneratedCertificate’s modified
date, and therefore wouldn’t be included in the list of certs cent to
credentials.

This commit adds a check for changed CertificateDateOverrides and
includes their associated GeneratedCertificates in the list of certs. We
use the CertificateDateOverride’s history model for this check so that
we can include certificates whose override was deleted.

MICROBA-1489
2021-09-10 12:32:17 -06:00
Andy Shultz
dc01bf3aad feat: add parameter to submit attempt to carry full name through
original behavior does pass the empty name through to
_update_full_name rather than just considering that as full name not
set. That's a little weird but outside the scope of this work so I've
preserved it by checking is not None rather than just using full_name
as a boolean.

MST-1015
2021-09-09 14:18:38 -04:00
Andy Shultz
695f2cd4c8 feat: prevent name update on photo verification if the name is already updated
MST-1015
2021-09-09 11:56:06 -04:00