Commit Graph

61985 Commits

Author SHA1 Message Date
Agrendalath
c2ac3d83c3 refactor: remove deprecated runtime.course_id from edxnotes decorator
We will use `context_key` instead.
2022-09-21 18:52:28 +02:00
Agrendalath
99042f6282 refactor: remove deprecated runtime.course_id from Timed Exams
We will use `context_key` instead.
2022-09-21 18:52:28 +02:00
Agrendalath
8c89c755c1 refactor: remove deprecated runtime.course_id from student field overrides
We will use `context_key` instead.
2022-09-21 18:52:27 +02:00
Agrendalath
98bb30dcd8 refactor: remove deprecated runtime.course_id from VideoBlock
We will use `context_key` instead.
2022-09-21 18:52:27 +02:00
Agrendalath
086e6515ac refactor: use SandboxService while generating CAPA responses report 2022-09-21 18:52:27 +02:00
Agrendalath
668683559b refactor: deprecate static_url argument from ModuleSystem
This argument was officially used only by the ProblemBlock.
If you need to get the base URL for static assets in your XBlock, please use
`settings.STATIC_URL` directly, instead of `runtime.STATIC_URL`.
2022-09-21 18:28:44 +02:00
jansenk
9f30fece9a feat: add url param to learner home init to allow masquerading
feat: username or email

test: add tests for masquerade by email

style: run black

style: fix typos

