Commit Graph

65817 Commits

Author SHA1 Message Date
Saleem Latif
99b81cdc8e chore: Upgraded learner-pathway-progress version to 1.3.1 2022-09-02 15:39:10 +05:00
Navin Karkera
40180a688e [BD-38] fix: hide discussion xblock for openedx provider (#30845)
* fix: hide discussion xblock for openedx provider

* fix: test cases

* refactor: hide xblock is provider not legacy and add message in studio

* fix: lint issue

* refactor: update discussion block studio msg

* fix: test discussion xblock query number
2022-09-02 14:38:53 +05:00
Syed Sajjad Hussain Shah
68bba463a0 feat: Send hotjar event for recommendations survey [VAN-1046] (#30926) 2022-09-02 09:48:24 +05:00
Sarina Canelake
4f954f3f0c Merge pull request #30894 from openedx/sarina/add-tutorial-check
build: add check for Open edX tutorial changes
2022-09-01 16:30:11 -04:00
Sarina Canelake
b0143c0e43 build: add check for Open edX tutorial changes 2022-09-01 16:08:30 -04:00
Tim McCormack
322c22a4eb chore: Upgrade event-bus-kafka to 0.6.0 (#30934) 2022-09-01 17:27:34 +00:00
Eugene Dyudyunov
ff33fc1014 fix: studio registration using the LMS SSO (#30855)
* fix: studio registration using the LMS SSO

Add the social-core settings:
```
INACTIVE_USER_LOGIN = True
INACTIVE_USER_URL = 'http://localhost:18010'
```

Change the registration link's `next` parameter to trigger SSO login
after the registration.
2022-09-01 11:25:22 -04:00
SaadYousaf
a1b43766cd fix: update email links to point to new discussions MFE. 2022-09-01 19:18:33 +05:00
Muhammad Adeel Tajamul
20477abcd1 feat: redirect urls to discussions domain (#30924)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-09-01 15:58:44 +05:00
Jenkins
b76065f900 chore: geoip2: update maxmind geolite country database 2022-08-31 16:51:59 -04:00
Nathan Sprenkle
05a14f4b17 feat: learner home get certificate info (#30898)
* feat: update certificate serializer

* refactor: move create test enrollment to utils

* feat: get certificate statuses

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-08-31 14:51:31 -04:00
John Nagro
21362344d4 feat: release edx-enterprise 3.56.9 (#30928) 2022-08-31 14:28:51 -04:00
AsadAzam
21e9490c66 fix: hide new provider if flag disabled (#30925) 2022-08-31 18:29:53 +05:00
jawad khan
dc256139f3 feat: Exchange jwt token with session cookies (#29963)
Exchange jwt token with session cookies so that it can work on mobile.
Mobile platform is migrating to jwt and for accessing  xblocks we need session cookies in exchnage of jwt token.
For additional details, see
https://github.com/openedx/edx-platform/blob/master/openedx/core/djangoapps/oauth_dispatch/docs/decisions/0013-mobile-migration-to-jwt.rst

LEARNER-8518
2022-08-31 13:29:52 +05:00
Andrew Shultz
9105a877fe Merge pull request #30923 from openedx/ashultz0/proctoring4103
fix: force procoring back to 4.10.3
2022-08-30 16:48:16 -04:00
Andy Shultz
210d9fbee6 fix: requirements changesd from proctoring pin to 4.10.3 2022-08-30 15:40:24 -04:00
Andy Shultz
818371a672 fix: pin proctoring library to 4.10.3 2022-08-30 15:37:07 -04:00
John Nagro
bdd7ca60c1 feat: release edx-enterprise 3.56.8 (#30922) 2022-08-30 14:38:56 -04:00
edX requirements bot
08d4538c8b Python Requirements Update (#30917)
* chore: Updating Python Requirements
* fix: fix relative paths in requirements

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-08-30 15:12:50 +05:00
Mubbshar Anwar
2980265764 Revert "feat: Pass segment properties (#30742)" (#30918)
This reverts commit b76d5c2a66.
2022-08-30 12:11:25 +05:00
Zachary Hancock
7e05c9cf0e Revert "chore: edx-proctoring update (#30913)" (#30915)
This reverts commit f55fe0f138.
2022-08-29 15:18:33 -04:00
John Nagro
d3b5efe551 feat: release edx-enterprise 3.56.7 (#30914) 2022-08-29 14:29:06 -04:00
Zachary Hancock
f55fe0f138 chore: edx-proctoring update (#30913) 2022-08-29 11:22:23 -04: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
Saad Yousaf
3b978c4157 feat: point to new discussions MFE on Discussion Tab (#30896)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2022-08-29 15:18:26 +05:00
Syed Sajjad Hussain Shah
45d62226c1 fix: rename events and remove from_email property [VAN-1060] (#30911) 2022-08-29 14:59:13 +05:00
Mubbshar Anwar
1b509f3a81 perf: Performance improvement (#30907)
Course recommendation API performance improvement.

VAN-1061
2022-08-29 14:44:37 +05:00
Syed Sajjad Hussain Shah
1bb6c3ed0d fix: fire event only if the from_email property is true [VAN-1060] (#30904) 2022-08-29 09:54:51 +05:00
Jenkins
59ac166d6d chore(i18n): update translations 2022-08-28 16:52:32 -04:00
irfanuddinahmad
b64b37105f Merge pull request #30882 from openedx/iahmad/ENT-6125
fix: ENT-6125 Fixed same completed course nudge issue
2022-08-26 12:36:54 +05:00
irfanuddinahmad
2ebd93f84c fix: Fixed same completed course nudge issue 2022-08-25 19:54:51 +05:00
Attiya Ishaque
614054bf10 fix: [VAN-1038] city field value is saved for optional fields. (#30897) 2022-08-25 16:58:00 +05:00
Kshitij Sobti
c2326f0399 fix: change conditions for showing new and legacy discussion providers (#30818)
The current logic for showing discussion providers makes it hard to switch
from the legacy to the new provider. This commit changes the conditions in
which different providers are shown, and which provider is used as default.

Before this commit, the new provider would be hidden if the legacy provider
was in use and vice-versa. So both would only be shown if neither legacy
nor the new provider were in use (i.e. an LTI provider was in use).

Now, all providers are always displayed to global staff. If the waffle
flag for the new provider is set
(`discussions.enable_new_structure_discussions`), then new provider is
always displayed, and the legacy provider is hidden unless it's currently
in use.

If flag is not set, then the new provider is always hidden unless it is
used by a course.

Finally, the default provider now depends on the flag above. If it is
set globally, then the default provider is the new provider, otherwise
the legacy provider remains the default provider.
2022-08-25 04:00:18 -07:00
Jenkins
0763d97736 chore: geoip2: update maxmind geolite country database 2022-08-24 16:52:13 -04:00
John Nagro
ad15abe6b9 feat: release edx-enterprise 3.56.6 (#30899) 2022-08-24 16:23:46 -04:00
Rebecca Graber
c1009b56f6 feat: emit COURSE_CATALOG_INFO_CHANGED signal on publish (#30805)
Implements https://github.com/openedx/edx-platform/issues/30682

Produce signal only once transaction for a course publish is
committed, and only for actual courses (not libraries).

- Use newer openedx-events version that has a fix for None datetime
  and that has CourseCatalogData without org, number.
- Add edx-event-bus-kafka -- specify recent version that drops
  confluent-kafka from explicit deps, fixes common auth settings, and has
  a multi-producer caching tweak.
- New functionality is behind toggle

As per https://github.com/openedx/openedx-events/issues/88 we're going to
try explicit dependencies on implementations for now, rather than solve
all the problems we'd encounter by using private dependencies.

Co-authored-by: Tim McCormack <tmccormack@edx.org>
Co-authored-by: Rebecca Graber <rgraber@edx.org>
2022-08-24 16:39:24 +00:00
Ben Warzeski
a60b34bb7b fix: update learner home api (#30893)
* fix: update learner home api

* refactor: update learner home API pathing

* fix: remove unused logger

* fix: remove unused import

* style: make pylint happy

* style: remove extra space

* style: remove extra space

Co-authored-by: nsprenkle <nsprenkle@2u.com>
Co-authored-by: Nathan Sprenkle <nsprenkle@users.noreply.github.com>
2022-08-24 12:34:14 -04:00
Kristin Aoki
36439bb047 feat: add static full url to asset response 2022-08-24 09:02:04 -04:00
Syed Sajjad Hussain Shah
a868646e98 fix: number of usersuggestions sometimes less than 3 [VAN-1023] (#30875) 2022-08-24 12:21:32 +05:00
SaadYousaf
495d1cc86c fix: add is_group_ta and has_moderations_privileges to course settings API 2022-08-24 12:04:27 +05:00
Michael Roytman
fe8a8ef228 Merge pull request #30884 from openedx/mroytman/bump-xblock-lti-consumer-4.5.0
feat: decouple LTI handlers from XBlock and improve LTI error handling for unauthenticated users
2022-08-23 12:29:33 -04:00
Matjaz Gregoric
a5bc75c2dd Merge pull request #30773 from open-craft/tecoholic/add-filter-hook-to-vertical-block-rendering
Add openedx-filters hook to VerticalBlock before rendering of child blocks
2022-08-23 17:19:09 +02:00
Zainab Amir
faf33bf32e feat: add optimizely experiment (#30880)
Added two events to measure optimizely experiment metrics:
- user_goal_setting_click
- user_start_course_click

VAN-1052
2022-08-23 15:33:54 +05:00
Raymond Zhou
aafac8f69b Revert "feat: TNL-10051 blockstore API perf instrumentation" (#30885) 2022-08-22 16:51:53 -04:00
michaelroytman
8fd2c9849f feat: decouple LTI handlers from XBlock and improve LTI error handling for unauthenticated users
This commit updates the version of the lti-consumer-xblock from 4.3.3 to 4.5.0. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes, from versions 4.4.0 and 4.5.0 of the library.

* Move LTI XBlock Handlers to Django Plugin (4.4.0)

1. The functionality of LTI 1.3 Launch Handler is moved from the XBlock to the Django plugin.
2. The functionality of the Access Token endpoint is moved from XBlock to the Django plugin.
3. A new URL format using the LtiConfiguration ID is introduced for the Access Token endpoint and is used when a LTI Consumer is configured without a location allowing LTI integrations to be created without the XBlock context.
4. A new URL format using the LtiConfiguration ID is introduced for the Keyset Endpoint and is used with the location of the XBlock is not available in the configuration.

* Handle LtiError Error During LTI 1.1 Launch for Unauthenticated User (4.5.0)

1. Improve error handling for LTI errors raised during LTI 1.1 launch when user is unauthenticated by returning a 400 response instead of falling through to the 500 error.
2. Change the error template to be generic to both LTI 1.1 and LTI 1.3 launches.
3. Revert logging amendments that were made to investigate the nature of the LTI errors.
2022-08-22 15:11:33 -04:00
bszabo
2669da94aa Merge pull request #30881 from openedx/bszabo/TNL-10051-instrument-blockstore-api
feat: TNL-10051 blockstore API perf instrumentation
2022-08-22 13:47:24 -04:00
Bernard Szabo
d58607ea2d feat: TNL-10051 reorder import statements
import logging must come near top
2022-08-22 13:19:53 -04:00
Bernard Szabo
e4d5de09da feat: TNL-10051 fix whitespace violation
Need two blank lines, not one
2022-08-22 12:55:50 -04:00
Bernard Szabo
2a9ce209f1 feat: TNL-10051 blockstore API perf instrumentation
Log before & after making blockstore (Django) API calls to get performance from timestamps
2022-08-22 12:22:20 -04:00
Justin Hynes
e02fabbda1 Merge pull request #30851 from openedx/jhynes/fix_devstack_credentials_port_numbers
fix: Override Credentials service URLs in Studio devstack.py files
2022-08-22 08:33:26 -04:00