Remove em and en dashes from comments, logs, docs and CI
Security / JS Security (npm audit) (push) Failing after 15s
Lint / JS (eslint) (push) Successful in 16s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Skipped
Lint / JS (eslint) (pull_request) Successful in 13s
Lint / Notify on failure (pull_request) Skipped
Test / JS Tests (jest) (push) Successful in 15s
Lint / Deploy (pull_request) Skipped
Test / JS Tests (jest) (pull_request) Successful in 17s
Security / JS Security (npm audit) (pull_request) Failing after 20s

Replace every em dash and en dash outside user-visible UI text with a
colon, comma, hyphen or "to". The UI strings and the vendored
web_template are handled separately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jaredandClaude Opus 5.5 committed 2026-11-22 01:50:37 -05:00
1 parent 8e77c1af0a
commit 66d5240be0
21 files changed
+73 -73

No files matched your search

+4 -4
View File
@@ -1,13 +1,13 @@
// WebSocket upgrade authentication (issue #38).
//
// Every connection is classified once, at the HTTP upgrade:
// browser — came through the trusted proxy with an Authelia identity in an allowed group;
// browser: came through the trusted proxy with an Authelia identity in an allowed group;
// receives the live event feed.
// worker — presented the worker key at the handshake (Authorization: Bearer <key>).
// pending — neither, accepted only while WORKER_AUTH_ENFORCE is off so that workers
// worker: presented the worker key at the handshake (Authorization: Bearer <key>).
// pending: neither, accepted only while WORKER_AUTH_ENFORCE is off so that workers
// which predate handshake auth can still identify with worker_connect.
// Gets no events and may send nothing but worker_connect.
// reject — refused with 401 before the upgrade completes.
// reject: refused with 401 before the upgrade completes.
const crypto = require('crypto');
const { ssoIdentity, ALLOWED_GROUPS } = require('./pageauth');