Commit Graph

24685 Commits

Author SHA1 Message Date
salman2013
42ca0ddec4 chore: remove bok choy settings 2023-09-27 10:58:37 +05:00
Rômulo Penido
e45460a2ce refactor: Move content_tagging django app so that CMS-only tests run (#33259) 2023-09-21 12:01:20 -07:00
Awais Qureshi
4943674fc1 feat!: upgrading django-storages to 1.13.2 (#33301)
* feat!: upgrading `django-storages` to `1.13.2`
2023-09-21 16:56:50 +05:00
Muhammad Adeel Tajamul
3aeaec35d9 feat: added notifications in legacy discussion experience (#33280) 2023-09-21 08:04:02 +05:00
Jenkins
d1e8026a8a chore(i18n): update translations 2023-09-20 09:21:28 -04:00
Awais Qureshi
c50e01e107 feat!: Django 4.0 and above, CSRF_TRUSTED_ORIGINS must include scheme. (#33226)
* feat!: Django 4.0 and above, CSRF_TRUSTED_ORIGINS must include scheme.

* feat!: Django 4.0 and above, CSRF_TRUSTED_ORIGINS must include scheme.

* fix: fix quality failure

* feat!: Django 4.0 and above, CSRF_TRUSTED_ORIGINS must include scheme.
2023-09-20 15:49:47 +05:00
ABBOUD Moncef
9b44065ab0 fix: hide sequences & sections when access is restricted in units through cohorts (#33191)
This does two major things:

* Removes subsections from a student's course outline if the
  subsection's units are all restricted to a cohort that the student
  is not a part of (see CohortPartitionGroupsOutlineProcessor).
* Removes sections from the course outline if the user is not allowed
  to see any of its child subsections.
2023-09-19 10:05:02 -04:00
Tim McCormack
fa66240d9a Revert "feat: Add an experimental custom attr for automatic Celery task code owner (#33180)" (#33272)
This reverts commit a1d840fd09.
2023-09-18 17:47:59 +00:00
Kshitij Sobti
8342e6bb5c fix: loading of underscore and other text assets over CDN (#33124)
The text plugin for requirejs is used to load text assets such as .underscore files.
To avoid CORS issues when loading such assets from a different domain, such as a when
a CDN is in use, this plugin loads such assets as .js files by adding a script tag.

What this means in practice is that if you configure the platform to serve static
assets from a CDN, it will try to load `file.underscore.js` instead of
`file.underscore`. We can override this behaviour by providing a `useXhr` function
for the text plugin configuration. The plugin will use this function to determine
whether to use XHR or the script tag approach.

In this change we are asking it to always use XHR since the concerns about CORS
raised by the plugins documentation don't apply here.

ref: 3f9d4c19b3/README.md (xhr-restrictions)
2023-09-18 19:41:12 +05:00
Lakshya Khatri
3acb1d8590 docs: annotate lms progress tab ui waffle flag (#33233) 2023-09-18 10:06:12 -04:00
Dmytro
20efcdc94c fix: User retirement 404 for state RETIRING_FORUMS (#33024) 2023-09-18 13:44:53 +05:00
German
d3a6615deb chore: update location config for devstack-experimental (#33256)
* Update location in devstack-experimental to fix issue while re-indexing
* Updated the devstack.py to point to edx.devstack.elasticsearch710 host
* Enabed the ENABLE_COURSEWARE_INDEX and ENABLE_COURSEWARE_SEARCH
2023-09-14 14:21:47 -03:00
Jansen Kantor
88b6f3894e fix: turn off atomic requests for course api get views (#33230)
* fix: turn off atomic requests for course api get views

* test: fix test
2023-09-14 10:40:28 -04:00
salmannawaz
648a30249a Deprecation of edx-user-state-client repo (#33218)
* chore: add code for edx-user-state-client in edx-platform
2023-09-14 18:53:37 +05:00
Feanil Patel
52c7403ba9 Merge pull request #33157 from openedx/feanil/minimal_config_updates
feat: Be able to recieve e-mails in dev mode.
2023-09-13 11:09:14 -04:00
Irtaza Akram
71d99c8b1e Merge pull request #33132 from openedx/fix-got-both-positional-and-keyword-arguments-for-field
[Django 4.2]: Fix: got both positional and keyword arguments for field
2023-09-13 15:35:57 +05:00
Muhammad Adeel Tajamul
8ed6756809 fix: fixed unregistered task in new thread notification (#33223) 2023-09-12 14:02:31 +05:00
Justin Hynes
ad8ed5311d Merge pull request #31578 from DmytroAlipov/fix-FB-share
fix: share certificate in FB
2023-09-08 07:33:59 -04:00
Awais Qureshi
22cc66eaf7 fix: in django42 QuerySet.update_or_create() save only fields passed … (#33174)
* fix: in django42 QuerySet.update_or_create() save only fields passed in defaults
2023-09-08 14:48:07 +05:00
Edward Zarecor
03f00d535e Merge branch 'master' into fix-FB-share 2023-09-07 16:09:14 -04:00
Artur Gaspar
7da99848a7 fix: edxnotes visibility in courseware and courseware API (#33096)
This retrieves user preferences for edxnotes visibility by:
1. Adding a `bind_course_for_student` method to course overview model.
2. Using a bound XBlock in the `toggle_notes.html` template.

The previously used unbound course instance was returning a default value.
2023-09-07 17:59:51 +02:00
Maria Grimaldi
750ee00353 feat: add instructor dashboard filter integration (#32448)
This PR adds a new filter to modify the instructor dashboard rendering process. For example: modify the section tabs of the instructor context --that specifies which tabs to render, adding a brand new one defined in a different plugin. The use case we're currently testing is to add a new tab to the instructor dashboard, which renders management information about an Xblock.
2023-09-07 10:02:56 -04:00
Sagirov Evgeniy
c5d1807c81 feat!: remove most Old Mongo functionality (#31134)
This commit leaves behind just enough Old Mongo (DraftModulestore)
functionality to allow read-only access to static assets and the
root CourseBlock. It removes:

* create/update operations
* child/parent traversal
* inheritance related code

It also removes or converts tests for this functionality.

The ability to read from the root CourseBlock was maintained for
backwards compatibility, since top-level course settings are often
stored here, and this is used by various parts of the codebase,
like displaying dashboards and re-building CourseOverview models.

Any attempt to read the contents of a course by getting the
CourseBlock's children will return an empty list (i.e. it will look
empty).

This commit does _not_ delete content on MongoDB or run any sort of
data migration or cleanup.
2023-09-06 10:01:31 -04:00
Tim McCormack
a1d840fd09 feat: Add an experimental custom attr for automatic Celery task code owner (#33180) 2023-09-06 13:51:47 +00:00
Jansen Kantor
cac1159552 feat: ora date config reflected in dates tab (#33118)
* feat: ora date config reflected in dates tab

* docs: update docstrings

* style: quality

* feat: Upgrade Python dependency ora2 (#33119)

temp upgrade so tests pass

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>

* fix: unbound variable

* fix: don't show dates for steps with no concept of due

* feat: Upgrade Python dependency ora2 (#33176)

bump to ora version to include ora date config changes

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <jansenk@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jansenk <jansenk@users.noreply.github.com>
2023-09-05 15:17:23 -04:00
Jenkins
9bae5cd26d chore(i18n): update translations 2023-09-05 12:44:57 -04:00
Tim McCormack
f39b01c4b1 fix: Add missing code-owner decorators for Celery (#33172) 2023-09-05 15:16:14 +00:00
Dmytro
d74a6aed2a fix: for the wiki page translation (#33049) 2023-09-05 18:28:06 +05:00
Ahtisham Shahid
aec8fcd559 fix: use disabled as default for posting_restrictions (#33159) 2023-09-05 15:44:10 +05:00
Feanil Patel
8151d67592 feat: Be able to recieve e-mails in dev mode.
Set an e-mail destination path if no overrides are provided.  This
setting is only relevant when the file based email backend is in use
like it is in devstack.

As a part of this change, we render the DATA_DIR setting higher in the
settings file so we can reference it sooner but this should not impact
any other uses of this setting.
2023-09-01 15:05:58 -04:00
Paulo Viadanna
26d8c2166d feat: implements SHOW_REGISTRATION_LINKS feature toggle
(cherry picked from commit 3025ab5fe6f6f53d6af5b36681355efafa37c74b)
2023-09-01 15:06:40 +02:00
Muhammad Adeel Tajamul
96f7e9cd9a fix: handle new_comment notification edge case (#33088) 2023-08-31 16:33:20 +05:00
Muhammad Adeel Tajamul
4efd54a3fd feat: added new_question_post and new_discussion_post notification (#33043) 2023-08-31 14:29:21 +05:00
Awais Qureshi
9db024c435 feat!: upgrading django-storages to 1.11.1 2023-08-31 14:21:24 +05:00
alex-sheehan-edx
081007f95d feat: Upgrade Python dependency edx-enterprise
enterprise version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-08-30 16:31:41 +00:00
Awais Qureshi
3c76d6644f Revert "Revert "Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)" (#33111)" (#33113)
This reverts commit 2f8475c307.
2023-08-30 19:40:32 +05:00
Irtaza Akram
4773f14a41 fix: object has no attribute is_ajax (#33134) 2023-08-30 14:18:35 +05:00
Irtaza Akram
09f84e5255 fix: func.__name__ issue (#33133) 2023-08-30 14:18:05 +05:00
irtazaakram
afd6a40e40 fix: got both positional and keyword arguments 2023-08-30 11:29:05 +05:00
Awais Qureshi
2f8475c307 Revert "Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)" (#33111)
This reverts commit 191b825a2c.
2023-08-28 14:46:21 +05:00
Awais Qureshi
191b825a2c Revert "feat!: upgrading django-storages to 1.10.1 (#32571)" (#33109)
This reverts commit 9281ea4a9a.
2023-08-28 14:05:38 +05:00
Ejaz Ahmad
07de29f721 Merge pull request #33056 from openedx/eahmadjaved/ENT-7542
feat: add hook to modify courserun data for executive education courses
2023-08-28 14:04:07 +05:00
Usama Sadiq
a0076c1243 fix: fix django 41 deprecation warnings (#33099) 2023-08-28 13:32:39 +05:00
Awais Qureshi
9281ea4a9a feat!: upgrading django-storages to 1.10.1 (#32571)
* feat!: upgrading django-storages to 1.10.1
2023-08-28 13:13:28 +05:00
jajjibhai008
fa70214578 feat: add hook to modify courserun data for executive education courses 2023-08-28 11:56:23 +05:00
mubbsharanwar
345ae69bad fix: move recommendations to edx-recommendations
Move recommendations related code to separate plugin edx-recommendations.

VAN-1596
2023-08-28 11:38:43 +05:00
Jenkins
75f24ff513 chore(i18n): update translations 2023-08-27 17:05:27 -04:00
Syed Muhammad Dawoud Sheraz Ali
a4d77003b3 Revert "feat: add skill_tagging plugin configs (#32932)" (#33102)
This reverts commit fc5e7926c1.
2023-08-25 21:42:30 +05:00
Sameen Fatima
fc5e7926c1 feat: add skill_tagging plugin configs (#32932) 2023-08-25 15:04:25 +02:00
Saleem Latif
4136147d58 chore: Added new settings required by edx-enterprise latest version. 2023-08-25 15:40:33 +05:00