Commit Graph

19426 Commits

Author SHA1 Message Date
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
Feanil Patel
b9131ac1af Merge pull request #30299 from raccoongang/depr/remove-course-info
FC-0001: Remove legacy course info page & related code
2022-06-13 08:23:25 -04:00
Arunmozhi
ba8e98c710 refactor: move noauth rebind ModuleSystem argument to service (#30320)
This removes the `rebind_noauth_module_to_user` argument from the
ModuleSystem constructor and moves it to a separate service called
"rebinder" in the class `RebindModuleService`. This is used in the
LTI module to bind calls received by its noauth endpoint to bind
the module the real_user.
2022-06-08 20:26:59 +02:00
Arunmozhi
aedcd7910d refactor: deprecate hostname attribute from ModuleSystem (#30308)
The hostname constructor argument of the XModule ModuleSystem is deprecated
in favour of directly accessing the LMS_BASE value from django.conf.settings.
2022-06-08 19:49:58 +02:00
Demid
8886f29e52 refactor: remove debug property from ModuleSystem (#30450)
This also:
1. Removes this property from XBlock runtime shims.
2. Updates the minimum required version of the LTI Consumer XBlock.
2022-06-08 18:59:45 +02:00
Arunmozhi
c54d8a81bf refactor: deprecate node_path attribute of ModuleSystem (#30447)
The node_path attribute & constructor argument of the ModuleSystem is
deprecated without any replacement service or fallback as there doesn't
seem to be any core blocks using it.

It also removes the references to node_path from the LMS settings, the
LoncapaModuleSystem and the XBlock runtime shim.

Co-authored-by: Agrendalath <piotr@surowiec.it>
2022-06-08 18:06:59 +02:00
connorhaugh
c9dce91b9a feat: studio redirect to new editors (#30523) 2022-06-07 16:30:40 -04:00
Jeremy Ristau
d253503099 Merge pull request #29728 from open-craft/tecoholic/add_reset_to_randomized_content_block
feat: add reset option to the Randomized Content Block
2022-06-06 12:34:15 -04:00
Alexander J Sheehan
6f496af369 Merge pull request #30538 from openedx/asheehan-edx/saml-api-related-improvements
fix: allowing for multiple idp data configs
2022-06-06 12:00:37 -04:00
Alexander Sheehan
8d6e041d7e fix: allowing for multiple idp data configs 2022-06-06 09:58:33 -04:00
Sagirov Eugeniy
92ca176fde refactor: Remove legacy course info page & related code 2022-06-05 19:00:05 +03:00
Awais Qureshi
02e29168b2 feat!: Removing sandbox folder from platform and installing it from p… (#30402)
* feat!: common/lib/sandbox-packages folder moved to a new library.
2022-06-01 16:02:13 +05:00
Alexander J Sheehan
e0a976ac47 Merge pull request #30453 from openedx/asheehan-edx/saml-api-related-improvements
fix: allowing for provider config fields to be provided on create
2022-05-27 13:16:37 -04:00
Alexander Sheehan
47693769e0 fix: allowing for provider config fields to be provided on create/updates 2022-05-27 12:59:03 -04:00
Usama Sadiq
8053b7d90c refactor: replace coursekey.course with coursekey.library (#30398) 2022-05-27 15:55:12 +05: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
Kyle McCormick
25df9ca420 refactor: make safe_lxml an ordinary folder in openedx/core/lib (#25689) 2022-05-24 15:35:23 +05: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
Arunmozhi
2b39da69b9 feat: add reset option to Randomized Content Block
This makes the reset button to refresh the contents of a Randomized
Content Block (RCB) without reloading the full page by fetching a new
set of problems in the "reset" response and replacing the DOM contents.

The reset button returns the student view as a string and the client
uses the HtmlUtils package to replace the contents and reinitializes the
XBlock.

This allows students to use the RCB as a flash card system.

Co-authored-by: tinumide <tinuade@opencraft.com>
2022-05-23 14:54:19 +02: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
Chris Pappas
e1277b4b87 chore: bump edx-enterprise version; uncomment migration test skip (#30425) 2022-05-17 14:47:37 -04:00
Chris Pappas
a8b26c3aef chore: bumping edx-enterprise version (#30424)
* chore: bumping edx-enterprise version

* temp: skip migration sync test
2022-05-17 12:29:26 -04:00
Demid
a4ec4c1b8e refactor: Delete XModule classes (#30262)
Removes XModule, XModuleDescriptor, ProxyAttribute classes and their usages.
2022-05-10 19:09:11 +02:00
Agrendalath
0ef57eb136 fix: do not index solutions in CAPA blocks
Most tags that could contain solutions or hints were already being removed,
but the regex did not include the case when they contained attributes.
2022-05-10 19:04:29 +02: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
Alexander J Sheehan
baf1cbc6fb Merge pull request #30357 from openedx/asheehan-edx/saml-api-related-improvements
fix: improvments to the saml config and data endpoints
2022-05-09 11:48:14 -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
Alexander Sheehan
ccb635733e fix: improvments to the saml config and data endpoints 2022-05-09 09:22:03 -04:00
Tim McCormack
80f60ffb36 refactor: Move log_sensitive to edx-django-utils (#30349)
It was copied there in 4.7.0 (openedx/edx-django-utils#209) so it can be used in more IDAs.

Includes dropping dependency on PyNacl, which was only in use by that module.
2022-05-06 12:42:19 +00: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
Maria Grimaldi
2e41384102 fix: cast course_id string to CourseKey object (#29686) 2022-04-29 10:35:49 -04:00
ansabgillani
55df11b489 fix: remove sso history model 2022-04-27 23:52:22 +05:00
ansabgillani
8c7059c5bb fix: reverting SSO History changes to unblock stage 2022-04-27 21:09:44 +05:00
ansabgillani
4af3d58b39 feat: Add SSO History for Support 2022-04-27 11:44:25 +05:00
Mubbshar Anwar
0ed58f32e7 feat: email linking for SSO (#30258)
Make email linking for SSO as default behavior.
VAN-331
2022-04-26 12:13:43 +05: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
Kira Miller
4975051d6f Merge pull request #30297 from openedx/kiram15/ENT-5498
fix: allow for multiple customer idps
2022-04-23 12:25:54 -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
Kira
392c8fdba8 fix: quality fixes 2022-04-22 10:05:36 -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