Commit Graph

63446 Commits

Author SHA1 Message Date
Nawfal Ahmed
8cd0cb0d07 feat: get subscription upsell values from env (#32770) 2023-07-18 17:43:39 +05:00
Mubbshar Anwar
6562fad7df revert: Removing save_far_later models (#32712)
This is the second phase of removing save_for_later app in which migrations would be run to drop the DB tables.

VAN-1451
2023-07-18 17:07:28 +05:00
Mubbshar Anwar
2e2687ad38 revert: Removing the save_far_later (#32710)
Removing the save_for_later app after analysing the experiment results. We are not going to make this feature permanent.

VAN-1451
2023-07-18 15:35:27 +05:00
Ahtisham Shahid
13a5cfc66f fix: use search instead of list for users in notification admin (#32769) 2023-07-18 12:13:03 +05:00
Feanil Patel
238db45f84 Merge pull request #32752 from openedx/feanil/rtd_test_branch
Update to allow RTD to build these Docs
2023-07-17 15:45:32 -05:00
Braden MacDonald
9b9b88df52 chore: remove some usages of six (Python2 compat) (#32554)
* get rid of six.text_type(s)
* get rid of six.b()
* get rid of six.string_types
* get rid of six.PY2/six.PY3
* get rid of six.iteritems() and six.viewvalues()
2023-07-17 12:18:43 -07:00
Kyle McCormick
5060ec5e1e revert: build: copy from node_modules using NPM postinstall hook, not Paver (#32766)
Reverts openedx/edx-platform#32717 since it is breaking the Docker build,
both in the edx-platform CI, and for Tutor Nightly.

    edx@0.1.0 postinstall
    scripts/copy-node-modules.sh

    sh: 1: scripts/copy-node-modules.sh: not found

The problems seems to be that `npm install` is run before `scripts/`
is copied in, but the new post-install hook counts on
`scripts/copy-node-modules.sh` existing.

This reverts commit 4b64d8342d.
2023-07-17 14:34:55 -04:00
Kyle McCormick
95e0cdef28 Revert "build: copy from node_modules using NPM postinstall hook, not Paver (#32717)"
This reverts commit 4b64d8342d.
2023-07-17 14:06:05 -04:00
Feanil Patel
1de6ff7ad2 chore: Run make upgrade 2023-07-17 14:01:16 -04:00
Feanil Patel
90c4155509 docs: Don't build certain doc strings for now.
We ran into memory issues at RTD so skip the xmodule, cms and common
docs for now so we can get some of the stuff up.  We can come back to it
later once we make things better.
2023-07-17 14:01:16 -04:00
leangseu-edx
df6c0fc69f fix: work around existing css that fail to draw mathjax (#32764) 2023-07-17 13:43:17 -04:00
Kyle McCormick
4b64d8342d build: copy from node_modules using NPM postinstall hook, not Paver (#32717)
During the review of ADR 17 [1], Régis pointed out [2] that the shell script
which replaces Paver's `process_npm_assets`  could be automatically invoked as
an NPM post-install hook, ensuring that the step is seamlessly executed whenever
`npm install` is run. I had avoided using that suggestion, as I worried that it
would make it harder to move node_modules out of the edx-platform directory in
Tutor's openedx image.

Since then, two things have changed. Firstly, Tutor v16's new persistent mounts
interface [3] has lessened the importance of moving node_modules. Secondly, I
have realized that using a post-install hook would not preclude us from
modifying the underlying script (scripts/copy-node-modules.sh) to look in an
alternative location for node_modules, should that end up being something we
want to do.

This commit modifies the ADR based on those findings, stubs out Paver's
`process_npm_assets`, and adds the suggested post-install hook and replacement
Bash script.

References:
1. https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst
2. https://github.com/openedx/edx-platform/pull/31790#discussion_r1122802492
3. https://github.com/overhangio/tutor/blob/master/CHANGELOG.md#v1600-2023-06-14

Part of: https://github.com/openedx/edx-platform/issues/31604
2023-07-17 13:26:58 -04:00
David Ormsbee
53718094a5 fix: update Studio DEFAULT_FILE_STORAGE to s3boto3
s3boto is no longer a supported backend in django-storages, so this was
causing failues on startup when trying to run with the tutor-minio
plugin.
2023-07-17 11:46:09 -04:00
Mohammad Ahtasham ul Hassan
06923c7948 feat: use username for course completion API instead of lms_user_id (#32761) 2023-07-17 20:17:12 +05:00
Feanil Patel
a44336057d build: Install edx-platform as a part of the docs setup. 2023-07-17 10:49:44 -04:00
Feanil Patel
376211950f build: Add base requirements to docs.
If we want to build autodocs from the code, we need the dependencies of
the code installed as a part of the docs build.
2023-07-17 10:49:44 -04:00
Muhammad Umar Khan
3b1ff5cda8 build: add pymemcache dependency (#32748)
* build: add pymemcache dependency

* feat: Upgrade Python dependency pymemcache (#32749)

build: add pymemcache dependency

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

Co-authored-by: mumarkhan999 <mumarkhan999@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: mumarkhan999 <mumarkhan999@users.noreply.github.com>
2023-07-17 17:20:34 +05:00
github-actions[bot]
bc98d9c273 feat: Upgrade Python dependency pip-tools (#32760)
build: update pip-tools

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

Co-authored-by: mumarkhan999 <mumarkhan999@users.noreply.github.com>
2023-07-17 14:43:27 +05:00
Mohammad Ahtasham ul Hassan
1af9803cc0 fix: fix revocation utility comparison (#32751)
* fix: fix revocation utility comparison
2023-07-15 00:14:19 +05:00
Mohammad Ahtasham ul Hassan
34766474c0 fix: fix entitlement revocation task (#32750) 2023-07-14 20:12:59 +05:00
github-actions[bot]
6ab06502e0 feat: Upgrade Python dependency lti-consumer-xblock (#32747)
fix: broken lms function call in LTI xblock

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

Co-authored-by: Zacharis278 <Zacharis278@users.noreply.github.com>
2023-07-14 14:29:03 +00:00
Mohammad Ahtasham ul Hassan
024096a589 temp: add temporary logging for entitlement revocation (#32746)
* temp: add temporary logging for entitlement revocation
2023-07-14 16:04:17 +05:00
Awais Ansari
5d72ba3518 feat: add show_preference flag in course enrollment API response (#32726)
* feat: add show_preference flag in course enrollment API response

* refactor: fix lint issue in get_paginated_response
2023-07-14 12:26:49 +05:00
Ahtisham Shahid
eebd7d236b fix: added correct url in notification content_url (#32725)
* fix: added correct URL in notification content_url
* fix: updated logic to compare user ids
2023-07-14 10:44:14 +05:00
Kyle McCormick
24130fe260 test: disable docs build in CI, for now (#32741)
@feanil is overhauling the docs structure of edx-platform currently.
Recently, a change he made upped the docs build time from <15mins
to >40mins. Rather than revert the changes he is making, we're going
to take the docs build check out of CI for now. He plans to re-enable
the build check, but as a ReadTheDocs build, not a GitHub Action.
He's actively working on the docs, so he's not worried about any
regressions that may pop up while the check is disabled.

It's worth noting that the current docs check does not actually
publish its output anywhere.
2023-07-13 14:46:03 -04:00
Feanil Patel
b2e2655c3b Merge pull request #32735 from openedx/feanil/add_redirecting
Prep guides to replace "Technical Docs" by adding redirecting.
2023-07-13 14:36:10 -04:00
Hamzah Ullah
e9f096fc73 chore: bumping enterprise package version to 4.0.0 (#32731) 2023-07-13 18:32:14 +00:00
Diana Huang
70822203a1 feat: Update migration command. (#32728)
We are planning on deprecating paver,
starting with paver update_db. This replaces a call
to paver with its replacement, `make migrate`.

https://github.com/openedx/devstack/issues/1085
2023-07-13 14:11:33 -04:00
Alexander J Sheehan
4eac3ef507 Merge pull request #32738 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-472104a
feat: Upgrade Python dependency edx-enterprise
2023-07-13 13:37:18 -04:00
alex-sheehan-edx
0ca7ec23da feat: Upgrade Python dependency edx-enterprise
integrated channels content exporter sanitizing delete payloads

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-07-13 17:17:10 +00:00
Piotr Surowiec
fa06be106e Revert "feat: remove field-data binding from the runtime [FC-0026]" (#32740)
* Revert "feat: remove `field-data` service from runtime initialization"

This reverts commit 6c435bb68c.

* Revert "feat: remove field data binding from the runtime"

This reverts commit 5f46ea52cd.
2023-07-13 13:04:02 -04:00
Feanil Patel
9707fe5164 chore: Run make upgrade 2023-07-13 12:10:11 -04:00
Feanil Patel
b1f0619152 docs: Manually add some redirects.
Since we want to replace the existing technical docs with this guides
project and we already build the technical docs into this project now.
Adding these redirects will allow it to be a drop-in replacement for the
existing published technical docs project.
2023-07-13 12:10:11 -04:00
Feanil Patel
cee0e75566 docs: Add config for redirecting pages.
We want to be able to move pages around and have sphinx automatically
redirect to the now location when that happens.  This will allow us to
re-organize safely as we figure out the best way to layout the
documentation.
2023-07-13 12:10:11 -04:00
Diana Huang
472104a1a6 fix: Add pkg-config to other package install block. (#32732)
We are still seeing issues running devstack provisioning
of LMS because it's missing pkg-config. We believe this might
be the location we need to add the package to.
2023-07-13 11:40:14 -04:00
Mohammad Ahtasham ul Hassan
00f049b9e9 fix: fix course completion utility (#32734) 2023-07-13 20:12:02 +05:00
Leangseu Kim
aa987c3c0a feat: add open responses card to page and resources 2023-07-13 10:35:23 -04:00
Piotr Surowiec
c6bd98e51a Revert "refactor: reuse services and wrappers between XBlocks" (#32730)
This reverts commit 36cc415fc2.
2023-07-13 10:05:34 -04:00
Shahbaz Shabbir
f6071490e8 feat: add a command to fetch unsubscribed emails from Braze 2023-07-13 18:13:14 +05:00
SaadYousaf
51c826f41d feat: add tracking events for notifications app 2023-07-13 16:24:33 +05:00
edX requirements bot
f2d30d9fbd chore: Updating Python Requirements (#32729) 2023-07-13 13:39:32 +05:00
Mohammad Ahtasham ul Hassan
7fe5229bbb feat: Add new entitlement expiration endpoint (#32677)
* feat: add new entitlements expiration endpoint
2023-07-13 13:38:20 +05:00
Jenkins
5379daf83e chore: geoip2: update maxmind geolite country database 2023-07-12 17:08:57 -04:00
Feanil Patel
595501f8cf Merge pull request #32614 from openedx/feanil/reorg_guides
feanil/reorg guides
2023-07-12 16:02:03 -04:00
Feanil Patel
f60735a4eb Merge pull request #32573 from open-craft/yusuf-musleh/list-courses-details-by-key
feat: list courses details by keys
2023-07-12 16:01:38 -04:00
Feanil Patel
eba2856293 build: Re-org docs deps.
Some doc buildig deps were in development.in explicitly while others
weren't.  Update development.in to pull in doc.txt and then remove
direct additions of the doc requirements from development.in
2023-07-12 15:06:23 -04:00
Feanil Patel
dcebcc4d0d docs: Make the generated docs visible.
There is still a lot of improvements that could be made to make the
generated docs better organized.  However, before this change we were
generating the docs but they weren't in the doc tree so you couldn't
actually browse to them.  So we fix that first so that we can start
getting feedback about how to organize them.
2023-07-12 15:06:23 -04:00
Feanil Patel
50f164a6ff docs: Rename guides to concepts.
The guides map pretty closely to the concept docs in diataxis so rename
them as such to align to the standard naming we're moving to.
2023-07-12 15:06:23 -04:00
Feanil Patel
bdf9870cf7 docs: Move how-tos and references to sub-folders. 2023-07-12 15:05:15 -04:00
Feanil Patel
8682d1d95a chore: Run make compile-requirements to add sphinx-design. 2023-07-12 15:05:15 -04:00