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.
Template used to render is configurable in view_exercise
Added the oembed app and templates
Added oembed to installed apps and included urls
-
CourseInstance visibility should now be correct in all the views. Added some helper functions and methods for DRY. Tested locally in most obvious cases.
Changed to use django's json implementation
Fixed response mimetypes to match the OEmbed specs
Fixed line indentations and removed one unused import
Merge pull request #57 from vkaravir/oembed

Oembed
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.
Added the new CategorySummary, which resembles the ExerciseRoundSummary. Added category summaries to the CourseSummary. Added categorized total points to the course instance view.

This commit is a working draft.
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.