Zainab Amir
fa7953ca24
feat: set traverse pagination to False ( #32269 )
...
* For enrollment email task, while getting course uuid and
owner data don't traverse the discovery endpoint.
* Update log message
2023-05-19 19:46:33 +05:00
John Nagro
0fd36f97f3
fix: adding some logging and exceptions to further investigation into discovery load ( #32267 )
2023-05-18 19:42:19 -04:00
John Nagro
3e1bf1e511
fix: add a reasonable useragent to catalog utils ( #32262 )
2023-05-18 10:34:14 -04:00
Syed Ali Abbas Zaidi
d7053a6783
fix: eslint autofixable issues ( #32181 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
* fix: all autofixable eslint issues
* fix: all react related fixable issues
* fix: autofixable eslint issues
* chore: remove all template literals
* fix: remaining autofixable issues
* fix: failing js test
2023-05-18 11:03:59 +05:00
Michael Roytman
9b644109fe
Merge pull request #31741 from raccoongang/fix-upgrade-reminder-email-image
...
fix: upgrade reminder email image
2023-05-17 10:36:52 -04:00
Gabe Mulley
1fa50b834d
feat: pass query string parameters on to the learning MFE for jump_to links ( #32180 )
2023-05-16 08:32:56 -04:00
SaadYousaf
9a43af848c
feat: add api for user notification preferences
2023-05-16 12:09:23 +05:00
Mohammad Ahtasham ul Hassan
acc9dac627
fix: fix manage subs url, add orders and subs url ( #32126 )
...
* fix: fix manage subs url, add orders and subs url
2023-05-16 09:35:22 +05:00
Muhammad Adeel Tajamul
d8db64cf2a
feat: hide discussion tab when disabled ( #32195 )
2023-05-16 05:17:06 +05:00
Syed Ali Abbas Zaidi
adf879e8b2
Revert "fix: all auto fixable eslint issues ( #31900 )" ( #32203 )
...
This reverts commit 228180b1ef .
2023-05-09 13:53:54 +05:00
Syed Ali Abbas Zaidi
228180b1ef
fix: all auto fixable eslint issues ( #31900 )
...
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint line around directives issue
* fix: eslint prefer template issue
* fix: eslint semi rule
* fix: eslint newline per chain rule
* fix: eslint space infix ops rule
* fix: eslint space-in-parens issue
* fix: eslint space before function paren issue
* fix: eslint space before blocks issue
* fix: eslint arrow body style issue
* fix: eslint dot-location issue
* fix: eslint quotes issue
* fix: eslint quote props issue
* fix: eslint operator assignment issue
* fix: eslint new line after import issue
* fix: indent issues
* fix: operator assignment issue
2023-05-09 11:57:15 +05:00
Ahtisham Shahid
118ea3a024
feat: added enrollment api for notification config ( #32162 )
...
* feat: added enrollment API for notification config
* feat: added apps.py in notifications
* feat: added waffle flag for notification app
* feat: added proper docs for the API
2023-05-09 11:51:31 +05:00
Braden MacDonald
4b72194b98
feat: Show a preview of what's in the user's clipboard ( #32132 )
...
This also fixes Studio container view 404.
2023-05-05 17:35:03 +02:00
Agrendalath
b91f858e70
feat: add Waffle Flag to disable resetting self-paced deadlines by learners
2023-05-04 17:20:44 +02:00
SaadYousaf
402022819e
feat: add user notification preference model
2023-05-03 22:16:44 +05:00
Diana Huang
2d08a2a731
fix: Unpin SAML library. ( #32167 )
...
We were using an old version of the python3-saml library,
which was causing issues with newer versions of social-core.
The reason it was pinned was because our etree implementation
didn't support several fields that the saml library did, so
we are now importing those entities as well.
2023-05-03 11:08:30 -04:00
Syed Ali Abbas Zaidi
f1fb38ed83
fix: multi lines and spaces issues ( #31885 )
...
* fix: multi lines and spaces issues
* fix: eslint operator-linebreak issue
* fix: eslint quotes issue
* fix: remaining quotes issues
* fix: eslint object curly newline issue
* fix: eslint object curly spacing issue
* fix: eslint brace-style issues
* fix: react jsx indent and props issues
* fix: eslint trailing spaces issues
* fix: eslint linbreak style issue
* fix: eslint space unary operator issue
* fix: eslint line around directives issue
* fix: void and typeof space unary ops issue
2023-05-03 12:22:46 +05:00
Agrendalath
aa85257b19
fix: use student-specific anonymous IDs in CAPA and HTML XBlocks
...
After changes from #31472 , the user service of a "leaf" XBlock gets overridden
with the one created for its parent (SequenceBlock). Therefore, the
`requires_per_student_anonymous_id` is ignored in these XBlocks. The
subsequent renders of an XBlock (e.g., when requesting the solution) use
the student-specific IDs.
This removes choosing the proper ID (course-specific or student-specific) from
the runtime initialization. Instead, both IDs are passed to the user service.
There are only two XBlocks that relied on the
`requires_per_student_anonymous_id` - `ProblemBlock` and `HtmlBlock`. They
now request the "deprecated" (student-specific) user ID directly from the user
service.
2023-05-02 17:58:22 +02:00
Braden MacDonald
8ee1f66ffb
feat: Paste Components (OLX) into any Unit in Studio ( #31969 )
...
* feat: Implement paste button
* chore: improve docs and add tests for python API
* fix: drive-by fix to use a better API for comparing XML
* feat: track which XBlock something was copied from
* feat: add tests
* feat: enable import linter so content_staging's public API is respected
* fix: error seen when trying to paste drag-and-drop-v2 blocks
* fix: use strip_text=True consistently for XML comparisons
* refactor: rename get_user_clipboard_status to get_user_clipboard
* feat: Better error reporting when pasting in Studio
* chore: convert new test suite to pytest assertions
* refactor: push READY status check into the API per review suggestion
* fix: use strip_text=True consistently for XML comparisons
* fix: store "copied_from_block" as a string to avoid Reference field issues
* fix: minor lint error
* refactor: move data types to data.py per OEP-49
2023-04-27 09:58:04 -07:00
Syed Sajjad Hussain Shah
6af95b46e7
fix: pipeline_user_details serializer error on mfe context response ( #32146 )
...
* fix: pipeline_user_details serializer error on mfe context response
* fix: failed tests for mfe context API
---------
Co-authored-by: Syed Sajjad Hussain Shah <syed.sajjad@H7FKF7K6XD.local >
Co-authored-by: Shahbaz Shabbir <shbzshbr@gmail.com >
2023-04-27 18:56:58 +05:00
Pooja Kulkarni
fb5f8474b0
refactor: rename descriptor -> block within remaining openedx
...
Co-authored-by: Agrendalath <piotr@surowiec.it >
2023-04-26 17:10:54 +02:00
Pooja Kulkarni
9245bc0f76
refactor: rename descriptor -> block within openedx/core/djangoapps
...
Co-authored-by: Agrendalath <piotr@surowiec.it >
2023-04-26 17:10:54 +02:00
Eugene Dyudyunov
494ccd453b
fix: upgrade reminder email image
...
Replace a relative URL with the absolute one.
2023-04-26 10:05:07 +03:00
Ahtisham Shahid
fae6ece427
fix: added check for empty list in discussions settings task ( #32105 )
...
* fix: added check for empty list in discussions settings task
2023-04-25 12:44:26 +05:00
Braden MacDonald
dd927c7fee
chore: consolidate two different implementations for serializing XBlocks
2023-04-24 12:16:42 -07:00
Jeremy Ristau
472a3b5442
Merge pull request #31472 from open-craft/kaustav/unify_modulesystem_descriptorsystem
...
feat: unify ModuleSystem and DescriptorSystem [BD-13]
2023-04-24 10:03:19 -04:00
Kyle McCormick
151c4fcfb2
build: move collectstatic ignore patterns into configuration ( #31934 )
...
Adds a tiny `openedx.core.djangoapps.staticfiles` app so that
static asset ignore patterns can be coded into configuration rather
than supplied on the command line or coded into pavelib.
Makes it easier to run static asset collection without Paver.
See ADR for details:
openedx/core/djangoapps/staticfiles/docs/decisions/0001-purpose-of-app.rst
Closes: https://github.com/openedx/edx-platform/issues/31658
2023-04-21 08:26:48 -04:00
Kaustav Banerjee
c5439221cb
chore: address review comments
2023-04-21 11:53:49 +02:00
Kaustav Banerjee
d0fa2d65e3
test: fix test cases and lint issues
2023-04-21 11:53:49 +02:00
Braden MacDonald
626f11f608
test: Import linter: optionally enforce usage of a package's public API ( #31903 )
...
* test: warn about dependencies from cms->openedx->lms and vice versa
* test: warn about importing from package's internal implementation code
* chore: Update some imports to use public APIs only
* chore: Update 'bookmarks' app to have stricter public API
* fix: we are sharing 'adapters' from olx_rest_api to content_staging
2023-04-20 11:34:51 -07:00
Syed Sajjad Hussain Shah
416a502c96
fix: inconsistency between JWT and session authentication after password reset ( #32073 )
...
VAN-1371
Co-authored-by: Syed Sajjad Hussain Shah <syed.sajjad@H7FKF7K6XD.local >
2023-04-20 12:33:54 +05:00
Shahbaz Shabbir
936a236273
refactor: mfe_context response to serialize object keys to camelcase ( #31930 )
2023-04-20 12:28:17 +05:00
Rebecca Graber
66c22d2e9f
feat: add grace period when deleting accesstokens ( #32040 )
2023-04-18 13:17:53 -04:00
Brian Mesick
b2b78f3ca8
Merge pull request #32032 from raccoongang/sagirov/tCRIL_GA-18
...
[FC-0014] Add GA 4 support to edX platform
2023-04-18 10:02:49 -04:00
Mohammad Ahtasham ul Hassan
2a7b400770
fix: fix buy_subscription_url to use get method ( #32079 )
...
* fix: fix buy_subscription_url to use get method
2023-04-18 15:31:32 +05:00
Braden MacDonald
2dc79bcab4
feat: New django app for copying and pasting OLX content in Studio ( #31904 )
...
[FC-0009]
2023-04-14 11:41:41 -07:00
Mohammad Ahtasham ul Hassan
e973266b2f
feat: fetch program subscription details ( #32023 )
...
* feat: fetch program subscription details
2023-04-14 16:33:12 +05:00
SaadYousaf
dc63e525f8
feat: add platform notification app and models
2023-04-14 14:32:17 +05:00
Ali Nawaz
9c06ef5c17
chore: log the user triggering the retirement flow
...
chore: change user retirement permissions to allow support staff
2023-04-13 02:29:39 +05:00
Robert Raposa
6cae1fa429
feat: allow for forcing asymmetric jwts ( #32045 )
...
Add a temporary feature toggle to force the LMS to
only produce asymmetric JWTs. This is a part of
DEPR of Symmetric JWTs:
https://github.com/openedx/public-engineering/issues/83
2023-04-10 14:46:44 -04:00
Ahtisham Shahid
bbcd3124a6
fix: added delay of 30sec to update_discussions_settings_from_course_task ( #32038 )
...
* fix: added delay of 30sec to update_discussions_settings_from_course_task
* fix: resolved linter issues
2023-04-07 15:09:04 +05:00
Ahtisham Shahid
0815d7a0cd
fix: skip update_discussions_settings_from_course_task if rerun is not completed ( #32036 )
2023-04-06 18:30:45 +00:00
Sagirov Eugeniy
4a551aa1bb
feat: add google_analytics_4_id template tag for main_django.html
2023-04-06 17:15:20 +03:00
Rebecca Graber
d8769e8347
feat: switch order of removal of revoked and expired tokens in dot cleanup ( #32010 )
2023-03-30 12:34:00 -04:00
Ahtisham Shahid
906744e86b
fix: added delay in topic creation task ( #32008 )
2023-03-30 14:57:31 +05:00
Syed Sajjad Hussain Shah
6469077a47
feat: send skipRegistrationForm with providers ( #32001 )
...
VAN-1318
Co-authored-by: Syed Sajjad Hussain Shah <syed.sajjad@H7FKF7K6XD.local >
2023-03-30 13:58:06 +05:00
Saad Ali
14e122f37c
fix: retire_user mgmt cmd to handle string and bytes inputs
2023-03-29 15:24:13 +05:00
Ahtisham Shahid
87eedbc6c6
fix: resolved issue with topic creation in rerun ( #31993 )
2023-03-29 14:16:53 +05:00
Saad Ali
96ff100e9b
chore: Update retire_user management command ( #31966 )
...
This update brings a django admin interface to upload a CSV file using the file access api. The management command is updated to access the uploaded files to retire users.
2023-03-27 15:20:35 -04:00
Rebecca Graber
cc75c37f21
feat: add additional logging to edx-clear-expired-tokens ( #31986 )
2023-03-24 11:57:44 -04:00