visibility field for course instances and schemamigration
invisible courses not available through api (and thus not available in course archive)
Went through all the views in course.views and put authorization to those. Also put authorization to the main view. It looks quite ugly to me. There is redundant code for example. This should be improved.
-
CourseInstance visibility should now be correct in all the views. Added some helper functions and methods for DRY. Tested locally in most obvious cases.
Fixed potential zero division with a divisor check. Added an additional assert (see the comment above the assert). Fixed late submission penalty calculation.
If the assessment service does not set the obligatory max_points, the response is considered erroneous. Also some cosmetic changes. Also, moved the get_course_instance method from BaseExercise to LearningObject.
Merge commit 'd8343db9926befdaa509d4e982c2c62585971e4b'

Conflicts:
	urls.py

There was actually no conflict but some whitespace difference messed things up. Teste
Added error handling for failing post data validation in the async submission callback view. It's very cool.
Merge commit 'd8343db9926befdaa509d4e982c2c62585971e4b' into invisible_courses
Removed the indexing of the course module listing in the course instance view.
CAUTION: This commit includes schema migration. The schema migration makes max_length of a CharField longer.

Made the CourseModule name field longer. It is up to 255 characters now. Tested and tt seems to wrap nicely in the view even with 10 exercise buttons (Firefox and Chrome).
Some cosmetic changes.
Merge branch 'course_module_points' into invisible_courses
Merge branch 'course_module_points'

Conflicts:
	exercise/submission_models.py

Some weird whitespace merge conflict. Ran automatic indention converter (level = 4 spaces) just in case.
More cosmetic changes and a TODO item.
Merge pull request #60 from Rubinous/invisible_courses

Invisible courses
Merge pull request #63 from Rubinous/course_module_numbering

Course Instance View - Course Modules
Cosmetic changes.
Merge pull request #62 from Rubinous/master

Fixed potential zero division with a divisor check. Added an addition…