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
Ben Patterson
9e4f14f1be
Revert "Registration: don't require terms of service if checkbox is hidden"
2016-02-29 12:08:09 -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
Omar Khan
23a0a6d41a
Merge pull request #11644 from open-craft/omar/hide-tos
...
Registration: don't require terms of service if checkbox is hidden
2016-02-29 23:15:56 +07:00
Muddasser
bc2914eef4
Merge pull request #11655 from edx/muddasser-chrome-bokchoy-test_can_add_remove_allowance
...
Test should wait for ajax calls to finish before checking the changes
2016-02-29 18:46:08 +05:00
raeeschachar
f09e9f020c
Merge pull request #11672 from edx/raees/chrome-bokchoy-test-cancelling-redirects
...
Fixed test_cancelling_redirects failing on Chrome
2016-02-29 11:28:25 +05:00
Ben Patterson
953014cfb2
Merge pull request #11604 from edx/benp/lettuce-browser
...
Dev user should be able to specify LETTUCE_BROWSER.
2016-02-27 09:14:11 -05:00
Carol Tong
049fbb18fd
Merge pull request #11668 from edx/carol/DOC-2703
...
DOC-2703: replace instances of “courseware” in Advanced Settings help
2016-02-26 17:33:33 -05:00
David Ormsbee
13682e4694
Cache edxmako request context computation.
...
When capa problem rendering was moved to happen inline on courseware
page loads, we started executing many more Mako templates on sequences
with large numbers of thse problems. To help offset this, we're caching
the context generation (it showed up as the easiest piece of low
hanging fruit on profiles of the courseware index page).
[PERF-261]
2016-02-26 16:15:07 -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
Carol Tong
cc0c577884
Replace instances of courseware in Advanced Settings help with "course"
2016-02-26 15:20:29 -05:00
Matt Drayer
890d1bfd66
Merge pull request #11505 from eduNEXT/fmo/condition_microsite_enable_pre
...
Use has_configuration_set() during microsite initialization
2016-02-26 14:26:26 -05:00
Felipe Montoya
2c7ddb1d15
Delegating the conditional to the has_configuration_Set method, which is overriden by the database backend, so the enable_pre_startup works well for both backends.
...
Adding tests
Fix quality issues
2016-02-26 12:11:44 -05:00
Braden MacDonald
cfa7cd3d87
Revert "Pass DOM element, not jQuery object to XBlock initialisation."
2016-02-26 09:06:13 -08:00
raeeschachar
b4cbc66d96
Fixed test_cancelling_redirects failing on Chrome
2016-02-26 21:12:32 +05:00
Ben Patterson
34e41449c7
Clean up based on feedback.
2016-02-26 09:26:04 -05:00
Ben Patterson
9513107857
Dev user should be able to specify LETTUCE_BROWSER.
2016-02-26 09:26:03 -05:00
Eric Fischer
97ac2845c1
Fix for LoginFailure.MultipleObjectsReturned in is_user_locked_out (replay)
...
The get_or_create function is vulnerable to race conditions in MySQL, which can
cause the model LoginFailure to, in some cases, have more than one row for the
same user, breaking the login for that user.
Addinf functionality to expect and clean the error by deleting extra rows (by
oldest lockout date), leaving just one entry and allowing the user to login.
Replayed and squashed by @efischer19, initially commited by @laq
2016-02-25 12:03:28 -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
Muddasser
1e8163e283
Test should wait for ajax calls to finish before checking the changes
2016-02-25 12:43:08 +05:00
Michael Frey
860dd1bd5a
Merge pull request #11651 from edx/release
...
Release
2016-02-24 16:15:16 -05: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
Adam Palay
2cb48742b2
mark discussion deletion test as flaky
2016-02-24 12:51:09 -05:00
Michael Frey
f1ebee433f
Only allow ecommerce checkout if user is also activated
2016-02-24 11:23:40 -05:00
Omar Khan
e461374973
Registration: don't require terms of service if checkbox is hidden
2016-02-24 16:18:32 +07:00
Awais Jibran
d114be732f
Merge pull request #11514 from attiyaIshaque/ai/tnl4067-auto-register-course
...
User automatically registered to course.
2016-02-24 11:24:58 +05:00
Adam Palay
aaaba4708d
add timeout to lettuce test to reduce flakiness
2016-02-23 12:40:49 -05:00
Michael Frey
90146d9ae0
Only allow ecommerce checkout if user is also activated
2016-02-23 10:11:14 -05:00
Ben Patterson
1ba360d987
Merge pull request #11629 from edx/benp/TNL-4151-flaky-test
...
Flag test as flaky. See TNL-4151.
2016-02-23 10:05:33 -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
Your Name
b1751e70c3
User automatically registered to course.
2016-02-23 19:07:19 +05:00
Ben Patterson
a11ca6cd91
Merge pull request #11618 from edx/benp/library-test-flaky-fix
...
Ensure test waits for the library list to populate before continuing.
2016-02-23 08:51:22 -05:00
Ben Patterson
de45c0d36d
Flag test as flaky. See TNL-4151.
2016-02-23 08:20:06 -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
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
Alison Hodges
364463160f
Merge pull request #11589 from edx/ahodges/DOC-2717
...
Fixes DOC-2717 for Jennifer
2016-02-22 13:14:30 -05:00
Alison Hodges
5e62e937d6
Fixes DOC-2717 for Jennifer
2016-02-22 12:26:11 -05:00
Ben Patterson
3afc2a9fa7
Ensure test waits for the library list to populate before continuing.
2016-02-22 10:01:03 -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
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
Adam
4dbcf9a1d3
Merge pull request #11587 from edx/release
...
Release
2016-02-18 17:19:29 -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
fa8ca11d8c
Remove unused Mobile Social Facebook endpoint
2016-02-18 12:12:04 -05:00
Zia Fazal
e8ccc2f3e5
Merge pull request #11076 from CredoReference/render-lms-main-navigation-with-template
...
Render lms main navigation (tabs) with template
2016-02-18 11:21:16 +05:00
Bill DeRusha
b686abc18d
Disable mailchimp integration for most segment identify requests
2016-02-17 17:10:48 -05:00
vkaracic
f58c2cd6b0
Otto checkout flow
2016-02-17 15:04:19 -05:00