Commit Graph

2557 Commits

Author SHA1 Message Date
Sarina Canelake
4a2f231302 fix: fix github url strings (org edx -> openedx) 2022-09-15 14:52:28 -04:00
Mubbshar Anwar
00054881ac fix: handle course prise (#30965)
course price was not showing in braze because of multiple datatype with same event property.

VAN-1083
2022-09-08 23:11:00 +05:00
Mubbshar Anwar
9562247028 fix: add log for exception (#30952)
- handle exception and add log for exception.
- add optimizely event for email not sent.

VAN-1066"
2022-09-08 10:47:02 +05:00
Shafqat Farhan
34a4cbf715 feat: VAN-1075 - Added country field validation on registration endpoint 2022-09-06 15:19:14 +05:00
Zainab Amir
c962583304 fix: remove legacy error messages (#30937) 2022-09-06 14:26:27 +05:00
Mubbshar Anwar
22b378e605 feat: Pass segment properties (#30919)
- For new enrollment email pass extra segment event properties.
VAN-999
2022-09-05 16:55:46 +05:00
Mubbshar Anwar
2980265764 Revert "feat: Pass segment properties (#30742)" (#30918)
This reverts commit b76d5c2a66.
2022-08-30 12:11:25 +05:00
Mubbshar Anwar
b76d5c2a66 feat: Pass segment properties (#30742)
- For enrollment email pass extra segment event properties.
VAN-999
2022-08-29 15:36:24 +05:00
Shafqat Farhan
a791759202 feat: VAN-1051 - Integrated Optimizely fullstack Client and experiment 2022-08-22 14:33:25 +05:00
Zainab Amir
f6e886b027 feat: remove unused management commands (#30861)
Removed two commands:
- populate_is_marketable_user_attribute
- populate_user_data_on_braze

VAN-971
2022-08-16 15:10:20 +05:00
Nathan Sprenkle
e025463872 feat: Learner Dashboard get enrollments (#30808)
* feat: fill out enrollment serializer

* test: add basic integration tests for enrollments

* feat: get info for user account activation

* test: test integrating user account activation

* feat: get course enrollments

* feat: get course email settings

* feat: add ecommerce info

* feat: add resume urls

* refactor: move learner home to separate app

* refactor: remove course limit

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-08-11 11:05:07 -04:00
Zainab Amir
e73139d60f feat: add error handling to email task (#30820) 2022-08-04 13:03:03 +05:00
Mubbshar Anwar
38e63681bb fix: Update event property (#30768)
- Use course_key instead of course_run_key for the is_personalized_recommendation event.

VAN-1021
2022-08-02 21:04:43 +05:00
Zainab Amir
56e8203496 feat: set default value for is_marketable (#30784)
If a user is created using manage_user command, set value
for is_marketable attribute to false.

VAN-996
2022-07-28 18:10:10 +05:00
Javier
6bad34d3e0 fix: Avoid overcounting former pending users who changed their emails. 2022-07-15 08:28:43 -07:00
Syed Muhammad Dawoud Sheraz Ali
6dde81dec8 feat: add order number information in support enrollment view (#30700)
* feat: add order number information in support enrollment view

* test: quality fixes
2022-07-14 22:36:24 +05:00
Attiya Ishaque
9d1f31603e feat: [VAN-986] Add amplitude API (#30675)
* feat: [VAN-986] Add amplitude API

* feat: add suggestion

* feat: add spinner

Co-authored-by: Zainab Amir <zainab.amir@arbisoft.com>
2022-07-05 16:23:38 +05:00
Zainab Amir
ef9361ccfe feat: add recommendation panel
- added a waffle flag to control recommendation panel
- add react code for the panel

VAN-984
2022-07-01 11:52:08 +05:00
Shafqat Farhan
26c8ec5c2a Merge pull request #30517 from openedx/shafqat/VAN-966
feat: VAN-966 - Added a management command to back populate 'marketing_emails_opt_in' UserAttribute
2022-06-20 14:22:48 +05:00
Shafqat Farhan
c7a42f2cbe feat: VAN-966 - Added a management command to back populate 'marketing_emails_opt_in' UserAttribute 2022-06-20 13:31:39 +05:00
Syed Sajjad Hussain Shah
c1a58499a5 fix: remove fields based on extended_profile configuration
Meta field in UserProfile model will only store those fields which are available in extended_profile configuration,
so we are removing the fields that are not available in extended_profile configuration because their data will
not be stored

VAN-977
2022-06-20 12:26:22 +05:00
Zainab Amir
7a700dcfd1 feat: command to populate user data on braze (#30556) 2022-06-20 10:19:09 +05:00
Shafqat Farhan
018b4ccd60 Merge branch 'master' into shafqat/VAN-966 2022-06-17 07:51:27 +05:00
Waheed Ahmad
868505dbb8 fix: braze track call for email address change (#30606) 2022-06-16 16:48:16 +05:00
Waheed Ahmad
a4f5f03a14 chore: update warning message with exception details (#30605) 2022-06-16 13:26:57 +05:00
Waheed Ahmad
541065c542 fix: [VAN-980] changing the email address sync with Braze (#30590)
Currently, changing the email address in LMS does not reflect in Braze
and the transaction emails sent through Braze are delivering to user's
old/previous email address.

Added a signal/receiver to sync the new email address upon confirm email
change.
2022-06-15 19:39:23 +05:00
Shafqat Farhan
f71dd805ea feat: VAN-966 - Added a management command to back populate 'marketing_emails_opt_in' UserAttribute 2022-06-14 06:40:07 +05:00
ruzniaievdm
116431cb81 refactor: Replace PDF course certificate view code (#30397)
Co-authored-by: ruzniaievdm <ruzniaievdm@gmail.com>
2022-06-13 09:43:02 -04:00
Adam Blackwell
4cd36cb2c4 Revert "feat: add marketing email opt in field" (#30493) 2022-05-26 10:00:50 -04:00
Abdoul Aw
8e1475f585 Merge pull request #30461 from openedx/zamir/VAN-970/add_is_marketable_field_to_use_profile
feat: add marketing email opt in field
2022-05-26 09:20:17 -04:00
julianajlk
43fb2cc022 fix: Update enrollments FBE status by course key in dashboard (#30483)
REV-2466
2022-05-25 12:01:42 -04:00
julianajlk
f7d4282101 Revert "fix: Use dashboard_index to get FBE status (#30463)" (#30475)
This reverts commit e25e17ee88.
2022-05-24 14:35:47 -04:00
Eugene Dyudyunov
b4fecd620b refactor: rename toggle_warnings to toggle_warning (#30458)
Rename toggle_warnings to toggle_warning for consistency with setting_warning.
2022-05-24 11:47:31 -04:00
julianajlk
e25e17ee88 fix: Use dashboard_index to get FBE status (#30463)
REV-2466
2022-05-24 10:24:38 -04:00
Zainab Amir
3a43d4344b feat: add marketing email opt in field
Added a new is_marketable field to UserProfile model to store
marketing email opt in field on registration form in UserProfile.

VAN-970
2022-05-23 18:30:57 +05:00
julianajlk
aef4d88eef feat: Add logic for happy and non-happy path upgrade msg in learner dashboard (#30368)
REV-2466
2022-05-20 10:09:03 -04:00
Maria Grimaldi
5985b6a789 Merge pull request #29994 from eduNEXT/MJG/dashboard-render-filter
[BD-32] feat: add filter before dashboard rendering process starts
2022-05-09 14:58:07 -04:00
Maria Grimaldi
895a649286 feat: add filter before course dashboard rendering process starts
* Add dashboard filter to dashboard student's view
* Add tests/docs for filter's integration
2022-05-09 14:40:14 -04:00
Eugene Dyudyunov
289e682b8f FC-0001: Remove old EdxRestAPIClient usage across the platform (#30301)
* refactor: remove EdxRestAPIClient

* test: update tests according to EdxRestAPIClient removal

* fix: remove unused import
2022-05-09 12:48:26 -04:00
Justin Hynes
8f2eb38220 Merge pull request #30342 from openedx/jhynes/microba-1510_rest-apis
feat: add new REST APIs to support scheduled bulk email
2022-05-09 09:41:44 -04:00
Justin Hynes
351d9e6759 feat: add new REST API to support scheduled bulk email
[MICROBA-1510]

* update InstructorTaskSchedule model delete behavior from CASCADE to DO_NOTHING.
* add utility function supporting cancellation of scheduled tasks to the instructor_task app
* add utility function to determine if a user has staff or instructor level access to a course to the student app
* adds a REST API for supporting retrieval and cancellation of scheduled bulk email tasks
* add unit tests for new functionality in the student app
* add unit tests for the new functionality in the bulk_email app
* remove use of CourseEmail object directly in another related test file
* add unit tests for the new REST API views.
2022-05-05 14:26:35 -04:00
Eugene Dyudyunov
8bd43207ca refactor!: switch from LegacyWaffle* to modern waffles (#30330)
This is a first stage for removing the LegacyWaffle* classes.

LegacyWaffleFlag usage replaced with WaffleFlag;
LegacyWaffleSwitche usage replaced with WaffleSwitch;
New CourseWaffleFlag added to the temporary module __future__ as FutureCourseWaffleFlag;
Updated all the imports to use CourseWaffleFlag from the __future__ module;

BREAKING CHANGE: A number of toggle related constants (e.g. ENABLE_ACCESSIBILITY_POLICY_PAGE)
changed types. They were strings, and are now toggle instances (e.g. WaffleSwitch). Although the entire
refactor should be self-contained in edx-platform, if any plugins or dependencies were directly
using these constants, they will break. If this is the case, try to find a better publicized way of
exposing those toggles.
2022-05-05 12:03:10 -04:00
Diana Huang
521151e712 refactor: Remove edx.org theme. (#30333)
This theme is no longer in use. The theme in use
has been moved to its own private repo.
2022-05-02 09:42:46 -04:00
Michael Terry
393fd971f5 Merge pull request #30295 from openedx/mikix/embargo-chain
fix: use safer ip-chain logic when checking ip for embargos
2022-04-25 11:41:12 -04:00
Eugene Dyudyunov
4443608981 refactor: remove deprecated save option for anonymous_id_for_user (#30302)
https://github.com/openedx/public-engineering/issues/35
2022-04-22 13:41:10 -04:00
Michael Terry
b8ecfed67d fix: use safer ip-chain logic when checking ip for embargos
Specifically:
- check ALL ip addresses in the client ip chain for blocking
- check RIGHTMOST ip address in the client ip chain for allowing

Before, we always checked the LEFTMOST ip address in both cases.

AA-1234
2022-04-22 11:15:02 -04:00
Demid
da4a6d6103 feat: Implement feature flag to disable students un-enrollment (#29326)
Implements a feature flag DISABLE_UNENROLLMENT that is used to disable students un-enrollment for all courses. The Unenrollment option should be disabled when this feature is set to True.

ref: BB-4951

Co-authored-by: tinumide <tinuade@opencraft.com>
Co-authored-by: Tim McCormack <tmccormack@edx.org>
2022-04-22 13:24:23 +00:00
Usama Sadiq
80f9f1de7a Fix quality failures with pylint 2.13.5 (#30197)
* build: update pylint-checks ci workflow
* fix: fix quality failures with new pylint version
* chore: remove pylint constraint
* chore: Updating Python Requirements (#30196)
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-04-07 13:59:44 +05:00
alangsto
681c2f1d6c chore: remove IDV references for proctoring and student/instructor display (#30146)
Places where IDV is referenced for blocking proctoring or displaying the IDV status to students and instructors should be removed. This includes the use of the ENABLE_INTEGRITY_SIGNATURE setting, which was used in part to deprecate IDV in those specified places. Other areas where ENABLE_INTEGRITY_SIGNATURE is used (such as for showing/hiding the integrity signature, for the verification deadline, or for certs) shall be left as is due to deprecation concerns.
2022-04-04 08:11:40 -07:00
Maria Grimaldi
73533f021e feat: add course unenrollment filter before unenrollment starts 2022-03-15 14:50:23 -04:00