Commit Graph

134 Commits

Author SHA1 Message Date
muhammad-ammar
7a8834a4b9 fix: return empty response if no enterprise enrollments exists for a learner 2022-09-07 15:52:56 +05:00
Mubbshar Anwar
1b509f3a81 perf: Performance improvement (#30907)
Course recommendation API performance improvement.

VAN-1061
2022-08-29 14:44:37 +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
Waheed Ahmad
f8632ab721 fix: show general recommendations on error or empty list (#30827)
Currently, the loading sign shows indefinitely if the recommendation API response
is 200 with an empty recommended courses list. Fix, it by showing the general
recommendations.

VAN-1034
2022-08-05 15:14:08 +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
Raymond Zhou
6cdc481db8 feat: fix for course_keys nonetype error (#30797) 2022-07-28 10:39:05 +05:00
Mubbshar Anwar
a9e348cb43 fix: List index out of range (#30751)
- Current course run list index out of range.

VAN-1019
2022-07-20 17:12:54 +05:00
Nathan Sprenkle
71fabb7f87 feat: add remaining learner dash serializers (#30707)
* feat: add UnfulfilledEntitlementSerializer

* feat: add SuggestedCoursesSerializer

* feat: add new enrollment serializer fields

* test: new enrollment serializer fields

* feat: add new entitlement serializer fields

* feat: add EmailConfirmationSerializer

* feat: add EnterpriseDashboardsSerializer

* fix: update learner view with new serializers

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-13 15:46:49 -04:00
Mubbshar Anwar
a084d5d892 fix: update response (#30712)
- add course_run_key in API response
- remove course_key from API response

VAN-986
2022-07-07 21:17:25 +05:00
Zainab Amir
9a21d1448a feat: fix authentication classes for recommendation view (#30699)
- Updated classes to allow inactive users to access the view
- In case of any error show general recommendations
2022-07-06 17:32:20 +05:00
Nathan Sprenkle
15a38bc7f1 feat: partial initial view/API for learner dashboard (#30653)
* fix: remove unused feedback email

* refactor: rename learner views

Rename course to learner and seed initial response shape

* feat: add first sample views and APIs

* refactor: add route namespace for learner dash

* test: add learner dashboard views test

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-05 14:08:00 -04:00
Nathan Sprenkle
9d54fda8e8 feat: learner dash enrollment serializers (#30674)
* feat: add CourseProviderSerializer

* feat: add CourseSerializer

* feat: add CourseRunSerializer

* feat: add EnrollmentSerializer

* feat: add GradeDataSerializer

* feat: add CertificateSerializer

* feat: add EntitlementSerializer

* feat: add ProgramsSerializer

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-05 11:12:12 -04: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
Nathan Sprenkle
abfd50a984 feat: Learner Dashboard top level serializer (#30631)
* feat: add top-level serializer classes

List serializer classes stubbed, to be filled out later.

* test: add basic test for high-level serializer.

Includes 2 examples of how to patch sub-serializers.

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-06-22 13:38:30 -04:00
Muhammad Umar Khan
a389a9ff10 Revert "Revert "refactor: move xmodule folder to root"" 2022-06-20 18:20:06 +05:00
Muhammad Umar Khan
d890f06507 Revert "refactor: move xmodule folder to root" 2022-06-20 16:03:48 +05:00
M Umar Khan
a91df0c40f refactor: move xmodule folder to root
- Moving xmodule folder to root as we're dissolving sub-projects of common folder in edx-platform
    - More info: https://openedx.atlassian.net/browse/BOM-2579
- -e common/lib/xmodule has been removed from the requirements as xmodule has itself become the part of edx-platform and not being installed through requirements
- The test files common/lib/xmodule/test_files/ have been removed as they are not being used anymore
2022-06-20 14:33:45 +05:00
Zaman Afzal
ec36d3a949 fix: revert Add Learner pathway progress update signal (#30598) 2022-06-16 01:59:40 +05:00
Zaman Afzal
6c6dabaa3c Feat: Add Learner pathway progress update signal (#30547)
* feat: Add Learner pathway progress update signal
2022-06-15 00:58:22 +05:00
Nathan Sprenkle
cf6ea15fff feat: add course listing alongside learner dashboard (#30553)
* refactor: split programs into separate file space

This is in preparation to allow learner dashboard routes/files to live
alongside.

* feat: add new empty course listing view

* docs: update README and split out programs

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-06-09 11:22:04 -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
Simon Chen
192b35eb8f fix: add Learner as another role posted to LTI tools for the LTI embed (#30356)
Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2022-05-09 10:12:28 -04:00
Sameen Fatima
f52c24d445 feat: Add authoring organization logo in API response for all learner enrolled programs (#30139) 2022-03-30 14:09:54 +05:00
muhammad-ammar
c35025fd9d feat: api to fetch all programs where an enterprise learner is enrolled 2022-03-04 17:42:30 +05:00
Sameen Fatima
0d9e845f1b feat: Created an API to fetch progress details about a learner's program (#29975) 2022-03-04 16:11:28 +05:00
Ahtisham Shahid
649a66de4e fix: Added additional conditions for tab view rendering (#29906) 2022-02-15 18:48:57 +05:00
Ahtisham Shahid
75d8448ef5 refactor: Moved ProgramDiscussion/Live Configuration Models to program's app (#29871)
refactor: Moved ProgramDiscussion/Live Configuration Models to program's app
2022-02-09 15:43:22 +05:00
Ahtisham Shahid
cc6da107a1 feat: Added zoom lti to programs page (#29799)
* feat: Added zoom LTI to the programs page
2022-01-21 20:14:24 +05:00
Ahtisham Shahid
e63fb2e01a feat: Created API for programs live page zoom lti (#29763)
* feat: Created API for programs live page zoom lti

* refactor: Merged similar code by inheritance

* refactor: removed duplicates and resolved tight coupling issues

* refactor: Decoupled views
2022-01-21 12:26:47 +05:00
Ahtisham Shahid
2ac33f8113 feat: created ADR for zoom lti configuration (#29748) 2022-01-12 12:04:18 +05:00
Ahtisham Shahid
f517cb571f Zoom lti pro configurations ADR (#29694)
* feat: Zoom lti pro configurations ADR
2022-01-12 10:55:40 +05:00
Jawayria
7f5b4a6a47 chore: removed 'wrong-import-order' from disabled imports (#29365)
* chore: removed 'wrong-import-order' from disabled imports
2022-01-06 19:14:51 +05:00
AsadAzam
7fba083a49 fix: added staff check for discussions iframe (#29617) 2021-12-21 14:46:51 +05:00
Jawayria
efe22f19ab chore: Applied lint-amnesty on lms/djangoapps 2021-12-20 16:06:29 +05:00
=Awais Jibran
51b2b89bcd fix: add is_configured property 2021-12-13 15:11:31 +05:00
AsadAzam
3f06445389 feat: added pii params for program discussions (#29532)
* feat: added pii params for program discussions

* refactor: added conditions
2021-12-09 18:39:34 +05:00
Ahtisham Shahid
00b53287d5 Added anonymous user id and extra params in program lti (#29429)
* fix: added anonymous user id and extra params in program lti

* refactor: updated flag name

* fix: fixed linter issues
2021-12-02 17:05:35 +05:00
Ahtisham Shahid
987c641d82 feat: created API to get program discussion iframe (#29205)
fix: py lint issues fixed

feat: added test cases for API

fix: py lint issues fixed and added tests

fix: updated tests and refactored

fix: fixed return type in the function

fix: conflicts resolved and linter issue

refactor: updated code to accommodate backward compatibility

refactor: updated classes for code clean up

feat: added test for ProgramDetailFragment

feat: added a new flag for masters discussion

refactor: updated flag names and other refactors
2021-11-22 11:27:45 +05:00
M. Zulqarnain
b84b862cc0 feat: Django codemods on LMS (3) (#28853) 2021-11-16 18:27:21 +05:00
AsadAzam
49367f4758 feat: added program discussions admin view (#29283)
* feat: added program discussions admin view

* refactor: updated docstring

* refactor: updated constant
2021-11-09 22:35:21 +05: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
SaadYousaf
bf64c34d9d feat: add program discussion for learner dashboard 2021-08-31 11:15:44 +05:00
usamasadiq
3f1df8eb2a Ran pyupgrade on lms/djangoapps
Ran pyupgrade on lms/djangoapps/instructor_analytics
Ran pyugprade on lms/djangoapps/instructor_task
Ran pyupgrade on lms/djangoapps/learner_dashboard
2021-02-19 17:30:59 +05:00
Aarif
87fbbc7f3b replaced unittest assertions pytest assertions (#26547) 2021-02-19 12:36:28 +05:00
Awais Qureshi
44576ce3f6 BOM-2282
Apply pylint-amnesty.
2021-02-01 19:27:15 +05:00
Kyle McCormick
151bd13666 Use full names for common.djangoapps imports; warn when using old style (#25477)
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Aura Milena Alba
0192de00b2 [BD-10] [DEPR-92] Remove scss files that use pattern library 2020-08-12 13:12:36 -04:00
morenol
68d1c7f78c [BD-10] Remove _uses_pattern_library property from EdxFragmentViews (#24536) 2020-07-27 12:01:40 -04:00
Aura M. Alba
8d3ec6b366 Remove pattern library of learner_dashboard/programs.py 2020-06-02 16:19:25 -05:00
Aura Milena Alba
04802d2d72 Remove pattern library of programs.html (#23951) 2020-05-19 09:33:24 -04:00