Commit Graph

75 Commits

Author SHA1 Message Date
Matt Isenhower
94aa3d7ece Replace # private class members with _ prefix convention for consistency
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 16:01:09 -08:00
Matt Isenhower
c1664590b5 Auto-update social media avatars
Some checks failed
Build frontend / build (22.x) (push) Has been cancelled
Deploy / deploy-frontend (push) Has been cancelled
Deploy / deploy-backend (push) Has been cancelled
Fix code styles / build (push) Has been cancelled
Tests / test (22.x) (push) Has been cancelled
2026-02-20 08:56:19 -08:00
Matt Isenhower
09c2031ece Improve logging 2026-02-17 22:27:25 -08:00
Matt Isenhower
f363d9551e Use Threads-specific URL 2026-02-17 22:24:31 -08:00
Matt Isenhower
1b8a866548 Update Threads client 2026-02-17 22:20:51 -08:00
Matt Isenhower
811cd7fcd3 Improve error reporting 2026-02-17 22:05:05 -08:00
Matt Isenhower
d6ea4827b6 Disable Threads for now
Some checks are pending
Build frontend / build (22.x) (push) Waiting to run
Deploy / deploy-frontend (push) Waiting to run
Deploy / deploy-backend (push) Waiting to run
Fix code styles / build (push) Waiting to run
2026-02-15 18:37:43 -08:00
Matt Isenhower
7adb9c313e Add mkdirp utility to avoid verbose fs.mkdir calls
Added mkdirp() helper to app/common/fs.mjs that wraps
fs.mkdir(dir, { recursive: true }). Updated all call sites to use it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 11:09:02 -08:00
Matt Isenhower
8780463c66 Replace deprecated and unmaintained packages
- Removed mkdirp in favor of native fs.mkdir({ recursive: true })
- Replaced ecstatic (unmaintained since 2021) with sirv
- Replaced jsonpath (security vulnerability) with jsonpath-plus
  - Added jsonpathQuery/jsonpathApply helpers in app/common/util.mjs
- Updated sharp: 0.32.6 → 0.34.5
- Updated puppeteer-core: 23.8.0 → 24.37.3

