Repository navigation
Comparing changes
Open a pull request
base repository: codu-code/codu
base: develop
head repository: codu-code/codu
compare: chore/security-updates
- 9 commits
- 110 files changed
- 1 contributor
Commits on Nov 17, 2026
-
chore: clear all security advisories, update dependencies, and fix wh…
…at surfaced Security and dependencies - npm audit at the root goes from 87 advisories (5 critical, 17 high) to 0. - In-range updates across the board; nodemailer 7 -> 10, sharp 0.33 -> 0.35, aws-cdk-lib -> 2.277 (cdk/), and TipTap 2 -> 3, which has no patched 2.x release. Editor behaviour is pinned to what it was, and TipTap JSON post bodies now render through the server entry point. - Drop packages only the unused old editor needed, and the CDK packages the root never imported. Duplicate vercel.app site - On production, *.vercel.app hosts 308 to the project's production domain. /api, preview deploys and forks are left alone. Moderation - System reports raised by the nightly review are now listed, counted and dismissible in the admin queue, for posts and comments. - The cron raises at most one system report per post or comment. Feed sources - Admin Sync ingests into the live posts table through a shared module that the feed:fetch script also uses, instead of the legacy tables. - Creating a source sets its slug and linked author profile. - Untrusted article pages are fetched through one guarded fetch that validates every redirect hop and caps the body. Cleanup - Remove tRPC procedures with no caller, the unused comment router, the old editor, unused helpers, and unreferenced files including a 17 MB binary. - Search links use the shared URL builder; /feed.xml returns 500 on failure; canonicals on three static pages; Lambda runtimes to Node 22; actions/cache v4; .mcp.json untracked.
Configuration menu - View commit details
-
Copy full SHA for 0fed34e - Browse repository at this point
Copy the full SHA 0fed34eView commit details -
test(e2e): make five specs hold on real mobile emulation
Playwright 1.57 had no "Pixel 9" or "iPhone 16" device descriptors, so the Mobile Chrome and Mobile Safari projects were spreading `undefined` and running as desktop Chromium. 1.65 ships both, which exposes tests that were never exercised on a mobile viewport. - search: find the trigger by accessible name, which matches the desktop field and the mobile icon button alike. - my-posts: assert a closed select's options are attached, not visible. - my-posts: skip the dialog Close (X) test on mobile, where it is hidden. - editor: skip the modifier-key shortcut tests on touch devices.
Configuration menu - View commit details
-
Copy full SHA for c5478fb - Browse repository at this point
Copy the full SHA c5478fbView commit details -
test(e2e): wait for the editor to hydrate before typing
The editor specs navigated to /create and typed immediately. On WebKit under CI load the form had not hydrated yet, so the typed title and tags were discarded and the assertions timed out or passed only on retry. The TipTap body mounts on the client only, so the specs now wait for it before interacting.
Configuration menu - View commit details
-
Copy full SHA for 8b7138f - Browse repository at this point
Copy the full SHA 8b7138fView commit details -
test(e2e): let the report modal's navigation settle before the next p…
…age load Closing the report modal drops ?report= with a client-side navigation. The spec went straight on to load the admin queue, and the two navigations occasionally collided ("interrupted by another navigation").Configuration menu - View commit details
-
Copy full SHA for 495d538 - Browse repository at this point
Copy the full SHA 495d538View commit details -
fix(rate-limit): honour RATE_LIMIT_DISABLED for every limit, not only…
… middleware ones The flag exists so the e2e suite, which drives every browser project through the same seeded users, is not throttled. It was only checked in the tRPC middleware, so limits applied inline in a procedure ignored it. The publish throttle (10 per 5 minutes) is one of those: by the last browser project the test user was told "You're posting too fast" and the publish and link-dedupe specs failed. The check now lives in enforceRateLimit, which both paths go through.
Configuration menu - View commit details
-
Copy full SHA for 98c248b - Browse repository at this point
Copy the full SHA 98c248bView commit details -
fix(ssrf): block IPv4-mapped IPv6 hosts in the form the URL parser emits
new URL() serialises [::ffff:169.254.169.254] as [::ffff:a9fe:a9fe]. The guard only recognised the dotted form, so a mapped loopback, link-local or private address written that way was treated as public. Decode the hex form and run it through the IPv4 check.
Configuration menu - View commit details
-
Copy full SHA for 5a5fc80 - Browse repository at this point
Copy the full SHA 5a5fc80View commit details -
fix: address review feedback on the redirect, source names and feed d…
…ates - The vercel.app redirect now leaves the bare /api path alone, not only paths beneath it. - Creating a feed source whose name has no a-z or 0-9 characters returns a clear BAD_REQUEST instead of "already exists". - RSS items dated in the future are skipped; they would otherwise sit at the top of the feed. - The post body test uses a javascript: image URL, which the sanitizer itself has to remove.
Configuration menu - View commit details
-
Copy full SHA for ce05d93 - Browse repository at this point
Copy the full SHA ce05d93View commit details -
fix(cdk): bundle the sharp lambdas inside the Lambda build image
sharp ships per-platform binaries. NodejsFunction bundles locally when esbuild is available, so a deploy from a Mac packaged sharp-darwin-arm64 into the avatar and upload resize functions, which cannot load on Lambda. It stayed hidden while the lambdas' source hash was unchanged; bumping sharp changes the hash and would have shipped the wrong binaries. Force Docker bundling for the two functions that depend on sharp.
Configuration menu - View commit details
-
Copy full SHA for cde8762 - Browse repository at this point
Copy the full SHA cde8762View commit details -
fix(cdk): connect the cron lambdas to RDS over verified TLS
The RSS fetcher and vote-reconcile lambdas connected without TLS, which RDS has rejected since the Postgres 15 upgrade turned rds.force_ssl on, so both have failed on every run. They now use TLS and verify the server certificate against the RDS CA bundle that ships in the Lambda runtime. Verification needs a valid server certificate: the instance still served one issued under rds-ca-2019, which expired in August 2024. Move it to rds-ca-rsa2048-g1 (Postgres 15 rotates without a restart).
Configuration menu - View commit details
-
Copy full SHA for 1d0c9f4 - Browse repository at this point
Copy the full SHA 1d0c9f4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff develop...chore/security-updates