Current Discussion Permalinks

The current state of discussion permalinks, including [this issue](https://github.com/smtech/canvas/issues/2).

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/master' into dev-discussion-permalinks

Bringing up-to-date.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/master' into dev-discussion-permalinks
Merge branch 'refs/heads/dev-resources-menu' into dev-discussion-permalinks

Merging in the improved naming pattern from dev-resources-menu.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/dev-discussion-permalinks' into dev-javascript

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>

Conflicts:
	www/javascript/global.js
	www/javascript/hide-future-courses.js
	www/javascript/resources-menu.js
Updated README

Descriptions of individual one-off Javascripts.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Timing Update

Updated hide-future-courses.js to simply keep retrying until the variables and/or DOM elements required are available (as in [dev-faculty-journal](https://github.com/smtech/canvas/commit/38955ef47b33478d0549712689844734dc66001d))

Also, re-added discussion-permalinks.js back into global.js.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Flagged Future TODOs

I would like to update these Javascripts to be consistent with the new work in faculty-journal.js. We'll get there. Someday.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/master' into dev-branding
Merge branch 'refs/heads/master' into dev-faculty-journal
Merge branch 'refs/heads/master' into dev-javascript

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>

Conflicts:
	README.md
Merge branch 'refs/heads/master' into dev-resources-menu
Retimed Faculty Journal Button

It is now independent of resources-menu.js (around which there seemed to be some timing issues), but instead simply checking if this is a user who can add people to the class (like a teacher or TA) before adding the Faculty Journal button.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
2013-2014 All School

Updated enrollments and switched over to current year All School course.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/dev-resources-menu'
W3C-compliant

Oy. InnerText is really IE (but everyone except Firefox supports it). innerHTML works better (textContent didn't seem to work at all, even though MDN says it should be used instead of innerText.)

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Re-Fixing Permission Check

Somehow we reverted back to checking userClass. Should be checking for Add People button.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/dev-faculty-journal'
Quotes

Some people's names have 'em. They need to be escaped or it breaks string quoting.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
All HTTPS, All The Time

Something shifted overnight on October 3, and suddenly Chrome and a few other browsers started to treat this script like a cross-site scripting attack. To get around  that, everything is being accessed via HTTPS now.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>