Commit Graph

25185 Commits

Author SHA1 Message Date
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
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
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
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
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
Varsha Menon
75d111ac62 Merge pull request #35530 from openedx/varshamenon4/feat-django-admin-verification-attempt
feat: add verification attempt to django admin
2024-09-24 13:09:06 -04:00
Hamzah Ullah
47021e9ae4 chore: add frontend-app-learner-portal-enteprise localhost to trusted origin (#35529) 2024-09-24 13:04:14 -04:00
Varsha Menon
aeebac97ba feat: add verification attempt django admin 2024-09-24 10:52:31 -04:00
Agrendalath
84d2ad9515 fix: increase grades rounding precision
Enabling the rounding in #16837 has been causing noticeable (up to 1 percentage
point) differences between non-rounded subsection grades and a total grade for
a course. This increases the grade precision to reduce the negative
implications of double rounding.
2024-09-24 16:05:05 +02:00
Muhammad Adeel Tajamul
649bd42f9c fix: updated edx.ace.message_sent event (#35498)
* fix: updated edx.ace.message_sent event

* fix: fixed pylint checks
2024-09-24 14:31:20 +05:00
Muhammad Adeel Tajamul
87771e76ce feat: replaced button and heading tags in email digest content (#35518) 2024-09-23 13:37:54 +05:00
Muhammad Adeel Tajamul
4cd36d85b5 feat: added sender in bulk_email event (#35504) 2024-09-23 13:35:49 +05:00
Brian Mesick
471bdd232a Merge pull request #34971 from raccoongang/NiedielnitsevIvan/FC-0047/feature/implement-push-notifications-chanel
feat: [FC-0047] add mobile push notifications functionality
2024-09-20 10:02:24 -04:00
Feanil Patel
0f975adc14 feat: Be able to login to bare-metal studio easily. (#35172)
* feat: Be able to login to bare-metal studio easily.

Updating the documentation and the devstack.py files so that if you're
running bare-metal you can easily setup studio login via the LMS.

I also added the Ports that the various MFEs expect to the runserver
scripts so that it's easier to run those locally as well.

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-09-20 08:51:51 -04:00
Awais Qureshi
46777610a4 feat: upgrading simple api to drf compatible ( 17th ) (#35394)
* feat: upgrading simple api to drf compatible.
2024-09-20 17:06:19 +05:00
Mohammad Ahtasham ul Hassan
8f88db2cad feat: add course_run_key to learner home upgrade url (#35461)
* fix: fix learner home URL to have course_run_key
2024-09-20 12:14:47 +05:00
Marcos
166d94decf chore: Fixed a typo on a comment 2024-09-19 11:04:48 -03:00
Marcos
61c3f6eaff fix: Adds a check to initialize legacy proctoring dashboard 2024-09-19 10:49:46 -03:00