Commit Graph

12002 Commits

Author SHA1 Message Date
Ashley Penney
3a4091b798 Tweaks to enable datadog error events as well as some pep8 tidyup vim was shouting at me about. 2013-01-24 09:42:24 -05:00
Ashley Penney
333f2e5167 Fix ccd->cdd, I typed ccd so many times while working on this code. I am bad at typing! 2013-01-24 09:42:24 -05:00
Brian Wilson
5e76c9d033 add pearson_import_conf_zip command 2013-01-24 09:42:24 -05:00
Ashley Penney
46e9a8f6ac Add help string. 2013-01-24 09:42:23 -05:00
Ashley Penney
482cefd246 Bunch of fixes to pep8 formatting, missing imports, change of kwargs to
options, quoting variables and a few other fixups.
2013-01-24 09:42:23 -05:00
Ashley Penney
5431332cec Fix up help. 2013-01-24 09:42:23 -05:00
Ashley Penney
3d5599c829 Further fixes to close the ssh connection explictly, make both the
default option if nothing is provided, and not bother passing true
when calling the subcommands.
2013-01-24 09:42:23 -05:00
Ashley Penney
0555ebc434 Bunch of fixes to how I do if/else checks, fix a typo in Command and
repair the for filename part of sftp.
2013-01-24 09:42:23 -05:00
Ashley Penney
378b1ff0c3 Various changes thanks to feedback from Brian to make the existing
export commands handle --dest-from-settings and --destination and fail
unless one is provided as well as rename pearson.py to pearson_transfer
and allow is to call the import/export commands directly.

