Commit Graph

23 Commits

Author SHA1 Message Date
Jansen Kantor
8d8ff29d4c fix: don't urljoin empty string (#34516) 2024-04-16 11:30:15 -04:00
Bryann Valderrama
67696699a3 fix: catch permissions error in ora2 initialize API endpoint (#34284) 2024-03-18 12:02:28 -07: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
Dmytro
d65841ac64 fix: ORA response with attached file (for master) (#33677)
The details are described in this discussion: https://discuss.openedx.org/t/ora-grading-returns-error/11482
2024-02-06 09:40:17 -04:00
Usama Sadiq
4dea331486 fix: fix django4 deprecation warnings (#32948) 2023-08-16 11:15:17 +05:00
Leangseu Kim
40613ae3f4 fix: when no option selected, the criteria should try to create 2023-06-07 11:04:19 -04:00
0x29a
9d8375ff99 refactor: rename module -> block within lms/djangoapps/courseware
Also, removed unused `_has_access_xmodule` methid from `lms/djangoapps/courseware/access.py`.
2023-01-30 18:15:22 +01:00
Arunmozhi
d417a7561f refactor: rename ItemFactory to BlockFactory 2023-01-23 14:47:47 +01:00
Kyle McCormick
36e5bd6b35 fix: delete ORA staff grader postman collection (#30704)
This file was originally checked into
edx-platform so that other developers
could import it into Postman (https://postman.com)
in order to easily query the ORA staff grader API.

Unfortunately, it is very large (1.3 MB). This:
* slows down edx-platform shallow cloning,
* increases the minimum edx-platform image size,
* adds noise when text-searching the repo, and
* sets a precedent for other developers to
  check similar files into this repo.
This cost is not justifiable
for a closed-source 3rd-party developer tool.
2022-07-15 10:50:53 -04:00
Nathan Sprenkle
e1c8fb51be feat: add text response type to ora config (#30721)
For staff grader setup, we want to know the response type to do better
rendering of the response. This derives from ORA's text_response_editor
setting and is either "text" (default) or "tinymce".

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-07-12 15:44:24 -04:00
Eugene Dyudyunov
655e4a344f refactor!: update CourseWaffleFlag (#30351)
BREAKING: get rid of the LegacyWaffle-based CourseWaffleFlag.
Both CourseWaffleFlag and FutureCourseWaffleFlag now use the modern
WaffleFlag as parent class. FutureCourseWaffleFlag left to support ORA
transition to modern waffle.

Switch to the ORA version which supporting new Waffles.
2022-05-10 15:08:59 -04:00
Eugene Dyudyunov
8bd43207ca refactor!: switch from LegacyWaffle* to modern waffles (#30330)
This is a first stage for removing the LegacyWaffle* classes.

LegacyWaffleFlag usage replaced with WaffleFlag;
LegacyWaffleSwitche usage replaced with WaffleSwitch;
New CourseWaffleFlag added to the temporary module __future__ as FutureCourseWaffleFlag;
Updated all the imports to use CourseWaffleFlag from the __future__ module;

BREAKING CHANGE: A number of toggle related constants (e.g. ENABLE_ACCESSIBILITY_POLICY_PAGE)
changed types. They were strings, and are now toggle instances (e.g. WaffleSwitch). Although the entire
refactor should be self-contained in edx-platform, if any plugins or dependencies were directly
using these constants, they will break. If this is the case, try to find a better publicized way of
exposing those toggles.
2022-05-05 12:03:10 -04:00
Nathan Sprenkle
2c61a674be feat: get standalone file metadata (#30337)
* chore: fix some typos

* feat: get file metadata for a submission

* docs: update example collection

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-05-02 14:18:18 -04:00
Jansen Kantor
4d18a6c1a0 feat: block team oras from ESG (#30269)
* feat: add teams enabled flag to ORA item view context

* feat: all team ORAs should be marked esg disabled
2022-04-18 15:41:02 -04:00
Jansen Kantor
e653408869 Merge pull request #30177 from openedx/jkantor/init-esg-flag
feat: include ESG enabled flag in init response
2022-04-05 09:56:07 -04:00
jansenk
3c8bc4e5f1 chore: pylint toggle annotation 2022-04-04 17:55:27 -04:00
jansenk
9e716a94c3 style: quality 2022-04-04 16:58:06 -04:00
jansenk
03254ca1bb feat: include ESG enabled flag in init response 2022-04-04 16:23:27 -04:00
Nathan Sprenkle
3fdd3f9150 feat: add batch lock delete endpoint (#30161)
* feat: add batch lock delete endpoint

* chore: bump ORA versions

* docs: update example postman collection
2022-04-04 11:22:22 -04:00
Nathan Sprenkle
c052a1d499 feat: ESG submit grade for teams (#30049)
* refactor: update to new ORA/ESG grading endpoint

* docs: update example Postman collection

* chore: bump ORA versions
2022-03-15 15:16:07 -04:00
Nathan Sprenkle
e86b6fe358 fix: ESG init gradeStatus key (#30009)
* fix: change gradingStatus to gradeStatus in ESG init call
2022-03-03 12:58:14 -05:00
Nathan Sprenkle
6ae626a5d5 feat: ESG logging updates (#29895)
* feat: log exceptions for fall-through exceptions

* chore: remove unused XBlock handler

* refactor: log errors for XBlock handlers

* refactor: log bad ORA locations

* feat: log lock/grade contest errors

* feat: log output data for ESG endpoints

* feat: unpack extra error info from more endpoints
2022-02-11 13:56:25 -05:00
Nathan Sprenkle
1212e3550c feat: ora staff grader backend (#29828)
- Adds Enhanced Staff Grader (ESG) backend-for-frontend (BFF) in `lms/djangoapps/ora_staff_grader`
    - Adds routing to ESG BFF at `{lms_url}/api/ora_staff_grader/*`
    - Adds mock implementation routing at `{lms_url}/api/ora_staff_grader/mock/*`
    - Adds `ORA_GRADING_MICROFRONTEND_URL` setting for routing to ESG microfrontend (MFE)
- Updates to the teams app:
    - Add`get_teams_in_teamset` to the teams API.
    - Add `get_team_names` to teams service.
- Adds `openassessment.staffgrader` app for appropriate ORA migrations.
- Modifies management commands for creation of users.
- Updates test factory to return display org with course overview.

Co-authored-by: jansenk <jkantor@edx.org>
Co-authored-by: Leangseu Kim <lkim@edx.org>
Co-authored-by: Ben Warzeski <bwarzeski@edx.org>
2022-01-31 11:09:41 -05:00