M. Zulqarnain
e505d99237
pyupgrade on lms gating and grades apps ( #26532 )
2021-02-22 12:58:41 +05:00
Aarif
906b6f7fed
replaced unittest assertions pytest assertions (19) ( #26545 )
2021-02-18 18:00:30 +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
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
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
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
Nimisha Asthagiri
b73e0d8120
Grades python-3 upgrade: test_recalculate_learner_grades.py
2019-09-28 11:39:26 -04:00
Braden MacDonald
8a2d499dd2
Track grades for Blockstore content, emit tracking logs
2019-09-25 10:42:55 -04:00
Stu Young
5e20a0b0bb
incr-313 ( #20612 )
...
* run python modernize
* run isort
* move imports together
2019-05-15 15:11:03 -04:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Jeremy Bowman
d961f9658e
TE-2786 Fix grade computation test assertions
2018-10-19 17:17:38 -04:00
Sofiya Semenova
2baadff28c
Management command to force enrollment regrade
2018-05-15 15:11:32 -04:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
Nimisha Asthagiri
b2c6a53448
Grades cleanup: remove no longer needed management commands
...
EDUCATOR-178
2017-09-22 09:18:43 -04:00
Tyler Hallada
3cefec63f6
Fix python unit tests
2017-08-04 17:54:53 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
sanfordstudent
78d8895880
Merge pull request #15138 from edx/sstudent/recalculate_for_date_range
...
recalculate for date range mgmt command
2017-05-22 15:01:53 -04:00
Sanford Student
78edd8522d
add command
2017-05-22 10:30:37 -04:00
J. Cliff Dyer
1b94666c70
Use mock's ANY
2017-05-16 14:18:19 -04:00
J. Cliff Dyer
7127ab863f
Use a stable ordering for shuffled tasks.
2017-05-16 12:37:51 -04:00
J. Cliff Dyer
1daa4eadd5
Shuffle tasks.
2017-04-28 14:19:21 -04:00
J. Cliff Dyer
77f5e2dd00
Fix batch size error and kwargification of compute_v2.
2017-04-26 16:30:27 -04:00
J. Cliff Dyer
8e409800fe
Fix calling convention for celery options
2017-04-26 09:35:15 -04:00
Nimisha Asthagiri
6cdfeb98cb
Merge pull request #14946 from edx/neem/refactor_grades_misc
...
Grades API misc cleanup
2017-04-25 10:14:25 -04:00
Nimisha Asthagiri
16114f585b
Miscellaneous grades code cleanup - pending from previous PRs
2017-04-24 17:58:18 -04:00
J. Cliff Dyer
7c3248f95c
Allow specifying waffle switch on compute_grades
...
If --estimate_first_attempted is passed, it can force enabling or
disabling the ENABLE_FIRST_ATTEMPTED waffle switch.
TNL-6841
2017-04-20 15:18:09 -04:00
J. Cliff Dyer
4f6d5d9ce9
Estimate creation time for subsections grades based on timestamp of
...
incoming scores.
TNL-6697
2017-04-18 16:51:17 -04:00
Sanford Student
bdc0b33cb4
add settings for compute grades command
2017-03-29 17:07:44 -04:00
J. Cliff Dyer
b89736c75c
Add compute_grades management command.
...
TNL-6689
2017-03-21 14:47:33 -04:00
Sanford Student
c4461191bc
reset grades management command choose database
2017-02-21 16:00:33 -05:00
Nimisha Asthagiri
05087bfac2
Management command to Reset Grades
...
TNL-6251
2017-01-10 15:26:52 -05:00