I've set it to die in pearson_transfer.py if the django PEARSON settings
aren't available.  I don't want to try and provide defaults, these must
exist or it simply fails.
2013-01-24 09:42:23 -05:00
Ashley Penney
ced29a25ec Add paramiko to requirements. 2013-01-24 09:42:23 -05:00
Ashley Penney
61ea2d7b5d Couple of fixes to the settings data. 2013-01-24 09:42:03 -05:00
Ashley Penney
1acf2dbba3 Use a dictionary for all the pearson stuff to keep the auth/env stuff
clean.
2013-01-24 09:42:03 -05:00
Ashley Penney
1d13b1a9bd Make various changes to handle the s3/sftp part of the pearson process. 2013-01-24 09:42:03 -05:00
Diana Huang
210cdf870e Updates to the mock peer grading service and new tests. 2013-01-24 09:41:24 -05:00
Diana Huang
dc3dd41aa7 Update tests to cover the peer grading service 2013-01-24 08:58:24 -05:00
Don Mitchell
f2b43ec459 Merge pull request #1343 from MITx/feature/christina/tiny-mce
Make code inline instead of block.
2013-01-24 05:34:36 -08:00
Brian Wilson
0cb5f101ae add UTC time to registration end date 2013-01-24 01:18:10 -05:00
cahrens
711cc9a041 Tell tinyMCE to not change image paths.
#143
2013-01-23 20:18:28 -05:00
Ned Batchelder
037fe5f722 When checking types to convert data, don't forget about longs. 32-bit Pythons make longs from values that are ints on 64-bit Pythons. 2013-01-23 17:11:02 -05:00
Diana Huang
cc67017d4c Merge branch 'master' into diana/open-ended-ui-updates 2013-01-23 16:45:40 -05:00
cahrens
4a79643fde Make code inline instead of block. 2013-01-23 16:43:49 -05:00
Victor Shnayder
abcc5c0204 Merge pull request #1342 from MITx/feature/cdodge/add-standard-problem-metadata
update templates to include attemps and weight values. Also update capa_...
2013-01-23 13:40:46 -08:00
Chris Dodge
2856971b45 update templates to include attemps and weight values. Also update capa_module.py to accept empty strings ('') to mean 'default value' 2013-01-23 16:36:16 -05:00
Kevin Chugh
1bd9366e40 Merge remote-tracking branch 'origin/master' into feature/kevin/groups 2013-01-23 16:26:06 -05:00
Kevin Chugh
59b3dc61a2 lms producing grouped content 2013-01-23 16:25:26 -05:00
chrisndodge
fe8e25e72d Merge pull request #1341 from MITx/feature/christina/tiny-mce
Toggling of code should mark editor as dirty.
2013-01-23 13:25:01 -08:00
cahrens
2969a9e48d Toggling of code should mark editor as dirty. 2013-01-23 16:19:17 -05:00
chrisndodge
548f3de508 Merge pull request #1340 from MITx/fix/zoldak/fix_jenkins
Do not run the lms jasmine tests on jenkins for now, until we fix them.
2013-01-23 13:05:50 -08:00
Jay Zoldak
29c4e6c066 Do not run the lms jasmine tests on jenkins for now, until we fix them. 2013-01-23 16:03:25 -05:00
Christina Roberts
2ed5fdf76b Merge pull request #1338 from MITx/fix/cdodge/remove-hide-progress-tab
Fix/cdodge/remove hide progress tab
2013-01-23 12:20:54 -08:00
chrisndodge
247199d699 Merge pull request #1337 from MITx/feature/cale/fix-staff-debug-link
Feature/cale/fix staff debug link
2013-01-23 12:17:17 -08:00
Chris Dodge
9c3e727889 add unit test to assert that the flag is not set on course metadata 2013-01-23 15:14:36 -05:00
Chris Dodge
9d5ac308b1 remove flag to hide progress tab 2013-01-23 15:11:41 -05:00
Calen Pennington
27b57bb48b Don't update settings based on data from content for discussion modules during init 2013-01-23 14:51:07 -05:00
Calen Pennington
993c24b72b WIP: Model data caching work 2013-01-23 14:51:07 -05:00
Calen Pennington
507d2021cd Remove unused reference to StudentModuleCache 2013-01-23 14:47:06 -05:00
Calen Pennington
abb21ab111 staff_problem_info.html only renders for staff, so don't check for staff access 2013-01-23 14:47:06 -05:00
Calen Pennington
4779043a5f Add message during 404 for debugging 2013-01-23 14:47:05 -05:00
Calen Pennington
c44898b1de Remove random printing during XModuleDescriptor equality check 2013-01-23 14:47:05 -05:00
Calen Pennington
2eca8bd0e9 Set default video position to 0, but don't overwrite it during __init__ 2013-01-23 14:47:05 -05:00
Calen Pennington
e5a6509bb0 Add a first_time_user attribute to CourseModule so that we can check for that explicitly, rather than looking for an implicitly created StudentModule 2013-01-23 14:47:05 -05:00
Calen Pennington
ce76b64bae Handle problem resets in such a way that the LoncapaProblem generates the new random seed, and the CapaModule saves that seed 2013-01-23 14:47:05 -05:00
Calen Pennington
9d66169d06 Don't set a seed to None that's already None 2013-01-23 14:47:05 -05:00
Calen Pennington
8e5373f993 Make Randomization return un-adjusted values as a passthrough 2013-01-23 14:47:05 -05:00
Calen Pennington
6e7afb968d Move xqueue handler to new module format, and continue to distinguish grades set by xqueue from those set by ajax in stats 2013-01-23 14:47:05 -05:00
Christina Roberts
cd78b27b50 Merge pull request #1334 from MITx/bug/btalbot/cms-problemmenu
studio - resolved bug with .header CSS inheritance and problem editor
2013-01-23 11:40:24 -08:00
Calen Pennington
ae2a8e0c58 Whitespace cleanup 2013-01-23 14:37:42 -05:00
Calen Pennington
6c181470c6 staff_problem_info.html is only put on the page for staff, so we don't need to check staff_access inside it 2013-01-23 14:37:36 -05:00
Don Mitchell
4bdabb38e4 Oops, double edit backed out. 2013-01-23 14:17:23 -05:00
Don Mitchell
3e048d7072 Removed old function 2013-01-23 14:15:09 -05:00