Vulnerabilities reduced from 40 to 1 (only remaining: axios in
threads-api transitive dependency).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 11:05:49 -08:00
Matt Isenhower
ca632864f8 Add error handling and media validation to social media clients
Wrap send() methods in try-catch with descriptive error messages
and add early return when media is missing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 20:03:56 -08:00
Matt Isenhower
c1a290e7bc Add null/bounds checks for media arrays and Splatfest results
Guard against accessing undefined media arrays in FileWriter,
ImageWriter, and protect against findIndex returning -1 in
SplatfestResultsBox.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-31 20:03:48 -08:00
Matt Isenhower
ccc18df431 Disable Twitter client
Some checks failed
Build frontend / build (20.x) (push) Has been cancelled
Deploy / deploy-frontend (push) Has been cancelled
Deploy / deploy-backend (push) Has been cancelled
Fix code styles / build (push) Has been cancelled
Update query hashes / check-and-create-pr (push) Has been cancelled
2025-02-25 13:06:51 -08:00
Matt Isenhower
d728a584ce
Merge pull request #83 from misenhower/develop
Some checks failed
Build frontend / build (20.x) (push) Has been cancelled
Deploy / deploy-frontend (push) Has been cancelled
Deploy / deploy-backend (push) Has been cancelled
Fix code styles / build (push) Has been cancelled
Release
2024-12-06 08:37:01 -08:00
Matt Isenhower
47d15e8f7e Fix Bluesky image ratios
Some checks failed
Build frontend / build (20.x) (push) Has been cancelled
Fix code styles / build (push) Has been cancelled
2024-11-30 09:59:08 -05:00
Matt Isenhower
8dd2246490 Suppress some errors 2024-11-22 13:26:38 -08:00
Matt Isenhower
c286779cdc Linter 2024-11-17 19:35:17 -08:00
Matt Isenhower
cb76f65783 Add S3 syncer 2024-11-17 19:35:00 -08:00
Matt Isenhower
4f0a4bf684 Improve parallel behavior when sending posts 2024-11-17 17:28:24 -08:00
Matt Isenhower
35316e02f2 Use Browserless for capturing screenshots 2024-11-17 16:29:00 -08:00
Matt Isenhower
beb6bc2510 Cleanup
Some checks are pending
Build frontend / build (20.x) (push) Waiting to run
Fix code styles / build (push) Waiting to run
2024-11-03 08:47:00 -08:00
Matt Isenhower
a7d1b67391 Send social media statuses simultaneously 2024-11-03 08:46:32 -08:00
Matt Isenhower
6b7c2caddc Report social media posting errors to Sentry 2024-11-03 08:35:29 -08:00
Inkception
18f19a84b8 Add second tricolorStage to social posts 2024-10-27 02:59:36 +01:00
Matt Isenhower
5e587e46ba Tweak tricolor schedule post 2024-09-13 14:49:49 -07:00
Inkception
79ac113e5f Include Tricolor on social media posts again 2024-09-13 20:34:35 +02:00
Matt Isenhower
3df847b67a Fix schedule post 2024-09-12 17:54:35 -07:00
Matt Isenhower
d7d6c57d43 Disable Salmon Run gear post 2024-09-05 08:01:21 -07:00
Matt Isenhower
d1c3480db7 Curly brace spacing 2024-03-17 10:22:25 -07:00
Matt Isenhower
37ee0c4dc9 Prefer single quotes and enforce semicolons 2024-03-17 10:20:17 -07:00
Matt Isenhower
e87a4b241d lint-fix 2024-03-17 10:15:18 -07:00
Matt Isenhower
f2b332795f Update Mastodon client 2024-03-17 09:55:39 -07:00
Matt Isenhower
3e2c31eaa7 Remove v-html 2024-03-16 22:41:13 -07:00
Matt Isenhower
8b55a5deba Fix linting issues 2024-03-16 22:31:20 -07:00
Matt Isenhower
0cd1e40da2 Parse hashtags for Bluesky 2024-03-16 21:45:08 -07:00
Matt Isenhower
77c1680bb9 Use new boss data 2023-11-29 20:09:20 -08:00
Matt Isenhower
38dd66b207 Fix <br /> in challenge posts 2023-11-23 08:31:11 -08:00
Matt Isenhower
56832b3ed3 Fix the Splatfest social status generators 2023-11-11 17:48:07 -05:00
Slushie
f5cac85c1e
update screenshot page for region-specific Splatfests 2023-11-10 14:11:36 +00:00
Slushie
c0ae2c2c27
Adjust social generators for regional Splatfests 2023-11-10 13:56:16 +00:00
Matt Isenhower
b3104f01a7 Remove "global" wording for now 2023-11-10 07:46:40 -05:00
Slushie
131c785aa4
tiny emergency fix pt 2 2023-09-08 15:21:45 +01:00
Slushie
0e439bd83a
Edit social post for Splatfests 2023-08-30 06:40:19 +01:00
Matt Isenhower
92a06e3a5f Fix a mistake 2023-07-23 21:55:52 -07:00
Matt Isenhower
cd67ee5aee Use token auth for Threads 2023-07-23 21:55:01 -07:00
Matt Isenhower
787e73338b Prevent the social media bot from trying to use unavailable accounts 2023-07-23 09:06:13 -07:00
Jack Matthews
bccf0f63e3
Convert image to JPEG and upload properly 2023-07-12 16:15:26 -04:00
Jack Matthews
c17c7545b5
Initial Threads updater 2023-07-12 11:48:53 -04:00
Matt Isenhower
e4e6051999 Run linter 2023-06-25 20:59:43 -07:00
Matt Isenhower
9bf5ea66f8 Use Twitter API v2 for posts 2023-06-25 16:42:35 -07:00
Matt Isenhower
3efe04ec9c Add alt text to the challenge event post 2023-06-03 11:10:28 -07:00