Commit Graph

61276 Commits

Author SHA1 Message Date
Michael Terry
bc10f653dc fix: remove a couple unused learning MFE serializer fields
Now that the frontend assumes there are no legacy courseware pages,
we can stop sending them info about it.
2022-04-19 15:06:37 -04:00
Michael Terry
f416308a66 Merge pull request #30238 from openedx/mikix/drop-courseware-view
Drop courseware legacy view for all but Studio preview mode
2022-04-19 14:05:04 -04:00
Matthew Carter
fb2a0170c1 chore: updated ORA2 to 4.2.0 - ESG release (#30279) 2022-04-19 13:14:28 -04:00
Alex Dusenbery
953dd73c81 fix: enterprise-3.44.3, which overrides get_assignments() and handles null contexts gracefully
Overrides the SystemWideEnterpriseUserRoleAssignment.get_assignments() method to return
a list of (role, context) assignments, where the first item in the list corresponds
to the currently active enterprise for the user.  Also ensures that
EnterpriseSystemWideUserRoleAssignment.get_assignments() can handle null values that might be returned by get_context().
2022-04-19 12:49:58 -04:00
Michael Terry
afd19f0513 feat!: drop legacy courseware tab access for learners
The only way to access the legacy courseware is now through the
Studio preview feature (and at some point, when the MFE supports a
preview mode, we can then remove even that).

This drops the courseware.use_legacy_frontend waffle.
2022-04-19 12:27:10 -04:00
Ali Akbar
9b1db048f8 Merge pull request #30223 from openedx/aakbar/PROD-2738
feat: use new flow with with financial assistance form
2022-04-19 20:19:37 +05:00
AliAkbar
33bb739e50 feat: use new flow with with financial assistance form 2022-04-19 19:57:18 +05:00
Justin Hynes
e3888187c2 Merge pull request #30277 from openedx/jhynes/update-microba-1666-adr
docs: update ADR for reasons why we won't be sanitizing bulk email contents
2022-04-19 09:13:09 -04:00
Justin Hynes
054d74a85f Merge pull request #29908 from openedx/jhynes/microba-1696_adrs
doc: introduces ADRs describing an approach for the scheduled instructor tasks backend implementation
2022-04-19 08:50:01 -04:00
Kelly Buchanan
6f5efb6203 docs: Add ADR for not sanitizing html in bulk email.
[MICROBA-1666]
- Update ADR to explain why we will not be sanitizing the contents of bulk email messages.
2022-04-19 08:38:06 -04:00
Justin Hynes
d1aa1734dd docs: add ADRs describing approach for the scheduled instructor tasks implementation
[MICROBA-1696]

* Introduce an ADR with details on the proposed approach to scheduled instructor tasks to support scheduled bulk email
* Introduce an ADR with details on how scheduled instructor tasks will be processed
2022-04-19 08:23:43 -04:00
Awais Qureshi
b97af6ac6e build: Removing un-used django versions from tox and other places. (#30270) 2022-04-19 16:41:29 +05:00
John Nagro
b944605eb0 feat: release edx-enterprise 3.44.2 (#30272)
- https://github.com/openedx/edx-enterprise/releases/tag/3.44.2
2022-04-18 16:54:17 -04:00
Jansen Kantor
4d18a6c1a0 feat: block team oras from ESG (#30269)
* feat: add teams enabled flag to ORA item view context

* feat: all team ORAs should be marked esg disabled
2022-04-18 15:41:02 -04:00
Mohammad Ahtasham ul Hassan
e84187bacd Revert "feat: node16 upgrade (#30249)" (#30268)
This reverts commit f10ebf0752.
2022-04-18 21:57:17 +05:00
Mohammad Ahtasham ul Hassan
f10ebf0752 feat: node16 upgrade (#30249) 2022-04-18 16:32:53 +05:00
Usama Sadiq
d8f282737c fix: Remove edx-django-utils GitHub pin (#30265)
* fix: remove unnecessary edx-django-utils github constraint
2022-04-18 14:48:31 +05:00
Muhammad Adeel Tajamul
40b2034717 Merge pull request #30253 from openedx/tnl-9871
feat: added flag to access course live in learning mfe
2022-04-18 10:45:14 +05:00
edx-pipeline-bot
2d3607b654 Merge pull request #30261 from openedx/private_to_public_283141a
Mergeback PR from private to public.
2022-04-15 15:50:43 -04:00
edx-pipeline-bot
afceb27231 fix: Make SAMLConfiguration viewset readonly (#247) (#30259)
The ony use is a GET request in admin portal so this view need not be post/put friendly right now.
It may actually get removed in an upcoming iteration, or stay readonly.

Fixes: SEC-1418

Co-authored-by: Binod Pant <bpant@edx.org>
2022-04-15 18:03:50 +00:00
Binod Pant
283141a3c7 fix: Make SAMLConfiguration viewset readonly (#247)
The ony use is a GET request in admin portal so this view need not be post/put friendly right now.
It may actually get removed in an upcoming iteration, or stay readonly.

Fixes: SEC-1418
2022-04-15 17:29:11 +00:00
Michael Terry
9714959816 Merge pull request #30257 from openedx/mikix/use-course-key
fix: pass a CourseKey not a string to course_home_url
2022-04-15 09:16:17 -04:00
Michael Terry
4732c46985 fix: pass a CourseKey not a string to course_home_url 2022-04-15 08:59:56 -04:00
Mehak Nasir
fefbbcbdba style: button font reduced to reduce button size (#30256) 2022-04-15 16:57:14 +05:00
adeel.tajamul
f48cc56e04 feat: added flag to access course live in learning mfe 2022-04-15 16:22:15 +05:00
Michael Terry
4dbeabf4bd Merge pull request #30251 from openedx/mikix/drop-outline-view
feat!: drop legacy course home view and related code
2022-04-14 15:37:09 -04:00
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