Commit Graph

63783 Commits

Author SHA1 Message Date
SaadYousaf
ca9b008a46 fix: fix notification generated event to include only users with preferences enabled. 2023-09-11 17:19:54 +05:00
Awais Qureshi
26bf329eb7 [django42] sha1 is removed in django42 version. (#33129)
* fix: fixing django42 issue. sha1 is removed in 42 version.
2023-09-11 15:30:42 +05:00
SaadYousaf
d4fbc3037c fix: make updates to notification related events 2023-09-11 11:49:40 +05:00
Kira Miller
175fb0caf8 fix: version bump (#33208)
* fix: version bump

* fix: retrigger tests
2023-09-08 18:13:05 +00:00
ruzniaievdm
3978375abf feat: create course home api DRF (#33173) (#33204) 2023-09-08 08:39:31 -04: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
Alexander J Sheehan
561593e170 Merge pull request #33199 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-7da9984
feat: Upgrade Python dependency edx-enterprise
2023-09-07 13:43:45 -04:00
alex-sheehan-edx
c1f81934c5 feat: Upgrade Python dependency edx-enterprise
enterprise version bump 4.1.10

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-09-07 13:22:14 -04:00
connorhaugh
e788143564 test: remove flaky libraries asset test (#33195) 2023-09-07 17:20:20 +00: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
Babatunde Olusola
6e2c43e4e0 refactor: update codejail test condition (#32955)
Skip the test for codejail if the codejailservice api is not enabled.
It fixes running this test case in Tutor.
2023-09-07 17:08:30 +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
John Nagro
bcc59f57f9 feat: release edx-enterprise 4.1.9 (#33192) 2023-09-07 13:47:56 +00:00
connorhaugh
901ac926bd Revert "feat: create course home api DRF (#33173)" (#33194)
This reverts commit e480a79d9c. as it failed final checks before prod: 
https://github.com/openedx/edx-platform/actions/runs/6098198385/job/16548257136
2023-09-07 13:22:53 +00:00
Muhammad Adeel Tajamul
e524af5c7c feat: added notification_expiry_days in notification count api (#33187) 2023-09-07 13:54:54 +05:00
Jansen Kantor
fb49c150a2 chore: remove ora constraint (#33177)
* chore: remove ora constraint

* chore: requirements compile
2023-09-06 14:28:45 -04:00
ruzniaievdm
e480a79d9c feat: create course home api DRF (#33173) 2023-09-06 10:05:25 -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
John Nagro
c01ccaf5fc feat: release edx-enterprise 4.1.8 (#33188) 2023-09-06 13:46:44 +00:00
SaadYousaf
8742edbf7a fix: fix course_key param for generated notification event 2023-09-06 17:22:45 +05:00
Syed Sajjad Hussain Shah
377c0bf79b fix: registration extra fields response (#33183) 2023-09-06 13:56:03 +05: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
Feanil Patel
b94545cc35 Merge pull request #33171 from openedx/feanil/fix_docs_build
build: Fix the docs build.
2023-09-05 10:49:21 -04:00
Dmytro
d74a6aed2a fix: for the wiki page translation (#33049) 2023-09-05 18:28:06 +05:00
Feanil Patel
9f5052315a Merge pull request #33156 from openedx/feanil/cleanup_some_warnings
fix: Don't set default_app_config.
2023-09-05 09:22:37 -04:00
Feanil Patel
c889a4535f Merge pull request #33152 from farhan/farhan/doc-improvements
Makes some improvements in the doc
2023-09-05 09:15:08 -04:00
Feanil Patel
322a9c4773 build: Fix the docs build.
We were pointing to the wrong location for the conf.py file previously.
Correct this so that the docs build works.
2023-09-05 09:10:49 -04:00
Ahtisham Shahid
aec8fcd559 fix: use disabled as default for posting_restrictions (#33159) 2023-09-05 15:44:10 +05:00
edX requirements bot
2b5ed926a9 chore: Updating Python Requirements (#33167) 2023-09-05 14:52:11 +05:00
SaadYousaf
afbd680a33 fix: move notification generation event within task 2023-09-05 13:48:17 +05:00
Feanil Patel
8691aa78e1 fix: Don't set default_app_config.
From the warning: Django now detects this configuration automatically.
You can remove default_app_config.

This also removes two warnings from shell startup.
2023-09-01 14:41:34 -04:00
Rômulo Penido
6e28ba329e feat: add language auto-tagging with feature flag (#32907) 2023-09-01 11:09:46 -07:00
Kyle McCormick
6704901a77 fix: include the correct SCSS file for lti_block (#33155)
There exists a Sass file for lti_block's display, but not for its editor.

However, during the `add_sass_to_fragment` refactoring, I mixed that up:
I added a non-existent scss file to the studio_view but didn't add
the actual scss file to the student_view.

Course authors using the (deprecated) lti_block saw:

    We're having trouble rendering your component
    Students will not be able to access this component. Re-edit your component to fix the error.

    Error: Sass not found: /edx/app/edxapp/edx-platform/xmodule/assets/LTIBlockEditor.scss

as a result of this bug.

Original PR: https://github.com/openedx/edx-platform/pull/32592
Private-ref: https://2u-internal.atlassian.net/browse/TNL-11029
2023-09-01 13:28:20 -04:00
Robert Raposa
53f2030067 Merge pull request #33153 from openedx/robrap/upgrade-edx-drf-extensions-26d8c21
feat: Upgrade Python dependency edx-drf-extensions
2023-09-01 12:08:16 -04:00
robrap
6360bc440d feat: Upgrade Python dependency edx-drf-extensions
Minor updates around forgiving JWTs.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-09-01 14:20:41 +00:00
Paulo Viadanna
26d8c2166d feat: implements SHOW_REGISTRATION_LINKS feature toggle
(cherry picked from commit 3025ab5fe6f6f53d6af5b36681355efafa37c74b)
2023-09-01 15:06:40 +02:00
farhan
98dfb6d873 docs: Makes some improvements in the docs 2023-09-01 17:53:28 +05:00
dependabot[bot]
59299ddb61 build(deps): bump aws-actions/configure-aws-credentials from 1 to 3 (#33107)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 1 to 3.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v1...v3)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 17:33:55 +05:00
SaadYousaf
376135ca73 fix: fix notification generated event, and add notification tray opened event 2023-09-01 14:32:51 +05:00
Kira Miller
c75c706c6f fix: bump edx-enterprise (#33149) 2023-08-31 15:23:40 -06:00
Kyle McCormick
db459761d8 build: don't exclude lms/static/css/vendor from Docker build (#33143)
The .dockerignore file smartly excludes lms/static/css from the Docker
build, as most of its contents are generated CSS.

However, there is one version-controlled subdirectory of lms/static/css:
lms/static/css/vendor.

In order to correctly build a Docker image using a bind-mounted
edx-platform repository, we need this vendor directory to be included.
2023-08-31 16:02:58 +00:00
John Nagro
2ca5b01099 fix: better username lookup in tpa pipeline (#33145) 2023-08-31 11:47:01 -04:00
Awais Qureshi
23c142a845 test: adding check to run migrations tests only if its django32. (#33141) 2023-08-31 18:48:04 +05:00
Muhammad Adeel Tajamul
96f7e9cd9a fix: handle new_comment notification edge case (#33088) 2023-08-31 16:33:20 +05:00
Muhammad Adeel Tajamul
c1b28c35f8 feat: make notification type info translateable (#33071) 2023-08-31 15:20:06 +05:00