Merge branch 'refs/heads/dev-blackboard-import'
Merge branch 'refs/heads/master' into dev-calendar-ics
Improved Logging

Restructured include hierarchy and logged when default values are used.

Separated debug_log() out into a separate file, for reusability.

Signed-off-by: Seth Battis <SethBattis@stmarksschool.org>
One-time ICS Import

One-time ICS imports are working (although the messaging that tells users that they have been done… is not working).

Scheduled imports are not yet done, nor is handling canvas contexts (can only import into courses right now) — this is a n easy fix, though.

PestCanvas was a too-complicated idea, and has been removed, as has PestJSON — all I needed was to put one json_decode() at the end of callCanvasApi().

Turns out timezones matter! But now recurring events are correctly added to the calendar, using the date under which the instance appears, rather than the start and end dates of the instance.

N.B. that include file ordering has started to really matter, and that authentication files and config files should be included BEFORE any other files.

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

Delusions of grandeur, begone!

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