Zachary Hancock
2f2ed4d6cb
feat: send course role events to the event bus ( #34158 )
...
Notify the event bus when a user's role in a course is added or removed
2024-02-13 13:16:23 -05:00
salmannawaz
57b480b04f
Update all edx-platform REST endpoints to support JWT Auth ( #34152 )
...
* chore: update API endpoints to support default JWT auth
The default DRF Auth classes were recently updated to allow for both JWT and Session auth by default. Any endpoint that overrides the AUTHENTICATION_CLASSES but has just session, just JWT or just both of those should be updated to remove the override.
Details in https://github.com/openedx/edx-platform/issues/33662
2024-02-13 10:46:58 -05:00
Zainab Amir
45547ca087
feat: update authn mfe devstack settings ( #34221 )
2024-02-13 00:53:58 -08:00
Chris Pappas
4a2e7c72b4
chore: add logging to fa form ( #34224 )
...
* chore: add logging to fa form
* chore: formatting
2024-02-12 18:28:41 -05:00
Chris Pappas
2e15d69c33
fix: give FA form user friendly error message ( #34222 )
2024-02-12 16:14:09 -05:00
Chris Pappas
accfdccb7f
fix: require email verification on FA form ( #34219 )
...
fix: broken test lms/djangoapps/courseware/tests/test_views.py
fix: refactor test
2024-02-12 15:09:19 -05:00
Muhammad Adeel Tajamul
b28db57d88
feat: allow staff and admin to pin posts ( #34169 )
2024-02-12 14:28:11 +05:00
sundasnoreen12
5023e6901d
Merge pull request #34203 from eemaanamir/INF-1230
...
fix: survey xblock styling issues on mobile app
2024-02-09 13:14:13 +05:00
Agrendalath
21f2e30354
feat: allow disabling user tours
...
A similar waffle flag was dropped in 20386337 .
2024-02-07 17:14:52 +01:00
Nathan Sprenkle
7037c8d27b
feat: remove rollout percentage code for learner home ( #34198 )
...
This code allowed us to control rollout but is no longer needed.
2024-02-07 15:27:57 +00:00
Eemaan Amir
84ed035298
Merge branch 'openedx:master' into INF-1230
2024-02-07 16:11:36 +05:00
eemaanamir
603d23f958
fix: survey xblock styling issues on mobile app
2024-02-07 16:08:54 +05:00
Navin Karkera
4a46ae9902
feat: filter courses by user language by default ( #33647 )
...
Adds a feature flag to filter courses by users preferred language by default
2024-02-07 08:53:04 +10:30
Nathan Sprenkle
d28684dbda
feat: add ORA MFE to devstack CSRF trusted origins ( #34197 )
2024-02-06 20:30:31 +00:00
Tim McCormack
5e732f9d1e
feat: Support Django 4.2 in devstack ( #34192 )
...
With the Django 4.2 upgrade, devstack needs `CSRF_TRUSTED_ORIGINS` for MFEs
to work. This PR is probably not a complete list, but gets us started.
Ticket: https://github.com/openedx/edx-platform/issues/34180
2024-02-06 16:06:24 +00:00
Dmytro
d65841ac64
fix: ORA response with attached file (for master) ( #33677 )
...
The details are described in this discussion: https://discuss.openedx.org/t/ora-grading-returns-error/11482
2024-02-06 09:40:17 -04:00
Varsha Menon
0bf676c830
refactor: move rejected exam event handlers
2024-02-02 14:13:57 -05:00
Muhammad Soban Javed
e40a01c7cc
feat!: upgrade Django version to 4.2 (LTS)
...
This reverts commit 23659d5ba8 .
2024-02-02 17:08:54 +05:00
Usama Sadiq
23659d5ba8
Revert "feat!: upgrade Django version to 4.2 (LTS) ( #34162 )" ( #34165 )
...
This reverts commit 1fc2e8a771 .
2024-02-01 19:29:56 +05:00
Muhammad Soban Javed
1fc2e8a771
feat!: upgrade Django version to 4.2 (LTS) ( #34162 )
...
* feat!: upgrade Django version to 4.2 (LTS)
---------
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com >
2024-02-01 16:10:34 +05:00
ayesha waris
9f136a4149
feat: added notifications when response is endorsed or answered ( #34082 )
...
* feat: added notification when response is endorsed or answered
* test: added and fixed test cases
* fix: fixed lint errors
* refactor: changed method name for readibility
* feat: added notification when my response is endorsed
* test: fixed failed test cases
2024-02-01 13:33:16 +05:00
Muhammad Soban Javed
790e364097
Revert "chore!: upgrade Django version to 4.2 (LTS)"
2024-01-31 17:14:43 +05:00
Awais Qureshi
82edbc635c
Merge branch 'master' into iamsobanjaved/django-42-lts
2024-01-31 13:46:58 +05:00
Kaustav Banerjee
d0a49d1a01
fix: add missing function import in certificate template ( #33904 )
...
* fix: add missing function import in certificate template
* test: add test case to check certificates generated when GA4 is enabled
2024-01-31 09:18:34 +10:30
Alejandro Cardenas
3bf3aeaf31
refactor: change survey report message location ( #34126 )
...
* refactor: change survey report message location
2024-01-30 15:13:54 -05:00
Asespinel
76330b36b0
feat: added setting to disable the survey report banner entirely ( #34092 )
...
* feat: added setting to disable the survey report banner entirely
* fix: fixed unit test with new setting
* refactor: changed conditions for better code readability
* feat: added exception to stop the report from generating if the setting is set to false
* chore: updated the readme file to include the new setting
* refactor: move survey settings to common and disable admin by setting
* docs: typos in README
Co-authored-by: Tim McCormack <tmccormack@edx.org >
* refactor: set default values to survey report settings
* refactor: rename ENABLE_SURVEY_REPORT setting to SURVEY_REPORT_ENABLE
* test: fix quality tests
---------
Co-authored-by: Alejandro Cardenas <alecar.main@gmail.com >
Co-authored-by: Tim McCormack <tmccormack@edx.org >
2024-01-30 12:29:09 -05:00
IrfanUddinAhmad
0b7e27390c
feat: Added XblockMixin for skill tagging
2024-01-30 13:22:19 +05:00
Awais Qureshi
79f1c66553
Merge branch 'master' into iamsobanjaved/django-42-lts
2024-01-30 12:53:33 +05:00
Ahtisham Shahid
039583f88f
feat: added reported notification type ( #34067 )
2024-01-30 12:07:49 +05:00
Deborah Kaplan
253853119f
Merge branch 'master' into dkaplan1/APER-1322_certs-with-invalidation-records-arent-in-the-unavailable-status
2024-01-29 11:52:34 -05:00
Deborah Kaplan
1c049a3f39
feat: switching to a defined enum
...
feedback from code review
FIXES: APER-1322
2024-01-29 16:48:52 +00:00
Syed Sajjad Hussain Shah
cb2a34e51f
feat: logout other sessions on email change ( #33846 )
...
* feat: logout other sessions on email change
* fix: updated the approach for session invalidation
* fix: update and add tests
* fix: update tests with descriptive comments
* feat: add integration tests
* fix: store email in session update
* fix: add setting for tests
* fix: fix tests
* feat: Upgrade Python dependency edx-drf-extensions (#34135 )
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
Co-authored-by: syedsajjadkazmii <syedsajjadkazmii@users.noreply.github.com >
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: syedsajjadkazmii <syedsajjadkazmii@users.noreply.github.com >
2024-01-29 14:43:51 +05:00
Saad Yousaf
928e810b33
Revert "temp: add temporary logs for course wide notifications"
2024-01-29 12:42:39 +05:00
Deborah Kaplan
f14d279dad
feat: data migration for some ancient legacy problems
...
one time data migration for certificates that ended up in a broken
state (not marked is unavailable, but having invalidation records).
FIXES: APER-1322
2024-01-25 22:13:02 +00:00
Muhammad Soban Javed
67d53dce26
chore!: upgrade Django version to 4.2 (LTS)
...
This reverts commit 6f32d0e6f1 .
2024-01-25 18:17:43 +05:00
Brian Beggs
48d9f29cb9
Revert "refactor: changed survey report message location and added a new info…"
2024-01-24 17:26:08 -05:00
Justin Hynes
426ee163bc
revert: add brand_color variable for the email templates ( #33421 )"
...
This reverts commit 4ec70eb98b .
This commit introduced a new setting (`brand_color`) that does not appear to be set and is causing issues with account deletion and other parts of the courseware.
Reverting until we can understand the change better.
2024-01-24 18:47:02 +00:00
Muhammad Soban Javed
6f32d0e6f1
Revert "chore!: upgrade Django version to 4.2 (LTS)" ( #34095 )
2024-01-23 19:07:53 +05:00
Muhammad Soban Javed
fc8e40fb10
chore!: upgrade Django version to 4.2 (LTS) ( #33969 )
...
* chore!: upgrade Django version to 4.2 (LTS)
* feat: Upgrade Python dependency Django
chore!: upgrade Django version to 4.2
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
* chore: Update common.py
* chore: Update common.py
---------
Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com >
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com >
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2024-01-23 16:53:34 +05:00
bydawen
4ec70eb98b
feat: add brand_color variable for the email templates ( #33421 )
...
* feat: add brand_color variable for the email templates
* test: fix tests assertations
---------
Co-authored-by: Eugene Dyudyunov <evgen.dyudyunov@raccoongang.com >
2024-01-23 13:21:06 +05:00
Deborah Kaplan
b4bf07660e
feat: fixes from code review
...
improving a comment
FIXES: APER-2851
2024-01-18 15:14:24 +00:00
Deborah Kaplan
a35a6f908e
feat: linter
...
Fixing a linter air
FIXES: APER-2851
2024-01-18 13:49:22 +00:00
Deborah Kaplan
e0ef013f02
feat: fixing some codestyle/lint errors
...
not sure why the manual linter didn't complain
FIXES: APER-2851
2024-01-17 22:00:30 +00:00
Deborah Kaplan
994b8a3d49
feat: adding tests to modify cert template
...
Re-factored to make the code more testable, and added some more tests,
also improved dry run logging
FIXES: APER-2851
2024-01-17 21:41:21 +00:00
Deborah Kaplan
7c78473b0c
Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org
2024-01-16 18:09:03 -05:00
Deborah Kaplan
cccb960f20
feat:tests for certificate template modifier
...
still needs mocks for all tests to work
FIXES: APER-2851
2024-01-16 23:07:51 +00:00
Asespinel
00630cf22d
refactor: changed survey report message location and added a new info… ( #34033 )
...
* refactor: changed survey report message location and added a new informative sent state
* chore: added Generate and Send text on button
* chore: added comment to new state column and added reference to static jquery.
* fix: fixed non Attribute error when a report hasn't been sent yet
2024-01-16 16:25:05 -05:00
ahmed-zubair-1998
73a446d85b
perf: Reduce database calls when generating problem responses report ( #33940 )
...
During the process of generatinng report for problem responses,
there are two places where N + 1 query problem exist. In both
cases, `StudentModule` objects are fetched and looped over where
`student.username` field for each object is accessed. This result
in a seperate database call to get the username for each student
response.
This problem is fixed by creating a join to fetch the related
table in the original query using `select_related`. In a test
conducted on report having 5000 `StudentModule` objects, the
number of queries for the request reduced from 8363 to 29. The
total time taken for the task reduced from 23764 ms to 7394 ms.
2024-01-16 13:41:15 -05:00
Deborah Kaplan
817c8f28cd
Merge branch 'master' into dkaplan1/APER-2851_replicate-share-certificate-in-facebook-improvements-for-edx.org
2024-01-16 11:06:32 -05:00
Muhammad Adeel Tajamul
692b3ac4b2
fix: removed enable_discussion_mfe from email content ( #34061 )
2024-01-16 12:12:55 +05:00