Commit Graph

25203 Commits

Author SHA1 Message Date
Feanil Patel
57cdbfa013 test: Remove test variants that test without a cache.
Since the cache is now always on, remove test cases that test the case
when it's disabled.
2024-11-05 10:44:16 -05:00
Kristin Aoki
e13d66d1e4 feat: support unit preview in learning MFE (#35747)
* feat: update preview url to direct to mfe

* fix: use url builder instead of string formatter

* fix: url redirect for never published units

* fix: remove 404 error when  not a preview or staff

* feat: update sequence metadata to allow draft branch
2024-11-01 11:03:06 -04:00
Max Sokolski
bd22449d73 Merge pull request #34859 from raccoongang/kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API
feat: [FC-0047] Implement user's enrolments status API (#2530)
2024-11-01 16:27:17 +02:00
Awais Qureshi
d6e0528148 feat!: upgrade certificate_invalidation_view to drf ( 23 ) (#35521)
* feat!: upgrading api to DRF.
2024-11-01 16:56:20 +05:00
KyryloKireiev
e868888f54 refactor: [AXM-549] Use course keys instead ids 2024-10-30 17:55:31 +02:00
Kyrylo Kireiev
4015aab0f7 Merge branch 'master' into kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API 2024-10-30 17:45:15 +02:00
Alison Langston
338a0a1166 feat: check course start date for courseware search (#35740) 2024-10-30 08:52:43 -04:00
Adam Stankiewicz
d54e3bd4c1 feat: bump edx-enterprise to 4.30.0, extend system-wide roles for enrollment intentions feature (#35739) 2024-10-29 11:50:43 -04:00
Kristin Aoki
afd1394112 Revert "feat: update preview url to direct to mfe (#35687)" (#35732)
This reverts commit 2373dd02f9.
2024-10-28 17:26:29 +00:00
Fatima Sohail
0a2e8a914a feat: updated bulk email context for updated footer (#35702)
* feat: updated bulk email context for updated footer

* refactor: remove unnecessary f-string
2024-10-28 22:10:09 +05:00
Kristin Aoki
2373dd02f9 feat: update preview url to direct to mfe (#35687)
* feat: update preview url to direct to mfe

* fix: use url builder instead of string formatter

* fix: url redirect for never published units
2024-10-28 10:31:53 -04:00
KyryloKireiev
bc71be4811 feat: [AXM-549] Add query limit to User Enrollments 2024-10-24 13:15:36 +03:00
Kyrylo Kireiev
2077249a94 Merge branch 'master' into kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API 2024-10-24 12:58:33 +03:00
farhan
8fb5b778c3 feat!: Dropping Sass support from builtin video block, replacing with vanilla CSS 2024-10-23 18:40:30 +05:00
Arunmozhi
8b3befc520 Revert "fix: Open Responses Styling and Layout (#33717)" (#35474)
* Revert "fix: Open Responses Styling and Layout (#33717)"

This reverts commit 1dab744ba2.

* chore: bumps ora2 requirement

---------

Co-authored-by: Arunmozhi <arunmozhi@opecraft.com>
Co-authored-by: Jillian Vogel <jill@opencraft.com>
2024-10-21 12:53:32 +00:00
KyryloKireiev
bf073fb68c refactor: [AXM-549] Change enrollments status API field name 2024-10-17 18:06:03 +03:00
Kyrylo Kireiev
3cde9d4f53 Merge branch 'master' into kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API 2024-10-17 18:00:05 +03:00
Régis Behmo
bf862d89e7 feat!: hide courses in /courses based on catalog visibility
Previously, courses were always displayed on the LMS /courses page,
independently of their catalog visibility attribute. This meant that
even with visibility="none" courses were being displayed. This was very
counter-intuitive.

With this change, courses are displayed only when their visibility is
set to "both".

This change is flagged as breaking because it has the potential to
affect course catalogs in existing platforms.

To test this change, go to http(s)://LMS/courses as an anonymous user.
Pick a visible course and go to its "advanced settings" in the studio.
Set "Course visibility in catalog" to "about" or "none". Then, clear the
cache with the following command:

    ./manage.py lms shell -c "from django.core.cache import cache; cache.clear()"

Open the /courses page again: the course should no longer be visible.

Close https://github.com/openedx/wg-build-test-release/issues/330
2024-10-16 10:03:46 -04:00
Muhammad Adeel Tajamul
d72e87d3f3 feat: removed extra spaces from start and end of content (#35647) 2024-10-16 13:58:40 +05:00
Kyle McCormick
2bbd8ecd18 feat!: Remove outdated Libraries Relaunch cruft (#35644)
The V2 libraries project had a few past iterations which were never
launched. This commit cleans up pieces from those which we don't need
for the real Libraries Relaunch MVP in Sumac:

* Remove ENABLE_LIBRARY_AUTHORING_MICROFRONTEND,
  LIBRARY_AUTHORING_FRONTEND_URL, and
  REDIRECT_TO_LIBRARY_AUTHORING_MICROFRONTEND, all of which are obsolete
  now that library authoring has been merged into
  https://github.com/openedx/frontend-app-authoring.
  More details on the new Content Libraries configuration settings are
  here: https://github.com/openedx/frontend-app-authoring/issues/1334

* Remove dangling support for syncing V2 (learning core-backed) library
  content using the LibraryContentBlock. This code was all based on an
  older understanding of V2 Content Libraries, where the libraries were
  smaller and versioned as a whole rather then versioned by-item.
  Reference to V2 libraries will be done on a per-block basis using
  the upstream/downstream system, described here:
  https://github.com/openedx/edx-platform/blob/master/docs/decisions/0020-upstream-downstream.rst
  It's important that we remove this support now so that OLX course
  authors don't stuble upon it and use it, which would be buggy and
  complicate future migrations.

* Remove the "mode" parameter from LibraryContentBlock. The only
  supported mode was and is "random". We will not be adding any further
  modes. Going forward for V2, we will have an ItemBank block for
  randomizing items (regardless of source), which can be synthesized
  with upstream referenced as described above. Existing
  LibraryContentBlocks will be migrated.

* Finally, some renamings:

  * LibraryContentBlock -> LegacyLibraryContentBlock
  * LibraryToolsService -> LegacyLibraryToolsService
  * LibrarySummary -> LegacyLibrarySummary

  Module names and the old OLX tag (library_content) are unchanged.

Closes: https://github.com/openedx/frontend-app-authoring/issues/1115
2024-10-15 11:32:01 -04:00
Fatima Sohail
af69cbe671 feat: waffle flag based switch to ses for goal reminder email (#35615)
* feat: waffle based switch to ses for goal reminder email

* test: added test cases for ace message parameters

* feat: updated logic to specify channel name

* chore: update edx-ace version
2024-10-14 19:20:02 +05:00
Attiya Ishaque
319dd7f38c feat: remove all the commerce coordinator (#35527) 2024-10-14 13:12:38 +05:00
Alison Langston
243b1b4e2e feat: update management command to manually create verified names (#35619)
* feat: update management command to manually create verified names

* fix: update function name
2024-10-09 11:16:02 -04:00
Muhammad Adeel Tajamul
7cf12d861c chore: removed style from email digest content (#35592) 2024-10-09 13:56:58 +05:00
Braden MacDonald
7316111b35 fix: Improve v2 library block permissions checks for read-only authors (#35598) 2024-10-08 10:22:41 -07:00
KyryloKireiev
1eec8b80e4 fix: [AXM-549] Use more efficient query 2024-10-08 17:47:43 +03:00
Kyrylo Kireiev
3bd2031ec0 Merge branch 'master' into kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API 2024-10-08 17:03:51 +03:00
michaelroytman
59b9bb88e1 fix: VerificationAttempt.expiration_datetime field may be None.
This commit fixes a bug introduced by the new VerificationAttempt model. The expiration_datetime field is nullable. Other IDV models in the verify_student application have a default value for expiration_date, so they are typically not null, despite being nullable.

This commit updates code that queries this field to function correctly when the value of expiration_datetime is None. In this case, a None expiration_datetime indicates a non-expiring attempt.
2024-10-07 15:54:55 -04:00
Awais Qureshi
a2bd8a7525 upgrade get_students_features api with DRF( 7th api ) (#35323)
* feat: upgrading simple api to drf compatible.
2024-10-07 16:09:32 +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
Awais Qureshi
8d386d7b24 feat!: upgrading api to DRF. (#35536) 2024-10-04 16:45:47 +05:00
Paulo Viadanna
31a3c44a73 fix: remove 'toggle_status: unsupported' from COURSES_INVITE_ONLY (#35572) 2024-10-03 21:34:25 +05:30
Shafqat Farhan
9e55223dbf Merge pull request #35501 from NoyanAziz/master
feat: override refund
2024-10-03 17:11:19 +05:00
Glib Glugovskiy
1b369b72bd Merge branch 'master' into kireiev/AXM-549/feat/upstream_PR_active_inactive_courses_API 2024-10-03 10:56:06 +03: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
Muhammad Adeel Tajamul
761bc5d159 feat: set bulk email transactional to True (#35579) 2024-10-02 18:34:47 +05:00
Awais Qureshi
8c978c2415 feat!: upgrading mark_student_can_skip_entrance_exam api with DRF ( 21 ) (#35460)
* feat!: upgrading simple api with DRF.
2024-10-02 15:20:47 +05:00
Muhammad Adeel Tajamul
38cddab293 feat: added notification grouping (#35368)
Co-authored-by: Ahtisham Shahid <ahtisham300@gmail.com>
2024-10-02 13:35:30 +05:00
Kristin Aoki
acd8d467e8 feat: update ora settings course app for clarity (#35550) 2024-10-01 16:46:30 +00:00
Piotr Surowiec
341537221e fix: receive XBlock visibility from the Learning MFE (#35491) 2024-10-01 20:37:41 +05:30
Muhammad Noyan Aziz
3d12640d15 fix: _auto_enroll is private 2024-10-01 19:42:34 +05:00
Muhammad Noyan Aziz
1a99f634d8 feat: override refund 2024-10-01 19:42:34 +05:00
Awais Qureshi
093734b2ea feat!: upgrading simple api with DRF. (#35463) 2024-10-01 15:32:50 +05:00
Alison Langston
06a556069f fix: connect verify_student handlers to app (#35561) 2024-09-30 13:49:11 -04:00
Alison Langston
5043260bd6 feat: deprecate get_verification_details_by_id (#35560) 2024-09-30 11:30:46 -04:00
Muhammad Adeel Tajamul
888d85c964 fix: added ace_enabled in bulk_email logs (#35558) 2024-09-30 15:10:42 +05:00
Isaac Lee
dac0309b0f fix: add should_display_status_to_user method and status_changed field to VerificationAttempt model (#35514)
* fix: add placeholder should_display_status_to_user

* fix: have VerificationAttempt inherit StatusModel

- should_display_status_to_user now returns False

* chore: makemigrations

* feat: status_changed field added

* temp: idea to add should_display_status_to_user

* feat: add should_display_status_to_user

* fix: correct call in helpers+services

* chore: lint+test fix

* fix: default hide_status_user as False

* chore: rename field call to STATUS

* chore: remove extra status field

- comment cleanup

* temp: lint + comment out created status for now

* fix: revamp status_changed for back-compat

* fix: override save for status_changed

* fix: replace created/updated instead of status

- also made migrations

* fix: squash commits

- also remove extra updated_at property

* chore: nits
2024-09-26 20:58:01 +00:00
Zachary Hancock
ae0c295ead feat: pluggable url for idv location (#35494)
* Adds an extension point when generating the url for id verification
2024-09-25 16:09:10 -04:00
Awais Qureshi
9ae65bbe9d feat: upgrade get_student_enrollment_status api with drf (22nd) (#35464)
* feat!: upgrading simple api with DRF.
2024-09-25 16:01:05 +05:00
Ahtisham Shahid
b50c42318c feat: added country disabling feature (#35451)
* feat: added country disabling feature
2024-09-25 14:40:08 +05:00