Usama Sadiq
4734f9f16e
fix: bump pylint version ( #31084 )
2022-10-27 12:19:09 +05:00
Sagirov Evgeniy
42adcaaf4d
FC-0001: Remove Persistent Course Grades Flags ( #30978 )
...
* feat: revert Fix certificate generation without persistent grades
* feat: Remove Persistent Course Grades Flags
* test: update tests
2022-09-14 14:00:01 -04:00
connorhaugh
45c2858d61
Revert "feat: FC-0001 Remove Persistent Course Grades Flags ( #30540 )" ( #30744 )
...
This reverts commit 4a9243ef9f .
2022-07-19 13:45:31 -04:00
Sagirov Evgeniy
4a9243ef9f
feat: FC-0001 Remove Persistent Course Grades Flags ( #30540 )
...
* feat: revert Fix certificate generation without persistent grades
* feat: Remove Persistent Course Grades Flags
* test: update tests
2022-07-19 11:30:37 -04:00
muhammad-ammar
3f294eca1e
feat: fire follow up event for first time passed learners
2022-07-15 15:54:29 +05:00
muhammad-ammar
80e4b6a165
feat: update segment events data for passed and failed learners
2022-06-21 23:48:00 +05:00
muhammad-ammar
60c94ea8ca
chore: add more logs in send_segment_events_for_failed_learners command
2022-06-09 16:52:17 +05:00
muhammad-ammar
c0a5dac128
feat: send segment event for failed learners for a course
2022-06-08 13:51:13 +05:00
Jawayria
b33996d24e
chore: Applied lint-amnesty on lms/djangoapps/grades ( #29400 )
2021-12-21 13:37:15 +05:00
Maria Grimaldi
54627e1101
refactor: replace User for UserFactory and its methods
...
This change is done so the profile is automatically created for tests users
2021-08-30 11:03:49 -04:00
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
Calen Pennington
2714da86a4
Always import task packages by absolute paths
...
This follows the recommendation in the Celery documentation so as to
not confuse automatic task name generation.
Docs: https://docs.celeryproject.org/en/stable/userguide/tasks.html#automatic-naming-and-relative-imports
2020-10-08 14:10:17 -04: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
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Braden MacDonald
8a2d499dd2
Track grades for Blockstore content, emit tracking logs
2019-09-25 10:42:55 -04:00
Awais Qureshi
a4428d751d
BOM-422
...
Fixing python3
2019-09-17 19:00:05 +05: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
1bb134b043
Changed comment in recalculate_learner_grades
2018-05-18 14:46:50 -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
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
Nimisha Asthagiri
f8e3a3c461
Grades Cleanup
...
EDUCATOR-1405
EDUCATOR-1451
2017-10-02 19:03:26 -04:00
Nimisha Asthagiri
b2c6a53448
Grades cleanup: remove no longer needed management commands
...
EDUCATOR-178
2017-09-22 09:18:43 -04:00
cahrens
819a56fee3
Remove usages of deprecated SlashSeparatedCourseKey.
2017-08-14 11:01:00 -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
Gregory Martin
77b2229210
GradingPolicyChanged Signal Handler
...
https://openedx.atlassian.net/browse/EDUCATOR-393
2017-05-31 10:46:55 -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