Commit Graph

10315 Commits

Author SHA1 Message Date
Usama Sadiq
23659d5ba8 Revert "feat!: upgrade Django version to 4.2 (LTS) (#34162)" (#34165)
This reverts commit 1fc2e8a771.
2024-02-01 19:29:56 +05:00
Muhammad Soban Javed
1fc2e8a771 feat!: upgrade Django version to 4.2 (LTS) (#34162)
* feat!: upgrade Django version to 4.2 (LTS)
---------

Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com>
2024-02-01 16:10:34 +05:00
Navin Karkera
4590f1ec91 feat: include custom relative dates flag info in outline api (#34058) 2024-01-31 11:38:19 -05:00
Leangseu Kim
206ddd11ad chore: revert change to Mathjax 2024-01-31 10:05:33 -05:00
Muhammad Soban Javed
790e364097 Revert "chore!: upgrade Django version to 4.2 (LTS)" 2024-01-31 17:14:43 +05:00
Awais Qureshi
82edbc635c Merge branch 'master' into iamsobanjaved/django-42-lts 2024-01-31 13:46:58 +05:00
Adolfo R. Brandes
cbe865a77f Merge pull request #34036 from raccoongang/ruzniaievdm/feat/unit-page-drf
feat: [FC-0044] Unit page API as DRF
2024-01-30 19:23:12 +00:00
Awais Qureshi
79f1c66553 Merge branch 'master' into iamsobanjaved/django-42-lts 2024-01-30 12:53:33 +05:00
Ahtisham Shahid
d4536ed79d fix: resolved cookie js bug on import page (#34139) 2024-01-29 20:06:19 +00:00
Ahtisham Shahid
7f850d6a27 fix: resolved js error in course export (#34134) 2024-01-29 14:30:44 +05:00
Chris Chávez
5838d68efc feat: Tagging UX refinements - refresh tag count on edit (#34059)
* style: drawer-cover color updated for all tagging drawers
* feat: Update TagList component when a tag is updated on Manage tags drawer
* feat: Refactor TagCount to be able to refresh the count
* feat: Sync tag count in units
2024-01-25 10:33:47 -08:00
Marcos
a441ea96d9 fix: Updated log to have a cleaner output on failed reindexes 2024-01-25 12:09:25 -03:00
Muhammad Soban Javed
67d53dce26 chore!: upgrade Django version to 4.2 (LTS)
This reverts commit 6f32d0e6f1.
2024-01-25 18:17:43 +05:00
Leangseu Kim
75daee134d chore: add ora mfe to devstack env 2024-01-24 13:02:12 -05:00
Muhammad Soban Javed
6f32d0e6f1 Revert "chore!: upgrade Django version to 4.2 (LTS)" (#34095) 2024-01-23 19:07:53 +05:00
Muhammad Soban Javed
fc8e40fb10 chore!: upgrade Django version to 4.2 (LTS) (#33969)
* chore!: upgrade Django version to 4.2 (LTS)

* feat: Upgrade Python dependency Django

chore!: upgrade Django version to 4.2

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

* chore: Update common.py

* chore: Update common.py

---------

Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com>
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com>
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2024-01-23 16:53:34 +05:00
Marcos
a6dd0fe606 fix: Updated comment on test case 2024-01-22 16:57:52 -03:00
Marcos
bda102de51 feat: Added --active option for reindex_courses 2024-01-22 16:54:03 -03:00
Andrew Shultz
aba09793ed Merge pull request #34070 from openedx/ashultz0/reindex-on-commit
Make re-indexing wait for the data using on_commit
2024-01-22 11:01:08 -05:00
Rômulo Penido
f2606ca62c fix: capitalization of "Manage Tags" menu item in Studio (#34072) 2024-01-18 12:04:07 -08:00
Andy Shultz
7b7a0d3773 fix: make reindexing wait for the data using on_commit
includes a very long comment explaining this for future developers
2024-01-18 12:57:38 -05:00
SaadYousaf
d772ed1519 feat: add new tracking event for course updates. 2024-01-16 14:41:26 +05:00
Jenkins
3ccd2d1ba6 chore(i18n): update translations 2024-01-14 16:04:24 -05:00
Chris Chávez
90879d167f feat: Tag count in components on Studio Unit page(#33928) 2024-01-12 09:35:23 -08:00
ayesha waris
53270f17b3 chore: removed and merged multiple flags into enable_discussions_mfe flag (#33983) 2024-01-12 15:07:00 +05:00
Kristin Aoki
4a1458b9d6 fix: videos title in content dropdown for mfe page (#34038) 2024-01-10 10:19:59 -05:00
ruzniaievdm
ff8d3eae72 feat: Unit page API as DRF 2024-01-10 11:53:36 +02:00
Navin Karkera
9cd1d7c3c8 feat: create DRF endpoint to get course index context (#33943)
* feat: create DRF endpoint to get course index context

* refactor: update serializers location and added some tests

* refactor: move modulestore usage out of views

* fix: move course index call under bulk_operations

* test: add test to track db and mongo queries

---------

Co-authored-by: ruzniaievdm <ruzniaievdm@gmail.com>
2024-01-08 09:36:56 -05:00
Andy Shultz
a471e59551 feat: progress logging when doing a reindex
logs total and every 10 items

includes a flag to reduce logging level because our normal info
logs swamp progress logging.
2024-01-03 10:37:52 -05:00
Asad Ali
ec86398550 fix: respect ENABLE_NEW_STRUCTURE_DISCUSSIONS flag in course import (#33975) 2024-01-03 10:03:06 -05:00
Jenkins
145609cb5e chore(i18n): update translations 2024-01-02 15:28:09 -05:00
Jenkins
13cee3eac0 chore(i18n): update translations 2023-12-24 16:04:21 -05:00
Kristin Aoki
3c1b81c58b fix: timeout error for legacy page (#33965) 2023-12-21 09:27:52 -05:00
Kristin Aoki
9f5252c6ee feat: separate home api call into load, course, and library info (#33909) 2023-12-19 08:32:50 -05:00
connorhaugh
2eac2ef638 feat: keep learner state associated after libraries migration (#33920)
* fix: preserve learner state after v2 migration

Co-authored-by: Kyle McCormick <kyle@axim.org>

---------

Co-authored-by: Kyle McCormick <kyle@axim.org>
2023-12-18 15:14:28 -05:00
Braden MacDonald
5ab6238243 fix: handle paste of library content blocks correctly (#33926) 2023-12-18 09:48:46 -08:00
Jenkins
82f3cecd77 chore(i18n): update translations 2023-12-17 16:04:27 -05:00
connorhaugh
2573f34115 Revert "feat: create DRF endpoint to get course index context (#33667)" (#33935)
This reverts commit aaea6e5b14.
2023-12-15 13:49:57 -05:00
Jesper Hodge
f124ac8e99 Docs: contentstore service layer ADR (#33815)
This ADR goes back to a refactoring we made in the cms/djangoapps/contentstore djangoapp where we extracted business logic from view files to be reusable.

This directly links to https://discuss.openedx.org/t/contentstore-views-refactoring/11801.

This ADR only applies to the cms/djangoapps/contentstore folder.

We are proposing that business logic is always extracted from view files so that it can be reused and follows the service layer architecture pattern.
2023-12-15 13:48:35 -05:00
Feanil Patel
5ec8737856 chore: Remove old datadog related settings.
Datadog was removed 6+ years ago but some settings and related keys got
left behind.  Get rid of them since we don't need them and also to
prevent people from assuming it's okay to hardcode datadog settings into
our codebase.
2023-12-14 12:17:37 -05:00
Navin Karkera
aaea6e5b14 feat: create DRF endpoint to get course index context (#33667)
* feat: create DRF endpoint to get course index context

* refactor: update serializers location and added some tests

* refactor: move modulestore usage out of views

---------

Co-authored-by: ruzniaievdm <ruzniaievdm@gmail.com>
2023-12-14 09:54:20 -05:00
Chris Chávez
6763928d60 style: UX Refinements on tagging components (#33884) 2023-12-13 11:28:27 -08:00
Kyle McCormick
8ce5d83423 feat: enable Toggle State API in CMS (#33598)
The Toggle State API lets global staff users inspect the
computed state of all toggles, which can be a helpful
short-circuit to reasoning about the various layers of
configuration that feed into edx-platform.

Currently the API is only enabled in LMS. This would enable
it in CMS as well. Although LMS and CMS share many of the same base settings,
they each have their own overrides and extensions to configuration,
so exposing a separate CMS Toggle State API will be beneficial.
2023-12-13 15:59:23 +00:00
Kristin Aoki
ebf91fc9ad feat: add api for multiple video downloads (#33882) 2023-12-12 14:37:48 +00:00
Kristin Aoki
d08e93d42c feat: update cors headers for cross domain request (#33898) 2023-12-12 09:09:18 -05:00
Erica Nwoga
a74f510f71 feat: post handler for agreements api (#33488) 2023-12-11 13:58:35 -05:00
Jenkins
299cafa985 chore(i18n): update translations 2023-12-10 16:04:28 -05:00
Braden MacDonald
4c48f54de7 fix: two bugs with copy/paste functionality (#33897)
* fix: error pasting a unit containing a completely blank problem
* fix: copying an XBlock with emoji content would fail
2023-12-08 10:09:18 -08:00
bszabo
97f39f6972 Bszabo/tnl 11230 library content emails (#33899)
* feat: suppress emails

* feat: TNL-11230 No Lib reference

Work around dependency failure

* feat: TNL-11230 cleanup

* feat: TNL-11230 pylint

comment line too long

---------

Co-authored-by: Bernard Szabo <bszabo@edx.org>
2023-12-08 10:08:37 -05:00
Kyle McCormick
140f85853d feat!: remove Content Libraries V2 index (#33888)
BREAKING CHANGE: Removes all code, tests, and settings related to
indexing of V2 (blockstore-backed) content libraries in elasticsearch.
This includes indexing of top-level library metadata as well as indexing
of library block metadata. Operators who enabled the experimental
Library Authoring MFE *and* the experimental ENABLE_CONTENT_LIBRARY_INDEX
feature may notice that sorting, filtering, and searching of V2
libraries and their blocks may now be slower and/or less powerful.
The ENABLE_CONTENT_LIBRARY_INDEX feature was already disabled by
default, so most/all operators (including edx.org) should not notice
any difference.

Removed settings include:

* FEATURES['ENABLE_CONTENT_LIBRARY_INDEX']
* ENABLE_ELASTICSEARCH_FOR_TESTS
* TEST_ELASTICSEARCH_USE_SSL
* TEST_ELASTICSEARCH_HOST
* TEST_ELASTICSEARCH_PORT

For rationale, see the updated "Status" section of:
./openedx/core/djangoapps/content_libraries/docs/decisions/0001-index-libraries-in-elasticsearch.rst
2023-12-07 14:57:31 -05:00