Waheed Ahmed
a6a69224d1
Ratelimit login_user endpoint.
...
Ratelimited `login_user` endpoint using `django-ratelimit`, also
decreased default value of logistration rate limit to 100 requests
per five minutes per IP.
PROD-1877
2020-07-08 15:36:11 +05:00
Nimisha Asthagiri
80ea0a61f0
instructor_task: remove shoppingcart (DEPR-43)
2020-06-29 10:28:26 -04:00
Awais Jibran
5d4df5383b
Change switch to waffle flag.
2020-06-15 15:15:10 +05:00
Diana Huang
c7bd5a8a15
Remove more references to fix tests.
2020-06-09 13:06:44 -04:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Alex Dusenbery
f40bb34ce7
For course grade and problem grade reports, clear course enrollment caches after each batch of users is processed.
2020-04-20 14:19:54 -04:00
SaadYousaf
297a114d6e
remove unneccesary log.
2020-04-15 15:12:46 +05:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +05:00
Awais Jibran
ac49d4fd99
Pass course structure to CourseGradeFactory.iter
2020-04-07 18:02:15 +05:00
SaadYousaf
738dbae563
add investigation logs.
2020-04-03 21:13:53 +05:00
SaadYousaf
3c1f7ec5e9
add logs to optimized ProblemGradeReport code.
2020-04-02 14:39:43 +05:00
SaadYousaf
8c4ae15766
remove flaky test.
2020-04-01 15:46:20 +05:00
SaadYousaf
6fb9d199a0
optimize code for problem_grade_report.
2020-03-30 20:33:49 +05:00
Saad Yousaf
a458491f04
Revert "[PROD-1287] - initial work to optimise problem_grade_report code."
2020-03-30 19:05:54 +05:00
SaadYousaf
4e4bffe404
initial work to optimise problem_grade_report code.
2020-03-30 13:14:01 +05:00
Awais Jibran
65094cbf35
Handle deprecation warn by importing right class.
...
2900k/ last 7 days
2020-03-13 21:50:40 +05:00
Dave St.Germain
a5b0f71108
Several optimizations for improving vertical rendering performance.
2020-02-20 11:41:21 -05:00
Awais Jibran
d7d258cd36
Generate grade report for verified learnes by default
2020-01-28 14:04:02 +05:00
Zulqarnain
644a1fc0a6
Change deprecated methods signatures
2020-01-21 16:33:37 +05:00
Awais Qureshi
220cab965f
BOM-1126
...
Removing the moto from repo.
2020-01-15 22:34:13 +05:00
Calen Pennington
151b309225
Convert custom storage subclasses into mixins so that we can store to either the filesystem or S3
2020-01-02 14:49:19 -05:00
Calen Pennington
0ee1c2f05a
Remove S3ReportStorage, because S3BotoStorage already handles a custom_domain argument
2020-01-02 10:25:53 -05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -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
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Feanil Patel
640e8cc9c8
Only store bytes to s3 via boto2.
...
https://github.com/boto/boto/issues/2868
In python 3 contentfile can act like a file but return unicode strings.
Boto doesn't like that and it causes issues when encoding the bytes for
transfer to s3.
2019-12-20 11:57:32 -05:00
Troy Sankey
22f8b65228
Add history to GeneratedCertificate
...
DE-1881
2019-12-17 17:50:25 +05:00
Awais Jibran
fb4b46c12c
Code Refactor for Course Grade Report
2019-11-15 12:30:15 +05:00
Awais Jibran
b2805a92e6
Fixes Course Grade Report.
...
This PR implements a waffle flag for generating course grade report only for verified learners.
2019-11-13 15:14:02 +05:00
Kyle McCormick
4f3262a40b
Remove most references to old teams config scheme ( #22238 )
...
This is a follow up from MST-16, which was commited
in 3858036a4e .
Changes:
* Enrich course teams_configuration from a plain Dict
to a custom XBlock field that uses the new TeamsConfig
wrapper class.
* Remove teams_conf property from course, as the previous
change made it redundant.
* Update teams_enabled implementation.
* Remove teams_max_size field from course, which is
no longer semantically correct, as max team size
is now defined on a teamset level.
* Remove teams_topics in order to discourage use of raw
teams config dict.
* Add convenience properties teamsets and teamsets_by_id
to course.
* Allow periods and spaces in teamset IDs to avoid breaking
existing course teams.
Some parts of the code still use the old raw config data
(identifiable by searching "cleaned_data_old_format"),
which we expect to be slowly factored away as we build
new teams features. MST-40 has been created to remove any
remaining references if necessary.
MST-18
* fix: bokchoy test
* fix: remove pdb break
2019-11-06 20:43:32 -05:00
aarif
8c4a31bf3a
updated the csv reader to make the csv output compatible across both python versions
...
updated the csv reader to make the csv output compatible across both python versions
added the encoding argument to unicodecsv.DictReader method
updated the csv file read process to accomodate different input types
changes made to fix issues with UniversalNewLineIterator
changes made as suggested
changes made as suggested
changes made to fulfill quality check requirement to pass quality check
minor changes
2019-11-04 15:09:12 +05:00
atesker
c007499a54
PROD-826 - Add CourseWaffleFlag that restricts the set of ProblemGradeReport enrollees to only verified learners.
...
cr comments
added unit test
removed debug
style
2019-10-27 15:23:47 -04:00
Awais Jibran
ac9a7055b5
Improve logging against Probelm grade report
2019-10-24 16:40:41 +05:00
Jeremy Bowman
b939791fe0
Fix problematic mock in instructor_task tests BOM-403 ( #22007 )
2019-10-11 15:44:42 -04:00
Nimisha Asthagiri
beb95eb69c
Python 3: assertIn -> assertContains consistency
2019-09-30 08:51:01 -04:00
Alex Dusenbery
bf77974297
EDUCATOR-4684 | The instructor course grade report should take subsection grade overrides into account.
2019-09-27 11:55:41 -04:00
Ned Batchelder
58828da55b
Fix patches to use proper courseware imports
2019-09-26 10:53:55 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
Jeremy Bowman
553d35e53e
Upgrade mock BOM-596 ( #21717 )
2019-09-24 10:14:17 -04:00
Ayub khan
8133b82d3c
BOM-432
...
python3 compatibility
2019-09-18 16:44:27 +05:00
Awais Qureshi
d1de513cdf
BOM-410
...
Fixing python3
2019-09-11 15:18:30 +05:00
Ayub khan
df45007ce8
BOM-235
...
python3 compatibility
2019-09-05 16:32:57 +05:00
Ayub khan
8e71206312
BOM-96
...
-fixes all issues
2019-09-02 13:30:33 +05:00
arbisoft
5a2114ac6c
BOM-114
...
python2 tests failures.
2019-08-30 14:02:24 +05:00
noraiz-anwar
ffeff8db3d
check for too long data in task_input field
2019-08-27 15:39:30 +05:00
Ayub
85be57b64a
Merge pull request #21397 from edx/BOM-95
...
BOM-95
2019-08-22 12:41:08 +05:00
Uzair Rasheed
93a2259ec2
Merge pull request #21321 from edx/PROD-491/beta-tester-access-earn-cert
...
Beta tester doesn't allow to earn cert
2019-08-21 18:50:05 +05:00