Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- **One email per report, for all four apps** (v59, report script and the report page's last screen). No more thank-you emails: the report page already says thank you once the report has gone through, so the email was a waste of Gmail's ~100 a day. People who leave an email now get just the one "here's what we changed" email when their issue is closed as completed, and that now works for AllAboard, AllHail and OverHeard reports too, not just OverBoard's. The report limits go up to 60 an hour and 70 a day (all four apps together).

- **AllHail and OverHeard reports** (v58, report script only). The report script now files AllHail's and OverHeard's "Something not working?" reports the same way as AllAboard's: an issue in that app's repository and an email to the same reports inbox. Each app has its own secret (`ALLHAIL_TOKEN`, `OVERHEARD_TOKEN`), so one app can't send reports as another, and each is off until its secret is set (see docs/REPORTS.md). AllAboard reports work as before. Nothing changes for teachers using OverBoard.
- **AllAboard reports** (v55, report script only). The report script can also file AllAboard's "Something not working?" reports: an issue in the AllAboard repository and an email to the same reports inbox. It is off until the `ALLABOARD_TOKEN` script property is set (see docs/REPORTS.md). Nothing changes for teachers using OverBoard.
- **PDFs open a little faster** (v54, PDF app). The PDF reader now gets ready while the start screen is up, instead of when you pick a file, and one reader is kept for every PDF you open, so Open again and adding a notebook page no longer start a new one each time. Checking which PDF it is (to find its ink) now happens while the PDF opens, not before.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Worksheets built from fixed-size `.page` elements (like `<div class="page">` at
No accounts, no uploads; your ink stays on your machine.

- OverBoard has no server. Ink, and PDFs you open in the app, are stored in your browser, and inside your own file if you choose.
- The one exception is **Board not working?**, and only when you press **Send** on its last screen, after it shows you everything it will send. It sends your board's brand and model, your browser, operating system and screen size, and what the board reported while you drew (pen, mouse or touch; size; pressure). Never worksheets, PDFs, ink or file names. It becomes a public GitHub issue; the optional email address and comments go only to OverBoard's reports inbox. A teacher who gives an email gets a thank-you right away and one more email when there's a fix to try, and nothing else. (Setup: [docs/REPORTS.md](docs/REPORTS.md).)
- The one exception is **Board not working?**, and only when you press **Send** on its last screen, after it shows you everything it will send. It sends your board's brand and model, your browser, operating system and screen size, and what the board reported while you drew (pen, mouse or touch; size; pressure). Never worksheets, PDFs, ink or file names. It becomes a public GitHub issue; the optional email address and comments go only to OverBoard's reports inbox. A teacher who gives an email gets one email when there's a fix to try, and nothing else. (Setup: [docs/REPORTS.md](docs/REPORTS.md).)
- What does get downloaded: the web pages (kept in the browser for offline use) and the two open-source libraries the PDF app uses ([PDF.js](https://mozilla.github.io/pdf.js/) and [pdf-lib](https://pdf-lib.js.org/)), all from GitHub Pages (bpmdata.github.io). Your PDFs, worksheets and ink are never sent anywhere. (The board-probe diagnostic page also loads one script from cdnjs.)
- The optional desktop installer is a Python script that runs on your computer and only edits the files you pick.

Expand Down
4 changes: 2 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>OverBoard PDF</title>
<meta name="description" content="OverBoard: write on any PDF on your smartboard. Runs in the browser; nothing is uploaded.">
<meta name="ob-version" content="b347310590d3">
<meta name="ob-version" content="b0b95bdc75b5">
<meta name="theme-color" content="#145da0">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="icons/favicon.ico" sizes="32x32">
Expand Down Expand Up @@ -47,7 +47,7 @@ <h2 data-t="open_again">Open again</h2>
<p class="note"><span data-th="start_note">Your PDF and your ink stay in this browser on this computer. Nothing is uploaded.
Have a Word file? In Word, choose File → Save as PDF, then drop the PDF here.
Have an HTML worksheet? Drop it here to get a <i>_board.html</i> copy you can write on.</span>
<br><a href="https://github.com/BPMData/OverBoard" data-t="about">About OverBoard</a> · <a href="report/?from=start" target="_blank" data-t="board_help">Board not working?</a> · <span id="ob-release" title="OverBoard version">v58</span></p>
<br><a href="https://github.com/BPMData/OverBoard" data-t="about">About OverBoard</a> · <a href="report/?from=start" target="_blank" data-t="board_help">Board not working?</a> · <span id="ob-release" title="OverBoard version">v59</span></p>
<p class="note ob-langpick"><label><span aria-hidden="true">🌐</span> <select id="ob-lang" aria-label="Language" data-ta="language" data-tt="language" title="Language"></select></label></p>
</div>
</main>
Expand Down
4 changes: 2 additions & 2 deletions app/report/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h1 data-t="r_h1">Is OverBoard not working on your board?</h1>
<p data-th="r_intro2">If something doesn't work the way the page asks, that's fine. <b>That's exactly what I need to know.</b> Just keep going.</p>
<p class="mute small" data-th="r_privacy">Nothing is sent until you press <b>Send</b> at the very end, and you'll see everything first. No worksheets, PDFs or ink are ever included.</p>
<div class="row"><button class="go big" data-go="start" data-t="r_start">Start</button></div>
<p class="mute small" style="margin-top:28px">OverBoard <span id="ob-release" title="OverBoard version">v58</span></p>
<p class="mute small" style="margin-top:28px">OverBoard <span id="ob-release" title="OverBoard version">v59</span></p>
</div></div>
</section>

Expand Down Expand Up @@ -175,7 +175,7 @@ <h1 data-t="r_rev_h1">Ready to send</h1>
<div class="page"><div class="card">
<h1 data-t="r_done_h1">Thank you!</h1>
<p class="lead" data-t="r_done_lead">Your report is on its way. I'll use it to make OverBoard work on your board.</p>
<p class="followup" hidden data-th="r_done_follow">If you gave your email, a thank-you is on its way, and you'll get one more email when there's a fix to try. You can also <a class="issue" href="#" target="_blank" rel="noopener">follow the report here</a>.</p>
<p class="followup" hidden data-th="r_done_follow">If you gave your email, you'll get one email when there's a fix to try. You can also <a class="issue" href="#" target="_blank" rel="noopener">follow the report here</a>.</p>
<p class="mute" data-t="r_done_close">You can close this tab now.</p>
</div></div>
</section>
Expand Down
12 changes: 6 additions & 6 deletions app/sw.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// ===== GENERATED by tools/build.py: every file the app needs, with the start of its SHA-256. Do not edit by hand. =====
const VERSION = '5cd8fde5cc12';
const VERSION = '38d801d59927';
const FILES = {
"../overlay/ink_overlay.html": "75118ad6cd334aba",
"../overlay/ink_overlay.html": "b538eb10d89ccc52",
"../shared/ink-core.js": "b65c19035e241559",
"../shared/strings.js": "d18490c777454e35",
"../shared/strings.js": "f2394bc536e6ec28",
"../shared/toolbar.css": "e1e1905491edf8e6",
"app.css": "f54275874c206db2",
"embed.js": "32fd8ff01c9241cf",
Expand All @@ -17,14 +17,14 @@ const FILES = {
"icons/icon-512.png": "46ca8bd2d6a32612",
"icons/maskable-512.png": "c7d41ed2fa4ad874",
"image.js": "a867d49b8c47a4a0",
"index.html": "da9940d284c8ce94",
"index.html": "057284487639a410",
"ink.js": "79d0b39c073d56dc",
"libs.js": "3b92080779974cfa",
"main.js": "f6b5c9c39dfdea92",
"manifest.json": "798bbad3d5e46dc6",
"notebook.js": "ab3ff1706ec424b3",
"offline.js": "e620a1ba2b6ea506",
"report/index.html": "8772ed1901df2337",
"report/index.html": "fdd2f74173d41e45",
"store.js": "5487f91114ab7c30",
"textlayer.js": "32d43c22f725a2d8",
"vendor/pdf-lib@1.17.1/LICENSE.md": "f2c9fc00fdb66eb9",
Expand Down Expand Up @@ -217,7 +217,7 @@ const FILES = {
"vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-BoldItalic.ttf": "a224075ac17495ad",
"vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-Italic.ttf": "832b4406dbef2362",
"vendor/pdfjs-dist@4.10.38/standard_fonts/LiberationSans-Regular.ttf": "f8ace1f892b2bd9d",
"version.json": "98836bcea77ed203",
"version.json": "d5dd7444774e3d8f",
"viewer.js": "f1e96f64aec11170"
};
// ===== END GENERATED =====
Expand Down
2 changes: 1 addition & 1 deletion app/version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"v": "b347310590d3",
"v": "b0b95bdc75b5",
"js": [
"embed.js",
"export.js",
Expand Down
2 changes: 1 addition & 1 deletion docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Added after v2:
- **Steps:** finger, pen, palm wipe, board eraser, two fingers. One per screen, big text. `Next` always works, with or without input (also Enter / → for boards whose touch doesn't work at all); some steps have a "Skip: I don't have one". Feedback is always positive ("✓ Got it! I saw 2 lines", "✓ Something happened, but not a line"), never "wrong". A button press made with a palm (`pointerKind` = palm), or within 450 ms of a screen change, is ignored, so a wipe can't skip a step.
- **Recording:** document-level capture listeners for pointer, touch, wheel, contextmenu and Safari gesture events, during the steps only (never on the typing screens). Per step: counts by `pointerType`, by OverBoard's `pointerKind`, by `buttons` (and `eraserButton` for `buttons & 32`), max width/height/pressure, tilt, pointers at once, lines (moved > 30 px) vs taps, events outside the pad, scroll/zoom/right-click/pinch. Up to 150 raw events per step (every pointer change, every 10th move). Device: user agent, `userAgentData` high-entropy values (OS version, model, architecture), screen, DPR, `maxTouchPoints`, pointer/hover media queries, cores, memory, installed or not.
- **No SMART driver check** here: reaching the driver on `127.0.0.1` from a website triggers Chrome's local-network permission prompt. `tools/board-probe.html` still does it for developers.
- **Sending:** POST as `text/plain` (no CORS preflight) to `RELAY_URL`, a Google Apps Script web app (`tools/report-relay.gs`, setup in `docs/REPORTS.md`) running as overboard.reporting@gmail.com. It opens an issue labeled `board-report` (summary table plus the JSON, trimmed to fit GitHub's 65,536-character limit) with a fine-grained token kept in Script properties, and emails the full report as an attachment with Reply-To set to the teacher's address. `private` (email, comments) is removed before the issue. Honeypot field `website`; at most 20 reports an hour and 40 a day, 25 thank-you emails a day, and one thank-you per address a week (so a robot can't use up Gmail's ~100 emails a day or pester strangers). With no `RELAY_URL`, or on any failure, the page offers Download / Copy and the email address.
- **Sending:** POST as `text/plain` (no CORS preflight) to `RELAY_URL`, a Google Apps Script web app (`tools/report-relay.gs`, setup in `docs/REPORTS.md`) running as overboard.reporting@gmail.com. It opens an issue labeled `board-report` (summary table plus the JSON, trimmed to fit GitHub's 65,536-character limit) with a fine-grained token kept in Script properties, and emails the full report as an attachment with Reply-To set to the teacher's address. `private` (email, comments) is removed before the issue. Honeypot field `website`; at most 60 reports an hour and 70 a day across all four apps (so a robot can't use up Gmail's ~100 emails a day). No thank-you email: the page says thank you; the only email to the teacher is the one follow-up when the issue is closed as completed. With no `RELAY_URL`, or on any failure, the page offers Download / Copy and the email address.
- **Brand logos:** set `logo: true` in `BRANDS` once `app/report/brands/<id>.svg` exists.

- **Languages and tooltips** (`shared/strings.js`, v24). One table, inlined into the overlay by `tools/build_overlay.py` like `ink-core.js` and imported by the app. Each key is `[en, es, zh, tl, vi, fr, pt, ar]` (order of `obLangs()`); `{name}` placeholders; a missing entry falls back to English.
Expand Down
Loading
Loading