Commit Graph

4703 Commits

Author SHA1 Message Date
Kyle McCormick
303bf5ef3c build: npm run watch (experimental) (#32866)
Implements the `npm run watch` section of the assets ADR [1], plus some
modifications since I decided to switch from pywatchman to watchdog (see
ADR changes for justification). This will replace `paver watch_assets`
(edx-platform) and `openedx-assets watch-themes` (Tutor).

Specifically, this PR adds three experimental commands:

* `npm run watch-sass` : Watch for Sass changes with watchdog.
* `npm run watch-webpack` : Invoke Webpack-watch for JS changes.
* `npm run watch` : Invoke both `watch-sass` and `watch-webpack` simultaneously.

These commands are only intended to work in development mode. They have
been tested both on bare-metal edx-platform and through `tutor dev run`
on on Linux.

Before removing the "experimental" label, we need to:

* Test through Devstack on Linux.
* Test through Devstack and `tutor dev run` on macOS.
* Test on bare-metal macOS. Might not work, which is OK, but we should
  document that.
* Document the commands in edx-platform's README.
* Confirm that this not only works through `tutor dev run`, but also as
  a suitable replacement in the `watchthemes` service that Tutor runs
  automatically as part of `tutor dev start`. Tweak if necessary.

References:

1. https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst

Part of: https://github.com/openedx/edx-platform/issues/31612
2023-07-27 16:33:32 +00:00
jajjibhai008
6c1db43077 feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-07-27 11:13:09 +00:00
Usama Sadiq
34f9fc4ae9 fix: include new assets.txt file in make upgrade (#32860)
* fix: include new assets.txt file in make upgrade
* test: update click version to resolve upgrade job failure
* chore: Updating Python Requirements (#32861)
2023-07-27 16:03:07 +05:00
Jillian
8098169eca feat: adds Content Tagging (#32661)
* refactor: moves is_content_creator

from cms.djangoapps.contentstore.helpers to common.djangoapps.student.auth

* feat: adds content tagging app

Adds models and APIs to support tagging content objects (e.g. XBlocks,
content libraries) by content authors. Content tags can be thought of as
"name:value" fields, though underneath they are a bit more complicated.

* adds dependency on openedx-learning<=0.1.0
* adds tagging app to LMS and CMS
* adds content tagging models, api, rules, admin, and tests.
* content taxonomies and tags can be maintained per organization by
  content creators for that organization.
2023-07-26 10:32:59 -07:00
Kyle McCormick
3e67719a24 build: npm run build (experimental) (#32823)
This PR implements much of the static assets rework ADR [1], including:

* `npm run build[-dev]`, and its subcommands,
* `npm run webpack[-dev]` and
* `npm run compile-sass[-dev]`.

This is backwards-compatible. `paver update_assets` should not be affected.
The new command warns that it is "experimental" for a few reasons:

* `npm run build` will fail in the webpack phase unless you first
run  `xmodule_assets`. This will be changed soon [2].

* We have tested the new build, but not quite so thoroughly that we'd
recommend it as the production default yet. Once the xmodule_assets
work lands, we'll share this on the forums so early adopters can try it
out.

* The commands lack some top-level documentation. Once they stabilize more,
we'll add a section to the README that explains how and when to use `npm run
build` and its subcommands and its env vars.

* `npm run watch` is not yet implemented.

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/32685

Part of: https://github.com/openedx/edx-platform/issues/31604
2023-07-26 08:04:45 -04:00
knguyen2
46cae7a92b chore: version bump 2023-07-25 23:56:36 +00:00
Rômulo Penido
c54070989b feat!: add new content authoring event signals 2023-07-25 16:45:39 +02:00
muhammad-ammar
584a52eeb3 chore: remove optional dependencies 2023-07-25 16:00:33 +05:00
edX requirements bot
a44c6d3d4a chore: Updating Python Requirements (#32829) 2023-07-25 12:48:44 +05:00
knguyen2
2640b291b1 chore: edx-enterprise version bump 2023-07-24 16:46:56 +00:00
github-actions[bot]
35ff87f68d feat: Upgrade Python dependency edx-enterprise (#32809)
fix: skipping rate limited api response errors

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

Co-authored-by: kiram15 <kiram15@users.noreply.github.com>
Co-authored-by: Kira Miller <31229189+kiram15@users.noreply.github.com>
2023-07-24 09:07:40 -06:00
alex-sheehan-edx
d28d094af8 feat: Upgrade Python dependency edx-enterprise
fix: removing items to delete dependency on the catalog service

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-07-20 18:45:05 +00:00
github-actions[bot]
8a3c9169d1 feat: Upgrade Python dependency ora2 (#32793)
bump to ora version to include flexible peer grading override 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>
2023-07-19 18:23:14 +00:00
Braden MacDonald
57420ed613 feat: expand mypy static type checking (#32591)
* chore: typing + fixes for content_staging
* chore: typing + fixes for learning_sequences
* chore: typing + fixes for content_libraries
* chore: typing + fixes for new XBlock runtime
* feat: type hinting more code with mypy
2023-07-19 09:58:19 -07:00
Feanil Patel
8780e606f7 Merge pull request #32768 from openedx/feanil/redirect_technical_guides
Redirect Technical docs pages to the new edx-platform docs site.
2023-07-18 10:52:13 -05:00
Emily Rosario-Aquin
6ff8538dc6 Merge pull request #32595 from openedx/ea/ent-7031
feature: upgrade course enrollment from audit to verified
2023-07-18 08:04:58 -05:00
Feanil Patel
83265e0791 chore: Run make upgrade. 2023-07-17 17:23:28 -04:00
Feanil Patel
e644ade6df docs: Redirect all technical doc pages.
We publish the two pages that were being published under here to the new
edx-platform docs under docs.openedx.org so update this doc site to
redirect to that site for all pages.

Once this version has been published, we should be safe to remove this
doc project from the platform and all future changes should go through
the single edx-platform docs site.
2023-07-17 17:05:26 -04:00
Emily Aquin
134b4bcff6 feat: upgrade course enrollment from audit to verified 2023-07-17 20:11:06 +00:00
Feanil Patel
1de6ff7ad2 chore: Run make upgrade 2023-07-17 14:01:16 -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
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
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
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
Feanil Patel
9707fe5164 chore: Run make upgrade 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
edX requirements bot
f2d30d9fbd chore: Updating Python Requirements (#32729) 2023-07-13 13:39:32 +05: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
8682d1d95a chore: Run make compile-requirements to add sphinx-design. 2023-07-12 15:05:15 -04:00
Feanil Patel
0167b09a3b docs: Add the new sphinx-design extension.
This gives us the abuliity to add some nice responsive web components to
our docs. In particular girds and cards.
2023-07-12 15:05:15 -04:00
Awais Qureshi
cd0f925187 chore: Adding pin to avoid test failures. (#32641)
* chore: Adding pin to avoid test failures.
2023-07-11 15:00:39 +05:00
Awais Qureshi
b528a27237 fix: upgrading celery version and fixing tests. (#32468)
* fix: upgrading celery version and fixing tests.

---------

Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
Co-authored-by: zubairshakoorarbisoft <zubair.shakoor@arbisoft.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: awais786 <awais786@users.noreply.github.com>
2023-07-10 18:36:30 +05:00
saleem-latif
18359a8ba3 feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/saleem-latif/ENT-7303`
2023-07-10 11:47:37 +05:00
Awais Qureshi
516ad77985 Upgrade drf (#32667)
* chore: upgrading drf.

* feat: Upgrade Python dependency djangorestframework (#32563)

Upgrading drf to latest version.

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

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: awais786 <awais786@users.noreply.github.com>
2023-07-06 18:02:21 +05:00
Ahtisham Shahid
b477a20ad2 Added notifications for discussions events (#32432)
* feat: added notifications for discussions app

* feat: added unit tests for handler

* feat: updated openedx-events package

* fix: updated notification creation logic and tests

* refactor: updated openedx-event version and event name

* refactor: moved logic to separate methods
2023-07-06 13:33:20 +05:00
Diana Huang
171255860f feat: Unpin SAML for upgrade. (#32443)
https://github.com/openedx/edx-platform/issues/32327
2023-07-05 15:52:41 -04:00
jajjibhai008
7ad48a3bca feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-07-05 08:21:07 +00:00
jajjibhai008
5b7afab0e4 chore: bumping enterprise package version to 3.68.1 2023-07-05 13:17:12 +05:00
github-actions[bot]
117539de3f feat: Upgrade Python dependency django (#32643)
security patch

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

Co-authored-by: awais786 <awais786@users.noreply.github.com>
2023-07-04 12:28:08 +05:00
Braden MacDonald
83f54aeebe refactor: Split base.in into kernel.in (required) and bundled.in (optional) (#32552)
Plus remove a few unused and indirect dependencies
2023-06-30 09:51:43 -07:00
Alexander J Sheehan
85d06704b8 chore: bumping enterprise package version to 3.67.7 2023-06-29 16:27:36 +00:00
Alexander J Sheehan
f673e8cc42 chore: bumping enterprise package version to 3.67.6 2023-06-28 20:16:39 +00:00
Alexander J Sheehan
f34c777825 chore: bumping enterprise package version to 3.67.5 2023-06-27 15:53:24 +00:00
knguyen2
35cb53ad8e chore: edx-enterprise version bump 2023-06-26 19:34:06 +00:00
Kira Miller
b046282b22 chore: edx-enterprise version bump 2023-06-26 17:11:54 +00:00
github-actions[bot]
ef0fa643f5 feat: Upgrade sphinx and removed edx-sphinx-theme 2023-06-23 16:07:49 +05:00
Alexander J Sheehan
e58af88ba1 chore: bumping enterprise package version to 3.67.2 2023-06-22 19:55:24 +00:00