Current Resources Menu

The current state of the Resources Menu, including [this issue](https://github.com/smtech/canvas/issues/1).

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

Tweaking includes to match improvements in dev-calendar-ics.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/dev-calendar-ics' into dev-blackboard-import
Merge branch 'refs/heads/dev-archive-discussions' into dev-resources-menu

Bringing dev-resources-menu up-to-date.

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

Getting the HTML from a variety of browsers to test out why [the menu is misbehaving](issues/1).

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/master' into dev-blackboard-import
Event Title Cleanup

Stripping tags off of the end of the events names. So:

Event Title [tag][tag2]

becomes

Event Title

Also improved some of the debugging information, flagged some other processes that would be good to stay on top of!

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

Huh. Apparently my old, incorrect delete from the event cache snuck back in. Too many merges.

Fixed it again.

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

Bringing up-to-date.

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

Bringing up-to-date.

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

Updated debugging information some more, to add more filters on which information gets presented in what scenarios.

Updated canvas-api.inc.php to allow calling scripts to catch their own exceptions (godspeed!).

Updated import.php to treat HTTP 401 errors on DELETEs of calendar_events as though they were what they are (HTTP 410, I think) and to keep the cache up-to-date without breaking the rest of the sync.

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

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

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Prep for tag filtering

Set up the framework for applying filtering of events by tags.

Updated some of the HTML and Javascript to make it more elegant. (Because, why not?)

Updated export.php to work with current version of canvas-api.inc.php.

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

Bringing the documentation up to speed with the code and planning.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Merge branch 'refs/heads/master' into dev-calendar-ics
Always use the library

If it's provided, don't rewrite it!

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Oh, for dumb...

Go the tag filters and the HTML tag filtering swapped in filterEvents(). Fixed now.

Apparently, courtesy of Coda's unreliable double-click selection, I ended up with some $$event variables that have now been fixed.

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

Identify a user based on a unique class in which they are enrolled and modify the menu to reflect those permissions. (Currently based on Faculty Resources -- which is removed from the Courses menu for Faculty and moved to Resources, but roles could be added.)

Added core of Lion Hub/SMS to the menu.

Signed-off-by: Seth Battis <seth@battis.net>