Commit Graph

24510 Commits

Author SHA1 Message Date
Feanil Patel
82dde016f6 Merge pull request #32239 from openedx/feanil/migration_check
Migrate migration checks to `minimal.yml` config.
2023-06-15 11:06:14 -04:00
Feanil Patel
68aa7556c1 Merge pull request #32446 from openedx/feanil/fix_redudant_urls
fix: Update how we render the error pages.
2023-06-15 10:10:23 -04:00
Piotr Surowiec
e439b3f749 Merge pull request #32356 from open-craft/agrendalath/fc-0026-user-checks
feat: remove block-specific handling from runtime role checks [FC-0026]
2023-06-15 15:32:59 +02:00
Nawfal Ahmed
0aa92af0b2 fix: fix edge-case for completed courses in a subscription program (#32476) 2023-06-15 17:25:02 +05:00
Jenkins
7a047021b1 chore(i18n): update translations 2023-06-15 07:01:31 -04:00
Agrendalath
9fbc263edd feat: remove block-specific handling from runtime role checks 2023-06-15 11:08:03 +02:00
Nawfal Ahmed
ee7213427c fix: fix alert icon unexpected behaviour (#32455) 2023-06-14 18:48:20 +05:00
Kaustav Banerjee
489e23983f feat: tpa automatic logout (#32193)
* feat: tpa automatic logout

* chore: modify toggle documentations

* chore: check TPA_AUTOMATIC_LOGOUT_ENABLED in _show_tpa_logout_link

* docs: modify method doc
2023-06-14 17:01:00 +05:00
Nawfal Ahmed
5204ee6981 feat: handle edge cases for purchased courses in a subscription program (#32438) 2023-06-14 16:28:49 +05:00
Feanil Patel
3b7facd565 fix: Add names to the error page urls.
Some of the static_template_view tests use names to get the URLs for the
error pages for testing, so I added names and updated the test to match
the new names.

I also updated the `test_404` function because we're no longer rendering
the 404 page in a different way from the 500 page so the response
includes the correct response code and content type.  This reduces the
number of differences between the 404 handler and the 500 handler.
2023-06-13 12:20:11 -04:00
Feanil Patel
0326b45d6a fix: Update how we render the error pages.
We were adding paths for the error pages in two places so one of them
simply wasn't being used. The lms urls.py also covered the 429 wich the
static_templates_view urls.py did not cover.  We don't need both and we
need the definition of the handlerNNN variables in urls.py to override
the default django error views so I'll leave just those.

I also made the `exception` parameter for the `render_404` function
optional by adding a default value.  We don't use the exception when
rendering the 404 page but the exception argument is a part of the
default method signature for the function that `render_404` replaces so
I didn't want to remove it and cause issues when django tries to call
this function.
2023-06-13 11:52:19 -04:00
Rômulo Penido
33e93a4c5e fix: styles issue for the "Upload a CSV file" field on the Instructor Dashboard (#32330)
Co-authored-by: o.bugaenko <oleksandr.buhaienko@raccoongang.com>
2023-06-13 10:43:49 -04:00
Jeremy Ristau
c7559f5697 Merge pull request #32273 from open-craft/field-data-refactor
Make Split Mongo's CachedDescriptorSystem load field-data service on demand
2023-06-13 08:05:49 -04:00
Awais Ansari
52a886d456 feat: filter notifications based on NOTIFICATIONS_EXPIRY (#32411)
* feat: add 2 months limit in notifications list API

* chore: add NOTIFICATIONS_MAX_DAYS in lms settings

* refactor: update NOTIFICATIONS_MAX_DAYS to NOTIFICATIONS_EXPIRY

* feat: add order_by reverse id in notificationslist API
2023-06-13 17:05:18 +05:00
Feanil Patel
9f0aeea6a6 docs: Add an annotation for the ELASTICSEARCH_INDEX_PREFIX
The feature was added to edx-search here: https://github.com/openedx/edx-search/pull/130#issuecomment-1586250567
2023-06-12 16:20:52 -04:00
Feanil Patel
4338f55548 fix: Load the DATA_DIR via derived_settings tooling.
If we don't make the DATA_DIR a derived_setting, the only way to
override it is to override the entirety of the MODULESTORE config, or
override DATA_DIR in common.py in your fork.
2023-06-12 15:06:15 -04:00
Jenkins
435be23d2b chore(i18n): update translations 2023-06-12 11:41:13 -04:00
Nawfal Ahmed
6a5c1bbf44 feat: update subscription enrollment alert (#32414) 2023-06-12 13:07:43 +00:00
jajjibhai008
c9bea667e5 chore: add high_service_user scope in throttle config 2023-06-08 20:28:46 +05:00
Rebecca Graber
47a568adca chore: remove generate_code_owner_mappings (script moved) (#32403)
This has been moved to https://github.com/edx/edx-arch-experiments/blob/main/edx_arch_experiments/scripts/generate_code_owner_mappings.py
2023-06-08 10:36:49 -04:00
Jody Bailey
76e4e8cfe8 feat: Added separate url for only returning amplitude recommendations (#32398)
* feat: Added separate url for only returning amplitude recommendations

* chore: added extra line between serializers

* chore: changed name of methods

* chore: updated and added docstrings
2023-06-08 16:29:52 +02:00
Syed Ali Abbas Zaidi
9e9130bd67 Merge branch 'master' into Ali-Abbas/badge-styles 2023-06-08 13:15:30 +05:00
Nawfal Ahmed
dd454172a3 feat: show existing UX for purchased program on program details (#32374) 2023-06-08 08:14:05 +00:00
Syed Ali Abbas Zaidi
a1f7f8b672 Merge branch 'master' into Ali-Abbas/badge-styles 2023-06-07 20:24:06 +05:00
Leangseu Kim
40613ae3f4 fix: when no option selected, the criteria should try to create 2023-06-07 11:04:19 -04:00
Justin Hynes
7293b3e85a Merge pull request #32386 from openedx/jhynes/APER-2347_fix-topic-name
fix: update name of topic used to publish `CERTIFICATE_CREATED` events
2023-06-06 15:22:31 -04:00
Justin Hynes
a631a05a26 fix: update name of topic used to publish CERTIFICATE_CREATED events
[APER-2347]

This PR updates the name of the topic we are publishing our `CERTIFICATE_CREATED` events to. We had put a very generic name when writing the publishing code (and this was way before the actual topic was created). Now that the Confluent configuration is ready we need to update the name in our publishing code.
2023-06-06 17:57:30 +00:00
Zaman Afzal
009cb09b71 fix: call signal once entry is saved (#32378) 2023-06-06 22:45:28 +05:00
Ben Warzeski
2df14a8718 feat: add public video url copy interface (#32293) 2023-06-06 10:09:48 -04:00
Leangseu Kim
005b6dd802 fix: embed video css 2023-06-05 11:45:43 -04:00
Jody Bailey
c7fc04968f feat: new endpoint for cross product and amplitude recommendations (#32297)
* feat: cross product recommendations endpoint enhancement for amplitude recommendations

* fix: general recommendations fix and linting fixes

* fix: query string parameter value check fix

* chore: updated positioning of docstring

* fix: Adjusted docstring for CPR serializer

* fix: Separated view, added new url, fallback recommendations fixes and more

* fix: removed dangerous default value argument

* chore: made necessary linting changes

* chore: updated doctring description

* fix: removed dangerous default argument

* chore: updated doctring for ProductRecommendationsView
2023-06-05 16:31:11 +02:00
Nawfal Ahmed
c6934dda8c PON-241: Copy changes on Program details page (#32352)
* feat: update subscription info text in various states

* feat: update subscription trial ending alert
2023-06-05 17:46:11 +05:00
Hamza Shafique
9f7cc4a8be fix: Remove extra </div> tag from calculators's HTML (#32276)
Co-authored-by: hamza shafique <hamza.shafique1@arbisoft.com>
2023-06-05 12:19:39 +05:00
Jenkins
8326c19431 chore(i18n): update translations 2023-06-04 17:04:19 -04:00
Jenkins
072df9a18b chore(i18n): update translations 2023-06-01 09:59:22 -04:00
Braden MacDonald
aa68ea1162 chore: Update with latest master 2023-05-31 16:25:35 -07:00
Leangseu Kim
1b50e80437 chore: add go to course button for student already enrolled in the courses
chore: linting

chore: update requested change
2023-05-30 09:45:50 -04:00
Braden MacDonald
dac1c5abe1 refactor: we don't need _unwrapped_field_data any more 2023-05-29 15:27:12 -07:00
Braden MacDonald
fbaa2e5a68 fix: make the initialization more like how it was in the past 2023-05-27 15:56:02 -07:00
Juliana Kang
c67408b9c5 fix: Modify nextPaymentDate in program details subscriptions (#32310)
PON-247
2023-05-26 10:50:39 -04:00
Syed Ali Abbas Zaidi
619671df4c Merge branch 'master' into Ali-Abbas/badge-styles 2023-05-26 10:24:55 +05:00
Alexander J Sheehan
0e5c3a5b13 chore: bumping enterprise package version to 3.65.1 2023-05-25 17:33:02 +00:00
Awais Qureshi
fcb4c4d098 fix: replacing exceptions (#31827)
* fix: fixing test.
* fix: updating exceptions.
2023-05-25 17:45:11 +05:00
Syed Ali Abbas Zaidi
a782e697e4 Merge branch 'master' into Ali-Abbas/badge-styles 2023-05-25 11:02:58 +05:00
Jansen Kantor
7b91f8579f fix: return a 403 instead of a redirect from course_home_api api methods (#32210)
* fix: return 403 on course access error rather than redirect
2023-05-24 16:09:34 +00:00
Syed Ali Abbas Zaidi
28ddb1eb9f refactor: add badge styles to scss 2023-05-24 14:22:57 +05:00
Braden MacDonald
b3c5faa884 temp: update query counts 2023-05-23 18:28:27 -07:00
Braden MacDonald
f1ff90dc3e fix: failing test, not really sure why this worked before without modulestore.update_item() 2023-05-23 18:15:14 -07:00
Braden MacDonald
a6accf701b temp: update query counts 2023-05-23 18:12:42 -07:00
Nawfal Ahmed
2d9c528827 fix: fix subscription prices and program dashboard max-width (#32278) 2023-05-23 16:17:28 +05:00