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>
Ignore .ignore files

I have rejiggered the .gitignore file so that I can maintain a file with a plaintext copy of the API key and matching instance URL without committing it to Git accidentally.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
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>
Reorganization

Pulling files into better organized directories. Rewrote includes and HREFs to be more durable across different folder organizations.

Added top-level configuration for school information in config.inc.php

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

Fixing some lingering issues from the transition to dev-support.

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

Include server name.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
50 responses per page

Try to limit the number of API calls by maxing out the amount of data returned per call.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
Non-lousy Lost Password Page

Geez, what a jerk move to redirect people to lmgtfy when they forget their password.

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

Consistently define TOOL_NAME before including any (potentially conflicting) libraries of code.

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

Getting rid of SMCanvasLib files. Whee!

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

Added SMCANVASLIB_PATH for including components of the library.

APP_PATH points to the parent directory of SMCANVASLIB_PATH.

This should allow this to become (more or less transparently) a submodule of various other projects. Maybe.

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

More properly adding Pest as a submodule, for more robust version control.

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

Whoops. Need a SMCANVASLIB_URL constant as well.

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

Argh!

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

Sort of. Just dropped it in from smcanvas-ics-sync — it needs to be "generalized" a bit.

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

Trying to get scheduled ICS syncs working again and cleaning up a few minor errors.

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

Added pwgen-php for the advisors-as-observers script.

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

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

Set the protocol to for the APP_URL (and therefore also SMCANVASLIB_URL) to be the same as the request protocol.

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

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