Ned Batchelder
b785690619
Merge pull request #11739 from edx/ned/update-translations
...
Update translations (autogenerated message)
2016-03-03 22:07:25 -05:00
Kevin Falcone
3195a5c3fb
Merge pull request #11722 from edx/jibsheet/remove-hardcoded-ATOMIC_REQUESTS
...
This should not be needed, we specify ATOMIC_REQUESTS on each DB
2016-03-03 16:05:31 -05:00
Ned Batchelder
fd4164de1d
Merge pull request #11737 from edx/release
...
Release ⇒ master
2016-03-03 14:51:29 -05:00
Ned Batchelder
09a220cb43
Update translations (autogenerated message)
2016-03-03 16:10:12 +00:00
David Ormsbee
19d9920b9f
Revert "Merge pull request #11523 from edx/perf/speed-up-slow-user-role-ops"
...
This reverts commit acf6c1d609 , reversing
changes made to c59db6e5fc .
2016-03-02 13:15:17 -05:00
Renzo Lucioni
d481768571
Merge pull request #11691 from edx/jeskew/shared_modulestore_test_case_conversion
...
WIP: Lots of Python unittest speedups
2016-03-01 16:50:27 -05:00
Kevin Falcone
a561367515
This should not be needed, we specify ATOMIC_REQUESTS on each DB
...
There is one DB where we do not want it specified since transactions
on the CSMHE table when we aren't atomic across databases isn't a win.
2016-03-01 14:00:13 -05:00
Kevin Falcone
327cdafccf
Merge pull request #11715 from edx/jibsheet/aws_migrate-ignore-read-replica
...
Don't hardcode student_module_history
2016-03-01 13:12:54 -05:00
John Eskew
80ac3fcca2
Remove the concept of having more than one course export format tagged.
2016-03-01 12:59:59 -05:00
Kevin Falcone
72b4cf377b
Don't hardcode student_module_history
...
aws_migrate may be used on boxes where that DB does not yet exist.
2016-03-01 11:56:11 -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
clrux
650c95f9c3
Merge pull request #11501 from edx/clrux/ac-328-uxpl
...
AC-328 adding UXPL classnames to headings
2016-03-01 07:23:07 -05:00
Bill DeRusha
bec6971ae2
Monkey patch django.db.models.options for faster cache expiry
2016-02-29 17:37:17 -05:00
Renzo Lucioni
447eb4c2a7
Speed up course listing tests
...
This test was creating 500 courses in about 2.5 minutes. Creating 10 courses instead allows the test to execute in 7 seconds.
2016-02-29 17:04:52 -05:00
Chris Rodriguez
c619e1ec6b
Adding UXPL classnames to headings
2016-02-29 15:43:17 -05:00
Kevin Falcone
b4ac588ce1
Update reset-test-db.sh for bok-choy
...
This now correctly migrates and dumps files for both databases.
Run lettuce migrations for both databases
2016-02-29 13:59:29 -05:00
Kevin Falcone
6f9a3911e5
Implement a BaseStudentModuleHistory
...
This abstract class contains most of the fields (aside from the id and
foreign key to StudentModule that the subclasses need to manage). It
also provides a get_history method that abstracts searching across
multiple backends.
Move router code to openedx/core
We need to use it from cms and lms.
Ensure aws_migrate can be used for migrating both the lms and cms.
Handle queries directed to student_module_history vs default and the
extra queries generated by Django 1.8 (SAVEPOINTS, etc).
Additionally, flag testing classes as multi_db so that Django will
flush the non-default database between unit tests.
Further decouple the foreignkey relation between csm and csmhe
When calling StudentModule().delete() Django will try to delete CSMHE
objects, but naively does so in the database, not by consulting the
database router.
Instead, we disable django cascading deletes and listen for post_delete
signals and clean up CSMHE by hand.
Add feature flags for CSMHE
One to turn it on/off so we can control the deploy.
The other will control whether or not we read from two database tables
or one when searching.
Update tests to explicitly use this get_history method rather than
looking directly into StudentModuleHistory or
StudentModuleHistoryExtended.
Inform lettuce to avoid the coursewarehistoryextended app
Otherwise it fails when it can't find features/ in that app.
Add Pg support, this is not tested automatically.
2016-02-29 13:59:27 -05:00
Calen Pennington
dd90c55602
Create a new CSMHExtended table to hold our new data
...
This is a clone (copy) of CSMH's declaration and methods with an added
id of UnsignedBigInAutoField
We should be able to delete the save_history code, but needs testing.
Add error logging when capa failures happen
Put StudentModuleHistory into its own database
Bump out the primary key on CSMHE
This gives us a gap to backfill as needed.
Since the new table's pk is an unsigned bigint, even for people who don't
consolidate CSMH into CSMHE, the lost rows are unlikely to matter.
Remove StudentModuleHistory cleaner
2016-02-29 13:58:39 -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
Mushtaq Ali
3dc73c655b
Display studio name properly on empty course page.
2016-02-29 17:11:55 +05:00
Braden MacDonald
cfa7cd3d87
Revert "Pass DOM element, not jQuery object to XBlock initialisation."
2016-02-26 09:06:13 -08:00
Mushtaq Ali
78b6983666
Merge pull request #11597 from edx/mushtaq/ECOM-3760-fix-self-paced-subsection-config
...
Fix subsection config for self-paced course
2016-02-25 20:50:07 +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
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
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 Katz
fd065c9e8c
Merge pull request #11643 from edx/release
...
Release 2016-02-24
2016-02-24 11:16:16 -05:00
Mushtaq Ali
2da452b839
ECOM-3760 fix editors not showing up on subsection config popup for self-paced course
2016-02-24 00:35:05 +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
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
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
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
Mushtaq Ali
689bb73b84
Merge pull request #11551 from edx/mushtaq/fix-tnl4006
...
Studio homepage escaping
2016-02-18 22:52:01 +05:00
Nimisha Asthagiri
fa8ca11d8c
Remove unused Mobile Social Facebook endpoint
2016-02-18 12:12:04 -05:00
Mushtaq Ali
7a9991e95c
Studio homepage escaping
2016-02-18 21:10:21 +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
Bill DeRusha
b686abc18d
Disable mailchimp integration for most segment identify requests
2016-02-17 17:10:48 -05:00
Ned Batchelder
6c3ae8245f
Update translations (autogenerated message)
2016-02-17 20:12:36 +00:00
Christine Lytwynec
57b7034e5b
Remove hgroup usage
2016-02-17 12:05:15 -05:00
clrux
21aa7edd1c
Merge pull request #9909 from edx/clrux/ac-179
...
AC-179 fixing skip links
2016-02-17 09:09:27 -05:00
Mushtaq Ali
b94204a8a4
Merge pull request #11452 from edx/mushtaq/ECOM-3615-fix-self-paced-scheduled-content
...
Fix self paced course content visiblity
2016-02-17 18:59:41 +05:00
Chris Rodriguez
2a4e141e0e
LMS: fixing skip links and adding a11y tests
2016-02-17 07:46:42 -05:00