Commit Graph

6211 Commits

Author SHA1 Message Date
Feanil Patel
ecdf774e75 Merge pull request #36699 from dwong2708/fix-depr-warnings
fix: use geom_type instead of type for Shapely objects
2025-05-19 12:55:56 -04:00
Eemaan Amir
8c8a567dd0 feat: added batching to managemnet command to avoid queueing errors (#36720)
* feat: added batching to managemnet command to avoid queueing errors

* fix: refactored code to fix pylint errors

* fix: fixed quality check errors

* fix: fixed quality check errors
2025-05-15 17:02:37 +05:00
Daniel Wong
9f244292c2 fix: handled deprecation warnings in xblock_django app 2025-05-13 14:45:57 -06:00
Eemaan Amir
8758007e9b feat: management command to backfill is_disabled attribute to segment (#36680)
* feat: management command to backfill is_disabled attribute to segment

* fix: fixed pylint errors

* fix: replaced broad exceptions with specific exceptions
2025-05-09 18:54:46 +05:00
Jesper Hodge
704dd739d9 test: re-enable migration checks (#36655)
the check was disabled:
https://github.com/openedx/edx-enterprise/pull/2338

because we needed to fake a migration:
https://github.com/openedx/edx-enterprise/pull/2383

but that fake migration is now in edx-platform:
https://github.com/openedx/edx-enterprise/pull/2383

so we can re-enable the check.
2025-05-06 11:27:14 -04:00
Eemaan Amir
e5f7a027e4 feat: added a new field to canvas_entry_properties in enrollment email (#36603)
* feat: added a new field to canvas_entry_properties in enrollment email

* test: updated test files
2025-04-25 17:27:49 +05:00
Feanil Patel
d423775012 test: Replace calls to reverse('courseware')
We want to remove this page and URL endpoint so we're removing all the
references in the code that might point to this page.  It was replaced
by the sequences page in the Learning MFE years ago but the old pages
were never cleaned up. We are replacing the calls with the URL for the
courseware in the learning MFE.

See https://github.com/openedx/edx-platform/issues/35803 for more
details.
2025-04-04 14:01:19 -04:00
sarina
1e3074a3f9 docs: Update edx.rtd.io links to docs.openedx.org 2025-04-02 12:10:56 -04:00
Deborah Kaplan
896ca99c79 chore: calling other djangoapps from API instead of model (#36448)
switching  from calling other djangoapps via direct model access to
calling from API. This included  adding an API in the Student app.

FIXES: APER-3972
2025-03-28 12:14:21 -04:00
Muhammad Faraz Maqsood
591008280f chore: rename braze_client to email_client 2025-03-26 11:21:56 +05:00
Muhammad Faraz Maqsood
2b83fe3bf4 Revert "chore: rename braze_client to email_client"
This reverts commit b3f9903a4b.
2025-03-25 17:38:32 +05:00
Muhammad Faraz Maqsood
b3f9903a4b chore: rename braze_client to email_client 2025-03-25 10:31:32 +05:00
Bryann Valderrama
f90e59e52a docs: add event_type inline code annotation for open edX events (#36355) 2025-03-14 09:55:50 +01:00
Jesper Hodge
d85cb7c63d fix: test 2025-03-06 16:25:54 -05:00
Irtaza Akram
a8a8ae3286 fix: replace pkg_resources with importlib.resources (#36213) 2025-02-13 17:43:07 +05:00
Deborah Kaplan
29de9b2dc4 feat!: Legacy account, profile, order history removal (#36219)
* feat!: Legacy account, profile, order history removal

This removes the legacy account and profile applications, and the order
history page. This is primarily a reapplication of #31893, which was
rolled back due to prior blockers.

FIXES: APER-3884
FIXES: openedx/public-engineering#71


Co-authored-by: Muhammad Abdullah Waheed <42172960+abdullahwaheed@users.noreply.github.com>
Co-authored-by: Bilal Qamar <59555732+BilalQamar95@users.noreply.github.com>
2025-02-10 14:39:13 -05:00
Jesper Hodge
1f43d17b21 Revert "Replace pkg_resources with importlib.resources" (#36208) 2025-02-05 08:51:50 -05:00
Simon Chen
ee6575cdfb chore: add django admin binding for course_action_state django app (#36207) 2025-02-03 15:27:57 -05:00
Usama Sadiq
1a16073ad0 fix: enable pylint warnings (#36196) 2025-02-03 14:18:11 +05:00
Usama Sadiq
b6828cecaa fix: enable pylint warnings (#36195)
* fix: enable pylint warnings
2025-01-30 17:15:33 +05:00
Deborah Kaplan
da348fa456 feat!: Removing the long-deprecated legacy course_modes chooser (#36156)
* feat!: Removing the long-deprecated legacy course_modes chooser

`course_modes/choose.html`  (and its corresponding
`_upgrade_button.html`)  were specifically only used for the edge case
where an enterprise user found themselves in the non-enterprise learner
dashboard, and attempted to  enroll in a course outside of the
enterprise flow. Once upon a time, in a 2U-only workflow, the commerce
system would apply specific discounts for users within the said case.
That's no longer true, and it has never been true outside of this one
company.

Removing this template  cleans up a legacy version of a legacy page that
was, realistically, exclusively seen by  employees of 2U,
and nobody else.

Removes:
* The corresponding testsfor behavior only seen in the legacy page.
* A waffle flag since all cases route as if the flag is set: `VALUE_PROP_TRACK_SELECTION_FLAG`: `course_modes.use_new_track_selection`
* Some variables set in  `CourseModeView` which were only ever rendered in the legacy template (`title_content`, `has_credit_upsell`) have been removed from the class.
* There is a high likelihood that the class is still  a target for re-factoring now that the legacy view is gone, but I'm  hesitant to touch something which is not covered by previously existing tests, because the logic around what template gets rendered when is complex.

FIXES: APER-3779
FIXES: #36090
2025-01-24 10:27:55 -05:00
Feanil Patel
da0d365ee3 Merge pull request #36044 from openedx/pkg_resources-depr
Replace pkg_resources with importlib.resources
2025-01-23 11:05:45 -05:00
Feanil Patel
bdef5ad6aa test: Drop some stub config.
I believe this was only used with BokChoy and just got missed in the
various cleanup.  Removing it now since we're not using it.
2025-01-13 14:41:30 -05:00
Felipe Montoya
9acdfe6fd2 feat: show exception message from filters in the user interface (#35407) 2025-01-09 18:22:56 +01:00
Irtaza Akram
acdbff8b4c fix: remove pkg_resources 2025-01-08 16:45:19 +05:00
Muhammad Anas
0de7569b68 refactor!: remove md4 and related ENABLE_BLAKE2B_HASHING feature flag 2024-12-24 13:12:18 +05:00
Tim McCormack
f0eb0da1ba Revert "temp: Add temporary monitoring for large memcache keys (#36034)" (#36040)
This reverts commit fb56042bdc. We have the data we need.
2024-12-17 10:35:08 -05:00
Tim McCormack
fb56042bdc temp: Add temporary monitoring for large memcache keys (#36034)
We'd like to finish the removal of MD4 key hashing, but want to know if
cutting over to BLAKE2b will cause too large a cache turnover. Hopefully
this monitoring will give us some insight into the rate of large keys.
2024-12-16 15:01:40 -05:00
Daniel Valenzuela
eadf5e2d79 fix: render library assets named xblock-
The previous pattern for matching was too broad and would break
the rendering of assets that were prefixed with "xblock".
2024-12-09 10:05:01 -05:00
Muhammad Adeel Tajamul
3d5f4983c5 feat: added anonymous id in edx.bi.user.account.authenticated event (#35934) 2024-12-02 13:22:27 +05:00
0x29a
ac9861fd73 feat: add has_course_author_access to CourseHomeMetadataView response 2024-11-29 00:39:58 +05:30
Irtaza Akram
ec2a698604 cleanup references of python 2 & <3.11 (#35799)
* chore: cleanup of old python references
2024-11-15 16:58:20 +05:00
Brian Mesick
e478975105 chore: Add missing PII annotations, update safelist
PII Annotations are very out of date, this commit adds most that were
missing in edx-platform, and some additional annotations to the
safelist. It is not comprehensive, several other upstream Open edX
packages also need to be updated. It also does not include removing
annotations that have been moved upstream, or been removed entirely.
Those are separate follow-on tasks.
2024-11-05 12:58:36 -05:00
Kira Miller
10a876ffbd fix: removing migration check after dropping column in table (#35742) 2024-10-30 09:12:35 -06:00
github-actions[bot]
471e5bf1a2 feat: Upgrade Python dependency edx-enterprise (#35704)
* feat: Upgrade Python dependency edx-enterprise

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`

* fix: skip failing migration check

---------

Co-authored-by: kiram15 <31229189+kiram15@users.noreply.github.com>
Co-authored-by: Kira Miller <kira.miller15@yahoo.com>
2024-10-23 15:48:22 -06:00
José Ignacio Palma
123ad8d82c feat: adds CourseAboutPageURLRequested and LMSPageURLRequested filters (#35142) 2024-10-21 10:35:00 -04:00
Attiya Ishaque
cf8ed149d4 fix: fix track selection (#35648) 2024-10-14 16:45:04 +05:00
Attiya Ishaque
319dd7f38c feat: remove all the commerce coordinator (#35527) 2024-10-14 13:12:38 +05:00
Diana Huang
3d637ebb04 docs: Add README for third_party_auth. (#35608) 2024-10-07 18:34:38 +00:00
Hamza Waleed
36a413a3cf Merge branch 'master' into hamza/ENT-9440-samlproviderconfig-history-tracking 2024-10-07 14:39:44 +05:00
Zachary Hancock
c34ccffc7f feat: rework idv cert trigger (#35580)
* feat: rework idv cert trigger
* feat: separate PhotoVerification events
2024-10-04 12:58:15 -04:00
Hamza Waleed
94ffffbbed Merge branch 'master' into hamza/ENT-9440-samlproviderconfig-history-tracking 2024-10-03 11:22:16 +05:00
Deborah Kaplan
8c923bea24 feat!: removes deprecated v1 certificate behavior (#35562)
* feat!: removes deprecated v1 certificate behavior

this removes the long-deprecated v1  certificate behavior. This removes
the old-style date selection behavior  (ie., not a choice between
*Immediately upon passing*, *End date of course*, *A date after the course
end date*), which is no longer reliably maintained or supported in
Studio or Credentials.

FIXES: #35399
2024-10-02 12:06:57 -04:00
hamzawaleed01
2a9e8b3ec6 feat: history tracking on SAMLProviderConfig model 2024-10-02 17:54:57 +05:00
Zachary Hancock
0196def99d feat: use idv approved event (#35470)
* feat: replace LEARNER_NOW_VERIFIED signal with new openedx-event
2024-09-19 09:24:20 -04:00
Mohammad Ahtasham ul Hassan
6a63cfcaa4 feat: add override option to upgrade CTA utils and add course_run_key identifier (#35441)
* feat: add override option to upgrade CTAs and send course_run_key identifier
2024-09-16 13:15:51 +05:00
MueezKhan246
3ad2a70462 feat: Upgrade Python dependency edx-enterprise and remove unencrypted client credentials
1. Upgraded Python dependency edx-enterprise
   - Added migration for removing unencrypted client credentials

2. Test updates
   - Unskipped `test_migrations_are_in_sync` after adding the migration

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-10 21:35:47 +05:00
MueezKhan246
faa020940c feat: Upgrade Python dependency edx-enterprise and remove unencrypted credentials from SAP config
1. Upgraded Python dependency edx-enterprise
   - Removed unencrypted credentials from SAP configuration model

2. Test updates
   - Skipped `test_migrations_are_in_sync` for unencrypted credentials removal
   - Updated related tests and requirements.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-10 13:06:11 +00:00
MueezKhan246
c658287386 feat: Upgrade Python dependency edx-enterprise and re-enable migrations test
- Upgraded Python dependency `edx-enterprise` and updated relevant requirements files.
- Added migration file to remove `char field decrypted_secret`.
- Re-enabled `test_migrations_are_in_sync` by unskipping the test.

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`.
2024-09-06 10:10:38 +00:00
MueezKhan246
5dfc5b0fc9 feat: Upgrade Python dependency and refactor test skip reason
- Upgraded Python dependency for edx-enterprise
- Removed references to the char field `decrypted_secret`
- Updated the skip reason message for `test_migrations_are_in_sync`

Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
2024-09-05 16:24:08 +00:00