Commit Graph

64378 Commits

Author SHA1 Message Date
Nathan Sprenkle
8e65b0e461 chore: bump ORA to 6.0.19 (#33956) 2023-12-19 18:10:03 +00:00
Feanil Patel
1b54e9169a Merge pull request #33296 from raccoongang/rg/feat/FC0031/extended_blocks_in_course_view
feat: [FC-0031] Add new endpoint BlocksInfoInCourseView
2023-12-19 13:02:05 -05:00
Glib Glugovskiy
cae4091579 docs: [FC-0031] Update docstring 2023-12-19 19:15:29 +02:00
KyryloKireiev
003f6d9bb4 refactor: [FC-0031] Use serializer instead of custom function 2023-12-19 19:15:29 +02:00
KyryloKireiev
81c992990a fix: [FC-0031] Add parameters description, refactor list method 2023-12-19 19:15:29 +02:00
KyryloKireiev
c4fe8d30e3 feat: [AXIM-26] Extended BlocksInCourseView API 2023-12-19 19:15:29 +02:00
Troy Sankey
9c48e38f9c Merge pull request #33947 from openedx/pwnage101/ENT-8078-3
feat: add new course access error_code for enterprise learners in future courses (2nd try)
2023-12-19 08:50:42 -08:00
María Fernanda Magallanes
7a15d3687e docs: add more details to the survey report README (#33623)
* docs: add more details to the survey report README

* docs: improve the doc with numbered steps, bold and capitalize words

* docs: add more information about the survey report banner
2023-12-19 11:21: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
MueezKhan246
e1b9da21e8 Merge pull request #33951 from openedx/MueezKhan246/upgrade-edx-enterprise-c287e0a
feat: Upgrade Python dependency edx-enterprise
2023-12-19 18:31:08 +05:00
MueezKhan246
ba70d09862 feat: Upgrade Python dependency edx-enterprise
fixed create_course_completion request's response handling in case return body is 0

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-12-19 12:53:10 +00:00
Ahtisham Shahid
c287e0a8a8 fix: do not show legacy in case openedx discussion provider is selected (#33906)
* fix: do not show legacy in case openedx discussion provider is selected
2023-12-19 13:18:57 +05:00
Troy Sankey
9ef8ce61e6 feat: wrap new course_not_started_enterprise_learner in a SettingToggle
ENT-8078
2023-12-18 18:54:36 -08:00
Troy Sankey
499679ab6c feat: add new course access error_code for enterprise learners in future courses (2nd try)
Normally, the course API would return an access error_code of
`course_not_started` if the course has not started yet.  This change
breaks that up into two codes:

* if the course has not started:
  * return error_code=`course_not_started_enterprise_learner` if the
    learner is enrolled as a subsidized enterprise learner.
  * else, return error_code=`course_not_started`.

This supports a change to the frontend which will interpret
`course_not_started_enterprise_learner` differently and trigger a
redirect to the enterprise (B2B) learner dashboard instead of the B2C
dashboard.

ENT-8078
2023-12-18 12:55:17 -08: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
Yusuf Musleh
9e14fa4ac3 feat: Add ability to get unassigned taxonomies (#33945)
This adds a query param to fetch unassigned taxonomies, i.e. taxonomies
that do not belong to any org.
2023-12-18 11:28:04 -08:00
Nathan Sprenkle
9a46bdfe22 chore: bump ORA to 6.0.17 (#33946) 2023-12-18 18:28:35 +00:00
Braden MacDonald
5ab6238243 fix: handle paste of library content blocks correctly (#33926) 2023-12-18 09:48:46 -08:00
Asespinel
e9d84d0ec1 feat: added banner message for survey report (#33633)
* feat: added banner message for survey report

* refactor: addressed PR feedback and changes
* fix: fixed styles on admin templates
* refactor: changed script location to survey report block
* chore: removed whitespaces and renamed the context processor files
* feat: added banner message for survey report
* refactor: separated survey report template from admin and deleted base template
* refactor: changed months variable into a configurable setting


---------

Co-authored-by: Maria Fernanda Magallanes Zubillaga <maria.magallanes@edunext.co>
Co-authored-by: María Fernanda Magallanes <35668326+MaferMazu@users.noreply.github.com>
2023-12-18 10:19:51 -05:00
Jenkins
82f3cecd77 chore(i18n): update translations 2023-12-17 16:04:27 -05:00
Troy Sankey
f74d48341b Merge pull request #33937 from openedx/pwnage101/ENT-8078-2
revert: "feat: add new course access error_code for enterprise learners in future courses"
2023-12-15 11:17:16 -08:00
Feanil Patel
01fcbc9828 Merge pull request #33646 from raccoongang/rg/feat/FC0031/update_course_detail_view_endpoint
feat: [FC-0031] Add optional field 'is_enrolled' to course detail view
2023-12-15 14:08:32 -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
Troy Sankey
0ea0048bdf revert: "feat: add new course access error_code for enterprise learners in future courses"
This reverts commit 287a7ff7fd.
2023-12-15 10:49:46 -08: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
Glib Glugovskiy
d344a7eef6 fix: [FC-0031] Restrict access to is_enrolled field 2023-12-15 20:28:31 +02:00
Brian Beggs
8ec4b2b5d5 Merge pull request #33913 from openedx/pwnage101/ENT-8078
feat: add new course access error_code for enterprise learners in future courses
2023-12-15 07:46:18 -05:00
KyryloKireiev
bd5386356a feat: [FC-0031] Add optional field 'is_enrolled' to course detail view 2023-12-15 14:28:09 +02:00
Troy Sankey
287a7ff7fd feat: add new course access error_code for enterprise learners in future courses
Normally, the course API would return an access error_code of
`course_not_started` if the course has not started yet.  This change
breaks that up into two codes:

* if the course has not started:
  * return error_code=`course_not_started_enterprise_learner` if the
    learner is enrolled as a subsidized enterprise learner.
  * else, return error_code=`course_not_started`.

This supports a change to the frontend which will interpret
`course_not_started_enterprise_learner` differently and trigger a
redirect to the enterprise (B2B) learner dashboard instead of the B2C
dashboard.

ENT-8078
2023-12-14 22:18:25 -08:00
Feanil Patel
d7b7f7070f Merge pull request #33929 from openedx/feanil/remove_datadog_cruft
chore: Remove old datadog related settings.
2023-12-14 13:11:28 -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
Feanil Patel
f55a42ab50 Merge pull request #33925 from openedx/feanil/upgrade_enterprise
chore: Upgrade edx-enterprise to pickup a paragon update.
2023-12-14 12:14:22 -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
Max Sokolski
93099c384d Merge pull request #33921 from raccoongang/max/update-pr-template-for-quince
chore: update PR template for Quince release
2023-12-13 23:37:54 +02:00
Nathan Sprenkle
b6be8fdfa7 chore: bump ORA to 6.0.16 (#33923) 2023-12-13 21:07:23 +00:00
Jenkins
4453f27213 chore: geoip2: update maxmind geolite country database 2023-12-13 16:04:13 -05:00
Feanil Patel
0679848d17 chore: Upgrade edx-enterprise to pickup a paragon update. 2023-12-13 15:45:23 -05:00
Max Sokolski
55ff141759 chore: update PR template for Quince release 2023-12-13 21:29:48 +02: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
Nathan Sprenkle
765687173f chore: bump ORA to 6.0.15 (#33919) 2023-12-12 21:06:55 +00:00
Varsha
550acd7d7d Merge pull request #33915 from openedx/varshamenon4/bug-rejected-cert
fix: add import statement for handlers
2023-12-12 15:10:51 -05:00
Varsha Menon
bfe6ba5daf fix: add import statement for handlers 2023-12-12 14:17:54 -05:00
Nathan Sprenkle
89250d5a89 chore: bump ORA to 6.0.14 (#33918) 2023-12-12 19:02:08 +00:00
Diana Huang
c6485d1d27 feat: renamed DeprecatedRestApiClient from EdxRestApiClient (#33916)
* feat: renamed DeprecatedRestApiClient from EdxRestApiClient

* chore: Updating Python Requirements (#33917)

* fix: Put slumber in the proper alphabetical order.

---------

Co-authored-by: Yagnesh <yagnesh.nayi@manprax.com>
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-12-12 13:32:09 -05:00
Robert Raposa
431b9dec15 docs: update ADR for USE-JWT-COOKIE replacement (#33680)
Since a part of this ADR details the USE-JWT-COOKIE
header which has been removed, this ADR was updated
with links to the newer ADR.

The status will remain accepted.

A change history was also added for this change,
as well as documenting some past changes.
2023-12-12 12:06:26 -05: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
edX requirements bot
c41fdfb8f0 chore: Updating Python Requirements (#33914) 2023-12-12 14:45:50 +05:00
github-actions[bot]
2f22125d57 feat: Upgrade Python dependency ora2 (#33912)
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>
2023-12-11 21:23:48 +00:00