John Eskew
72ce55c8a2
Convert to SharedModuleStoreTestCase
2016-03-01 11:09:18 -05:00
Bill DeRusha
8b28790050
Merge pull request #11699 from edx/bderusha/django-bug-fix-mp
...
Monkey patch django.db.models.options for faster cache expiry
2016-03-01 09:25:01 -05:00
John Eskew
b777530dac
Add SharedModuleStoreTestCase.setUpClassAndTestData() context manager
...
for use when a test class has a setUpTestData() method which uses
variables set up in the setUpClass() method.
Change base teams API test class to use the context manager.
2016-02-29 18:02:57 -05:00
Bill DeRusha
bec6971ae2
Monkey patch django.db.models.options for faster cache expiry
2016-02-29 17:37:17 -05:00
John Eskew
65e26e3ec2
Move user/admin model creation to class level.
...
Wrap whole test with several publish/unpublish in same bulk_op.
2016-02-29 17:20:08 -05:00
John Eskew
14ad8cd78f
SharedModuleStoreTestCase conversion for speedup.
2016-02-29 14:41:17 -05:00
John Eskew
bd4cc57bad
Convert to SharedModuleStoreTestCase
2016-02-29 14:04:24 -05:00
Renzo Lucioni
e0407893ff
Merge pull request #11603 from edx/usman/migrations-setup
...
Update migrations setup during Python unit tests
2016-02-29 13:54:30 -05:00
Usman Khalid
2586f09d7a
Add option to disable migrations when running tests
...
By default, migrations are applied as they always have been. Exporting DISABLE_MIGRATIONS=1 or passing --disable-migrations to Paver commands will create tables directly from apps' models.
2016-02-29 11:47:32 -05:00
Awais Jibran
03585a4842
Merge pull request #11657 from edx/aj/ECOM3688-add-log-in-cert-gen
...
Improve logging in certification generation
2016-02-29 14:47:34 +05:00
David Ormsbee
9984bbc29a
Make Capa problems do initial load without AJAX.
...
Before this commit, calling the student_view on a capa problem would
cause it to render an empty placeholder <div>, wait for the
DOMContentLoaded event to be fired, and then make AJAX requests to the
the problem_get handlers to retrieve the HTML it needed to render the
actual problems. This can significantly increase the end user load
times for pages, particularly when there are many problems in a
vertical.
This commit takes a very conservative approach and has the server side
add the rendered HTML into a new data-content attribute on the <div>
enclosing the problem. When Capa's JS initialization runs, it grabs
from that data-content attribute rather than reaching over the network
for an AJAX request.
I had attempted to make it somewhat smarter and push the rendered
problem straight into the document instead of relying on the
data-content attribute. This was faster, and should be our long term
goal. However, it caused odd bugs, particularly around MathJAX
rendering, and I never quite tracked the issue down. I'm still going
forward with these changes because it's significantly better than the
current situation that students have to deal with, and we can make the
JS more performant in a future iteration.
[PERF-261]
2016-02-26 16:15:07 -05:00
Peter Pinch
3be2737f5b
Merge pull request #11356 from mitocw/gdm_ccx_course_modules_#170
...
Added extra field to CCX model for Course Models
2016-02-25 13:45:15 -05:00
sanfordstudent
c518543cbd
Merge pull request #11602 from edx/sstudent/MA-1919
...
MA-1919 making mobile handout links accommodate jump to id's and cour…
2016-02-25 11:07:58 -05:00
Giovanni Di Milia
0c637cdca9
Added extra field to CCX model for Course Models
...
REST APIs modified
2016-02-25 10:27:39 -05:00
Sanford Student
75a26b62b5
MA-1919 making mobile handout links accommodate jump to id's and course links
2016-02-25 10:20:13 -05:00
John Eskew
e3ddb02cc7
Merge pull request #11586 from edx/jeskew/remove_all_request_dot_request
...
Remove all request.REQUEST usages.
2016-02-25 08:23:12 -05:00
Awais Jibran
d18f3f6c98
Improve logging in cert gen.
...
ECOM-3688
2016-02-25 14:57:31 +05:00
M. Rehan
db5fe13070
Merge pull request #11624 from edx/mrehan/topic-not-found-tnl-4136
...
TNL-4136 fix topic detail endpoint's url to support alphanumeric and period characters in topic ID
2016-02-25 13:13:26 +05:00
Brian Beggs
0251e8e15a
Merge pull request #11545 from mitocw/feature/aq/support_mutiple_instances_ccx_mitocw#175
...
Allow multiple instances of ccx
2016-02-24 21:22:29 -05:00
Ned Batchelder
71e0ce7a0b
Merge pull request #11652 from edx/ned/yaml-safe-load
...
Use yaml.safe_load, since we have no need for the greater power of .load
2016-02-24 20:06:43 -05:00
Michael Frey
860dd1bd5a
Merge pull request #11651 from edx/release
...
Release
2016-02-24 16:15:16 -05:00
Ned Batchelder
a9ab395d43
Use yaml.safe_load, since we have no need for the greater power of .load
2016-02-24 15:36:04 -05:00
Ned Batchelder
ca4729c221
Merge pull request #11650 from edx/ned/update-translations
...
Update translations (autogenerated message)
2016-02-24 14:32:43 -05:00
sanfordstudent
a7d6b13b7e
Merge pull request #11637 from edx/sstudent/MA-1038-permanent-fix
...
MA-1038
2016-02-24 14:01:03 -05:00
Ned Batchelder
d8fbdafd90
Update translations (autogenerated message)
2016-02-24 17:59:51 +00:00
Adam Palay
c63dcf0dfe
render mathjax in svg by default (TNL-4145)
...
mathjax preview should be inline by default
2016-02-24 12:51:30 -05:00
Michael Frey
f1ebee433f
Only allow ecommerce checkout if user is also activated
2016-02-24 11:23:40 -05:00
Michael Katz
fd065c9e8c
Merge pull request #11643 from edx/release
...
Release 2016-02-24
2016-02-24 11:16:16 -05:00
Giovanni Di Milia
7683eadcaf
Modified permission classes for CCX REST APIs
...
Modified how the per object permissions are enforced in the CCX REST APIs
2016-02-24 08:40:07 -05:00
Bill DeRusha
85df4eee4c
Merge pull request #11630 from edx/bderusha/soft-sec-id
...
Do not send initial verification photo_id if new photo_id provided
2016-02-23 14:47:29 -05:00
Sanford Student
3313b755fa
MA-1038
2016-02-23 14:20:51 -05:00
Bill DeRusha
beacf3c93a
Only return unexpired initial verifications.
2016-02-23 13:38:48 -05:00
Bill DeRusha
a1a58db9be
Do not send initial verification photo_id if new photo_id provided
...
ECOM-2888
2016-02-23 13:29:53 -05:00
Michael Frey
90146d9ae0
Only allow ecommerce checkout if user is also activated
2016-02-23 10:11:14 -05:00
Christine Lytwynec
0f66d852c2
Merge pull request #11581 from edx/clytwynec/ac-327
...
Sequence navigation tooltip mechanism updated
2016-02-23 09:28:32 -05:00
Toby Lawrence
acf6c1d609
Merge pull request #11523 from edx/perf/speed-up-slow-user-role-ops
...
Don't blow away the role cache when updating.
2016-02-23 06:55:00 -05:00
Eric Fischer
73fa3190cd
Revert "Inform openassessment to clear submission"
...
This reverts commit 920cc3d222 .
2016-02-22 17:32:44 -05:00
Qubad786
b669765cee
TNL-4136 fix topic detail endpoint's url to support alphanumeric and period characters
2016-02-23 02:39:22 +05:00
Michael Katz
bf5d2034a1
Revert "Added staff role on ccx to staff of master course and added a data migration for existing ccx courses."
...
This reverts commit 91bf48fc8c .
2016-02-22 15:33:01 -05:00
Bound3R
b0b977ba7f
missing change the url path to the sass variable
2016-02-22 15:30:53 -05:00
Christine Lytwynec
3f6b7cb004
Sequence navigation tooltip mechanism updated
2016-02-22 14:13:36 -05:00
Nimisha Asthagiri
03487073aa
Merge pull request #11579 from edx/course_blocks_api/support_substructure
...
Course Blocks API: Support accessing a substructure MA-1604
2016-02-22 13:38:01 -05:00
Omar Khan
a1301ded69
Merge pull request #11544 from open-craft/omar/remove-newrelic-handler
...
Remove newrelic logging handler
2016-02-22 23:56:16 +07:00
Nimisha Asthagiri
70469c16b2
Block Structure API: Replace has_block with __contains__
2016-02-22 11:25:46 -05:00
John Eskew
df261cd5d6
Remove all request.REQUEST usages - replace with request.GET and/or
...
request.POST to eliminate Django deprecation messages.
2016-02-22 09:54:26 -05:00
Amir Qayyum Khan
2ee9105017
Fixes bug where coach with multiple CCXs can't view coach dashboard
2016-02-22 18:59:07 +05:00
Zubair Afzal
040578b315
Merge pull request #11599 from edx/zub/feature-flag-jwt-auth
...
enable jwt auth with feature flag
2016-02-20 03:54:18 +05:00
zubair-arbi
182826261d
enable jwt auth with feature flag
2016-02-20 02:31:51 +05:00
Christine Lytwynec
41febaa875
Merge pull request #11565 from edx/clytwynec/ac-234
...
Remove hgroup usage
2016-02-19 16:06:22 -05:00
Nimisha Asthagiri
4bbe9a2021
Merge pull request #11326 from edx/mobile/remove-dead-code
...
Mobile API: remove unused endpoints
2016-02-19 15:14:13 -05:00