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
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
Christine Lytwynec
a2645b639a
Change .heading-group>h2 to .heading-group>p
2016-02-19 13:48:14 -05:00
Adam
4dbcf9a1d3
Merge pull request #11587 from edx/release
...
Release
2016-02-18 17:19:29 -05:00
Eric Fischer
920cc3d222
Inform openassessment to clear submission
...
The openassessment xblock stores some information that assumes
a given student module is never cleared, it needs to be informed of
this operation.
2016-02-18 15:41:13 -05:00
Michael Frey
5903ef832c
Merge pull request #11584 from edx/release
...
Merging release back to master
2016-02-18 14:55:25 -05:00
Matjaz Gregoric
f4e462c728
Merge pull request #11316 from open-craft/remove-django-template-loaders
...
Remove default django template loaders.
2016-02-18 20:38:47 +01:00
Adam Palay
e57487db83
update mathjax to 2.6 (TNL-4104) and (TNL-4094)
...
update mathjax class names to support common html, html-css, and svg
2016-02-18 14:13:34 -05:00
Nimisha Asthagiri
c088df0835
Remove unused Mobile latest_updates field
2016-02-18 12:12:05 -05:00
Nimisha Asthagiri
deb9148f64
Remove unused Mobile CourseBlocksAndNavigation endpoint.
2016-02-18 12:12:05 -05:00
Nimisha Asthagiri
fa8ca11d8c
Remove unused Mobile Social Facebook endpoint
2016-02-18 12:12:04 -05:00
Peter Pinch
dcb04cb092
Merge pull request #10877 from mitocw/enhancement/aq/add_master_course_staff_in_ccx
...
Added staff and instructor roles on ccx to all the staff and instructors of the master course plus fixed view as student masquerade and display name of ccx on coach dashboard
2016-02-18 11:09:37 -05:00
Nimisha Asthagiri
d969f48646
Course Blocks API: Support accessing a substructure MA-1604
2016-02-18 10:03:58 -05:00