Commit Graph

24926 Commits

Author SHA1 Message Date
Fateme Khodayari
a5359d2e23 fix: course progress url returned based on course_home_mfe_progress_tab_is_active 2024-06-28 15:58:15 +03:30
Michael Roytman
4a2e0f7df5 Merge pull request #34340 from openedx/mroytman/COSMO-210-idv-approval-management-command
Add new management command to approve submitted ID verification attempts.
2024-03-08 13:39:38 -05:00
michaelroytman
56719e9680 feat: add new management command to approve submitted ID verification attempts
This pull requests adds a new management command approve_id_verifications to manually approve submitted ID verification attempts (i.e. instances of the SoftwareSecurePhotoVerifications model).
2024-03-08 12:37:03 -05:00
ayesha waris
c848767369 fix: update API endpoint to return task due time for future scheduled tasks (#34332)
* fix: update API endpoint to return task due time for future scheduled tasks

* test: updated InstructorEmailContentList tests to accomodate changes

* fix: returend unformatted created date to support easy conversion at frontend

* test: updated tests to accommodate unformatted date value in API response

* refactor: removed duplicate code and use of random numbers

---------

Co-authored-by: eemaanamir <eemaan.amir@gmail.com>
2024-03-07 16:05:45 +05:00
tspring5000
1dab744ba2 fix: Open Responses Styling and Layout (#33717)
* fix: table styling on Instructor Dashboard

Ref: https://github.com/openedx/wg-build-test-release/issues/223
The Open Responses tab on instructor dashboard on LMS has a few issues with table styling; there isn't enough spacing between some columns which makes the text difficult to read, and the bottom of some numbers in the summary table are cutoff
This change adds padding to the right of each column to ensure longer text is still legible and changes the line height from 1em to 1 (unitless), which looks the same but doesn't cut off the bottom

* fix: remove whitespace
Remove extra whitespace line 1862 for better formatting
2024-03-07 09:07:05 +10:30
Jorg Are
3ffaa3dd8d Merge pull request #34305 from openedx/hajorg/au-1847-create-course-reset
feat: add post endpoint for course reset
2024-03-04 14:17:55 +01:00
Feanil Patel
ea55eca47e Merge pull request #33690 from Inferato/lytvynenko/bulk_email_checkbox_master
fix: course mode added to the metadata
2024-02-29 15:19:13 -05:00
hajorg
45648c911f fix: resolve lint issues 2024-02-29 12:03:08 +01:00
hajorg
c18c9de3cd feat: add post endpoint for course reset 2024-02-29 11:04:37 +01:00
ayesha waris
c913a55b17 feat: updated api to get all question type reponses (#34215)
* feat: updated api to get all question type reponses

* test: fixed and added new test cases
2024-02-29 11:58:07 +05:00
jansenk
56d4b47f2d feat: add list endpoint for course reset enabled enrollments 2024-02-27 12:15:14 -08:00
Adolfo R. Brandes
d95ac60dcc Merge pull request #31976 from openedx/MJG/acc-edx-brand-removal
feat: Remove edX branding on account deletion
2024-02-27 12:26:32 -03:00
Moeez Zahid
fca51419f8 refactor: Increase size for mobile config singelton value (#34288)
Co-authored-by: Abdul  Moeez Zahid <abdul.moeez@025907584957.2tor.net>
2024-02-27 19:30:21 +05:00
Awais Ansari
7fec28dea4 fix: newline and alignment bug in survey option mobile view (#34295) 2024-02-27 12:22:15 +05:00
Tim McCormack
3502096183 chore: Update org to openedx for move-affected repos (#34297)
See https://github.com/edx/edx-arch-experiments/issues/558
2024-02-26 22:10:59 +00:00
Blue
c0020a8769 fix: replace username with name in contact us form (#34252)
Description: Replace username with name in contact us form
VAN-1822
2024-02-26 10:21:49 +05:00
Jansen Kantor
ab4f62777c feat: add db models for course reset feature (#34282)
* feat: add db models for course reset feature

* style: quality

* fix: read only fields when creating / updating model
2024-02-23 11:56:04 -05:00
Alison Langston
78afee7573 feat: remove learning assistant waffle flag (#34272) 2024-02-23 11:39:15 -05:00
sundasnoreen12
826c164941 Merge pull request #34286 from openedx/sundas/INF-1148
fix: added table tags in allowed tags
2024-02-23 21:14:55 +05:00
Tim McCormack
45116b02b0 fix: Support running pull_translations with base dependencies (#34285)
Since `make pull_translations` is now performed at build time (in the new
Atlas workflow), it will generally only have access to base dependencies.
However, it depends on the `i18n_tools` command that was only installed at
the testing layer. This moves the dependency from testing to base.

(There is no increase in artifact size, as ora2 already depends on it and
is installed at the base later.)

This also adds `API_ACCESS_MANAGER_EMAIL` to the minimal settings
so that `make pull_translations` can be run using production envs in a
local environment (to test the lack of dependency on developer-level deps.)

This supports OEP-58.
2024-02-22 19:43:30 +00:00
sundasnoreen12
1748d96544 fix: added table tags in allowed tags 2024-02-22 23:53:39 +05:00
David Ormsbee
86f1e5e8aa feat!: Switch v2 libraries to Learning Core data models (#34066)
This moves the Content Libraries V2 backend from Blockstore [1] over to
Learning Core [2] For high-level overview and rationale of this move, see
the Blockstore DEPR [3]. There are several follow-up tasks [4], most notably
adding support for static assets in libraries.

BREAKING CHANGE: Existing V2 libraries, backed by Blockstore, will stop
working. They will continue to be listed in Studio, but their content
will be unavailable. They need to be deleted (via Django admin) or manually
migrated to Learning Core. We do not expect production sites to be in
this situation, as the feature has never left "experimental" status.

[1] https://github.com/openedx-unsupported/blockstore
[2] https://github.com/openedx/openedx-learning/
[3] https://github.com/openedx/public-engineering/issues/238
[4] https://github.com/openedx/edx-platform/issues/34283
2024-02-22 16:38:05 +00:00
Bryann Valderrama
20570ff417 feat: update initialize endpoint and create assessments/feedback endpoint in ORA Staff Grader (#33632) 2024-02-22 10:44:32 -04:00
Maria Grimaldi
bdb3c9f116 refactor: address PR reviews 2024-02-21 15:03:21 -04:00
Maria Grimaldi
acd2a91740 refactor: address PR reviews 2024-02-21 15:03:21 -04:00
Maria Grimaldi
99147d25e7 refactor: address PR reviews 2024-02-21 15:03:21 -04:00
mariagrimaldi
ac62e83958 feat: remove edX branding on account deletion 2024-02-21 15:03:21 -04:00
Attiya Ishaque
3a05fd20c6 refactor: Remove unused code for merchandising 2U LOBs (#34230) 2024-02-20 14:03:10 +05:00
jawad khan
79d692dc92 feat: Add course price in mobile enrollment api (#34255)
* feat: Add course price in mobile enrollment api
2024-02-19 20:49:33 +05:00
Chris Pappas
6353bb2e8e feat: make FA form error messaging more descript (#34247)
* feat: make FA form error messaging more descript

* chore: quality

* fix: split up tests

* fix: make test more specific

* chore: fix comment typo

* chore: fix comment typo
2024-02-16 13:12:40 -05:00
Michael Roytman
95b3e88ba5 temp: add supplemental logging to debug IDV issues (#34248)
This commit adds some supplemental, more verbose logging to the results_callback view in the verify_student Djangoapp. This endpoint is called by identity verification (IDV) providers to POST an IDV review to edX.

We are experiencing issues with receiving IDV reviews from our IDV provider, and these logs will help us diagnose whether there is an issue in edX's systems.

These logs will be removed after our investigation is complete.
2024-02-16 08:48:29 -05:00
ayesha waris
fc86b431af feat: modified author labels to add moderator (#34239)
Co-authored-by: sohailfatima <23100065@lums.edu.pk>
2024-02-15 20:43:30 +05:00
Alejandro Cardenas
d59dbbdfa5 feat: add dismiss button to survey report banner (#34160)
* feat: add dismiss button to survey report banner

* refactor: move banner script to js file

* fix: remove not in conditional
2024-02-15 10:37:23 -05:00
Bryann Valderrama
4c0fba2063 feat: expose hide_from_toc field for course blocks in outline API (#33955)
These changes are part of the effort made to implement https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3853975595/Feature+Enhancement+Proposal+Hide+Sections+from+course+outline
2024-02-15 10:44:28 -04:00
Saad Yousaf
fa66728a67 feat: add discussions MFE to CSRF Trusted origin list for devstack 2024-02-15 17:16:45 +05:00
Cristhian Garcia
5a36fa9163 feat: add open_managed team type (#33672)
Ref: https://openedx.atlassian.net/wiki/spaces/COMM/pages/3885760525/Open+Managed+Group+Type
2024-02-14 11:30:19 -04:00
salmannawaz
f76b6b4e10 Remove bok-choy reference (#34216)
* chore: remove bok-choy references
2024-02-14 09:42:08 -05:00
Régis Behmo
4daf452620 fix!: infinite growth of cache when auto eviction is disabled
See discussion here: https://github.com/overhangio/tutor/pull/984

This is a breaking change that will explicitely set the timeout of
course structure cache entries to 1 week, instead of being unlimited. If
you wish to revert to the former behaviour, you should set
`course_structure_cache["TIMEOUT"] = None`.

The course structure cache keys were previously set with an explicit
timeout of `None` which was overriding the cache default timeout of 2h.
This was OK in environments where the cache is configured with a maximum
memory limit and an automatic key eviction strategy. But in others (such
as Tutor), the course structure cache could grow infinitely.

It was agreed that course structure cache keys should be long-lived but
should respect the default cache structure timeout. Thus, we set here
the TTL to 1 week.

We can also configure Tutor to use a cache eviction policy. But that
means we need to set a `maxmemory` value in Redis. It's not possible to
set a value that will be appropriate for everyone:
- if it's higher than the total memory (e.g: in small instances), server
  will crash before the cache is filled.
- if it's too low (e.g: in large instances), the whole platform will abruptly
  slow down as many cache entries are suddenly evicted.

That question of whether Tutor should define a cache eviction policy is
still under discussion, but it can be resolved independently of this
change.
2024-02-14 08:28:37 -05:00
Zachary Hancock
2f2ed4d6cb feat: send course role events to the event bus (#34158)
Notify the event bus when a user's role in a course is added or removed
2024-02-13 13:16:23 -05:00
salmannawaz
57b480b04f Update all edx-platform REST endpoints to support JWT Auth (#34152)
* chore: update API endpoints to support default JWT auth

The default DRF Auth classes were recently updated to allow for both JWT and Session auth by default. Any endpoint that overrides the AUTHENTICATION_CLASSES but has just session, just JWT or just both of those should be updated to remove the override.

Details in https://github.com/openedx/edx-platform/issues/33662
2024-02-13 10:46:58 -05:00
Zainab Amir
45547ca087 feat: update authn mfe devstack settings (#34221) 2024-02-13 00:53:58 -08:00
Chris Pappas
4a2e7c72b4 chore: add logging to fa form (#34224)
* chore: add logging to fa form

* chore: formatting
2024-02-12 18:28:41 -05:00
Chris Pappas
2e15d69c33 fix: give FA form user friendly error message (#34222) 2024-02-12 16:14:09 -05:00
Chris Pappas
accfdccb7f fix: require email verification on FA form (#34219)
fix: broken test lms/djangoapps/courseware/tests/test_views.py

fix: refactor test
2024-02-12 15:09:19 -05:00
Muhammad Adeel Tajamul
b28db57d88 feat: allow staff and admin to pin posts (#34169) 2024-02-12 14:28:11 +05:00
sundasnoreen12
5023e6901d Merge pull request #34203 from eemaanamir/INF-1230
fix: survey xblock styling issues on mobile app
2024-02-09 13:14:13 +05:00
Agrendalath
21f2e30354 feat: allow disabling user tours
A similar waffle flag was dropped in 20386337.
2024-02-07 17:14:52 +01:00
Nathan Sprenkle
7037c8d27b feat: remove rollout percentage code for learner home (#34198)
This code allowed us to control rollout but is no longer needed.
2024-02-07 15:27:57 +00:00
Eemaan Amir
84ed035298 Merge branch 'openedx:master' into INF-1230 2024-02-07 16:11:36 +05:00
eemaanamir
603d23f958 fix: survey xblock styling issues on mobile app 2024-02-07 16:08:54 +05:00