Commit Graph

2661 Commits

Author SHA1 Message Date
Ashley Penney
d0ecae30d7 Fix datadog logging to use .name on the file objects and add an additional logging line. 2013-01-24 09:42:24 -05:00
Ashley Penney
274cb8d865 Actually call the appropriate file. 2013-01-24 09:42:24 -05:00
Ashley Penney
3aacba1f63 Run over each file and run the import. We could probably do this as a try/except and not delete if the output of the import failed but it may be simply easier to refetch those files from the S3 backup and try again. 2013-01-24 09:42:24 -05:00
Ashley Penney
05b36bdd09 Add tags to the datadog event which will be set to the appropriate filename so we can see the cause of failures. 2013-01-24 09:42:24 -05:00
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
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
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
cahrens
711cc9a041 Tell tinyMCE to not change image paths.
#143
2013-01-23 20:18:28 -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
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
Chris Dodge
9d5ac308b1 remove flag to hide progress tab 2013-01-23 15:11:41 -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
Brian Talbot
5fee7eeaec studio - further resolved bug with .header CSS inheritance and problem editor menu UI 2013-01-23 12:58:20 -05:00
Brian Talbot
2ca267dc52 studio - resolved bug with .header CSS inheritance and problem editor menu UI 2013-01-23 12:50:10 -05:00
cahrens
a1eeb56839 Import requireJS. 2013-01-23 12:30:06 -05:00
Don Mitchell
b0bbb34644 Merge pull request #1331 from MITx/feature/christina/tiny-mce
Feature/christina/tiny mce
2013-01-23 09:14:42 -08:00
cahrens
2609ba4093 Delete unused icon, reorder dropdown. 2013-01-23 11:02:16 -05:00
Don Mitchell
966db4fbaf Merge pull request #1329 from MITx/fix/cdodge/draft-store-get-items
add optional course_id parameter to DraftMongoStore.get_items()
2013-01-23 07:39:36 -08:00
Brian Wilson
9d28c37724 add more test coverage for openid provider. 2013-01-23 04:23:30 -05:00
Brian Wilson
ba62a657bf Merge remote-tracking branch 'origin/master' into bugfix/brian/openid_provider_post 2013-01-22 23:50:38 -05:00
Brian Talbot
5e7726079e studio html editor - styled <pre> and <code> elements, revised code tinyMCE icon 2013-01-22 23:32:51 -05:00
Don Mitchell
1f261e6556 Removed unused and stylistically incorrect class defs 2013-01-22 17:34:45 -05:00
Brian Talbot
023dadd074 studio - resolved base variable missing issue on lms side 2013-01-22 16:31:42 -05:00
Brian Talbot
fd3ae2c478 studio html editor - matched up styles for <pre> elements 2013-01-22 16:16:30 -05:00
cahrens
731fb209de Merge branch 'feature/cale/cms-master' into feature/christina/tiny-mce
Conflicts:
	cms/static/css/tiny-mce.css
2013-01-22 16:15:27 -05:00
Brian Talbot
aec7692d27 studio html editor - revised header styles for editing/displaying HTML components (including separating studio editing chrome from style rules) 2013-01-22 15:51:12 -05:00
cahrens
13945994f0 change class on right element! 2013-01-22 15:47:09 -05:00
cahrens
b554eb5afe Cleanup of format dropdown, toolbar buttons. 2013-01-22 15:28:47 -05:00
Calen Pennington
75b0a8eed6 Merge remote-tracking branch 'origin/master' into feature/cale/cms-master 2013-01-22 14:47:52 -05:00
Chris Dodge
9520290018 add optional course_id parameter to DraftMongoStore.get_items() 2013-01-22 11:55:36 -05:00
Don Mitchell
edda80d485 New style base python classes and basestring type. 2013-01-22 11:30:24 -05:00
Brian Wilson
9653631e9a Add initial openid_provider tests (covers xrds and authentication requests) 2013-01-22 11:15:30 -05:00
Alexander Kryklia
91281915c4 update of deleted comment 2013-01-21 19:28:49 +02:00
Alexander Kryklia
00f966a94a populate -> __init__ 2013-01-21 19:22:23 +02:00
Alexander Kryklia
a95e809824 documentation extended 2013-01-21 19:05:30 +02:00
Alexander Kryklia
2d67ee477e commend about rule in simple form 2013-01-21 18:58:30 +02:00
Alexander Kryklia
0f5e7cd9e4 explained for - else 2013-01-21 18:55:29 +02:00