Sarina Canelake
bc0e590842
Merge pull request #343 from edx/sarina/pylint-R0921
...
Ignore Pylint R0921
2013-07-08 07:53:44 -07:00
chrisndodge
57d82dea10
Merge pull request #330 from edx/fix/cdodge/delete-course-delete-drafts
...
[STUD-380] Fix/cdodge/delete course delete drafts
2013-07-08 07:24:24 -07:00
Carlos Andrés Rocha
1fbab8e9fa
Merge pull request #295 from edx/rocha/celery-virtual-host
...
Add setting to set the virtual host of a Celery broker
2013-07-08 06:58:31 -07:00
Sarina Canelake
ff4888cbc5
Ignore Pylint R0921
2013-07-08 08:03:13 -04:00
Carlos Andrés Rocha
06529054de
Merge hotfix 2013-07093 into master
...
Conflicts:
common/lib/xmodule/xmodule/crowdsource_hinter.py
common/lib/xmodule/xmodule/css/crowdsource_hinter/display.scss
common/lib/xmodule/xmodule/js/src/crowdsource_hinter/display.coffee
common/static/coffee/src/logger.coffee
common/templates/hinter_display.html
lms/envs/test.py
lms/urls.py
2013-07-03 18:55:21 -04:00
Ned Batchelder
4d8eb53362
Merge pull request #335 from edx/ned/fix-course-factory
...
Fix broken tests by simplifying the CourseFactory
2013-07-03 14:32:29 -07:00
Ned Batchelder
31a72093e0
Fix broken tests by simplifying the CourseFactory
...
The data argument was being treated specially, but that was just
because we didn't have **kwargs support. Now we do. There are
two uses of data=, one we convert to kwargs, the other was actually
unused, so remove it completely.
2013-07-03 17:04:18 -04:00
Chris Dodge
3acff0a77a
remove unnecessary type check on the module store. XML module stores will throw an exception when deleting an item...
2013-07-03 16:27:30 -04:00
Chris Dodge
e92799bb2e
switch from prints to logging.debug. Also refactor some duplicate code
2013-07-03 16:12:23 -04:00
Ned Batchelder
14ed02c164
Merge pull request #327 from edx/ned/pylint-tweaks
...
Pylintrc changes to improve things, including removing the reports.
2013-07-03 12:29:21 -07:00
Ned Batchelder
a453de2fca
Merge pull request #323 from edx/ned/fix-lms-530
...
Fix LMS-530: Reflected XSS in chapter and page numbers
2013-07-03 12:28:19 -07:00
Calen Pennington
573abb8091
Merge pull request #321 from edx/cale/pylint-errors
...
Pylint errors
2013-07-03 12:16:29 -07:00
Jonah Stanley
0be0df1b59
Merge pull request #325 from edx/jonahstanley/fix-flakey-tests
...
Made a css_html to obtain the html of the css element.
2013-07-03 11:55:25 -07:00
Ned Batchelder
1d5dfaa131
Add tests for image books, and more tests for the other kinds too.
2013-07-03 14:42:41 -04:00
chrisndodge
8dd32b2a12
Merge pull request #312 from edx/fix/cdodge/add-sandbox-whitelisting-to-cms
...
add a 'can_execute_unsafe_code' callback method (ala LMS) to allow for w...
2013-07-03 11:21:28 -07:00
Chris Dodge
a224c1e8a3
need to change aws.py to take the COURSES_WITH_UNSAFE_CODE from the envs.json file
2013-07-03 14:01:33 -04:00
Chris Dodge
656f2b15fd
remove redundent test until we get clarity as to if unit tests are actually using the codejail functionality or not
2013-07-03 13:46:32 -04:00
Chris Dodge
ccfc4fc012
remove extra line space at end of file
2013-07-03 13:46:32 -04:00
Chris Dodge
5088450ed3
add another unit test to explicitly exercise the can_execute_unsafe_code() method
2013-07-03 13:46:32 -04:00
Chris Dodge
b32c4aaa56
actually, seems like we should be using double quotes for docstrings
2013-07-03 13:46:32 -04:00
Chris Dodge
aa7f1f867d
actually, I think we use single quotes for docstrings
2013-07-03 13:46:32 -04:00
Chris Dodge
bcbac3aaa4
add docstring to newly refactored method
2013-07-03 13:46:32 -04:00
Chris Dodge
7962ad7dd0
remove incorrect comment
2013-07-03 13:46:31 -04:00
Chris Dodge
bf3a7287f0
do some lamda magic to refactor out the whitelist checking code to be shared between LMS and CMS
2013-07-03 13:46:31 -04:00
Chris Dodge
11ef3961bc
try to add some additional diff coverage which should get us to 100%
2013-07-03 13:46:31 -04:00
Chris Dodge
9a8c5857e6
change settings to add test course to sandbox whitelist to try to increase diff code coverage
2013-07-03 13:46:31 -04:00
Chris Dodge
0e0dfd22cf
add test for customresponse problem type
2013-07-03 13:46:31 -04:00
Chris Dodge
8d858ecb49
add a unit test to exercise the preview_component AJAX callback in the CMS
2013-07-03 13:46:31 -04:00
Chris Dodge
63ed16e118
add a 'can_execute_unsafe_code' callback method (ala LMS) to allow for whitelisting of courses with respect to codejailing
2013-07-03 13:46:31 -04:00
JonahStanley
221db93f01
Revert "Skipping the flakey tests for now"
...
This reverts commit d383a8add7 .
2013-07-03 13:39:36 -04:00
JonahStanley
7fabac9a4b
Skipped Flakey Tests for now
2013-07-03 13:31:13 -04:00
JonahStanley
d383a8add7
Skipping the flakey tests for now
2013-07-03 13:28:33 -04:00
Chris Dodge
b18fb97eed
extend tests to assert that all draft content is cleaned up. Also add assertion that assets are deleted as well
2013-07-03 11:24:30 -04:00
Chris Dodge
bcc2268216
add code to actually go through and delete the draft modules
2013-07-03 11:23:44 -04:00
Ned Batchelder
2057436e70
Make some tweaks to the pylintrc
...
No one reads the pylint reports, we just want the messages.
setUp and tearDown don't need docstrings.
More ways to mark arguments as unused.
More tweaks
2013-07-03 11:05:11 -04:00
JonahStanley
12a7922f89
Overzealous changing of find to click
2013-07-03 11:00:46 -04:00
Carlos Andrés Rocha
4d8a793083
Merge pull request #314 from edx/hotfix/felix/crowdsource-hinter
...
Add experimental crowdsource hinter module
2013-07-03 07:42:50 -07:00
JonahStanley
0689f0b32d
Merge branch 'master' into jonahstanley/fix-flakey-tests
2013-07-03 10:37:27 -04:00
JonahStanley
19513e4134
Refactored all clicks to use the css_click method
2013-07-03 10:34:56 -04:00
Ned Batchelder
959274c730
Adapt the tests to the new way of making URLs.
2013-07-02 17:08:37 -04:00
JonahStanley
9a5326bca5
Made a css_html to obtain the html of the css element.
...
This works like css_click in that it will retry if there was a stale element reference exception
2013-07-02 16:46:20 -04:00
caesar2164
b3723b1a22
Merge pull request #288 from edx/giulio/accessibility-2
...
Round 2 Accessibility Changes
2013-07-02 13:41:50 -07:00
Jonah Stanley
852292ebf7
Merge pull request #324 from edx/jonahstanley/fix-component-test
...
Jonahstanley/fix component test
2013-07-02 11:55:46 -07:00
JonahStanley
47158d7079
Using the success condition
...
Got rid of announcement test
Removed assumption about uniqueness of css steps
2013-07-02 14:52:32 -04:00
Brian Talbot
2fca2d3887
Merge pull request #299 from edx/talbs/studio-helpnav
...
Studio - Help Links Addition and Small UI Revisions to Main Navigation
2013-07-02 10:58:56 -07:00
Brian Talbot
f1cf03574c
Merge pull request #318 from edx/talbs/studio-coursesharelink
...
Studio - truncates longer course settings sharing urls
2013-07-02 10:58:23 -07:00
Renzo Lucioni
5ac9280468
Merge pull request #315 from edx/renzo/segment-io-refactor
...
Renzo/segment io refactor
2013-07-02 10:54:01 -07:00
Renzo Lucioni
51f694b18d
Remove Segment.io whitelist from Logger
2013-07-02 13:49:33 -04:00
Renzo Lucioni
42efd33cfa
Refactor Segment.io integration with sequentials and instructor dashboard pages
2013-07-02 13:49:33 -04:00
Ned Batchelder
27c70ead1b
Tests and CHANGELOG for LMS-530
2013-07-02 13:30:00 -04:00