Prototypes for displaying badges in the LMS. Badges previewed in progress page; course's badges accessible at courseware /badges; all edX badges accessible at /badge_profile; updated to work with Django REST Framework version of badge service.
Fixed issue in which badges_profile was out of date
Updated badges_profile template.
Moved badge_service_url to settings. Stripped down badges_profile.html and its view. Added docstrings, comments in response to views. Updated function `read` in `make_badge_data` so that it works with the badging service's newly-paginated lists.
Updated to reflect changes to badge service.
Removed badges_profile as unnecessary. Added sharing badges on social media. Changed progress page's mini-badges to render using JSONP.
Changes according to PR comments: added tests for make_badge_data; cleaned up make_badge_data a lot, changing how data is passed to badges.html; internationalized badges.html; fixed earlier pylint/pep8 errors; wrote javascript for progress page -- at progress_badgelets.js -- so that the progress page will load, then load badges via Javascript.
Added test for badges._fetch. Fixed bug discovered in _fetch by tests.
Fixed some things pointed out by Jenkins.
WIP. Massive changes to badges.py, refactoring for OOP and for better exception handling. Improved use of patching in test_badges.py. test_badges.py not yet up-to-date with changes in badges.py.
WIP still. Updated progress_badgelets.js and progress.html to use Mustache template.
WIP still. Minor refactoring of progress_badgelets.js.
Added usage of underscore.js in progress_badgelets. Fixed test_badges so that tests pass; still need to write more tests there.
Fixed errors suggested by pep8/pylint. Still to-do: write more tests.
WIP. Modifications to tests.