M. Zulqarnain
e505d99237
pyupgrade on lms gating and grades apps ( #26532 )
2021-02-22 12:58:41 +05:00
M. Zulqarnain
0213fde968
BOM-2281 : Pylint amnesty for grades,gating and instructor app ( #26343 )
...
* pyint amnesty for grades,gating and instructor app
2021-02-03 18:14:35 +05:00
Muhammad Soban Javed
f62b1c417b
replaced task decorator with shared_task decorator ( #25925 )
2021-01-07 19:46:34 +05:00
Muhammad Soban Javed
bd601cf3a6
Update celery routing for celery 4+ ( #25567 )
...
* Update celery routing
- Used routing function instead of class
- Move task queues dictionary to Django settings
- Removed routing_key parameter
- Refactored routing for singleton celery instantiation
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2020-12-16 13:40:47 +05:00
Robert Raposa
8eef18710d
set code_owner for celery tasks
...
ARCHBOM-1260
Co-authored-by: Tim McCormack <tmccormack@edx.org >
2020-11-17 15:33:33 -05:00
Awais Qureshi
7201edb11d
Revert "Update routing config" ( #25536 )" ( #25549 )" ( #25553 )" ( #25561 )
...
This reverts commit db4c3b1210 .
2020-11-11 00:13:47 +05:00
Awais Qureshi
db4c3b1210
Revert "Revert ""Update routing config" ( #25536 )" ( #25549 )" ( #25553 )
...
This reverts commit c1fe3c3a93 .
2020-11-10 23:23:09 +05:00
Kyle McCormick
151bd13666
Use full names for common.djangoapps imports; warn when using old style ( #25477 )
...
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Muhammad Soban Javed
c1fe3c3a93
Revert ""Update routing config" ( #25536 )" ( #25549 )
...
This reverts commit 39a22734c1 .
2020-11-09 23:43:47 +05:00
Awais Qureshi
39a22734c1
"Update routing config" ( #25536 )
...
* Revert "Revert "Update routing config"
* Removed settings from lms/celery.py and cms/celery.py
* Moved settings import from top-level to function's scopes
Co-authored-by: Soban Javed <iamsobanjaved@gmail.com >
2020-11-09 19:06:55 +05:00
Muhammad Soban Javed
5a2ea1f954
Revert "Update routing config"
2020-11-06 02:05:48 +05:00
Soban Javed
3206d9cb9a
Update celery routing
...
- Used routing function istead of class
- Move task queues to Djano settings
- Removed routing_key parameter
2020-11-02 15:03:53 +05:00
Tim McCormack
f29e418264
Revert "Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )" ( #25025 )" ( #25055 )
...
This reverts commit 986a448d9e .
2020-09-28 13:53:57 +00:00
Ahtisham Shahid
986a448d9e
Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )" ( #25025 )
...
This reverts commit ba9ee4e151 .
Fixed Style lint issue
2020-09-21 13:48:00 +05:00
Tim McCormack
ba9ee4e151
ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )
...
This uses the new names introduced in edx-django-utils
3.8.0 (edx/edx-django-utils#59 ), which we're already using, as
well as updating a few other locations where we incorrectly refer
to New Relic custom metrics instead of custom attributes.
Includes a couple of unrelated lint fixes in a file I modified.
2020-09-18 13:33:50 +00:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Jeremy Bowman
e0a22db806
Fix Python 3 bug in LTI stub server BOM-1006 ( #22260 )
2019-11-08 08:42:56 -05:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
uzairr
64fa5041f2
Python-modernize on edx-platform (336 of 380)
...
After executing python-modernize and isort, few changes
occurred in import sequence as well as unicode func is
replaced by six.text_type func.
INCR-439
2019-07-10 18:27:23 +05:00
Dave St.Germain
cb5ec5a65d
Grade api support for bulk grading
2019-06-03 13:53:30 -04:00
Dave St.Germain
0573b2e4d4
Grade runtime service support for Staff Graded Points
2019-05-16 10:21:46 -04:00
noraiz-anwar
eeb89c457d
pass grade feeze info to xblocks
2019-04-10 19:21:26 +05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
rabiaiftikhar
aeca12ba7b
EDUCATOR-3668 remove temporary logs
2019-01-02 17:26:14 +05:00
Simon Chen
cbffeedb07
Add grades_frozen flag to grading info api for Gradebook
2018-12-11 08:33:22 -05:00
rabiaiftikhar
14ed80a488
EDUCATOR-3668 add temperory logs
2018-11-08 02:46:39 +05:00
Alex Dusenbery
0aa0b4d28d
EDUCATOR-3630 | Check if grades are frozen before processing gradebook POST request.
2018-10-30 16:22:07 -04:00
Alex Dusenbery
c11a2c0a6e
EDUCATOR-3471 | Add a grade override bulk update view.
2018-10-25 14:52:12 -04:00
Nimisha Asthagiri
ddafbb0d29
POC: Stop-gap implementation to freeze grades.
2018-10-04 08:13:35 -04:00
Robert Raposa
99c9eb7343
Migrate to edx-django-utils monitoring.
...
ARCH-220
2018-08-17 15:39:04 -04:00
Awais Jibran
e274308396
Update the initial try delay to reduce the occurance of this DatabaseNotReadyError due to replica lag.
...
EDUCATOR-3004
2018-06-13 11:09:16 +05:00
Alex Dusenbery
9bbd424a7d
Make recalculate_course_and_subsection_grades_for_user task logged.
2018-05-16 11:34:53 -04:00
Alex Dusenbery
ef477ee2a4
LEARNER-5123 | Cache VisibleBlocks per course AND user, only fetch the ones the user needs for subsection scoring.
2018-05-14 13:44:56 -04:00
Alex Dusenbery
2d4dd3750b
LEARNER-5123 | Hotfix - don't regrade everything for a user in a course with too many visible blocks.
2018-05-10 14:49:15 -04:00
Albert St. Aubin
fade1fb3f1
Correction for incorrect conditional error logic and wrong channel
...
[LEARNER-5123]
2018-05-10 07:51:48 -04:00
Albert St. Aubin
4e0b3d3b2e
Correctly passing course key in the JSON object to async
...
[LEARNER-5123]
2018-05-09 09:57:27 -04:00
Albert St. Aubin
787653e793
Moving the update course and subsection grades to async task
...
[LEARNER-5123]
The update course and subsection grades method was causing a DB lock
on other requsets. This should be performed in the background and given
its own async task.
2018-05-08 09:43:12 -04:00
Sanford Student
3f91238564
rate limit
2018-04-26 15:06:29 -04:00
Nimisha Asthagiri
549f4b661e
Schedules: Add celery task logging
2017-12-04 14:16:27 -05:00
Alex Dusenbery
1ea419c2c4
EDUCATOR-1428 | Add time_limit to course/subsection grading tasks.
2017-10-17 15:28:01 -04:00
Nimisha Asthagiri
f8e3a3c461
Grades Cleanup
...
EDUCATOR-1405
EDUCATOR-1451
2017-10-02 19:03:26 -04:00
Nimisha Asthagiri
083ccdb95a
Remove unneeded WRITE_ONLY_IF_ENGAGED waffle switch
2017-09-25 16:13:07 -04:00
Nimisha Asthagiri
22edaf7d24
Grades: move out of temporary new folder
...
EDUCATOR-1400
2017-09-22 11:49:46 -04:00
Sanford Student
2d3e9dd12c
account for delete state in grading code
2017-08-30 13:20:52 -04:00
Tyler Hallada
623ea5eb40
Merge branch 'master' into EDUCATOR-926
2017-08-09 11:22:05 -04:00
Alex Dusenbery
aafd4d9c61
Turn down grades logging; put policy change regrade behind a waffle killswitch.
2017-08-03 14:06:17 -04:00
Tyler Hallada
e4a9bef8d5
Trigger recalculate subsection, undo override
2017-07-27 18:27:56 -04:00
Sanford Student
66fdd2fbd3
EDUCATOR-915: force subsection grades to update when course grade updates
2017-07-21 13:07:21 -04:00
Alex Dusenbery
6919fc8ce8
Use kwargs right.
2017-07-12 12:51:42 -04:00