Commit Graph

90 Commits

Author SHA1 Message Date
Muhammad Soban Javed
4463ee751d Revert "refactor: move common/lib/capa/capa to xmodule/capa" (#30762) 2022-07-21 18:22:15 +05:00
Muhammad Soban Javed
06064b237b Merge pull request #30403 from openedx/iamsobanjaved/BOM-2582-move-common-lib-capa
refactor: move common/lib/capa/capa to xmodule/capa
2022-07-21 16:27:47 +05:00
M Umar Khan
91f4585166 build: add doc build check 2022-07-20 15:39:05 +05:00
Soban Javed
9eba9f983a refactor!: move common/lib/capa/capa to xmodule/capa
As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory.
We have fixed all the occurences of import of this package and also fixed all documents related references.
This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock.

Ref: https://openedx.atlassian.net/browse/BOM-2582
2022-07-19 12:20:04 +05:00
Maria Fernanda Magallanes Zubillaga
f6f66d0f39 refactor!: change the api naming and url 2022-07-08 00:05:10 -04:00
María Fernanda Magallanes Z
7f5eb296a3 feat: add mfe_api v1
This PR adds MFE API. This is part of the work that is being done to obtain the MFE Runtime Configurations and that has been discussed in the BTR WG.

Discussion: https://discuss.openedx.org/t/how-to-use-microfrontend-in-a-multitenant-instance/6936/14?u=mafermazu
MFE Runtime configuration - eduNEXT: https://docs.google.com/document/d/1-FHIQmyeQZu3311x8eYUNMru4JX7Yb3UlqjmJxvM8do/edit?usp=sharing

feat: add lms setting to set mfe config cache (#262)

Co-authored-by: María Fernanda Magallanes Z <maria.magallanes@edunext.co>

feat: make mfe config api disabled by default (#263)

* feat: make mfe config api disabled by default

* fix: simple is better than complex

test: add mfe config tests (#264)

* test: add mfe config tests

* test: fix it and simplify it

* test: correct pylint issues

fix: correct pep 8 violations

fix: add mfe api unit test in github workflow

fix: correct unit tests

refactor: move mfe api to lms

fix: try mfe api urls without regex

fix: add app_namespace in lms urls

fix: try url without conditional

Revert "fix: try url without conditional"

This reverts commit 694aab546134b4bd9ad2642e24927b42cac24459.

fix: set enable_mfe_config_api feature to true in the tests

test: try to add failed test case

Revert "test: try to add failed test case"

This reverts commit cee6bf656ab1b96492b0b6199ddff32a6d6a65bd.

docs: improve explanation and documentation

fix: ensure the response is a json object

refactor: be consistent with the variable names

fix: allow overriding mfe api config cache timeout in production

fix: handle 404 response in view

refactor: use a guard instead if-else

feat: add the possibility to show mfe specific config
2022-07-07 23:57:36 -04:00
Awais Qureshi
872c951417 build: new check for static assets. (#30599)
* build: static assets check for lms and cms.
2022-06-21 19:55:13 +05:00
Muhammad Umar Khan
a389a9ff10 Revert "Revert "refactor: move xmodule folder to root"" 2022-06-20 18:20:06 +05:00
Muhammad Umar Khan
d890f06507 Revert "refactor: move xmodule folder to root" 2022-06-20 16:03:48 +05:00
M Umar Khan
a91df0c40f refactor: move xmodule folder to root
- Moving xmodule folder to root as we're dissolving sub-projects of common folder in edx-platform
    - More info: https://openedx.atlassian.net/browse/BOM-2579
- -e common/lib/xmodule has been removed from the requirements as xmodule has itself become the part of edx-platform and not being installed through requirements
- The test files common/lib/xmodule/test_files/ have been removed as they are not being used anymore
2022-06-20 14:33:45 +05:00
Sagirov Eugeniy
92ca176fde refactor: Remove legacy course info page & related code 2022-06-05 19:00:05 +03:00
Mohammad Ahtasham ul Hassan
79b3c82e5f build!: drop node12 support (#30468) 2022-05-30 17:38:31 +05:00
Mohammad Ahtasham ul Hassan
7deea6ec6e feat: add lockfile check (#30440) 2022-05-19 17:54:09 +05:00
Mohammad Ahtasham ul Hassan
f801deaae5 Node Upgrade (#30420)
* feat: Node16 upgrade
2022-05-18 16:12:34 +05:00
Mohammad Ahtasham ul Hassan
fee54bf424 Revert "Node 16 Upgrade (#30354)" (#30399)
This reverts commit f4c3c3fb4d.
2022-05-16 18:42:42 -04:00
Mohammad Ahtasham ul Hassan
f4c3c3fb4d Node 16 Upgrade (#30354)
* feat: Node16 upgrade
2022-05-16 16:53:37 +05:00
Muneeb Ur Rehman
20a0e6e9e1 feat: create learner pathway skeleton (#30355)
* feat: create skeleton for learner_pathway app

* feat: add learner_pathway app for quality checks

* feat: add verbose name and dir for tests

* feat: add docstrings for files in app

* fix: remove unused imports

* refactor: resolve quality issues
2022-05-10 13:19:45 +05:00
Ned Batchelder
e7caec5ab8 build: the Django matrix needs to use the pinned version also.
The logic here seems to work, but Django 4.0 won't install over our
other pinned requirements, so tests fail for Django 4.0.
2022-04-28 02:28:32 -07:00
Tim McCormack
8bcec1a7c9 build: Remove empty coursegraph module (and the pylint reference to it) (#30273)
Coursegraph was moved from openedx to cms in commit 92552e50/PR #29156;
module init file was reintroduced in commit 80f9f1de/PR #30197, I think
by accident.
2022-04-21 19:33:38 +00:00
Mohammad Ahtasham ul Hassan
e84187bacd Revert "feat: node16 upgrade (#30249)" (#30268)
This reverts commit f10ebf0752.
2022-04-18 21:57:17 +05:00
Mohammad Ahtasham ul Hassan
f10ebf0752 feat: node16 upgrade (#30249) 2022-04-18 16:32:53 +05:00
Mohammad Ahtasham ul Hassan
a443542260 Revert "feat: node16 upgrade (#30158)" (#30228)
This reverts commit 5ee25c65ea.
2022-04-12 17:18:30 +05:00
Mohammad Ahtasham ul Hassan
5ee25c65ea feat: node16 upgrade (#30158) 2022-04-12 15:23:34 +05:00
Usama Sadiq
80f9f1de7a Fix quality failures with pylint 2.13.5 (#30197)
* build: update pylint-checks ci workflow
* fix: fix quality failures with new pylint version
* chore: remove pylint constraint
* chore: Updating Python Requirements (#30196)
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com>
2022-04-07 13:59:44 +05:00
Muhammad Soban Javed
aa742f09fb Merge branch 'master' into iamsobanjaved/unit-tests-for-forks 2022-03-31 15:53:45 +05:00
Kyle McCormick
8039e40f47 refactor: move coursegraph to cms
This code was originally located at:
  ./openedx/core/djangoapps/coursegraph

However, code makes more sense within the ./cms tree, because:
* it is responsible for publishing course content to an
  external system, with is within the responsibilities of CMS, and
* is uses modulestore, which is discouraged for use in LMS
  (see 0011-limit-modulestore-use-in-lms.rst).

So, we move the code to:
  ./cms/djangoapps/coursegraph
and uninstall coursegraph from LMS.

We do not expect this refactor to have any breaking downstream effects.
2022-03-29 11:21:20 -04:00
Soban Javed
6ccadbbeb8 test: run unit-tests on forks
- add verify unit test workflow also
- use composite github action for syncing
2022-03-18 12:33:29 +05:00
Usama Sadiq
b51f65dd03 build: update mongo server up command in unit tests ci (#30051) 2022-03-14 12:50:07 +05:00
Ahtisham Shahid
f9869c3378 feat: Added Api to create/retrieve course live configurations (#30012) 2022-03-10 13:03:58 +05:00
Sarina Canelake
e8953398ac Merge DEPR automation workflow
Add DEPR workflow automation & default issue overrides
2022-02-24 15:03:19 -05:00
Ahtisham Shahid
5e6aa147dd feat: added model for course Live integrations (#29968) 2022-02-24 16:47:35 +05:00
Sarina Canelake
b50e947cab build: add DEPR workflow automation & default issue overrides 2022-02-23 14:27:38 -05:00
Tim McCormack
68c906c623 build: Try several times to start Mongo in unit tests runner (#29950) 2022-02-18 16:35:13 +00:00
Awais Qureshi
f1a22e3da6 chore: updating migrations check name in github actions. (#29914)
* chore: updating migrations check name in github actions.
2022-02-14 15:53:00 +05:00
Awais Qureshi
1156c62014 migrations check mysql8 (#29784)
* build: Adding migrations check for mysql8.
2022-02-11 18:57:44 +05:00
Rebecca Graber
47aed8d2ab feat: management command for consuming kafka events (#29838) 2022-02-03 12:39:31 -05:00
Nathan Sprenkle
1212e3550c feat: ora staff grader backend (#29828)
- Adds Enhanced Staff Grader (ESG) backend-for-frontend (BFF) in `lms/djangoapps/ora_staff_grader`
    - Adds routing to ESG BFF at `{lms_url}/api/ora_staff_grader/*`
    - Adds mock implementation routing at `{lms_url}/api/ora_staff_grader/mock/*`
    - Adds `ORA_GRADING_MICROFRONTEND_URL` setting for routing to ESG microfrontend (MFE)
- Updates to the teams app:
    - Add`get_teams_in_teamset` to the teams API.
    - Add `get_team_names` to teams service.
- Adds `openassessment.staffgrader` app for appropriate ORA migrations.
- Modifies management commands for creation of users.
- Updates test factory to return display org with course overview.

Co-authored-by: jansenk <jkantor@edx.org>
Co-authored-by: Leangseu Kim <lkim@edx.org>
Co-authored-by: Ben Warzeski <bwarzeski@edx.org>
2022-01-31 11:09:41 -05:00
Ned Batchelder
cb9fada0bf docs(pr-automerge-open-release): use better description 2022-01-21 14:02:11 -08:00
Ned Batchelder
1a894c578d build: use the reusable pr-automerge-open-release workflow 2022-01-21 09:39:52 -08:00
Muhammad Soban Javed
4e22a38ca5 test: run openedx and common tests with both lms and cms settings (#29676) 2022-01-21 11:58:57 +05:00
Awais Qureshi
573c841bf6 test: running migrations on mysql57 on ubuntu20. (#29770)
* chore: Running migrations check on mysql57 (ubuntu20).
2022-01-19 11:23:07 +05:00
Aarif
96b21625c6 fix: updated the unit tests workflow to use labeled runners (#29667) 2021-12-22 16:32:10 +05:00
Soban Javed
b4ac8d284a test: save pytest warning reports to GHA artifacts
- add pytest_hooks import back in common/lib/conftest.py. This import was removed during refactoring work
2021-12-15 17:06:40 +05:00
edX requirements bot
6d61d8a557 refactor: Updated 'upgrade requirements' workflow to use reusable workflows 2021-12-09 21:45:35 +05:00
Aarif
76a8aaf6cd fix: updated the unit tests workflow to simplify job names and read test paths from a separate file (#29472) 2021-12-09 18:21:17 +05:00
Awais Qureshi
da535080cc mysqlclient upgrade (#29418)
* fix: upgrading the mysqlclient==2.1.0
2021-12-01 16:15:54 +05:00
Mubbshar Anwar
fec7849b26 feat: save for later (#29089)
send favorite course through email to user

VAN-741
2021-12-01 16:10:20 +05:00
Dillon Dumesnil
2f2a6317a5 feat: AA-1055: Add in User Tours to the platform
User Tours are walkthroughs we are able to give in our frontends.
This sets up the backend support for them by creating the model,
setting up the initial backfill, adds in a signal handler to init
the UserTour model on User creation, and sets up some endpoints
to get user tour information and update it. It is also being
initialized with a waffle flag to control the rollout. The flag is
intended to control all tours and not allow for opting into only some tours.
2021-11-30 18:21:09 +00:00
Aarif
81a642b90d fix: updated workflows to use v1 for checkout action to fix checkoing out wrong commit on master merge commits (#29456) 2021-11-29 21:37:13 +05:00
Aarif
ff65cf6035 fix: update the image repo to be pushed into ECR (#29444) 2021-11-29 14:47:27 +05:00