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.
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
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
Merge pull request #62 from Rubinous/master

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