Commit Graph

7301 Commits

Author SHA1 Message Date
Chris Dodge
da3c3e5f20 initial xlint implementation. Accumulate all import errors during XmlModuleStore importing. Also do checks post XmlModuleStore import and assert that the structure (course->chapter->sequential->vertical) is present in the courses. 2012-11-09 13:54:12 -05:00
Chris Dodge
da8efc17de Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/xlint 2012-11-09 09:37:21 -05:00
chrisndodge
48093da589 Merge pull request #1030 from MITx/fix/cdodge/need-to-pass-course-namespace-for-cms-rewrite
need to pass in course namespace when rewrite static links in the CMS
2012-11-09 06:26:10 -08:00
Chris Dodge
01889df686 need to pass in course namespace when rewrite static links in the CMS 2012-11-09 09:23:48 -05:00
chrisndodge
e6ce669e19 Merge pull request #1029 from MITx/fix/cdodge/static-import-path-error
make sure we strip away the leading '/' from the subpath for static cont...
2012-11-09 06:13:19 -08:00
Chris Dodge
5a02e37cce make sure we strip away the leading '/' from the subpath for static content otherwise the naming expectations will break 2012-11-09 09:11:56 -05:00
Chris Dodge
3774c95b5e Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/xlint 2012-11-08 16:12:26 -05:00
chrisndodge
13700316a6 Merge pull request #1025 from MITx/feature/cdodge/static-tab-edit
Feature/cdodge/static tab edit
2012-11-08 13:10:51 -08:00
Chris Dodge
981f5cee45 initial buildout of a 'xlint' test to verify legacy coursewar 2012-11-08 16:07:17 -05:00
chrisndodge
488918b777 Merge pull request #1027 from MITx/origin/feature/cdodge/static-tab-edit
address feedback from cale
2012-11-08 10:33:03 -08:00
Chris Dodge
c3c6a7af7e address feedback from cale 2012-11-08 13:29:46 -05:00
Calen Pennington
171e932266 Merge branch 'master' into feature/cale/cms-master
Conflicts:
	rakefile