fix: fix test errors
2022-09-21 11:06:09 -04:00
Tim McCormack
4ecd9fe683 feat!: Delete all non-legacy IP code (#31000)
The IP chain code has moved to edx-django-utils—except for the legacy-IP code,
which is now in a new module. This will allow other IDAs to use the IP code.

Commit includes some adjustments to the toggle annotation.

Part of <https://github.com/openedx/edx-django-utils/issues/241>.
2022-09-21 14:11:34 +00:00
Alexander J Sheehan
7d27864299 Merge pull request #31025 from openedx/asheehan-edx/bumping-enterprise-3.56.10
chore: bumping enterprise version to 3.56.10
2022-09-21 09:46:38 -04:00
Shafqat Farhan
06c827c817 Merge pull request #31012 from openedx/shafqat/VAN-1080
fix: VAN-1080 - Users getting already enrolled courses recommendations
2022-09-21 16:18:40 +05:00
Ahtisham Shahid
dfd98e9655 fix: removed password from api response (#30988)
* fix: removed password from API response

* fix: in case an empty secret is provided use the previous record

* fix: resolver linter issues
2022-09-21 14:43:56 +05:00
AsadAzam
23972e7f94 fix: merge discussions rollout flags (#30989)
* fix: merge discussions rollout flags

* test: fixed tests

* test: fixed tests
2022-09-21 14:28:33 +05:00
SaadYousaf
85a8b39735 feat: add event for content deletion for discussions 2022-09-21 13:20:58 +05:00
Alexander Sheehan
2846c5bed0 chore: bumping enterprise version to 3.56.10 2022-09-20 16:42:30 -04:00
Andrés González
4049db2d41 fix: Refactor xss-lint exceptions that break the certificate share-in-facebook link (#30495)
* Remove xss-lint that break the certificate share in facebook link

* Refactor xss-lint in fb share link

* fix: Refactor xss-lint exceptions that break the certificate share-in-facebook link

Co-authored-by: EC2 Default User <ec2-user@ip-172-31-1-149.ec2.internal>
2022-09-20 15:37:05 -04:00
Ahtisham Shahid
87ef27166f fix: resolved bug in big blue button (#31023) 2022-09-20 22:01:04 +05:00
Zachary Hancock
2f3c93ed9f feat: sync with exam service on course publish (#31015)
Call into the exam service instead of the edx-proctoring plugin on course publish if the course_apps.exams_ida course waffle flag is enabled. This is an early step in moving away from edx-proctoring
2022-09-20 12:38:32 -04:00
bszabo
17b03388f5 Merge pull request #31021 from openedx/revert-30719-kdmccormick/github-in-reorganize
revert: Optimize and reorganize GitHub-hosted dependencies
2022-09-20 07:30:20 -04:00
Kyle McCormick
d8442484a0 Revert "docs: update & improve instructions for GitHub-hosted deps"
This reverts commit 8bb39fa6c7.
2022-09-20 06:35:46 -04:00
Kyle McCormick
6f7ceaf80b Revert "docs: remove section headers from github.in"
This reverts commit 7ed0e8d0e9.
2022-09-20 06:35:46 -04:00
Kyle McCormick
211aa9856a Revert "style: alphabetize GitHub-based dependencies"
This reverts commit 40158f5991.
2022-09-20 06:35:46 -04:00
Kyle McCormick
2ac7a6f774 Revert "build: install GitHub-hosted dependencies as wheels"
This reverts commit 6490f5b585.
2022-09-20 06:35:46 -04:00
Kyle McCormick
29cebb7f92 Revert "chore: Updating Python Requirements"
This reverts commit 6d00e4b320.
2022-09-20 06:35:46 -04:00
Kyle McCormick
8632193b8d Revert "build: fix -e . in requirements pins"
This reverts commit f42427a1f6.
2022-09-20 06:35:46 -04:00
Shafqat Farhan
0a65fc7aa2 Merge branch 'master' into shafqat/VAN-1080 2022-09-20 05:29:49 +05:00
Shafqat Farhan
0bb47bf87e fix: VAN-1080 - Users getting already enrolled courses recommendations 2022-09-20 05:28:58 +05:00
Tim McCormack
f6965b9555 chore: Unpin edx-event-bus-kafka and upgrade (#30966)
The producer API is stable enough now.

Make use of new topic prefixing feature for devstack (introduced in 0.6.2)
2022-09-19 19:43:34 +00:00
Kyle McCormick
f42427a1f6 build: fix -e . in requirements pins
I would expect the post-pip-compile steps in `make upgrade`
to have taken care of chaninging `-e file://...`
into `-e .`, but it didn't for some reason.

Normally I would debug this, but
https://github.com/openedx/edx-platform/pull/30890
is going to merge in a week or two and it
will remove `-e .` from the requirement pins
entirely, so I'm just going to fix it manually for now.
2022-09-19 13:54:21 -04:00
edX requirements bot
6d00e4b320 chore: Updating Python Requirements 2022-09-19 13:54:21 -04:00
Kyle McCormick
6490f5b585 build: install GitHub-hosted dependencies as wheels
We update github.in to use the proper git-based depencency
format specified in the file comment. This format installs
a package as a pre-built wheel:

    git+https://github.com/...

instead of a development-mode editable requirement:

   -e https://github.com/...

Installing packages in editable mode increases the amount of time
it takes to install edx-platform  dependencies, increases the
resulting virtual environment's size, and installs packages in a
way that has several subtle differences compared to the way
wheels are installed:
https://setuptools.pypa.io/en/latest/userguide/development_mode.html#limitations
2022-09-19 13:54:21 -04:00
Kyle McCormick
40158f5991 style: alphabetize GitHub-based dependencies 2022-09-19 13:54:21 -04:00
Kyle McCormick
7ed0e8d0e9 docs: remove section headers from github.in
They give the impression that, for example,
third-party XBlocks belong in github.in.
In reality, GitHub-hosted requirements should be avoided
in all circumstances. Third-party XBlocks are best
added to base.in as a PyPI-hosted dependency.

Furthermore, the existing section headers are not
even being followed.
2022-09-19 13:54:21 -04:00
Kyle McCormick
8bb39fa6c7 docs: update & improve instructions for GitHub-hosted deps
They have fallen out of date since we switched from Jenkins-
run upgrades to GitHub Actions -run upgrades.
2022-09-19 13:54:21 -04:00
Robert Raposa
3f147335ca docs: enhance mobile JWT ADR (#30906)
As part of the implementation of this ADR, we determined that we needed
to make some of the endpoints that return JWTs able to produce
asymmetric JWTs as needed, since asymmetric JWTs are a requirement
in certain cases. This ADR update notes this additional consequence.
2022-09-19 12:23:59 -04:00
Moeez Zahid
2f098c54e6 fix: Youtube has highest default stream priority (#31014) 2022-09-19 20:31:42 +05:00
Sagirov Evgeniy
42246c858d feat!: remove code related to Old -> Split migration (#30955)
This commit removes code that was used to copy Old Mongo courses into
new Split Mongo courses. This includes both the migrate_to_split
management command, as well as the backend code that would be invoked
to re-run Old Mongo courses as Split courses using Studio (the UI for
this was already removed in b429e55c).

This is a part of the Old Mongo removal effort tracked in:
  https://github.com/openedx/public-engineering/issues/62
2022-09-19 10:51:40 -04:00
Maxwell Frank
76cee06850 Merge pull request #31008 from openedx/mfrank/update-cert-reqs
fix: update cert requirements
2022-09-19 09:07:49 -04:00
Sagirov Evgeniy
42438db805 feat: Remove the table with a migration (#30993) 2022-09-19 08:36:43 -04:00
Kshitij Sobti
a923cfc32e feat: Add mechanism to migrate discussion blocks to discussion flag (#30931)
The new mechanism for marking that a unit has discussions is to use the
discussion_enabled flag instead of adding a discussion block. This change
adds code that is run during the course rerun process to mark any existing
units that have a discussion block as discussible using the new mechanism.
It doesn't touch the existing discussion blocks.

If the new discussions configuration experience is globally enabled, this
will also switch from the legacy provider to the new provider. It analyses
the course for any discussion blocks that have been added to graded
subsections, and if that is the case, it also automatically enables
discussions in graded subsections (which are otherwise disabled for new
courses by default).
2022-09-19 16:56:50 +05:00
Sandeep Dubey
51b5e624b3 feat: upgrade TinyMCE v4.0.20 to TinyMCE v5.5.1 (#30335)
Co-authored-by: Arunmozhi <arunmozhi@opencraft.com>
2022-09-19 12:43:19 +02:00
Piotr Surowiec
baeb64d13e Merge pull request #30811 from open-craft/0x29a/bb6442/remove_field_data
refactor: remove `field_data` usage by all `DescriptorSystem` subclasses [BD-13]
2022-09-19 12:35:57 +02:00
Muhammad Adeel Tajamul
1259c0e7a5 fix: sort order will not be alphabetical (#30990)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-09-19 12:24:46 +05:00
SaadYousaf
b8e466b55c fix: update editable action item for different discussion and course roles 2022-09-19 11:51:24 +05:00
Jenkins
bdb0e4d8ad chore(i18n): update translations 2022-09-18 16:57:26 -04:00
Maxwell Frank
4f0af713d8 fix: update cert requirements 2022-09-16 19:45:59 +00:00
Nathan Sprenkle
5f1530cd57 feat: learner home get suggested courses (#31004)
* feat: get suggested courses

* style: run black

* docs: update suggested courses mock

* docs: remove cardID from mock

* docs: fix mock course.title to course.courseName

* docs: fix mock course.bannerUrl to bannerImgSrc

* docs: fix mock provider to courseProvider

* docs: remove old mock courseProvider fields

* docs: fix mock "grades" to "gradeData"

* docs: fix mock remove courseRun.lastEnrolled

* docs: fix mock add enrollment.lastEnrolled

* docs: mock remove enrollment.isStarted

* docs: mock fix bad nesting in courseRun

* docs: mock certificates to certificate

* docs: mock remove certificate.isAvailable

* docs: mock remove entitlement.isEntitlement

* docs: mock add entitlement.expirationDate

* docs: mock fix some entitlement inconsistencies

* docs: mock remove entitlement.canViewCourse

* docs: mock nest relatedPrograms under programs

* fix: return null for missing resumeUrl

* test: return null for missing resumeUrl

* refactor: update suggested course fields

* refactor: update related programs fields

* docs: remove entitlement.expirationDate from mock

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-09-16 14:41:02 -04:00
Jansen Kantor
8162d21566 feat: add related program info to unfulfilled entitlements (#31011) 2022-09-16 10:30:18 -04:00
Sarina Canelake
40467d8604 Merge pull request #30951 from openedx/tcril/fix-gh-org-url
Fix github url strings (org edx -> openedx)
2022-09-16 09:58:15 -04:00
Justin Hynes
b18716188d Merge pull request #30994 from openedx/jhynes/aper-1968_v2
feat: Send `modified` data of a learner's grade to the Credentials IDA
2022-09-16 08:45:40 -04:00
Sarina Canelake
6b42d67513 chore: run Manage local config files from masters in edx_lint.
version 5.3.0
Commands:

    write FILENAME
        Write a local copy of FILENAME using FILENAME_tweaks for local tweaks.

    check [FILENAME ...]
        Check that FILENAME has not been edited since writing.
        If FILENAME is omitted, all existing files are checked.

    list
        List the files that edx_lint can provide.

    update
        Re-write any edx_lint-written files that exists on disk.
     update with the current version of the repo.
2022-09-15 17:13:49 -04:00