cahrens
f73aadbee7
Simplify boolean check.
2013-07-09 14:32:15 -04:00
cahrens
d7946efcaf
Note about course creator table and rake command change.
2013-07-09 13:15:18 -04:00
cahrens
ee2d874fdc
Remove extra blank lines.
2013-07-09 13:12:15 -04:00
cahrens
283e2b2e60
Don't store abbreviations for state.
2013-07-09 13:07:38 -04:00
cahrens
01557b26be
Move call into authz methods out of model class.
2013-07-09 12:47:54 -04:00
cahrens
99584aab23
pep8 cleanup
2013-07-09 11:08:27 -04:00
cahrens
6a49980582
Add tests for permissions.
2013-07-09 11:02:59 -04:00
cahrens
5cd90d58f5
Clarify documentation.
2013-07-09 10:33:37 -04:00
cahrens
5a3a03c0d4
Change user to foreign key (tracks deletions).
2013-07-09 10:23:38 -04:00
cahrens
0bad62942e
Update migrate and syncdb commands so they run on CMS as well, delete obsolete migrate task.
2013-07-09 09:36:28 -04:00
cahrens
23ffa2a616
Show note field, update filterable.
2013-07-08 16:55:32 -04:00
cahrens
73f4b1c676
Overloading methods does not work with variable names changed.
2013-07-08 16:43:30 -04:00
cahrens
69a998780a
Remove test case moved to test_admin.
2013-07-08 16:10:43 -04:00
cahrens
28115af488
The course creator view adds granted users course creator status.
...
Includes unit tests and modifications to authz.py.
2013-07-08 16:08:06 -04:00
cahrens
5e8e3353ca
Pylint/pep8 cleanup.
2013-07-08 16:07:02 -04:00
cahrens
2cceda948c
Disable test point when run under CMS.
...
The template exists when django admin is enabled, but the mappings in CMS' urls.py do not exist.
2013-07-08 13:12:44 -04:00
cahrens
b53899aa54
Merge branch 'master' into christina/course-creator-table
2013-07-08 12:12:04 -04:00
cahrens
293ee0b0ae
Update comment.
2013-07-08 12:09:53 -04:00
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
cahrens
f1f6acb5c7
Updates to admin table view.
...
Also hooks up the granted and deny events to the course creator group.
2013-07-03 17:07:06 -04: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