Repository navigation
feat: read dated assessments from course outlines (v1.10.0) - #23
Merged
Merged
Conversation
New optional source that reads outline.uwaterloo.ca while the user is signed in: the personal course list from /viewer/api/search/ and each outline's "Assessments & Activities" table. - Only explicit calendar dates are used; TBD, weekday patterns and ranges are skipped. Date-only items stay all-day. - "Available ... Due ..." rows become timed quiz windows; multi-date rows become one entry per date. - Outline items are hidden when LEARN/Crowdmark already lists the same item that day for the same course. - Per-course failures keep the previous data; sign-out surfaces as the usual "open the site" prompt. - Optional host permission + CSP connect-src for outline.uwaterloo.ca; privacy policy, store permission notes and README updated. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional Course outlines source so every course with an outline (not just ENGL 119) gets its dated assessments automatically, instead of a manual JSON import.
How it works
outline.uwaterloo.ca/viewer/api/search/?q=(the signed-in user's own course list) and each outline's Assessments & Activities table, using the existing session. Read-only.TBD, weekday patterns ("Wednesdays") and ranges are skipped; dates with no published time stay all-day.Available … Due …rows become timed quiz windows; "October 6 & 8" style rows become one entry per date.Permissions / review impact
https://outline.uwaterloo.ca/*and the same host inconnect-src. Off by default; the user enables it in Settings → Sources → Add optional sources. Store update will need re-review. Version bumped to 1.10.0.Verification
tsc, 289 tests, and build pass; newtests/outline.test.tscovers the parser, the page reader, per-course failure retention and de-duplication.🤖 Generated with Claude Code