Commit Graph

12883 Commits

Author SHA1 Message Date
Vik Paruchuri
6dfc490fc7 Json updates 2013-05-13 12:49:01 -04:00
Vik Paruchuri
df07192a68 Querydict comment. 2013-05-13 12:42:30 -04:00
Vik Paruchuri
a5549fd7fb Add in some assert statements 2013-05-13 12:25:23 -04:00
Vik Paruchuri
682d06bcff Fix a lot of pep8 violations 2013-05-09 11:27:44 -04:00
Vik Paruchuri
f72659fa2e Add in asserts 2013-05-09 10:15:07 -04:00
Vik Paruchuri
f9e97cb935 Add test for proper saving 2013-05-09 10:05:48 -04:00
Vik Paruchuri
7a1ef62ee3 Do some code reformatting 2013-05-09 09:56:02 -04:00
Vik Paruchuri
8c12eb78c9 Fix some exceptions 2013-05-09 09:54:57 -04:00
Vik Paruchuri
09d34a02cc Add in some comments 2013-05-09 09:50:32 -04:00
Vik Paruchuri
8323cc7c60 Refactor tests 2013-05-09 09:44:16 -04:00
Vik Paruchuri
7b8b168f2e Move the mockquerydict 2013-05-08 19:21:12 -04:00
Vik Paruchuri
a2e5bd071b Add in tests for peer grading module 2013-05-08 19:17:14 -04:00
Vik Paruchuri
fd46ebd1fa Move some functions, make notification tests more robust 2013-05-08 19:04:07 -04:00
Vik Paruchuri
ff84545f31 Start to add peer grading tests, make dummy system a separate thing 2013-05-08 18:49:28 -04:00
Vik Paruchuri
4d759e9772 Test full flow, including reset 2013-05-08 18:15:57 -04:00
Vik Paruchuri
f26a258598 Add in test for grader reply 2013-05-08 18:07:17 -04:00
Vik Paruchuri
c39a21d833 Remove old import 2013-05-08 16:03:11 -04:00
Vik Paruchuri
3801f574a4 Add in xqueue submission tests 2013-05-08 16:00:07 -04:00
Vik Paruchuri
1d53625673 Add in ability to mock a server, a lot more testing code for open ended 2013-05-08 15:37:25 -04:00
Vik Paruchuri
5c55595e8b Start to add in some more open ended module tests 2013-05-08 12:10:49 -04:00
Diana Huang
d522b53f6d Merge pull request #1974 from edx/diana/hide-api-key
Hide the Comments Service API key during logging.
2013-05-08 07:50:31 -07:00
Will Daly
b19c80ccb5 Merge pull request #1957 from edx/fix/will/bug_392
Added unit tests for safe_key() to resolve bug 392.
2013-05-08 06:23:49 -07:00
VikParuchuri
fb4685fe9a Merge pull request #1976 from edx/vik/fix/oe-bugs
Vik/fix/oe bugs
2013-05-07 14:54:17 -07:00
Vik Paruchuri
5cd9641f24 Update peer grading comment 2013-05-07 17:35:00 -04:00
Vik Paruchuri
530ac51c1c Add .error callback back in 2013-05-07 17:33:34 -04:00
Vik Paruchuri
2648a19cc2 Fix check for use for single location 2013-05-07 17:08:14 -04:00
Vik Paruchuri
e0d1eca6aa Delete two lines. without this, the xblock fields are never created in cases where the module is "fresh" (ie has no existing data) 2013-05-07 16:56:08 -04:00
caesar2164
fe5fc448e6 Merge pull request #1948 from edx/feature/giulio/accessibility
Feature/giulio/accessibility
2013-05-07 13:41:04 -07:00
Diana Huang
c6f63140a2 Hide the API key during logging. 2013-05-07 16:38:38 -04:00
Giulio Gratta
91e2a39ec7 moving preventDefault() statements to the local script tag 2013-05-07 12:50:59 -07:00
Will Daly
aaa383b8ca safe_key() now hashes the prefix/version as well, just in case
these are configured to be too long in the settings.
2013-05-07 15:48:51 -04:00
Vik Paruchuri
1398b55713 Comment touched modules 2013-05-07 15:48:19 -04:00
Vik Paruchuri
9e03280f50 Make peer grading fields stringy and fix js to avoid strange error 2013-05-07 15:33:15 -04:00
Giulio Gratta
87362aa887 Merge branch 'master' of github.com:edx/mitx into feature/giulio/accessibility 2013-05-07 11:21:44 -07:00
Giulio Gratta
f7719a60c7 changed offending javascript:void() hrefs on anchors to preventDefault() 2013-05-07 11:20:47 -07:00
Giulio Gratta
953af59b0d fixing some more LMS accessibility issues 2013-05-07 10:25:16 -07:00
Giulio Gratta
a266330b2d made signup form labels and close modal button accessible friendly and tweaked login form to match signup form 2013-05-07 10:25:08 -07:00
Giulio Gratta
3eac9376dd made forgot password form close modal button accessible friendly 2013-05-07 10:25:08 -07:00
Giulio Gratta
2dde742f38 made login form labels and close modal button accessible friendly 2013-05-07 10:25:08 -07:00
Vik Paruchuri
258aebed20 Fix anonymoususer 500 error 2013-05-07 12:58:49 -04:00
Christina Roberts
729ca900e6 Merge pull request #1920 from edx/feature/christina/fields
Pass additional field information from editable_metadata_fields, remove system_metadata_fields variable.
2013-05-07 09:38:34 -07:00
Jay Zoldak
29a5d3b42e Merge pull request #1955 from edx/fix/zoldak/add-gitignores-xmodule-js
Ignore the js files that are compiled from coffeescript when running the...
2013-05-07 06:09:54 -07:00
Will Daly
1b0b365fa6 Added unit tests for safe_key() to resolve bug 392.
Updated safe_key() so that it: (a) avoids creating keys that
are too long for memcache, and (b) handles unicode in keys, prefixes,
and versions

Added __init__.py, which should have been in the last commit

Pep8/Pylint fixes
2013-05-06 17:26:18 -04:00
Jay Zoldak
c2cd75469b Change the methodology to ignore .js files by default. Any .js files that are coded can be handled individually. 2013-05-06 17:05:47 -04:00
Jay Zoldak
2ffaea7ade Merge pull request #1949 from edx/fix/zoldak/modulestore-tests
Fix tests that intermittently fail when run in concurrent jobs on jenkins.
2013-05-06 13:32:27 -07:00
Jay Zoldak
522751e425 Ignore the js files that are compiled from coffeescript when running the xmodule jasmine tests 2013-05-06 14:28:05 -04:00
Greg Price
ec3c8458e7 Merge pull request #1911 from edx/feature/gprice/feedback-button 2013-05-06 11:03:41 -07:00
Greg Price
203a958e68 Outline textareas in red on a form submission error
This was previously done for input but not textarea.
2013-05-06 13:35:52 -04:00
Greg Price
00729a8c13 Add an omnipresent help tab to the LMS
The help tab opens a modal dialog that directs the user at various resources
(e.g. the site FAQ and course forums) and allows the user to submit feedback
to the feedback endpoint (which will ultimately create a ticket for the
student support team).
2013-05-06 13:35:52 -04:00
Greg Price
87072a9a58 Add an endpoint for submission of Zendesk tickets by end users
This functionality requires the Zendesk URL, user, and API key to be specified
in django.conf.settings. Also, add a flag to MITX_FEATURES (enabled by default)
to control the endpoint and the front-end feature (yet to be added).
2013-05-06 13:35:51 -04:00