Adding current file hierarchy to repository

/Prep/ contains the prep files (Photoshop, etc.) and any accompanying documentation for files.

/www/ contains actual scripts and graphics.

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

Cleaning up and formalizing our repository branches for ease of development/documentation/use. Also, to accommodate Seth's incipient OCD.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
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>
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>
Ignore .ignore files
Deprecated exitOnError()

I build myself a much better error display function a while back, but hadn't replaced all the calls to exitOnError() with it. Now I have, and I have removed exitOnError().

Also: .gitignore has been updated to reflect the presence of .orig merge files scattered throughout the directory. Eventually they should get cleaned up. But, meanwhile, no need to commit them to the repo.
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>
Organization

Organized links into nicer groupings. That make sense. To me.

Signed-off-by: Seth Battis <seth@battis.net>
Styling, Individual Users

Removed extraneous 'a' from unframe.php.

Added individual user filtering and optional CSS styling to menu.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Reorganized, "Improved" Styling

Minor tweaks.

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

Added whitespace to the source to make it readable, updated the CSS to look less appalling.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Hide Future Courses from Students

Added a script to hide future enrollments from students on their course listing page.

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

Using global.js to amalgamate my Javascript files, rather than PHP (which our lame web server doesn't support).

Reduce testers list and default to student view of resources menu.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Safer Function Naming Pattern

I realized that just tossing my arbitrarily named Javascript functions into the same namespace as the app that I'm modifying… could end badly.

Now all of my functions are named stmarks_*.

'would be good to move my variables out of that namespace as well, but so far nothing is breaking!

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

The Center isn't published yet, HR docs are no longer on Lion Hub.

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

Menu items (and sections and columns) can be turned on and off based on departmental memberships (i.e. which sub-accounts the user has manager access to).

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Split into Two Menus

Trying to fit 10 pounds of information into a 5-pound menu...

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Hide Pages if Hidden

Seems self-evident, but [this thread](https://help.instructure.com/entries/21422345) on the Canvas Communities highlights an annoying visibility issue: users who can't see the Pages section can still see the whole list of pages if they are on a Page.

This removes those lists from the interface.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Laptop Friendly(er)

Removed a lot of subtitles, reorganized lists to try to make two menus that were relatively laptop-friendly.

Continues to be a work in progress.

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

Added Global Citizenship to both the Resources menu and the coursesToHide list.

Also: fixed course-hiding.
Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>