Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add mongo 7 to testing matrix #639

Closed
wants to merge 317 commits into from
Closed

chore: add mongo 7 to testing matrix #639

wants to merge 317 commits into from

Conversation

DanielVZ96
Copy link
Member

Temporal in order to test openedx#34213

Jenkins and others added 30 commits January 14, 2024 16:04
replacing non encrypted fields of moodle config model with encrypted ones

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

feat: Upgrade Python dependency edx-enterprise
The `logging.Logger.warn` method has been deprecated since Python 3.3
and is due to be removed all together in Python 3.13. See
python/cpython#105377

`logging.Logger.warning` is the preferred and recommended way to log
warnings.

Fixes openedx/public-engineering#149

Co-authored-by: Lewis M. Kabui <[email protected]>
After we merged this PR: openedx#33920
this error began popping up in logs:

    Unable to load XBlock 'staffgradedxblock'
    ....
    ImportError: cannot import name 'get_course_blocks' from
    partially initialized module 'lms.djangoapps.course_blocks.api'
    (most likely due to a circular import) ...

The root cause was the new imports of `derived_key` and `BlockKey` into
xmodule/library_content_block.py. Those new imports come from
xmodule/modulestore/store_utilities.py, which runs
`XBlock.load_classes()` at the module level, which fails because we are
still in the process of loading xmodule/library_content_block.

As a solution, we move both `derived_key` and `BlockKey` to
xmodule/util/keys.py. We could potentially move that file to opaque-keys
eventually, depending on how well we think that those concepts generalize.

Also:

* We rename the function from derived_key to derive_key, as
  functions should be verbs.
* We combine the first to parameters of derive_key (a source ContextKey
  and a source BlockKey) into a single parameter (a source UsageKey). In
  my opinion, this makes the function call easier to understand.
UsageKeys don't have a usage_id field. This line would have crashed
if run.
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

Co-authored-by: jansenk <[email protected]>
…penedx#33940)

During the process of generatinng report for problem responses,
there are two places where N + 1 query problem exist. In both
cases, `StudentModule` objects are fetched and looped over where
`student.username` field for each object is accessed. This result
in a seperate database call to get the username for each student
response.

This problem is fixed by creating a join to fetch the related
table in the original query using `select_related`. In a test
conducted on report having 5000 `StudentModule` objects, the
number of queries for the request reduced from 8363 to 29. The
total time taken for the task reduced from 23764 ms to 7394 ms.
openedx#34033)

* refactor: changed survey report message location and added a new informative sent state

* chore: added Generate and Send text on button

* chore: added comment to new state column and added reference to static jquery.

* fix: fixed non Attribute error when a report hasn't been sent yet
still needs mocks for all tests to work

FIXES: APER-2851
Added json field in learner transmission audit to record 3 most response status information

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

feat: Upgrade Python dependency edx-enterprise
removed unencrypted user credentials data columns

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

feat: Upgrade Python dependency edx-enterprise
Re-factored to make the code more testable, and added some more tests,
also improved dry run logging

FIXES: APER-2851
not sure why the manual linter didn't complain

FIXES: APER-2851
Fixing a linter air

FIXES: APER-2851
improving a comment

FIXES: APER-2851
includes a very long comment explaining this for future developers
…icate-share-certificate-in-facebook-improvements-for-edx.org

feat: adds a certificate template modifier
arbrandes and others added 14 commits February 27, 2024 12:26
feat: Remove edX branding on account deletion
edx enterprise version bump 4.12.4

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

feat: Upgrade Python dependency edx-enterprise
feat: Adding a group membership to the EnterpriseCustomerUserReadOnlySerializer

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

Co-authored-by: kiram15 <[email protected]>
Co-authored-by: Kira Miller <[email protected]>
Makefile paver usage replaced with manage.py.
This avoids running the production-unsuitable
`pavelib.prereqs.install_prereqs` step during deployments.
feat: add list endpoint for course reset enabled enrollments
Add vanguards to CODEOWNERS
VAN-1817
* feat: updated api to get all question type reponses

* test: fixed and added new test cases
fix: Proximus learner transmission data failures

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

Co-authored-by: sameenfatima78 <[email protected]>
Exposes the hide_from_toc xblock attribute so course authors can configure it as a section visibility option in Studio. Before this change, the Hide from TOC functionality was mainly used by OLX components. Hence, it wasn't available for configuration through the Studio UI. Still, its implementation existed in the platform and could be used by setting the attribute: hide_from_toc=true as part of the OLX definition.
Ref: https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
* feat: Upgrade Python dependency edx-enterprise

Bump version of edx-enterprise to v4.13.0.

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

---------

Co-authored-by: adamstankiewicz <[email protected]>
Co-authored-by: Adam Stankiewicz <[email protected]>
…checkbox_master

fix: course mode added to the metadata
mubbsharanwar and others added 5 commits March 1, 2024 10:22
fire segment event for PWNED_PASSWORD on registration page password validation

VAN-1830
Description: Add country field error message in api response
VAN-1862
feat: fix pull_translations for production deployment
@Agrendalath
Copy link
Member

The upstream PR is merged now, so we can close this.

@Agrendalath Agrendalath deleted the dvz/mongo-7 branch March 15, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.