Commit Graph

61524 Commits

Author SHA1 Message Date
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
Mohammad Ahtasham ul Hassan
22e510d69b fix: remove logging (#30559) 2022-06-08 20:31:52 +05:00
Zia Fazal
c6885e1607 Merge pull request #29689 from eduNEXT/staff-org-studio-fix-details
fix: Improve studio /settings/details page.
2022-06-08 15:27:55 +05:00
Muhammad Ammar
fe5c26ff20 Merge pull request #30491 from openedx/ammar/send-segment-event-for-failed-learners
feat: send segment event for failed learners for a course
2022-06-08 14:29:42 +05:00
muhammad-ammar
c0a5dac128 feat: send segment event for failed learners for a course 2022-06-08 13:51:13 +05:00
connorhaugh
c9dce91b9a feat: studio redirect to new editors (#30523) 2022-06-07 16:30:40 -04:00
jfavellar90
0f4082427e fix: LI-10, improve home studio performance.
Improving Studio homepage performance for users with course access role with no course_id

Fixing unit tests

Added create CourseOverviewFactory after creating course to course listing test

Fix order import for `from openedx.core.djangoapps.content.course_overviews.tests.factories import CourseOverviewFactory
`

(cherry picked from commit 997a0ff770744309f0ee84f3c0696a80310c5f2d)
2022-06-07 15:13:11 -05:00
Muhammad Umar Khan
290236390b Merge pull request #30530 from openedx/bom-2245-attempt-4
fix: python-dateutil version issue
2022-06-07 16:27:05 +05:00
connorhaugh
ab59796a56 fix: python-dateutil version issue 2022-06-07 14:33:44 +05: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
Rebecca Graber
05b4aa8d4b docs: ADR with guidance for new applications (#30053) 2022-06-06 11:36:27 -04:00
Alexander Sheehan
8d6e041d7e fix: allowing for multiple idp data configs 2022-06-06 09:58:33 -04:00
Kyle McCormick
9f380b9ccd refactor: import common/lib/ modules from canonical locations (#30533)
Unfortunately, some code in edx-platform is imported
relative to sub-projects instead of the repository root.
The only three remaining instances of this are:
* common/lib/xmodule/xmodule (imported as just 'xmodule')
* common/lib/capa/capa (imported as just 'capa')
* openedx/core/lib/xblock_builtin/xblock_discussion
  (imported as just 'xblock_discussion')

For more details on the situation, see:
https://openedx.atlassian.net/browse/BOM-2579
(public, but requires Atlassian account creation).

We would like to get to a point where all edx-platform
import paths match their folder paths, relative to the repo
root. For now, though, all common/lib/capa and common/lib/xmodule
code should be imported as just `from capa` and `from xmodule`,
respectively. Importing using the full `common.lib.xmodule.xmodule...`
path will often work, but it instantiates a second instance of all
modules imported this way, which in the past has led to very
difficult-to-diagnose bugs.  It also confuses tooling such as
import-linter, which we are trying to add to edx-platform
(see https://openedx.atlassian.net/browse/BOM-2576)
2022-06-06 09:54:16 -04:00
ansabgillani
d7a60fd21b feat: add SSO History to support 2022-06-06 18:40:49 +05:00
Navin Karkera
aba1f052df fix: handle missing COMPLETION_AGGREGATOR_URL setting (#30331) 2022-06-06 09:40:12 -04:00
edx-pipeline-bot
1c0219bdf0 Merge pull request #30542 from openedx/private_to_public_f26f53e
Mergeback PR from private to public.
2022-06-06 06:53:11 -04:00
Waheed Ahmad
f26f53e2fc Merge pull request #250 from edx/waheed/VAN-972-xss-vul
fix: cross-site scripting vulnerability on logout page
2022-06-06 14:46:13 +05:00
edx-semantic-release
7f5d8e3511 chore(i18n): update translations 2022-06-03 13:53:03 -04:00
Cristhian Garcia
e66036bba2 fix: dynamically generated unverified cert data (#30365) 2022-06-03 11:46:46 -04:00
Syed Sajjad Hussain Shah
142945c930 Merge pull request #30488 from openedx/sajjad/VAN-965
fix: Name field validation issue [VAN-965]

The name validation error was being removed after backend validation 

VAN-965
2022-06-03 12:04:11 +05:00
Régis Behmo
7d4543814d refactor: less confusing ACE configuration (#27719)
The ACE_* settings from lms/envs/common.py are all ignored because they are
overloaded by the plugin settings. We were recently bitten by this, as we
discovered that the ACE_ROUTING_KEY was incorrectly set to 'edx.core.low'.
Here, we fix this default value and remove ACE_* settings from
lms/envs/common.py to avoid confusion.

See: https://github.com/overhangio/tutor/issues/439
2022-06-02 14:21:19 -04:00
Justin Hynes
13d82d757f Merge pull request #30524 from openedx/jhynes/scheduled-instructor-task-bugfix
fix: fix issue with incorrect bulk email schedules
2022-06-02 08:06:19 -04:00
SaadYousaf
af31e68f8e fix: fix variable name in email template 2022-06-02 12:38:24 +05:00
Saad Yousaf
1800257bcd fix: fix issues with reported content email notifications (#30522)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2022-06-02 11:09:32 +05:00
Kshitij Sobti
a63d023fb6 fix: Run course discussion settings update task when settings change (#30520)
When discussion settings change in a course, call the discussion settings update task so that topics are updated automatically.
2022-06-02 11:04:11 +05:00
John Nagro
ad8724f91f feat: release edx-enterprise 3.49.7 (#30528) 2022-06-01 17:40:12 -04:00
Justin Hynes
d7ae3181b6 fix: fix issue with incorrect bulk email schedules
[MICROBA-1835]
* The DateTime string received from the Comms MFE was already in UTC so there is no need to convert the schedule to UTC on the backend.
2022-06-01 15:49:57 -04:00
Brian Beggs
05f54e8074 Merge pull request #30484 from open-craft/navin/fix-domain-name-length
fix: [BB-6261] trim name for site configuration before saving
2022-06-01 12:58:55 -04:00
John Nagro
364acbb9a3 feat: release edx-enterprise 3.49.6 (#30526)
ENT-5895
2022-06-01 11:35:31 -04:00
Raymond Zhou
34593c2df5 Merge pull request #30525 from openedx/revert-30406-feat--change-default-title-for-text-xblock-to-be-'Text'
Revert "Feat  change default title for text xblock to be 'text'"
2022-06-01 08:09:58 -07:00
connorhaugh
2e13033fbe Revert "Feat change default title for text xblock to be 'text'" 2022-06-01 10:52:09 -04: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
Raymond Zhou
a27247d14d Merge pull request #30406 from openedx/feat--change-default-title-for-text-xblock-to-be-'Text'
Feat  change default title for text xblock to be 'text'
2022-05-31 09:35:33 -07:00
Usama Sadiq
259084ed77 Revert "BOM-2245 : Unpin python-dateutil" (#30515) 2022-05-31 21:02:59 +05:00
Saksham Agrawal
e6caca26c2 docs: ADR for library reference content block (#29633) 2022-05-31 10:49:53 -04:00
Navin Karkera
1172dd00e5 fix: [BB-6261] warn and trim name for site configuration before saving 2022-05-31 19:56:40 +05:30
Ghassan Maslamani
0874ccfc94 fix: share urls in course about page (#30389) 2022-05-31 09:49:22 -04:00
Muhammad Umar Khan
a631324d20 Merge pull request #30255 from openedx/bom-2245-attempt-3
BOM-2245 : Unpin python-dateutil
2022-05-31 18:14:24 +05:00
M Umar Khan
3492bede44 fix: python-dateutil version issue 2022-05-31 17:51:26 +05:00
Waheed Ahmed
7eb9a45e2d fix: cross-site scripting vulnerability on logout page
The target URL on logout page is marked as safe while rendering and
making the page volunerable to Cross-site scripting vulnerability.

Rendered the target variable outside safe HTML so that it should be
treated as text.

VAN-972
2022-05-31 16:07:05 +05:00
Ahtisham Shahid
c6962a9ba6 fix: added global staff to prevliged access (#30506)
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local>
2022-05-31 13:01:03 +05:00
Ahtisham Shahid
6214e6beee feat: allow banner for discussions moderators (#30502) 2022-05-31 13:00:41 +05:00
Muhammad Adeel Tajamul
d81f7966fb Merge pull request #30503 from openedx/inf-224-2
fix: thread api will now allow filter by group id
2022-05-31 12:56:32 +05:00
edX requirements bot
0c07e4e388 chore: Updating Python Requirements (#30509) 2022-05-31 10:35:43 +05:00
adeel.tajamul
501ac92bd2 fix: thread api will now allow filter by group id 2022-05-31 07:02:44 +05:00
Mohammad Ahtasham ul Hassan
79b3c82e5f build!: drop node12 support (#30468) 2022-05-30 17:38:31 +05:00
edx-semantic-release
6de1c2fa3f chore(i18n): update translations 2022-05-29 17:07:02 -04:00