Commit Graph

65817 Commits

Author SHA1 Message Date
katrinan029
624bef547c fix: bump version 2024-09-26 19:25:05 +00:00
katrinan029
338d58dd53 chore: version bump 2024-09-26 18:30:03 +00:00
Feanil Patel
cec9499cdb Merge pull request #35551 from openedx/repo-tools/upgrade-python-requirements-45d328f
chore: Upgrade Python requirements
2024-09-26 14:13:23 -04:00
Jillian
dc27196f17 chore: bumps openedx-learning to 0.13.1 (#35547) 2024-09-26 18:06:03 +00:00
Feanil Patel
5d744c1bae Merge pull request #35540 from openedx/feanil/update_rtd_config
build: Manually pull some RTD Context.
2024-09-26 13:18:40 -04:00
Feanil Patel
2a3a0c489d test: Update a test based on changes to pytz.
pytz dropped the Asia/Almaty timezone according to IANA

640c9bd426 (diff-16061815f611262054e469307ca063a4ef47e158a97784f1e91d254f074324bfR72)
2024-09-26 12:59:15 -04:00
Feanil Patel
ad78699605 test: Use the correct exception.
This test doesn't actually care about the type of the exception but use
the Requests exception that you're likely to get instead of the
edx-restapi-client/slumber one from before we dropped them.
2024-09-26 12:46:10 -04:00
Braden MacDonald
67b490cab4 fix: suppress errors+warnings when video is used in a content library (#35544) 2024-09-26 09:35:17 -07:00
Braden MacDonald
8f47c0b274 fix: whitespace issues in some capa problem index_dictionary content (#35543) 2024-09-26 09:34:58 -07:00
Peter Pinch
fe80a1cdcd Merge pull request #35406 from open-craft/cef/set-links-for-course-authoring-alert
feat: set links for CourseAuthoring discussion alert
2024-09-26 11:32:12 -04:00
Feanil Patel
740921ae21 build: Manually pull some RTD Context.
See https://about.readthedocs.com/blog/2024/07/addons-by-default/ for details but
essentially RTD is changing how it's building docs and this will let us handle the
change gracefully.
2024-09-26 11:29:40 -04:00
edX requirements bot
f5e3635504 chore: Upgrade Python requirements 2024-09-26 10:13:02 -04:00
Tim McCormack
45d328f9fd fix: Delete flaky test test_get_user_group_id_for_partition (#35545)
This test failed on 2024-08-06 and 2024-09-24 but passed on re-run.

Deleted according to flaky test process:
https://openedx.atlassian.net/wiki/spaces/AC/pages/4306337795/Flaky+Test+Process

Flaky test ticket: https://2u-internal.atlassian.net/browse/CR-7071
2024-09-26 13:15:28 +00:00
Katrina Nguyen
f6da774642 Merge pull request #35546 from openedx/knguyen2/ent-9528-version-bump
chore: version bump
2024-09-25 14:25:07 -07:00
katrinan029
b708f90ee0 chore: version bump 2024-09-25 20:57:21 +00:00
Zachary Hancock
ae0c295ead feat: pluggable url for idv location (#35494)
* Adds an extension point when generating the url for id verification
2024-09-25 16:09:10 -04:00
Rômulo Penido
d4dbc354bc feat: return modified field on get component endpoint (#35508) 2024-09-25 14:32:35 -05:00
Jillian
5446877a86 Soft delete collections (#35496)
* refactor: use django signals to trigger LIBRARY_COLLECTION events

* refactor: use collection usage_key as search document id

This change standardises the search document "id" to be a meilisearch ID
generated from the usage key, for all types of indexed objects.

This is important for collections so we can locate the collection
document in the search index solely from the data provided by the
LIBRARY_COLLECTION_DELETED event (library_key + collection_key), even if
the collection has been deleted from the database.

* refactor: avoid fetching more data than we have to.

* get_library_collection_usage_key and
  searchable_doc_tags_for_collection do not need a Collection object;
  the usage key can be created from the library_key and collection_key.

* updated searchable_doc_for_collection to require the parts of the
  collection usage key + an optional collection. This allows us to
  identify the collection's search document from its usage key without
  requiring an existing Collection object (in case it's been deleted).
  Also removes the edge case for indexing Collections not associated
  with a ContentLibrary -- this won't ever really happen.

* feat: remove soft- and hard-deleted collections from search index

* feat: adds library_component_usage_key to content_libraries.api

* refactor: send CONTENT_OBJECT_ASSOCIATON_CHANGED on django model signals

so that added/removed collections are removed/re-added to component documents.

Special case: When a collection is soft-deleted/restored, we detect this
in the search index and update the collection's component documents
directly, without a CONTENT_OBJECT_ASSOCIATON_CHANGED signal.


* chore: bumps openedx-learning to 0.13.0
2024-09-25 13:29:18 -05:00
renovate[bot]
3768efa414 fix(deps): update dependency underscore to v1.13.1 [security] 2024-09-25 16:01:11 +00:00
github-actions[bot]
cf614cb9c2 feat: Upgrade Python dependency edx-enterprise (#35538)
Bump the version to drop references to edx-rest-api-client that don't exist in the latest version.

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

Co-authored-by: feanil <781561+feanil@users.noreply.github.com>
2024-09-25 16:00:40 +00:00
renovate[bot]
465e0af230 fix(deps): update dependency underscore to v1.13.0 [security] 2024-09-25 15:07:12 +00:00
Kyle McCormick
f65403975a fix: don't wrap HTML data with newlines when serializing for LC (#35532)
When serializing to OLX, the Learning Core runtime wraps HTML content in
CDATA to avoid having to escape every individual `<`, `>`, and `&`. The
runtime also puts newlines around the content within the CDATA,
So, given HTML content `...`, we get `<![CDATA[\n...\n]]>`.

The problem is that every time you serialize an HTML block to OLX, it
adds another pair of newlines. These newlines aren't visible to the end
users, but they do make it so that importing and exporting content never
reached a stable, aka "canonical" form. It also makes unit testing
difficult, because the value of `html_block.data` becomes a moving
target.

We do not believe these newlines are necessary, so we have removed them
from the `CDATA` block, and added a unit test to ensure that HTML blocks
having a canonical serialization.

Closes: https://github.com/openedx/edx-platform/issues/35525
2024-09-25 14:32:25 +00:00
Awais Qureshi
9ae65bbe9d feat: upgrade get_student_enrollment_status api with drf (22nd) (#35464)
* feat!: upgrading simple api with DRF.
2024-09-25 16:01:05 +05:00
Ahtisham Shahid
b50c42318c feat: added country disabling feature (#35451)
* feat: added country disabling feature
2024-09-25 14:40:08 +05:00
Varsha Menon
75d111ac62 Merge pull request #35530 from openedx/varshamenon4/feat-django-admin-verification-attempt
feat: add verification attempt to django admin
2024-09-24 13:09:06 -04:00
Hamzah Ullah
47021e9ae4 chore: add frontend-app-learner-portal-enteprise localhost to trusted origin (#35529) 2024-09-24 13:04:14 -04:00
Varsha Menon
cd503d5bc9 Merge branch 'master' into varshamenon4/feat-django-admin-verification-attempt 2024-09-24 11:11:33 -04:00
Varsha Menon
c396b52284 Merge pull request #35528 from openedx/varshamenon4/fix-proctoring-settings-link
fix: fix broken proctoring settings link in studio
2024-09-24 10:58:07 -04:00
Varsha Menon
aeebac97ba feat: add verification attempt django admin 2024-09-24 10:52:31 -04:00
Varsha Menon
88bfd1a339 Merge branch 'master' into varshamenon4/fix-proctoring-settings-link 2024-09-24 10:08:19 -04:00
Agrendalath
84d2ad9515 fix: increase grades rounding precision
Enabling the rounding in #16837 has been causing noticeable (up to 1 percentage
point) differences between non-rounded subsection grades and a total grade for
a course. This increases the grade precision to reduce the negative
implications of double rounding.
2024-09-24 16:05:05 +02:00
Varsha Menon
ed59e79417 fix: fix broken proctoring settings link 2024-09-24 09:23:57 -04:00
Muhammad Adeel Tajamul
649bd42f9c fix: updated edx.ace.message_sent event (#35498)
* fix: updated edx.ace.message_sent event

* fix: fixed pylint checks
2024-09-24 14:31:20 +05:00
Eemaan Amir
a2e2959617 chore: update default notification preference for ora_grade_assigned (#35522)
* chore: update default notification preference for ora_grade_assigned

* test: updated tests
2024-09-23 18:06:03 +05:00
Maxwell Frank
1a92009bd2 chore: Aperture code ownership update 2024-09-23 09:03:41 -04:00
Muhammad Adeel Tajamul
87771e76ce feat: replaced button and heading tags in email digest content (#35518) 2024-09-23 13:37:54 +05:00
Muhammad Adeel Tajamul
4cd36d85b5 feat: added sender in bulk_email event (#35504) 2024-09-23 13:35:49 +05:00
Navin Karkera
c71414a247 feat: add block_id field to filterable attributes of meilisearch (#35493) 2024-09-20 12:12:41 -05:00
Brian Mesick
471bdd232a Merge pull request #34971 from raccoongang/NiedielnitsevIvan/FC-0047/feature/implement-push-notifications-chanel
feat: [FC-0047] add mobile push notifications functionality
2024-09-20 10:02:24 -04:00
Feanil Patel
0f975adc14 feat: Be able to login to bare-metal studio easily. (#35172)
* feat: Be able to login to bare-metal studio easily.

Updating the documentation and the devstack.py files so that if you're
running bare-metal you can easily setup studio login via the LMS.

I also added the Ports that the various MFEs expect to the runserver
scripts so that it's easier to run those locally as well.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-09-20 08:51:51 -04:00
Awais Qureshi
46777610a4 feat: upgrading simple api to drf compatible ( 17th ) (#35394)
* feat: upgrading simple api to drf compatible.
2024-09-20 17:06:19 +05:00
Mohammad Ahtasham ul Hassan
8f88db2cad feat: add course_run_key to learner home upgrade url (#35461)
* fix: fix learner home URL to have course_run_key
2024-09-20 12:14:47 +05:00
Muhammad Sameer Amin
cf3673e57f Merge pull request #35489 from openedx/sameeramin/upgrade-edx-enterprise-1103544
feat: Upgrade Python dependency edx-enterprise
2024-09-19 23:55:09 +05:00
Muhammad Sameer Amin
0f64e168d7 Merge branch 'master' into sameeramin/upgrade-edx-enterprise-1103544 2024-09-19 21:17:49 +05:00
Marcos Rigoli
ca11c14c58 Merge pull request #35499 from openedx/rijuma/removing-old-special-exams-views
Added a check to initialize legacy proctoring dashboard only if it's being used
2024-09-19 11:50:19 -03:00
Marcos
166d94decf chore: Fixed a typo on a comment 2024-09-19 11:04:48 -03:00
Marcos
61c3f6eaff fix: Adds a check to initialize legacy proctoring dashboard 2024-09-19 10:49:46 -03:00
Zachary Hancock
0196def99d feat: use idv approved event (#35470)
* feat: replace LEARNER_NOW_VERIFIED signal with new openedx-event
2024-09-19 09:24:20 -04:00
Eemaan Amir
2e2c427af6 chore: update ora2 version in requirements (#35505) 2024-09-19 16:46:26 +05:00
Eemaan Amir
ad23992a5d feat: added ORA graded notification (#35389)
* feat: added ORA graded by staff notification

* test: updated and added new unit tests

* feat: added waffle flag and updated notification
2024-09-19 13:09:09 +05:00