7279f9c460
Bug fix for grading type not showing on course outline (#258).
cahrens
2013-03-28 10:54:10 -04:00
c9a7be6b9b
Merge pull request #1727 from MITx/feature/will/lettuce_test_helpers
Jay Zoldak
2013-03-28 07:26:14 -07:00
2d677a834c
Test for due dates.
cahrens
2013-03-28 10:24:31 -04:00
13c01ec3fc
Randomized instructor page tests
Will Daly
2013-03-28 10:03:05 -04:00
fece937669
Merge pull request #1758 from MITx/fix/cdodge/use-request-scroped-cache-for-metadata
Don Mitchell
2013-03-28 06:51:20 -07:00
c7bafddace
DRY things out a bit and share as much code between MongoModuleStore and DraftMongoModuleStore
Chris Dodge
2013-03-28 09:49:55 -04:00
bf37d4a9a3
Randomized loading of test pages for dark launch test
Will Daly
2013-03-28 09:33:51 -04:00
3cdd973af4
get _cache_children to queyr both non-draft and draft versions of the children, then overwrite all non-drafts with the draft version, if available. This conforms with the semantics of the DraftMongoModuleStore
Chris Dodge
2013-03-28 09:28:19 -04:00
6c67ed1f57
Merge branch 'master' of github.com:MITx/mitx into feature/cdodge/course-overview-perf
Chris Dodge
2013-03-28 09:28:12 -04:00
c48f119cec
Skip test of mock_xqueue_server
Will Daly
2013-03-28 09:13:28 -04:00
3eefb7d5ec
Resolved conflicts from rebase to master; fixed keyword error caught by pylint
Will Daly
2013-03-28 08:58:56 -04:00
27a31230bf
Removed full course tests
Will Daly
2013-03-27 17:46:58 -04:00
7978c581db
Changed test for checking all pages to checking a random page
Will Daly
2013-03-27 17:45:36 -04:00
3f52261b5b
hmmm. actually, we should only write out to memcache if we've recomputed. Otherwise, a memcache hit will end up writing back to memcache...
Chris Dodge
2013-03-27 23:18:38 -04:00
d448aa1365
remove debug log messages
Chris Dodge
2013-03-27 23:13:33 -04:00
446397b23b
remove unused thread.local()
Chris Dodge
2013-03-27 23:12:00 -04:00
b609a96902
ummm. forgot to commit stuff
Chris Dodge
2013-03-27 22:51:52 -04:00
03f9bb5d38
use a request-scoped cache to keep the metadata inheritence tree around for the whole request. This means we should only do one trip to Memcached/Mongo per course per request. This is expected to keep memory utilization down
Chris Dodge
2013-03-27 22:37:07 -04:00
cf51971298
added net promoter score tracking javascript shim from Qualaroo
Mark L. Chang
2013-03-27 22:36:18 -04:00
0c218176d9
Run some code reformatting
Vik Paruchuri
2013-03-27 18:40:18 -04:00
a79a2907a9
Merge pull request #1755 from MITx/fix/brian/fix500v1
Victor Shnayder
2013-03-27 15:21:30 -07:00
df6d8fd2a3
Fix issues with progress page and open ended grading
Vik Paruchuri
2013-03-27 18:20:04 -04:00
c639799a07
fix missing import
Brian Wilson
2013-03-27 18:12:48 -04:00
4443afecaf
Get rid of max score on open ended modules. Auto-calculate it from the rubric instead.
Vik Paruchuri
2013-03-27 18:05:00 -04:00
bb7bc88847
merge out from master
Brian Wilson
2013-03-27 18:04:58 -04:00
99778b1b5b
add fixes for 500 bugs (lighthouse 287 and 293) by requiring login for accessing licenses and inline discussions. Add unit tests for licenses, and rearrange tests based off of (the former) PageLoad. Also cleanups for pylint and pep8.
Brian Wilson
2013-03-27 17:59:56 -04:00
c8ab45cc57
studio - footer help ui revamp - animation, structure, styling - WIP
Brian Talbot
2013-03-27 17:40:24 -04:00
9c671163fd
Added exc_info=True to log.warning Changed log.exception to log.warning
Will Daly
2013-03-27 17:11:02 -04:00
f038237ee9
Changed log.exception to log.warning
Will Daly
2013-03-27 16:34:08 -04:00
6564cc57e6
Fix typo with hyphen in cms lettuce feature files
Jay Zoldak
2013-03-27 16:29:55 -04:00
756f75951d
studio - in progress work on help UI
Brian Talbot
2013-03-27 16:28:49 -04:00
6d63d13fa8
Merge pull request #1753 from MITx/bug/christina/studio
Don Mitchell
2013-03-27 12:46:01 -07:00
df1be87739
* Changed 404 errors to 400 errors * Removed duplicate traceback log message * Now provide string, not Exception, as second tuple item to raise
Will Daly
2013-03-27 15:20:40 -04:00
6e3d9608b4
Merge pull request #1754 from MITx/fix/cale/enrollment-integrity-error
David Ormsbee
2013-03-27 12:03:26 -07:00
6edee96caf
Added "Staff Debug Info" prefix to traceback message.
Will Daly
2013-03-27 11:24:16 -04:00
0f5e8c5f3b
pep8 fixes
Will Daly
2013-03-27 11:17:21 -04:00
5bc44e50da
Changed error messages to account for NumericalResponse formatting, which is the only other response type to use StudentInputError.
Will Daly
2013-03-27 11:13:31 -04:00
8252ba15df
Changed error message for StudentInputError for non-staff to a generic message. Otherwise, the default exception messages are cryptic for students (e.g. "cannot convert string to float")
Will Daly
2013-03-27 11:02:30 -04:00
754e30240d
studio - adjusting tender widget window height based on field removal
Brian Talbot
2013-03-27 11:01:25 -04:00
285e3ee1ed
Capa response now displays full stack trace on student input error if the user is a staff member. Otherwise, it displays just the exception message.
Will Daly
2013-03-27 10:49:47 -04:00
8905343f80
Merge pull request #1744 from MITx/fix/diana/image-response-show-answer
Victor Shnayder
2013-03-27 07:14:38 -07:00
2cf815ae01
Merge pull request #1750 from MITx/fix/cale/anonymous-modx-dispatch
Victor Shnayder
2013-03-27 07:13:05 -07:00
0e7cf8e782
Merge pull request #1751 from MITx/fix/cale/comment-client-non-json-errors
Victor Shnayder
2013-03-27 07:12:20 -07:00
68902b8039
Merge pull request #1747 from MITx/fix/cdodge/should-return-404-on-bad-asset-request
Victor Shnayder
2013-03-27 07:09:38 -07:00
d4eca16f04
Merge pull request #1745 from MITx/feature/rocha/fix-advertised-start
Christina Roberts
2013-03-27 06:23:57 -07:00
093ac4a2a2
Merge pull request #1749 from MITx/fix/btalbot/studio-smoothscroll
Christina Roberts
2013-03-27 06:23:31 -07:00
521843876e
Make the django_comment_client return errors that can't be parsed as JSON just as simple strings when in an ajax context
Calen Pennington
2013-03-27 08:10:25 -04:00
e3c646492c
studio - made provide feedback conditional for logged in users
Brian Talbot
2013-03-27 01:39:24 -04:00
74439746cc
studio - made provide feedback conditional for logged in users
Brian Talbot
2013-03-27 01:38:36 -04:00
2120481738
studio - corrected JQ selector for smoothscrolling in-page links
Brian Talbot
2013-03-27 01:34:25 -04:00
25acab497e
studio - corrected JQ selector for smoothscrolling in-page links
Brian Talbot
2013-03-27 01:33:04 -04:00
6889b2015b
studio - added in revised footer styles and fix for smoothscroll
Brian Talbot
2013-03-27 01:24:31 -04:00
195fd2d1fe
optimize the result-set that gets returned from Mongo on metadata inheritence. We just need the fields which are actually inheritable, so no need to return anything else as it gets filtered out during the computation
Chris Dodge
2013-03-26 23:48:06 -04:00
b0e2c82ad3
actually.. return a 400 rather than a 404 because the request is malformed. Also add unit test.
Chris Dodge
2013-03-26 20:02:29 -04:00
90553a1b1d
Use get_many and set_many to cut down on the number of metadata trees to retrieve, and only retrieve them once per call to _load_items
Calen Pennington
2013-03-26 16:19:34 -04:00
84f2cc8af6
Display advertised date correctly if it is an ISO date
Carlos Andrés Rocha
2013-03-26 15:08:22 -04:00
4f7e09e936
Merge branch 'master' into feature/btalbot/studio-tenderwidget
Brian Talbot
2013-03-26 14:49:14 -04:00
7784a29e61
add simple notes view
Arthur Barrett
2013-03-26 14:47:12 -04:00
7e56e98c58
firming up behavior/styling for tender widget - including errors
Brian Talbot
2013-03-26 14:46:38 -04:00
967cf7e6f3
Fix a problem where trying to show image response answers was causing 500 errors. Add test to verify that this won't happen again.
Diana Huang
2013-03-26 14:43:41 -04:00
cd6f92c7e2
Modified log.debug call to use exc_info=True
Will Daly
2013-03-26 14:27:41 -04:00
1b07b85ef2
Removed extra 'pass' statement
Will Daly
2013-03-26 13:43:26 -04:00
47e47303dc
Refactored CustomResponse to use the same private func to handle all errors related to execution of python code.
Will Daly
2013-03-26 13:36:27 -04:00
f70511ebef
Merge pull request #1737 from MITx/diana/fix-login-dialog
Carlos Andrés Rocha
2013-03-26 10:28:26 -07:00
d24cc6f2c3
Merge pull request #1742 from MITx/feature/rocha/fix-advertised-start
Christina Roberts
2013-03-26 10:19:04 -07:00
0612b0eb94
Add tests to advertised_start for partially parsable dates
Carlos Andrés Rocha
2013-03-26 13:13:55 -04:00
6298a4ceab
Fixed lettuce tests in cms that were broken in the last rebase
Will Daly
2013-03-26 13:05:09 -04:00
8a4047d5dd
studio - added smoothscroll to top of view and wired footer tender widget link
Brian Talbot
2013-03-26 12:48:51 -04:00
c370bb6a61
Merge pull request #1741 from MITx/feature/rocha/fix-advertised-start
Don Mitchell
2013-03-26 09:48:12 -07:00
7c68508b85
studio - finalized tender widget styling
Brian Talbot
2013-03-26 12:42:30 -04:00
586f566b42
Use advertised_start as a simple string
Carlos Andrés Rocha
2013-03-26 11:54:06 -04:00
0500ba4dd5
Disabled pylint warnings for lettuce steps: * Missing docstring * Redefining name from outer scope
Will Daly
2013-03-26 11:17:56 -04:00
27d5ebf027
pep8 fixes
Will Daly
2013-03-22 14:27:10 -04:00
00d25b684c
Moved modulestore flush code into terrain/course_helpers
Will Daly
2013-03-22 14:04:04 -04:00
a58ae9b62d
Refactored studio lettuce test section.py to use more of ui helpers
Will Daly
2013-03-22 13:49:50 -04:00
e69931ec5a
Refactored studio lettuce tests to use terrain/ui_helpers for ui manipulation
Will Daly
2013-03-22 13:45:25 -04:00
dde0d1676b
Refactored terrain/steps.py to use ui_helpers Added a wait time before checking the page HTML, and changed it to check just in the HTML body
Will Daly
2013-03-22 13:02:40 -04:00
4528490fac
Refactored lms/coureware lettuce tests to use terrain helpers for common ui manipulations
Will Daly
2013-03-22 12:40:33 -04:00