Commit Graph

14212 Commits

Author SHA1 Message Date
Vik Paruchuri
9acc592279 Comments for hotkeys 2013-04-16 10:23:08 -04:00
Jay Zoldak
f0fb77845e Merge pull request #1856 from MITx/fix/will/pep8-fixes
Pep8 fixes for drag and drop tests
2013-04-16 06:48:44 -07:00
Don Mitchell
9ac85b43b1 Merge pull request #1857 from MITx/fix/cdodge/violation-fixes
more cleanups in CMS project
2013-04-16 06:11:33 -07:00
Brian Wilson
7486e0f637 cope with ErrorModule as source (or required) module, and add tests. 2013-04-16 01:00:46 -04:00
jmclaus
edfa456483 Grading works when sequence is loaded from saved state 2013-04-15 14:05:39 +02:00
ichuang
5f74ccd1a0 use ENABLE_MASQUERADE in masquerade.py 2013-04-13 22:52:17 -04:00
ichuang
5ca0393e05 add test for masquerade 2013-04-13 22:47:49 -04:00
ichuang
fac9d758d8 fix typo in masquerade url name 2013-04-13 22:47:43 -04:00
ichuang
1c2452e401 make is_masquerading_as_student work with Mock for tests 2013-04-13 22:47:34 -04:00
ichuang
857a6e0bd0 pylint masquerade fixes 2013-04-13 22:47:28 -04:00
ichuang
fdfc37e4e3 masquerade pep8 2013-04-13 22:47:21 -04:00
ichuang
af3e08e8c7 masquerade link in courseware/views.py 2013-04-13 22:47:15 -04:00
ichuang
3b4093ab7b url and mitx_settings for masquerade 2013-04-13 22:47:04 -04:00
ichuang
168a3aadf6 masquerade - remove debug line, careful with ifs in course_nav.html 2013-04-13 22:46:55 -04:00
ichuang
ffb125f8a9 course_navigation for masquerade 2013-04-13 22:46:48 -04:00
ichuang
fb0a23238a allow staff to masquerade as student - works
Conflicts:
	lms/djangoapps/courseware/views.py
	lms/templates/courseware/course_navigation.html
2013-04-13 22:46:39 -04:00
ichuang
c905cc7416 add masquerade.py 2013-04-13 22:46:30 -04:00
Chris Dodge
00674ee66b need timedelta import 2013-04-13 21:21:15 -04:00
Chris Dodge
b4fe23f3a2 more cleanups in CMS project 2013-04-13 21:13:34 -04:00
Will Daly
917945807b Pep8 fixes for drag and drop tests 2013-04-12 16:37:52 -04:00
Christina Roberts
260dc84f1f Merge pull request #1854 from MITx/fix/cdodge/violation-fixes
violation fixes
2013-04-12 13:14:29 -07:00
Piotr Mitros
c0b32caad2 Merge pull request #1855 from MITx/fix/dcadams/npm_incompatibility
Remove npm package from Ubuntu installation dependencies file.
2013-04-12 13:05:34 -07:00
Chris Dodge
3ca2bf4627 move lines together 2013-04-12 15:51:47 -04:00
dcadams
d6fb5a7cc7 Remove npm package from Ubuntu installation dependencies file.
Install of edX gives the following error:
-----------------------------------------------
The following packages have unmet dependencies:

nodejs : Conflicts: npm

E: Unable to correct problems, you have held broken packages.
-----------------------------------------------

This is caused by the latest version of nodejs including npm and being
incompatible with the previous version.

Fix is to remove npm line from apt-packages.txt
2013-04-12 12:50:04 -07:00
Chris Dodge
8ece663284 more drive by violation fixes 2013-04-12 15:45:27 -04:00
Chris Dodge
6d6b3a59fe violation fixes 2013-04-12 15:27:36 -04:00
Diana Huang
d4536c657d Merge pull request #1852 from MITx/feature/diana/textline-trailing
Pylint and Pep8 fixes for InputTypes
2013-04-12 10:47:32 -07:00
Diana Huang
ff1189c5e8 Pylint and Pep8 fixes 2013-04-12 13:23:42 -04:00
Brian Wilson
2d9deaf38c remove code for supporting anchor_id on html textbooks, since it doesn't work 2013-04-12 11:53:06 -04:00
Diana Huang
13aed41790 Merge pull request #1843 from MITx/feature/diana/textline-trailing
Add the ability to add trailing text to textlines
2013-04-12 08:50:38 -07:00
Diana Huang
06a54a8c38 Consolidate tests into one larger test 2013-04-12 10:59:03 -04:00
Diana Huang
ab7a616552 Add the ability to handle escaped HTML characters in trailing text
Add tests for unicode and escaped HTML characters
2013-04-12 10:59:03 -04:00
Diana Huang
d6e722a698 Remove unnecessary check and add better textline documentation 2013-04-12 10:59:03 -04:00
Diana Huang
fd35b2c7e3 Fix and create new test for trailing text 2013-04-12 10:59:03 -04:00
Diana Huang
c93b8076bf Add trailing text to textlines, most useful for units. 2013-04-12 10:59:03 -04:00
Calen Pennington
734b169ebd Merge pull request #1851 from MITx/fix/zoldak/test-login-pylint
fix pylint errors in test_login.py
2013-04-12 07:46:35 -07:00
Jay Zoldak
d8c186d3a1 fix pylint errors in test_login.py 2013-04-12 10:25:12 -04:00
Don Mitchell
e4c9e1bb9e Merge pull request #1850 from MITx/fix/cdodge/studio-forum-improvements
Fix/cdodge/studio forum improvements
2013-04-12 06:58:54 -07:00
Chris Dodge
4345c8e09c add unit test to assert that get_items() is not using revision=None as a wildcard 2013-04-12 09:48:11 -04:00
Jay Zoldak
fc221a09b0 Merge pull request #1848 from MITx/fix/zoldak/test-login-pylint
Fix pylint errors
2013-04-12 06:33:56 -07:00
Chris Dodge
1a3c622bb6 actually the query parameter is '_id.revision' not just 'revision' 2013-04-11 22:32:35 -04:00
Chris Dodge
cf7d7bd2d9 Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/studio-forum-improvements 2013-04-11 22:12:17 -04:00
Chris Dodge
8fd8574357 get_items has an query ambiguity with respect to revision=None. None has a special semantic in get_items as a wildcard, so if we query with 'None' then we'll get back both draft and non-draft items. 2013-04-11 22:10:30 -04:00
Jay Zoldak
1cc6a0a60d Fix pylint errors 2013-04-11 17:20:38 -04:00
Will Daly
7e35bf1912 Merge pull request #1846 from MITx/feature/zoldak/test-user-profile-factory
Convert login tests to use factories
2013-04-11 13:57:29 -07:00
Jay Zoldak
bb1134b8ee Convert login tests to use factories 2013-04-11 16:54:16 -04:00
Brian Wilson
123cfa333f add documentation for HTML textbook 2013-04-11 16:42:14 -04:00
Will Daly
dce0b53ca5 Merge pull request #1844 from MITx/feature/zoldak/cs-mock
Create a mock comment service that will listen for HTTP requests on a port
2013-04-11 11:26:08 -07:00
Jay Zoldak
88852c4b26 pep8 and pylint cleanup of new files 2013-04-11 14:11:30 -04:00
Jay Zoldak
442141fa04 Create a mock comment service that will listen for HTTP requests on a port 2013-04-11 14:08:32 -04:00