Commit Graph

62874 Commits

Author SHA1 Message Date
Braden MacDonald
626f11f608 test: Import linter: optionally enforce usage of a package's public API (#31903)
* test: warn about dependencies from cms->openedx->lms and vice versa

* test: warn about importing from package's internal implementation code

* chore: Update some imports to use public APIs only

* chore: Update 'bookmarks' app to have stricter public API

* fix: we are sharing 'adapters' from olx_rest_api to content_staging
2023-04-20 11:34:51 -07:00
Justin Hynes
72d8d830c9 Merge pull request #32071 from openedx/jhynes/APER-2344
feat: publish CERTIFICATE_CREATED events to the event bus
2023-04-20 13:11:27 -04:00
connorhaugh
01897d0f51 Feat add hotjar config to studio (#32109)
* feat: add hotjar tracking to studio

* feat: add hotjar config to studio

* fix: remove xss lint error
2023-04-20 12:39:05 -04:00
Tim McCormack
06969e6c50 feat: Add a script to enhance JWKs in preparation for move from pyjwkest (#32089)
* feat: Add a script to enhance JWKs in preparation for move from pyjwkest

This script accepts a signing JWK (presumably `JWT_PRIVATE_SIGNING_JWK`)
and ensures that it has all of the precomputed private numbers that are
required for top performance. This is necessary before moving away from
pyjwkest to PyJWT for signing JWTs. See issue
<https://github.com/openedx/edx-drf-extensions/issues/290>. (Alternatively,
one could remove the p, q, dp, dq, and qi params, but there is an unknown
performance cost to doing so as we are not currently caching these keys,
and the precompution happens on every load due to the way pyjwkest's API
works.)

* fixup! Upgrade devstack at the same time
2023-04-20 09:08:14 -04:00
Jade Olivier
77378f221a Merge pull request #32072 from openedx/jade-REV-3505-prog-details-brk-pnts
feat: Updated program details page breakpoints [REV-3505]
2023-04-20 14:44:59 +02:00
Jade Olivier
5142a21016 Merge branch 'master' into jade-REV-3505-prog-details-brk-pnts 2023-04-20 09:57:39 +02:00
Jade Olivier
e6f484083e feat: updated left margin on program details page 2023-04-20 09:56:53 +02:00
Syed Sajjad Hussain Shah
416a502c96 fix: inconsistency between JWT and session authentication after password reset (#32073)
VAN-1371

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-04-20 12:33:54 +05:00
Shahbaz Shabbir
936a236273 refactor: mfe_context response to serialize object keys to camelcase (#31930) 2023-04-20 12:28:17 +05:00
connorhaugh
62e59d8ace feat: add hotjar tracking to studio (#32095) 2023-04-19 21:03:04 +00:00
Jenkins
7b0c5b87b6 chore: geoip2: update maxmind geolite country database 2023-04-19 16:58:43 -04:00
Justin Hynes
2e68ca2377 feat: publish CERTIFICATE_CREATED events to the event bus
[APER-2344]

We would like to start consuming Certificate related events in Credentials from the event bus. This PR starts the process by publishing CERTIFICATE_CREATED events to the event bus. It also introduces a new feature flag (`SEND_CERTIFICATE_CREATED_SIGNAL`) to gate the functionality.
2023-04-19 19:53:35 +00:00
alangsto
67e870d79c chore: update proctoring version (#32101) 2023-04-19 14:28:33 -04:00
Alexander J Sheehan
f6d5461ac2 Merge pull request #32102 from openedx/asheehan-edx/bumping-enterprise-version-3.61.14
chore: bumping enterprise package version to 3.61.14
2023-04-19 12:44:11 -04:00
Alexander J Sheehan
3b15a3c16d chore: bumping enterprise package version to 3.61.14 2023-04-19 16:20:35 +00:00
David Ormsbee
7bc6ff8c34 feat: pre-fill location to Unit URL in Studio sidebar
Studio has a panel on the right side in the Unit view that shows authors
how to create a jump_to_id link to that Unit from HTML components that
are elsewhere in the course. However, that link was the literal text:

  "/jump_to_id/<location ID>"

The expectation was that people would then copy the location ID as well,
and construct the link manually. This commit is a minor tweak that just
displays the link address with the location ID pre-filled. Doing this
does cause a little bit of text overflow, which is why this commit also
removes the quotes surrounding the URL. It's still doesn't always fit
perfectly, but the increased usability is worth the small visual issue.
2023-04-19 11:09:26 -04:00
Muhammad Adeel Tajamul
2f036e2df6 feat: added edit_by_label and closed_by_label in threads response (#32070) 2023-04-19 19:55:10 +05:00
leangseu-edx
9fd2920c4c chore: update public video logo and CTA styling (#32078)
* chore: update public video logo and CTA styling

* chore: update logo styling
2023-04-19 10:21:50 -04:00
Michael Roytman
f6e1ccbc35 Merge pull request #32092 from openedx/mroytman/MST-1853-xblock-lti-consumer-bump-9.0.3
feat: add logging for access token view and key handlers
2023-04-19 09:21:15 -04:00
michaelroytman
c50ae58e20 feat: add logging for access token view and key handlers
This commit upgrades the version of the lti-consumer-xblock library from version 9.0.2 to version 9.0.3. Version 9.0.3 includes a change to add logging for error cases in the access_token_endpoint view and the key handler classes.

Please see the CHANGELOG entry for this version for a full description of the change: https://github.com/openedx/xblock-lti-consumer/blob/master/CHANGELOG.rst#903---2023-04-18.
2023-04-18 16:36:25 -04:00
Tim McCormack
66b8b1dd79 build: Remove workarounds for missing packages (#32088)
We'd prefer to install the OS packages rather than have these workarounds
for missing system libraries.
2023-04-18 18:29:52 +00:00
Rebecca Graber
66c22d2e9f feat: add grace period when deleting accesstokens (#32040) 2023-04-18 13:17:53 -04:00
Brian Mesick
b2b78f3ca8 Merge pull request #32032 from raccoongang/sagirov/tCRIL_GA-18
[FC-0014] Add GA 4 support to edX platform
2023-04-18 10:02:49 -04:00
Tim McCormack
be80f2788e test: Remove unneeded signing key from CMS dev/test environments (#32082)
This key should only be needed by the LMS, as the CMS uses OAuth login and
maintains its own session.
2023-04-18 13:37:13 +00:00
Usama Sadiq
0ec7b8cc30 fix: fix make upgrade job and _mysql issue (#32084)
* fix: upgrade pip & pip-tools versions
* fix: install libmysqlclient-dev system package again
* fix: skip reinstalling mysqlclient package
* fix: add pytz package constraint

---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2023-04-18 18:10:01 +05:00
Mohammad Ahtasham ul Hassan
2a7b400770 fix: fix buy_subscription_url to use get method (#32079)
* fix: fix buy_subscription_url to use get method
2023-04-18 15:31:32 +05:00
Jade Olivier
0c8f2f3a93 feat: Updated Program Details breakpoints 2023-04-18 08:40:42 +02:00
Jade Olivier
cadb2ad287 feat: Update Program Details breakpoints 2023-04-18 08:40:42 +02:00
Jade Olivier
75c523f39f feat: Updated program details breakpoints 2023-04-18 08:40:42 +02:00
Tim McCormack
b852344fcf build: Deduplicate mismatched pip.txt files that caused build failure (#32081)
There was a `requirements/pip.txt` with old versions, and a newer
`requirements/edx/pip.txt` managed via a `pip.in` file. The old one was
used in most places, but came out of sync with pip-tools.txt, which was
managed properly. Eventually this caused a `pip check` failure due to the
mismatch.

This should resolve at least part of https://github.com/edx/edx-arch-experiments/issues/267

This PR moves pip.in and pip-tools.in and their corresponding pin files
up to the `requirements/` dir, since they should be shared between the edx
and sandbox environments. This also has the effect of upgrading pip to
match the version in the file we've been uselessly upgrading.

Other improvements:

- Remove `-q` option from pip and pip-sync calls, as it was hiding some
  debugging information that would have resolved this sooner.
- Depend on `pre-requirements` from `compile-requirements`, rather than
  from `upgrade`. (The base target is the one that actually needs it.)
  This also lets us remove the explicit `pip install pip-tools` line.
- Install the recompiled pip and pip-tools files right away, not after the
  loop. When we upgrade pip-tools, we want to use the upgraded version,
  not the previous version. This requires moving the pip-tools.txt
  recompilation outside of the loop and into its own explicit line.
- Don't upgrade pip if we're not running `make upgrade` (respect the
  compile options).
- Remove apparently-unneeded `--no-emit-trusted-host --no-emit-index-url`
  options (we don't pass trusted-host or index-url options).
2023-04-17 17:21:48 +00:00
Braden MacDonald
2dc79bcab4 feat: New django app for copying and pasting OLX content in Studio (#31904)
[FC-0009]
2023-04-14 11:41:41 -07:00
Jansen Kantor
de047cd6f9 feat: add assignment type count warning (#32068)
* feat: add assignment type count warning

* style: quality
2023-04-14 12:26:29 -04:00
Mohammad Ahtasham ul Hassan
e973266b2f feat: fetch program subscription details (#32023)
* feat: fetch program subscription details
2023-04-14 16:33:12 +05:00
SaadYousaf
dc63e525f8 feat: add platform notification app and models 2023-04-14 14:32:17 +05:00
Tim McCormack
d7f9fc3023 feat: Upgrade edx-django-utils to 5.4.0 and add CSP middleware (#32061) 2023-04-13 21:00:22 +00:00
sundasnoreen12
87070d7a5a Merge pull request #32065 from openedx/sundas/INF-854
fix: updated text for info banner
2023-04-13 00:51:39 -07:00
Ali Nawaz
9c06ef5c17 chore: log the user triggering the retirement flow
chore: change user retirement permissions to allow support staff
2023-04-13 02:29:39 +05:00
Jenkins
1436125864 chore: geoip2: update maxmind geolite country database 2023-04-12 16:58:40 -04:00
Zachary Hancock
ed7924361a chore: update lti-consumer-xblock (#32064) 2023-04-12 14:09:03 -04:00
sundasnoreen12
7cbfb2d8b0 fix: updated text for info banner 2023-04-12 22:39:59 +05:00
Tim McCormack
20f889145a chore: Upgrade edx-drf-extensions (and edx-django-utils, apparently) (#32056)
This brings in some JWT verification monitoring.

This also includes a delayed upgrade of `edx-django-utils`, which had been manually and incompletely bumped in some previous PR.
2023-04-12 14:32:46 +00:00
Zachary Hancock
d622db59b7 feat: update xblock-lti-consumer (#32050) 2023-04-11 11:02:47 -04:00
Brian Citro
8e6e299715 Merge pull request #32049 from openedx/bcitro/ENT-7005
chore: bump edx-enterprise version to 3.61.11
2023-04-11 09:54:31 -04:00
Brian Citro
604ba5d067 chore: bump edx-enterprise version to 3.61.11 2023-04-11 09:15:30 -04:00
Mubbshar Anwar
3b991e6620 Revert "refactor: recommendations code refactoring (#31990)" (#32047)
This reverts commit 20b1e65c21.
2023-04-11 11:17:29 +05:00
Robert Raposa
6cae1fa429 feat: allow for forcing asymmetric jwts (#32045)
Add a temporary feature toggle to force the LMS to
only produce asymmetric JWTs. This is a part of
DEPR of Symmetric JWTs:
https://github.com/openedx/public-engineering/issues/83
2023-04-10 14:46:44 -04:00
Alexander J Sheehan
1e35bc10eb Merge pull request #32044 from openedx/asheehan-edx/bump-enterprise-3.61.10
chore: bumping enterprise package version to 3.61.10
2023-04-10 12:31:04 -04:00
Alexander J Sheehan
70b9bb9c14 chore: bumping enterprise package version to 3.61.10 2023-04-10 15:40:42 +00:00
Mubbshar Anwar
20b1e65c21 refactor: recommendations code refactoring (#31990)
After moving the recommendations code from learner_home to learner_recommendations we need to remove the legacy code.
Point the learner dashboard recommendations API from legacy to new endpoint.

VAN-1310
2023-04-10 15:31:37 +05:00
Jenkins
098b7de8f5 chore(i18n): update translations 2023-04-09 17:03:56 -04:00