Commit Graph

62001 Commits

Author SHA1 Message Date
Piotr Surowiec
fcb594d635 Merge pull request #30715 from open-craft/agrendalath/bd-13-deprecate_course_id
refactor: deprecate course_id from ModuleSystem [BD-13]
2022-09-26 14:23:11 +02:00
Mubbshar Anwar
3bb45d2547 feat: activate optimizely experiment (#31035)
activate optimizely experiment manually for only B2C users.

VAN-1097
2022-09-26 16:03:42 +05:00
jawad khan
4f74d8a16a feat: added mobile configs in enrollments api (#31036)
* feat: added mobile configs in enrollments api

Mobile team needs some cnfigs after user has logged in, enrollment api seems to be the best place
to put this data. They can change these flags or values from admin side.
LEARNER-9039
2022-09-26 14:27:23 +05:00
Jenkins
d308a6affa chore(i18n): update translations 2022-09-25 17:22:34 -04:00
Alexander J Sheehan
154cc8141d Merge pull request #31037 from openedx/asheehan-edx/bumping-enterprise-3.56.13
chore: bumping enterprise to version 3.56.13
2022-09-23 09:59:41 -04:00
Alexander Sheehan
90ac26cb80 chore: bumping enterprise to version 3.56.13 2022-09-23 09:34:26 -04:00
Mubbshar Anwar
0d66bb6db9 fix: return error code (#31027)
return error code instead of error message and use this code for error message in authn mfe.

VAN-1082
2022-09-23 11:30:15 +05:00
Alexander J Sheehan
b5d1cfce42 Merge pull request #31029 from openedx/asheehan-edx/bumping-enterprise-3.56.12
chore bumping enterprise version to 3.56.12
2022-09-22 14:12:12 -04:00
Ben Warzeski
69d1e3029d feat: update learner home mock data bannerImgSrc to be relative (#31033) 2022-09-22 11:26:19 -04:00
UsamaSadiq
897cb3617f refactor!: delete common/lib and related usages 2022-09-22 14:16:34 +05:00
Syed Sajjad Hussain Shah
96f6174d9e feat: Add 2U recommendations in dashboard [VAN-1094] (#31026) 2022-09-22 13:01:10 +05:00
Jenkins
62fd296b7c chore: geoip2: update maxmind geolite country database 2022-09-21 16:52:27 -04:00
Ben Warzeski
c81136997a fix: update learner home mock api data (#31028) 2022-09-21 14:50:19 -04:00
Alexander Sheehan
83ebc35e93 chore: bumping enterprise version to 3.56.12 2022-09-21 14:27:41 -04:00
Agrendalath
1afb32c775 fix: move service initialization from LMS runtime init to module render 2022-09-21 19:05:03 +02:00
Agrendalath
dd97c74fde refactor: deprecate course_id from ModuleSystem
This attribute is already deprecated for XBlocks in favour of directly
retrieving it like `block.scope_ids.usage_id.context_key`.

This commit also removes some redundant logging code which was omitted in the
Datadog removal in #19420.
2022-09-21 18:53:45 +02:00
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