Commit Graph

64040 Commits

Author SHA1 Message Date
Feanil Patel
2e75ced467 Merge pull request #33186 from thezaeemaanwar/remove_badges_app
[DEPR]: lms/djangoapps/badges
2023-10-20 10:29:43 -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
Feanil Patel
e3851ab3d1 test: Update to reuse variables in more places.
Some of the places where we had explicit copies of the password were not
necessary so we referece the exsting TEST_PASSWORD variable where
possible.
2023-10-16 12:33:25 -04:00
alex-sheehan-edx
24b6b5a377 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-16 15:41:16 +00:00
edx-transifex-bot
7f84f1f556 chore(i18n): update translations (#33492)
Co-authored-by: Jenkins <sre+jenkins@edx.org>
2023-10-16 15:20:50 +00:00
0x29a
a45901ea6d feat: implement strict_role_checking context manager 2023-10-16 15:44:40 +02:00
0x29a
838d270db0 fix: users with derived roles should see their courses 2023-10-16 15:44:40 +02:00
Jeremy Ristau
fd86ba15e1 Merge pull request #33343 from open-craft/kaustav/clarify_grade_range_numerical_values
fix: clarify grade range numerical values
2023-10-16 09:28:08 -04:00
Syed Sajjad Hussain Shah
7c25c5f4c8 feat: command to backfill users email addresses on braze (#33467) 2023-10-16 12:25:12 +05:00
SaadYousaf
bef05ab664 feat: add tracking event for following post 2023-10-14 02:00:34 +05:00
Ahtisham Shahid
90b039273d feat: added audit track expiry filter in notifications (#33381)
* feat: added audit track expiry filter in notifications
2023-10-13 11:23:30 +05:00
Ahtisham Shahid
4acd6c22b3 chore: updated version of notifications pref (#33486) 2023-10-13 10:35:41 +05:00
Raymond Zhou
2033dcf6ac fix: ref mgmt cmd logging (#33481) 2023-10-12 13:06:30 -04:00
Feanil Patel
b7286d7415 Merge pull request #33274 from openedx/dependabot/github_actions/aws-actions/configure-aws-credentials-4
build(deps): bump aws-actions/configure-aws-credentials from 3 to 4
2023-10-12 10:56:09 -04:00
Feanil Patel
126256735e Merge pull request #33479 from salman2013/salman/update-drf-endpoints
Update DRF endpoints to use default authentication
2023-10-12 10:50:09 -04:00
Feanil Patel
64e91d4080 test: Update to an even longer password. 2023-10-12 10:31:13 -04:00