Commit Graph

61250 Commits

Author SHA1 Message Date
Michael Terry
ce5f1bb343 feat!: drop legacy course home view and related code
This was the "outline tab" view of the course. Preceded by the
course info view, succeeded by the MFE outline tab.

In addition to the course home view itself, this drops related
features:
- Legacy version of Course Goals (MFE has a newer implementation)
- Course home in-course search (MFE has no search)

The old course info view and course about views survive for now.

This also drops a few now-unused feature toggles:
- course_experience.latest_update
- course_experience.show_upgrade_msg_on_course_home
- course_experience.upgrade_deadline_message
- course_home.course_home_use_legacy_frontend

With this change, just the progress and courseware tabs are still
supported in legacy form, if you opt-in with waffle flags. The
outline and dates tabs are offered only by the MFE.

AA-798

(This is identical to previous commit be5c1a6, just reintroduced
now that the e2e tests have been fixed)
2022-04-14 15:18:31 -04:00
Michael Terry
584f400ca8 Merge pull request #30250 from openedx/revert-30064-mikix/drop-outline-view
Revert "Drop legacy outline tab in favor of the MFE's version"
2022-04-14 14:33:51 -04:00
Michael Terry
a515c2e992 Revert "Drop legacy outline tab in favor of the MFE's version" 2022-04-14 14:16:29 -04:00
Michael Terry
6af3cb14d9 Merge pull request #30064 from openedx/mikix/drop-outline-view
Drop legacy outline tab in favor of the MFE's version
2022-04-14 11:59:44 -04:00
María Fernanda Magallanes
a099d9a10b refactor: consider celery imports from common settings plus env tokens (#29739) 2022-04-14 09:16:14 -04:00
Michael Terry
be5c1a64d5 feat!: drop legacy course home view and related code
This was the "outline tab" view of the course. Preceded by the
course info view, succeeded by the MFE outline tab.

In addition to the course home view itself, this drops related
features:
- Legacy version of Course Goals (MFE has a newer implementation)
- Course home in-course search (MFE has no search)

The old course info view and course about views survive for now.

This also drops a few now-unused feature toggles:
- course_experience.latest_update
- course_experience.show_upgrade_msg_on_course_home
- course_experience.upgrade_deadline_message
- course_home.course_home_use_legacy_frontend

With this change, just the progress and courseware tabs are still
supported in legacy form, if you opt-in with waffle flags. The
outline and dates tabs are offered only by the MFE.

AA-798
2022-04-14 09:12:01 -04:00
Michael Terry
0be6d3c8ab Merge pull request #29846 from openedx/mikix/drop-dates-view
feat!: drop legacy dates tab, in favor of MFE version
2022-04-14 09:11:20 -04:00
Demid
16fa97dde4 feat: deprecate filestore
This:

1. Removes the `filestore` property from the `ModuleSystem` in favor of
   the `runtime.resources_fs` property.
   In the original code, `filestore` is equal to
   `DescriptorSystem.runtime.resources_fs`. It's safe to replace it with
   `ModuleSystem.runtime.resources_fs` because both runtimes are combined
   using the `CachingDescriptorSystem`. It provides the `resources_fs` property
   that uses the same file storage.

2. Renames `filestore` argument to `resources_fs` in the `LoncapaSystem`
   constructor.

3. Adds the deprecated `filestore` property to the `ModuleSystemShim`
   and `RuntimeShim`.
2022-04-14 14:45:05 +02:00
Usama Sadiq
a586f740e0 BOM-3361: Remove wrapt constraint (#30215)
* fix: remove wrapt constraint
2022-04-14 16:41:39 +05:00
Kshitij Sobti
1ea90d8843 fix!: supply the editor and closing user as separate params to cs_comments_service (#30230)
The forum service doesn't get the requesting user id for any operation, only the user id of the content creator. So to apply a different user id for an editor or post closing user, those need to be explicitly passed.
2022-04-14 16:21:55 +05:00
Mehak Nasir
2523d56d40 feat: post anonymously option is removed from add post section (#30189) 2022-04-14 13:17:05 +05:00
Mehak Nasir
7cf037f540 style: banner height reduced to space screen size (#30241) 2022-04-14 13:14:27 +05:00
Usama Sadiq
a9557a31c3 Revert "fix: edx-enterprise to 3.44.0 and edx-rbac to 1.7.0" (#30247)
This reverts commit cd306edfd6.
2022-04-14 12:41:37 +05:00
Maria Grimaldi
550e5b26aa Merge pull request #30050 from eduNEXT/jlc/fix-rtl-studio-problem-editor
fix: fix RTL text in editor of xblock problem.
2022-04-13 13:43:51 -04:00
Alex Dusenbery
cd306edfd6 fix: edx-enterprise to 3.44.0 and edx-rbac to 1.7.0
Overrides the SystemWideEnterpriseUserRoleAssignment.get_assignments() method to return list of (role, context) assignments where the first item in the list corresponds to the currently active enterprise for the user.

This approach should allow us to remedy the problem without changing behavior of the consumers of JWT-stored roles (e.g. in ecommerce).

ENT-5700
2022-04-13 10:32:08 -04:00
Hamza Khchine
ea8f667bee feat: Add management command for updating discussion user stats for all users in a course (#29973)
Adds a management command to trigger an update to generate user stats for all users in a course.
2022-04-13 19:09:50 +05:00
Kshitij Sobti
60918fb160 feat: use native learning MFE tab for discussions (#30109)
Updates the discussions tab to return the learning MFE tab URL so the discussion content can be shown in the learning MFE itself.
2022-04-13 18:55:27 +05:00
SaadYousaf
149ca028d7 feat: update discussion settings API to handle changes reported_content_email_notification field 2022-04-13 15:10:48 +05:00
Syed Sajjad Hussain Shah
d22af8ab79 Merge pull request #30227 from openedx/sajjad/VAN-921
fix: Make course metadata values dynamic
2022-04-13 14:47:44 +05:00
Syed Sajjad Hussain Shah
781032858f fix: Make course metadata values dynamic
Make course metadata price value dynamic by
sending value from backend

VAN-921
2022-04-13 14:29:22 +05:00
Mubbshar Anwar
0663795781 feat: reminder emails (#30159)
send reminder emails to those users who saved course or program but not enroll within 15 days.
VAN-887
2022-04-13 12:27:50 +05:00
Régis Behmo
10e4634a7f build: nudge devs to backport changes to nutmeg 2022-04-12 13:09:53 -07:00
Michael Terry
0eb8962548 feat!: drop legacy dates tab, in favor of MFE version
For the dates courseware tab, we no longer respect the
course_home_use_legacy_frontend waffle flag that enabled the
legacy version in Maple.

Instead, we always send the user to the MFE.

MFEs will be required for the Nutmeg release. This dates tab is
the first to fall, but others will follow.

AA-799
2022-04-12 15:20:37 -04:00
Thomas Tracy
c89a137b68 fix: [MICROBA-1769] Fix early nonpassing status (#30160)
In certain situations, learners in the nonpassing state (or sometimes
students who have finished a course too early and passed) were getting
information about their grad and certificate status before they were
supposed too.

This adds some data to the courseware api that will allow us to mirror
availability states for certifictes of passing learners withour
revealing information through the api. Now, no matter the status of the
students grade or certificate display behavior, a student should not see
information about certificates early.
2022-04-12 14:10:21 -04:00
Justin Hynes
f2582c4e9e Merge pull request #30192 from openedx/jhynes/microba-1507_scheduled-tasks
feat: update existing functions to support scheduled email tasks
2022-04-12 08:26:31 -04:00
Mohammad Ahtasham ul Hassan
a443542260 Revert "feat: node16 upgrade (#30158)" (#30228)
This reverts commit 5ee25c65ea.
2022-04-12 17:18:30 +05:00
Mohammad Ahtasham ul Hassan
5ee25c65ea feat: node16 upgrade (#30158) 2022-04-12 15:23:34 +05:00
Usama Sadiq
6269afc93e BOM-3364: Remove diff-cover constraint (#30218)
* fix: remove diff-cover constraint

* chore: Updating Python Requirements (#30219)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-04-12 14:22:33 +05:00
Usama Sadiq
f067fa6181 BOM-3363: Remove sympy constraint (#30217)
* fix: remove sympy constraint
2022-04-12 14:02:08 +05:00
Ali Akbar
5eedf84ba8 Merge pull request #30114 from openedx/aakbar/PROD-2740
feat: add financial assistance configuration model and util functions
2022-04-12 13:02:31 +05:00
AliAkbar
9af7418da6 feat: add financial assistance configuration model and util functions 2022-04-12 12:04:15 +05:00
Long Lin
45c750f2a3 chore: bump edx-enterprise version 2022-04-11 16:23:08 -04:00
Feanil Patel
1dca6e88fd Merge pull request #30222 from openedx/feanil/settings_convention_doc
docs: Add documentation for how to extend a setting.
2022-04-11 15:37:46 -04:00
Abdurrahman Asad
4ad1dfcd5d feat: add API to return course live iframe (#30179)
feat: add API to return course live iframe
2022-04-11 23:20:41 +05:00
Feanil Patel
40f5744f1f docs: Add documentation for how to extend a setting.
Also remove some old docs suggestions that I don't think are relevant
anymore.

Co-authored-by: David Ormsbee <dormsbee@edx.org>
Co-authored-by: Robert Raposa <rraposa@edx.org>
2022-04-11 13:57:41 -04:00
Usama Sadiq
05f2be21a9 BOM-3358: Remove django-config-models constraint (#30209)
* fix: remove django-config-models constraint

* chore: Updating Python Requirements (#30213)

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-04-11 15:07:21 +05:00
Maria Grimaldi
7dc60db1d9 Merge pull request #29792 from raccoongang/dyudyunov/fix-certificate-generation-without-persistent-grades
Fix certificate generation without persistent grades
2022-04-08 12:02:53 -04:00
connorhaugh
65d4435b0e fix: don't reroute xblock settings button. (#30203)
for: https://openedx.atlassian.net/browse/TNL-9831
2022-04-08 09:26:12 -04:00
edx-pipeline-bot
62a95469d6 Merge pull request #30212 from openedx/private_to_public_890cf9a
Mergeback PR from private to public.
2022-04-08 03:56:07 -04:00
edX requirements bot
ed487e2ea3 Python Requirements Update (#30210)
* fix: pin bleach<5.0.0 version
Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-04-08 11:49:52 +05:00
John Nagro
43525d9445 fix: release edx-enterprise 3.42.5 (#30207)
- fix: improve guards on fk data backfill job
- feat: updated logic for completions in integrated channels
2022-04-07 18:01:17 -04:00
Sarina Canelake
711f5a1ae6 Merge pull request #30162 from openedx/sarina/ie
docs: Remove IE from supported browsers in Open edX course overviews
2022-04-07 17:02:07 -04:00
Chris Pappas
874997ea1d chore: iterate on we do dockerfile config override (#30204) 2022-04-07 16:08:48 -04:00
Rebecca Graber
890cf9ae62 fix: verify redirect in inactive_user_view 2022-04-07 15:36:41 -04:00
Matt Hughes
92973038fa fix: missing file extension for csv file exports
see https://github.com/openedx/staff_graded-xblock/pull/97

JIRA:TNL-9720
2022-04-07 14:39:25 -04:00
John Nagro
842a2e4fee feat: release edx-enterprise 3.42.3 (#30201)
- feat: additional fk data backfill performance improvements

ENT-5605
2022-04-07 13:54:38 -04:00
Justin Hynes
e826abc0e8 feat: update existing functions to support scheduled email tasks
[MICROBA-1507]

* Adds support to the bulk course email tool to extract a schedule and timezone from a `send_email` request.
* Submits the task for scheduling when needed.
2022-04-07 13:35:31 -04:00
Chris Pappas
7c434524f7 temp: add runs to dockerfile to troubleshoot envvar (#30200) 2022-04-07 11:55:46 -04:00
Michael Terry
dc55021e8e Merge pull request #30176 from openedx/mikix/resize-more
fix: tell MFE about xblock iframe resizes more often
2022-04-07 11:14:46 -04:00
John Nagro
b9d6e01a05 feat: release edx-enterprise 3.42.2 (#30199)
- https://github.com/openedx/edx-enterprise/pull/1525

ENT-5605
2022-04-07 09:39:21 -04:00