Commit Graph

61796 Commits

Author SHA1 Message Date
Ahtisham Shahid
69efe48e09 fix: Made user search function case in-sensitive (#30867) 2022-08-17 13:39:22 +05:00
Adam Blackwell
f03f744863 fix: Fixed link to pull request template 2022-08-16 20:56:25 -04:00
Adam Blackwell
0046628fe2 chore: Add link to important doc (#30834) 2022-08-16 20:55:33 -04:00
Nathan Sprenkle
ac07f23e25 feat: update learner home mock data (#30865)
* feat: add startDate to mock data

* feat: remove certDownloadUrl

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-08-16 15:43:26 -04:00
Nathan Sprenkle
48e03e7457 feat: learner home mock bff (#30858) 2022-08-16 12:59:32 -04:00
Kyle McCormick
c253ec4181 feat!: change /api/v1/mfe_config to /api/mfe_config/v1
* This changes the API's path. The reasoning is that this is Version 1 of
  the mfe_config API, not Version 1 of the LMS's entire API, so the v1
  should come after mfe_config.
* Why does this matter? Firstly, consistency. Secondly, it affects our
  generated API documentation. If you visited
  https://courses.edx.org/api-docs, you could see that the API was
  listed under "v1" instead of "mfe_config".
2022-08-16 11:38:53 -04:00
Kyle McCormick
1b52ad58a5 docs: add more detail to MFE Config API documentation
No functional changes here. This just uses the edx_api_doc_tools package
to add some additional documentation to the new API. The documentation
can be read from the code, or viewed by visiting
http://<LMS_ROOT>/api-docs and searching for "mfe_config".
2022-08-16 11:38:53 -04:00
Kyle McCormick
8edefe74ff feat!: change names of dynamic MFE config Django settings
Formerly, the settings were:

* `MFE_CONFIG` for common config.
* `MFE_CONFIG_<APP_ID>` for app-specific overrides,
  with each app getting its own Django setting.

This commit changes it to:

* `MFE_CONFIG` for common config (unchanged)
* `MFE_CONFIG_OVERRIDES` for app-specific overrides,
  where each app gets a top-level key in the dictionary.

Why the change?

* We want common.py to have a complete list of overridable settings, as
  it helps operators reason about configuration and allows us to generate
  config documentation using toggle annotations. Dynamically generating
  setting names based on arbitrary APP_IDs makes this impossible.
* getattr(...) generally makes code more complicated bug prone. Tools
  like pylint and mypy cannot effectively analyze any code that uses
  dynamic attribute access.
2022-08-16 11:38:53 -04:00
Sagirov Evgeniy
0ff6d50734 [BD-14] feat: Take the Library Content xblocks out the Advanced section to the top default level (#30803)
* feat: Take the Library Content xblocks out the Advanced section to the top default level

* feat: remove library component from library category
2022-08-16 08:25:46 -04:00
Eugene Dyudyunov
dcf1cc14b6 feat: implement V2 libraries usage for library content block (#30615)
YT: https://youtrack.raccoongang.com/issue/EDX_BLND_CLI-87

- V2 libraries are available for selection in the Random Block edit modal;
- selected V2 library blocks are copied to the modulestore and saved as children of the Random Block;
- V2 library version validation works the same as for the V1 libraries (with possibility to update block with the latest version);
- filtering by problem type can't be done for V2 the same as for V1 because the v2 library problems are not divided by types;
- the problem type field is hidden for v2 libraries in the edit mode;
- unit tests added/updated.
2022-08-16 08:25:26 -04:00
Zainab Amir
f6e886b027 feat: remove unused management commands (#30861)
Removed two commands:
- populate_is_marketable_user_attribute
- populate_user_data_on_braze

VAN-971
2022-08-16 15:10:20 +05:00
Jenkins
7313803e39 chore: geoip2: update maxmind geolite country database 2022-08-15 13:14:55 -04:00
Robert Raposa
30ba3c355d fix: add mapping for learner-pathway-progress (#30857)
Adds code owner mapping for learner-pathway-progress.
2022-08-15 12:21:43 -04:00
Kristin Aoki
a210ffae38 feat: update template text for raw html editor 2022-08-15 11:12:53 -04:00
edx-semantic-release
c6ebd1ca01 chore(i18n): update translations 2022-08-14 17:02:53 -04:00
Jansen Kantor
eec0e4a562 temp: add additional logging to debug problem score issue (#30850)
* temp: add additional logging to debug problem score issue

* fixup! temp: add additional logging to debug problem score issue
2022-08-12 13:46:30 -04:00
John Nagro
dd88a4201e feat: release edx-enterprise 3.56.2 (#30852) 2022-08-12 12:41:31 -04:00
Navin Karkera
b0c39758fb fix: mark a text for i18n (#30840) 2022-08-12 10:58:55 -04:00
Muneeb Ur Rehman
fd06c5b399 chore: bump the version of learner-pathway-progress (#30849) 2022-08-12 17:54:33 +05:00
Ahtisham Shahid
dcb01d107f fix: Temporary fix for learners stats api performance issue (#30847)
* fix: Temporary fix for learners' stats API performance issue

* fix: resolved linter errors

* fix: learners stats API response is now null

* fix: changed waffle dates

* fix: resolved unit test issue
2022-08-12 17:24:22 +05:00
Saad Yousaf
067ebd79ce fix: fix inIframe query param for discussion MFE link (#30846)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2022-08-12 15:13:06 +05:00
Leangseu Kim
719ddff238 fix: section.due datetime version issue 2022-08-11 13:53:11 -04:00
Nathan Sprenkle
e025463872 feat: Learner Dashboard get enrollments (#30808)
* feat: fill out enrollment serializer

* test: add basic integration tests for enrollments

* feat: get info for user account activation

* test: test integrating user account activation

* feat: get course enrollments

* feat: get course email settings

* feat: add ecommerce info

* feat: add resume urls

* refactor: move learner home to separate app

* refactor: remove course limit

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-08-11 11:05:07 -04:00
Attiya Ishaque
dafb9f7170 fix: Update to the new error messages and some fixes (#30826) 2022-08-11 15:39:49 +05:00
Muhammad Adeel Tajamul
f24af41b98 feat: redirect method for learners to new MFE (#30769)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-11 11:49:45 +05:00
connorhaugh
6b6935b8f9 Revert "feat: add new template text for raw html editor" (#30843)
This reverts commit 95a13bff5d.
2022-08-10 15:17:20 -04:00
Alexander J Sheehan
58199ee670 Merge pull request #30842 from openedx/asheehan-edx/bumping-enterprise-3-56-1
chore: bumping enterprise requirements to 3.56.1
2022-08-10 13:16:36 -04:00
Alexander Sheehan
a5992fa080 chore: bumping enterprise requirements to 3.56.1 2022-08-10 12:36:20 -04:00
John Nagro
691a866b87 feat: release edx-enterprise 3.56.0 (#30841) 2022-08-10 11:16:18 -04:00
Zainab Amir
4f2aadb74e feat: reposition code to set is_marketable (#30839) 2022-08-10 18:47:50 +05:00
Kristin Aoki
95a13bff5d feat: add new template text for raw html editor 2022-08-09 14:42:31 -04:00
Alexander J Sheehan
7886ecad20 Merge pull request #30837 from openedx/asheehan-edx/bumping-enterprise-3-55-3
chore: bumping enterprise version to 3.55.3
2022-08-09 13:49:56 -04:00
Alexander Sheehan
e84502647f chore: bumping enterprise version to 3.55.3 2022-08-09 12:56:27 -04:00
Alexander J Sheehan
b164b87c38 chore: bumping enterprise version to 3.55.2 (#30833) 2022-08-08 13:01:28 -04:00
edx-semantic-release
369e5af85a chore(i18n): update translations 2022-08-07 16:58:05 -04:00
Waheed Ahmad
767646fde3 fix: broken promise for personalized recommendations (#30828)
VAN-1034
2022-08-05 19:01:32 +05:00
Muhammad Adeel Tajamul
525dfa6ef6 fix: author can see close edit reason (#30819)
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
2022-08-05 16:38:32 +05:00
Waheed Ahmad
f8632ab721 fix: show general recommendations on error or empty list (#30827)
Currently, the loading sign shows indefinitely if the recommendation API response
is 200 with an empty recommended courses list. Fix, it by showing the general
recommendations.

VAN-1034
2022-08-05 15:14:08 +05:00
Zainab Amir
e73139d60f feat: add error handling to email task (#30820) 2022-08-04 13:03:03 +05:00
Michael Roytman
6c47a6d0aa Merge pull request #30824 from openedx/mroytman/bump-xblock-lti-consumer-4.3.3
fix: missing exception details in xblock-lti-consumer logs
2022-08-03 10:10:58 -04:00
michaelroytman
5d5fce2949 fix: missing exception details in xblock-lti-consumer logs
This commit updates the version of the lti-consumer-xblock from 4.3.2 to 4.3.3. This installs the newest version of the lti-consumer-xblock library. This version includes the following changes.

The error handler in LtiConsumerXBlock.lti_1p3_launch_callback logs a warning when a select set of exceptions are handled. That log does not contain useful information about the nature of the exception, because the exceptions were not being instantiated with error messages. The try...catch is a large block that contains code that can raise a multitude of errors, so these changes will enable better debugging.

This commit:
* adds helpful messages to the raised exceptions.
* adds the "exc_info=True" argument to include the stack trace of the handled exception.
* adds ValueError and TypeError to the list of handled exceptions, because the code can raise exceptions of these types.
2022-08-03 08:17:25 -04:00
SaadYousaf
a948f535c1 feat: add flag to pass inIframe query_param for discussions MFE. 2022-08-03 15:39:02 +05:00
edX requirements bot
d9377ca414 Django 3.2.15 security patch update (#30822)
* chore: Updating Python Requirements
* fix: pin pycodestyle<2.9.0 to fix quality

Co-authored-by: UsamaSadiq <usama.sadiq@arbisoft.com>
2022-08-03 14:28:22 +05:00
Tim McCormack
f95b414551 fix: Use non-yanked version of snowflake-python-connector (#30821)
2.7.10 was yanked for not having the right dependency constraints:
https://github.com/snowflakedb/snowflake-connector-python/issues/1206#issuecomment-1195840226
2022-08-02 20:04:10 +00:00
Marcin
86bd82c4fb feat: added flag for exams ida (#30815) 2022-08-02 13:52:38 -04:00
Chris Chávez
ebd96cba8a fix: Bug showing hidden sections for learners of a public course fixed (#27925)
The bug is explained in https://openedx.atlassian.net/browse/CRI-233. Only is missing add the `VisibilityTransformer` in `get_blocks()` when the user is not enrolled to the course.
On the test, `html_block` is visible only for staff and `vertical_block` is a normal block. The new behaviour hides the `html_block` and show the `vertical_block` to anonymous users
2022-08-02 12:40:23 -04:00
Mubbshar Anwar
38e63681bb fix: Update event property (#30768)
- Use course_key instead of course_run_key for the is_personalized_recommendation event.

VAN-1021
2022-08-02 21:04:43 +05:00
Justin Hynes
999970d60b Merge pull request #30809 from openedx/jhynes/microba-1901_task-status-fix
feat: Add a little bit more detail to REVOKED (scheduled) bulk email tasks
2022-08-02 08:09:29 -04:00
Alexander J Sheehan
08eb1551b2 Merge pull request #30814 from openedx/asheehan-edx/bumping-enterprise-3-55-1
chore: bumping enterprise version to 3.55.1
2022-08-01 11:41:16 -04:00
Alexander Sheehan
37b3c40428 chore: bumping enterprise version to 3.55.1 2022-08-01 10:45:25 -04:00