2012-11-08 12:28:40 -05:00
Calen Pennington
3230345204 Make coverage reports only include code from the source directories 2012-11-08 12:25:12 -05:00
Calen Pennington
e50a442d88 Only try to generate html and xml coverage reports if the source .cover file exists 2012-11-08 12:06:05 -05:00
Calen Pennington
31e42a28f9 Merge pull request #1026 from MITx/feature/ned/quieter-tests
Feature/ned/quieter tests
2012-11-08 08:47:37 -08:00
Calen Pennington
686cab4545 Build all available coverage xml and html, even if some is missing 2012-11-08 11:32:27 -05:00
Ned Batchelder
28bb4724e7 Put the coverage data files in the reports dir, where they will be treated like the disposable things they are. 2012-11-08 11:20:23 -05:00
Ned Batchelder
d3e2e739a7 Add the .coverage files to the clobber task. 2012-11-08 11:20:23 -05:00
Calen Pennington
83e2b362e4 Make reports directory build work correctly 2012-11-08 11:20:23 -05:00
Calen Pennington
0cf46f7636 Namespace the coverage html and xml report generation tasks 2012-11-08 11:20:23 -05:00
Calen Pennington
17570c4c06 Create xml and html coverage reports 2012-11-08 11:20:23 -05:00
Calen Pennington
1968a1dde5 Remove attempt to use virtualenv python when running django-admin commands 2012-11-08 11:20:22 -05:00
Calen Pennington
899132a9bb Force django to run using the python from the virtualenv 2012-11-08 11:20:22 -05:00
Ned Batchelder
3dc23eb131 Coverage xml and html reports are now a separate 'xml' and 'html' step from 'test'. 2012-11-08 11:20:22 -05:00
Calen Pennington
c3f0d31cc9 Split out requirements that come from the local mitx repo and those that come from github, and upgrade the local requirements before running tests 2012-11-08 11:20:16 -05:00
Calen Pennington
79a08266ad Make pip install during jenkins builds quieter 2012-11-08 11:19:33 -05:00
Calen Pennington
2a457bdc0f Set -e and -x on jenkins build scripts 2012-11-08 11:19:33 -05:00
Calen Pennington
6b28b70e51 Add jenkins files for builds 2012-11-08 11:19:33 -05:00
Ned Batchelder
90e3386751 WIP for quieter tests with coverage. 2012-11-08 11:19:33 -05:00
Ned Batchelder
7eb196df38 Run coverage directly instead of as a plugin. Also quiet the install and clean steps of tests. 2012-11-08 11:19:33 -05:00
Ned Batchelder
7033faf18c Don't show stdout from collectstatic during tests. 2012-11-08 11:19:32 -05:00
Chris Dodge
7ca49f3a14 remove debug log msg 2012-11-08 10:54:56 -05:00
Chris Dodge
b432db1aba Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/static-tab-edit 2012-11-08 09:55:56 -05:00
Chris Dodge
7dbabce4db fix up styling by reusing existing CSS class names. Also refactor some code regarding the management of static_tabs so that it's in the course as course contains references to static_tabs in the current data model 2012-11-08 09:55:52 -05:00
chrisndodge
e3d65a0c08 Merge pull request #997 from MITx/feature/cale/js-tests
Feature/cale/js tests
2012-11-08 06:44:49 -08:00
Calen Pennington
59ee0c5abf Merge pull request #1018 from MITx/fix/cdodge/delete-last-component-does-not-stick
Fix/cdodge/delete last component does not stick
2012-11-08 05:52:02 -08:00
David Ormsbee
459c5e322f Merge pull request #1024 from MITx/feature/dave/pearson_setup
Simple Pearson Testing
2012-11-07 16:29:29 -08:00
David Ormsbee
e90d321142 Comments, whitespace from review. 2012-11-07 19:28:22 -05:00
Carlos Andrés Rocha
25d482099e Merge pull request #955 from MITx/louis/srt_downloads
Add support for subtitle download link
2012-11-07 15:31:02 -08:00
David Ormsbee
ab0e7cf4ae Change AUTH_TOKENS index reference to a get so it doesn't explode the whole app if I did Puppet incorrectly. 2012-11-07 17:36:50 -05:00
David Ormsbee
4b02b2af2a Rearrange how we handle the auth tokens for our fake Pearson preliminary testing 2012-11-07 17:20:49 -05:00
Chris Dodge
a99277275d add new files 2012-11-07 15:56:16 -05:00
Chris Dodge
9cc1af5052 first pass at static tab editing. Doesn't yet support drag/drop as well as new tab creation, which needs to modify the policy on the course 2012-11-07 15:27:44 -05:00
David Ormsbee
528fcd7f4e Create a config option for enabling a Pearson login in a totally hacky manner. 2012-11-07 14:08:55 -05:00
David Ormsbee
92f2fbf0f8 Ugly, ugly hack needed so that Pearson can test something today, to be replaced by a real implementation later this week or early next. 2012-11-07 13:55:08 -05:00
Victor Shnayder
27cffb9387 Update requirements.txt
Taking out MySQL-python for now because it requires mysql to be installed, so breaks updates on content folks' envs.
2012-11-07 11:39:42 -05:00
Calen Pennington
b7e0625bb4 Merge pull request #971 from MITx/feature/cdodge/import-course-info
implement importing of course info sections as modules in the course
2012-11-07 07:12:30 -08:00
Chris Dodge
87ff18dc56 Merge branch 'feature/cale/cms-master' of github.com:MITx/mitx into feature/cdodge/import-course-info 2012-11-07 09:35:21 -05:00
Chris Dodge
afd8584569 remove explicit 'null' for child collection on saveName on unit code paths. I had seen cases where save was posting back an empty set on renames - deleting the components. But I can no longer reproduce it now. 2012-11-07 09:34:44 -05:00
David Ormsbee
ad93f70e65 Re-add TestCenterUser along with a basic command to make an entry for a given user already in the system. 2012-11-07 09:24:38 -05:00