Commit Graph

64054 Commits

Author SHA1 Message Date
Tim McCormack
d18bf2ce8f chore: Update actions/upload-artifact from v2 to v3 (#33580)
v2 is giving warnings:

```
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
```
2023-10-24 21:18:34 +00:00
connorhaugh
b0a004de33 docs: add pytest django setting specification to docs (#33564) 2023-10-24 11:35:15 -04:00
Ehmad Saeed⚡
c41db87c80 Merge pull request #33570 from openedx/justEhmadSaeed/upgrade-edx-enterprise-5009d05
feat: Upgrade Python dependency edx-enterprise
2023-10-24 19:15:58 +05:00
justEhmadSaeed
ca2f24a0e7 feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-24 17:34:53 +05:00
Ahtisham Shahid
5009d052e5 chore: added debug logs to notifications filters (#33568) 2023-10-24 14:42:38 +05:00
Muhammad Adeel Tajamul
07ae24aaab feat: added sender_id to notification generated events (#33544) 2023-10-24 11:09:00 +05:00
Sarina Canelake
98fe27fcb7 Merge pull request #33547 from openedx/sarina/itworks
Use Open edX as a noun on the default Open edX homepage
2023-10-23 14:54:49 -04:00
Yusuf Musleh
08d6607636 feat: Add url that exposes taxonomy tags CRUD API (#33525)
* feat: Add url that exposes taxonomy tags CRUD API

Include `content_tagging` namespace for content_tagging urls in cms
for `sub_tags_link` to work in multi-level taxonomy tags.

* chore: Bump openedx-learning version
2023-10-23 11:07:46 -07:00
Sarina Canelake
b917e627ab fix: Use Open edX as a noun on the default Open edX homepage 2023-10-23 13:15:57 -04:00
Andrew Shultz
7770e51fdd Merge pull request #33550 from openedx/ashultz0/rename_second_update_enrollment
fix: rename update cache functions to what they are
2023-10-23 09:17:55 -04:00
Ahtisham Shahid
e9323737c3 fix: updated , notification config name from filter to filters (#33557) 2023-10-23 16:29:34 +05:00
Jenkins
7900711684 chore(i18n): update translations 2023-10-22 17:09:52 -04:00
Omar Al-Ithawi
09a6523792 docs: decision to standardize django/djangojs po files (#32994)
This contribution is part of the [FC-0012 project](https://openedx.atlassian.net/l/cp/XGS0iCcQ) which is sparked by the [Translation Infrastructure update OEP-58](https://open-edx-proposals.readthedocs.io/en/latest/architectural-decisions/oep-0058-arch-translations-management.html#specification).
2023-10-20 11:14:30 -04:00
Feanil Patel
2e75ced467 Merge pull request #33186 from thezaeemaanwar/remove_badges_app
[DEPR]: lms/djangoapps/badges
2023-10-20 10:29:43 -04:00
Andy Shultz
c3a24c126e fix: rename update cache functions to what they are 2023-10-20 10:19:42 -04:00
Ehmad Saeed⚡
c597303d4e Merge pull request #33549 from openedx/justEhmadSaeed/upgrade-edx-enterprise-db4911b
feat: Upgrade Python dependency edx-enterprise
2023-10-20 18:51:03 +05:00
justEhmadSaeed
4af2f5b5c2 feat: Upgrade Python dependency edx-enterprise
version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-20 18:25:26 +05:00
Jesper Hodge
db4911b90e chore: rename Files & Uploads page (#33546) 2023-10-19 21:08:42 +00:00
Rômulo Penido
2482dd4084 feat: more detailed taxonomies permission rules (#33413) 2023-10-19 10:54:30 -07:00
Chris Chávez
1d58bd1106 feat: New link on studio home to Taxonomy list (if waffle flag set) (#33439) 2023-10-19 10:19:50 -07:00
Deborah Kaplan
e3a1cb01bb Merge pull request #33530 from openedx/dkaplan1/APER-2407_remove-coaching-functionality-from-edx-platform
feat: remove deprecated coaching from edx-platform
2023-10-19 10:51:51 -04:00
Kyle McCormick
9c6e765bf6 test: run ./xmodule/ tests with CMS settings (#33534)
Currently, ./xmodule/ unit tests are only run with LMS settings. However,
./common/ and ./xmodule/ are run twice: once with LMS settings and once with
CMS settings.

Just like ./common/ and ./openedx/, the unit tests in ./xmodule/ validate
behavior in both LMS and CMS. So, order to fully test ./xmodule/, we should to
run its tests with CMS settings too.

This will enable us to better validate certain LibraryContentBlocks behaviors
being touched by https://github.com/openedx/edx-platform/pull/33263 which can't
be expressed under LMS settings.

Also in this commit:

* refactor: rename the shards to be clear whether they're running under LMS or CMS
* docs: correct comments regarding conditions under which codejail's
   test_cant_do_something_forbidden is skipped.
* test: update a unit test which was using the now-deleted library_sourced block to use
   library_content block instead.
2023-10-19 10:19:28 -04:00
Feanil Patel
98e8bf8c8a Merge pull request #32137 from openedx/dependabot/github_actions/aws-actions/configure-aws-credentials-2
build(deps): bump aws-actions/configure-aws-credentials from 1 to 2
2023-10-19 10:10:08 -04:00
Muhammad Abdullah Waheed
caf8e456e2 Revert "feat: Account and profile MFE legacy removal - redeployment (#31893)" (#33542)
This reverts commit 08f5e7e563.
2023-10-19 12:26:29 +05:00
Muhammad Abdullah Waheed
08f5e7e563 feat: Account and profile MFE legacy removal - redeployment (#31893)
feat: Account and profile MFE legacy removal - redeployment

* Revert "Revert "FC-0001: Account pages -> micro-frontend (#30336)" (#31888)"

This reverts commit 90c4ca6e47.

* refactor: removed filters test from user_api accounts

---------

Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
2023-10-19 10:43:15 +05:00
Jenkins
e1bad75565 chore: geoip2: update maxmind geolite country database 2023-10-18 17:04:22 -04:00
Tim McCormack
443753d864 build: Only build and push ci-runner Docker image on origin repo (#33535)
I get a weekly CI failure email due to this scheduled workflow running on
my fork of edx-platform. Cancelling the job when it runs on a fork prevents
this.
2023-10-18 20:00:26 +00:00
Jenkins
44a04a5342 chore(i18n): update translations 2023-10-18 15:08:38 -04:00
thezaeemaanwar
0b3e4d73b6 feat!: Removed Badges App
fix: restored badges handlers

feat: remove FE code for badges

fix: resolved failing tests

fix: removed test case for badges app

fix: unused import error

fix: Response Field Count

fix: shareable account response length

fix: resolved PR comments

fix: revert settings override

feat!: Removed Badges App

fix: restored badges handlers

feat: remove FE code for badges

fix: resolved failing tests

fix: removed test case for badges app

fix: unused import error

fix: Response Field Count

fix: shareable account response length

fix: revert subscription badge
2023-10-18 20:30:04 +05:00
Deborah Kaplan
3060004a4a feat: removing deprecated coaching
Removing unused import
2023-10-18 15:09:59 +00:00
Deborah Kaplan
b2f2e22b8a feat: remove deprecated coaching
linting, fixing pr comment
2023-10-18 14:48:34 +00:00
Deborah Kaplan
5c3237c389 Merge branch 'master' into dkaplan1/APER-2407_remove-coaching-functionality-from-edx-platform 2023-10-18 10:31:46 -04:00
Muhammad Umar Khan
92731be0dc Replace pyjwkest with pyjwt (#32270)
* chore: replace pyjwkest with pyjwt
2023-10-18 15:15:17 +05:00
Deborah Kaplan
f7282229da Merge branch 'master' into dkaplan1/APER-2407_remove-coaching-functionality-from-edx-platform 2023-10-17 16:37:32 -04:00
Alexander J Sheehan
7ef865029a Merge pull request #33524 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-7202c22
feat: Upgrade Python dependency edx-enterprise
2023-10-17 15:23:33 -04:00
Deborah Kaplan
9f8bd36944 feat: remove deprecated coaching from edx-platform
FIXES: APER-2407
2023-10-17 18:07:12 +00:00
alex-sheehan-edx
70d547d622 feat: Upgrade Python dependency edx-enterprise
enterprise version bump

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-17 17:23:21 +00:00
Feanil Patel
7202c22e1d Merge pull request #33373 from openedx/feanil/update_password_length_default
feat: Update the minimum password length.
2023-10-17 10:08:15 -04:00
Rafay
bf6ed5eb81 fix: reset button becomes available after submission (#33490) 2023-10-17 18:12:34 +05:00
Hamza Waleed
56436e1afc Merge pull request #33515 from openedx/hamzawaleed01/upgrade-edx-enterprise-52302e3
feat: Upgrade Python dependency edx-enterprise
2023-10-17 14:44:40 +05:00
hamzawaleed01
265e7d5aa3 feat: Upgrade Python dependency edx-enterprise
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2023-10-17 07:01:44 +00:00
github-actions[bot]
52302e3b0f feat: Upgrade Python dependency edx-drf-extensions (#33512)
Update JWT Cookie vs Session user monitoring

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

Co-authored-by: robrap <robrap@users.noreply.github.com>
2023-10-16 21:56:18 +00:00
0x29a
febcccc147 fix: limited staff cohorts and gradebook access
Limited Staff should not have studio read access by design.

However, since many LMS views depend on the `has_course_author_access` check and `course_author_access_required`
decorator, we have to allow write access until the permissions become more granular. For example, there should
be STUDIO_VIEW_COHORTS and STUDIO_EDIT_COHORTS specifically for the cohorts endpoint, which is used to display
"Cohorts" instructor dashboard tab.
2023-10-16 22:06:09 +02:00
Rômulo Penido
bbb7ef8aaf feat: override permissions for exporting a taxonomy (#33483) 2023-10-16 12:30:52 -07:00
Pooja Kulkarni
9bf042b239 * feat: Enforce type hints for content_tagging app in edx-platform (#33484) 2023-10-16 12:25:59 -07:00
Piotr Surowiec
6b082c728f Merge pull request #33275 from open-craft/0x29a/bb7834/inherited-roles-studio-fix
Fix studio for users with derived roles and some other related changes [BB-7834]
2023-10-16 21:16:51 +02:00
Maxim Beder
755fa7fd31 feat: set course for wiki based on the wiki_slug
Learners want to have the usual course navigation when viewing a wiki,
so that they can go back to the course related to the wiki and browse
other tabs/sections of the course.

Wiki reads the course from the `request.course`. If it's not present,
i.e.  None or not set on the request, it will not show the course
navigation UI.

It seems like `WikiAccessMiddleware` already has the code that parses
course id from the request (when the request is for a wiki view) and
sets the course for the request. However, it doesn't work in most
scenarios, because the course id is not in the it's normal format in
most requests that go to wiki.

For example, when a leaner clicks on a wiki tab from the course
overview, they are redirected to `/wiki/<wiki_slug>/` path. The wiki
slug is taken from course's `wiki_slug` field. This slug can be used to
figure out what course this wiki belongs to in most (not all) cases.

This commit adds code to the `WikiAccessMiddleware` that attempts to
find a course based on wiki slug, and in case of success, sets the
course to the `request.course`, so that wiki can display course
navigation UI.
2023-10-16 21:15:59 +02:00
Rebecca Graber
80a25bc368 feat: use new event_bus_producer_config (#33458) 2023-10-16 14:07:10 -04:00
0x29a
9e56a18f0f refactor: better permission names for instructor endpoints 2023-10-16 20:05:37 +02:00
Alexander J Sheehan
388fa3bb9d Merge pull request #33489 from openedx/alex-sheehan-edx/upgrade-edx-enterprise-90b0392
feat: Upgrade Python dependency edx-enterprise
2023-10-16 13:15:12 -04:00