github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 30ad62a36b99f0c922fe1790a40d9547d254a77c https://github.com/dreamwidth/dreamwidth/commit/30ad62a36b99f0c922fe1790a40d9547d254a77c Author: Mark Smith mark@dreamwidth.org Date: 2026-02-03 (Tue, 03 Feb 2026)

Changed paths: A .github/workflows/tasks/worker-send-email-ses-service.json R .github/workflows/tasks/worker-service.tt R .github/workflows/update-workflows.pl R .github/workflows/worker-deploy.tt M .github/workflows/worker-deploy.yml M .gitignore A bin/ecs-shell A config/update-workflows.py A config/workers.json A terraform/cluster.tf A terraform/iam.tf A terraform/load-balancing.tf A terraform/locals.tf A terraform/providers.tf A terraform/proxy.tf A terraform/security-groups.tf A terraform/web.tf A terraform/workers.tf

Log Message:


Add Terraform for ECS infrastructure with single source of truth for workers

  • Add terraform/ directory managing ECS cluster, services, task definitions, load balancers, security groups, and IAM roles
  • Create config/workers.json as single source of truth for worker definitions, shared by Terraform (via jsondecode) and GitHub Actions workflow generator
  • Replace Perl Template Toolkit workflow generator with pure Python script (config/update-workflows.py) - no external dependencies needed
  • Add bin/ecs-shell helper script for listing services and connecting to tasks
  • Add send-email-ses worker that was missing from workflow definitions
  • Update .gitignore to exclude Terraform state files and lock file

The workers.json file defines all worker properties (cpu, memory, category, spot, min/max counts) in one place. To add a new worker: 1. Add entry to config/workers.json 2. Run: terraform apply 3. Run: python3 config/update-workflows.py

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
[staff profile] mark posting in [site community profile] dw_maintenance

Hi all!

I'm doing some minor operational work tonight. It should be transparent, but there's always a chance that something goes wrong. The main thing I'm touching is testing a replacement for Apache2 (our web server software) in one area of the site.

Thank you!

Mod Post: Off-Topic Tuesday

Feb. 3rd, 2026 08:40 am
icon_uk: Mod Squad icon (Mod Squad)
[personal profile] icon_uk posting in [community profile] scans_daily
In the comments to these weekly posts (and only these posts), it's your chance to go as off topic as you like.

Talk about non-comics stuff, thread derail, and just generally chat among yourselves.

The intent of these posts is to chat and have some fun and, sure, vent a little as required. Reasoned debate is fine, as always, but if you have to ask if something is going over the line, think carefully before posting please.

Normal board rules about conduct and behaviour still apply, of course.

It's been suggested that, if discussing spoilers for recent media events, it might be advisable to consider using the rot13 method to prevent other members seeing spoilers in passing.

The world situation is the world situation. If you're following the news, you know it as much as I do, if you're not, then there are better sources than scans_daily. But please, no doomscrolling, for your own sake.

A shout out to all in Minnesota who are doing a spectacular job of peacefully pissing off people in power (That came out more Stan Lee than I expected).

More of the Epstein files were released, and I've lost track of what is being released to distract from what because it seems to be a Möbius strip.

In what I think must be a first, Disney+ dropped all the episodes of their Yahya Abdul-Mateen II led "Wonder Man" series. One might suspect lack of confidence in their product in not even giving it a weekly release.

On the plus side, The Muppet Show special airs this week, and I think we all need something like that right now.

A documentary about the current FLOTUS also arrived to be greeted by reviews which were a gift to the sarcastic (My favourite remains "If they showed this as an in-flight movie, the audience would STILL walk out") and lots of photos of empty cinemas, though it did manage to get bums on seats in the US.

The Grammy's happened but, since my musical awareness rarely extends beyond oompah-bands and/or Himalayan throat-singing I don't feel qualified to comment.
merridia: (Buy crazy!)
[personal profile] merridia
Work is crazy, but life goes on! Also various wrestling companies keep announcing additional Canadian dates that line up with my vacation time so I keep having to move things around??? TJPW tickets (two dates during Dynasty weekend) on sale tomorrow, Mystery Wrestling 23 in Edmonton on Thursday. AND THEN THAT'S IT. I gotta start booking the actual travel! Gonna be a crazy couple of weeks!

Theatre still closed. Trying to be optimistic about it this month!

Got a new pair of open earbuds for work so I can wear two instead of just one and have been catching up on KEXP live sessions while I deal with the insane neverending onslaught of sold units and ridiculous sales requests and warranty nonsense. Which I should get back to now!

Album #516/1001: Boards of Canada - Music Has the Right to Children )
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: e2b3b0b6ee48b93944c0ae60508a57f9df2be34d https://github.com/dreamwidth/dreamwidth/commit/e2b3b0b6ee48b93944c0ae60508a57f9df2be34d Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M app.psgi A cgi-bin/DW/Controller/PalImg.pm A cgi-bin/DW/Controller/VGift.pm A cgi-bin/Plack/Middleware/DW/SecurityHeaders.pm M cgi-bin/Plack/Middleware/DW/SubdomainFunction.pm A t/plack-media.t M t/plack-subdomain.t

Log Message:


Close high-priority Plack gaps: security headers, media controllers, journal subdomains

Add SecurityHeaders middleware (X-Content-Type-Options, HSTS), extract userpic/vgift/palimg serving into DW::Controller modules, add journal subdomain routing and RPC URI handling to app.psgi, and expand subdomain middleware to cover all SUBDOMAIN_FUNCTION types. Includes 48 new/updated integration tests.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: d9d5d5787dec9abc065bafbdd67b6809ae059928 https://github.com/dreamwidth/dreamwidth/commit/d9d5d5787dec9abc065bafbdd67b6809ae059928 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M app.psgi A cgi-bin/Plack/Middleware/DW/SubdomainFunction.pm A t/plack-subdomain.t

Log Message:


Add subdomain function middleware for Plack

Plack had no equivalent of the Apache::LiveJournal::trans subdomain routing logic, so requests to shop.dreamwidth.org/randomgift would 404 instead of redirecting to www.dreamwidth.org/shop/randomgift.

New middleware handles functional subdomains (shop, support, mobile) by checking %LJ::SUBDOMAIN_FUNCTION and redirecting or rewriting the URI, matching Apache behavior.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

[personal profile] tcampbell1000 posting in [community profile] scans_daily

This 56-page annual came out alongside the 52-page JLE annual, while JLA and JLE continued their monthly schedule. A new Justice League Quarterly super-sized comic was in the scripting stages. Giffen and Dematteis were writing all of the above. And the premise of this comic is… “Ha ha, wouldn’t it be ridiculous if the Justice League brand were OVEREXTENDED?”

I mean, imagine Batman or somebody declaring that EVERY hero was a Justice Leaguer! )
github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: df35b32bd905c67321964aee138d2ddecf5ee559 https://github.com/dreamwidth/dreamwidth/commit/df35b32bd905c67321964aee138d2ddecf5ee559 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M bin/starman

Log Message:


Add extlib to [personal profile] inc in bin/starman for production use

Production containers don't set PERL5LIB, so Plack::Runner wasn't found. Add use lib to include extlib before loading Plack modules.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 1dba291b136e2650d4770ccb59b89588e09ffdc4 https://github.com/dreamwidth/dreamwidth/commit/1dba291b136e2650d4770ccb59b89588e09ffdc4 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M .github/workflows/tasks/web-shop-service.json M bin/starman M etc/docker/shop/Dockerfile M etc/docker/shop/scripts/startup-prod.sh

Log Message:


Add Starman to production web-shop container

Run Starman alongside Apache+Varnish in the shop container on port 8080, exposed directly without Varnish. The load balancer can route traffic to either 6081 (Varnish→Apache) or 8080 (Starman) for gradual migration.

Remove hardcoded LJ_IS_DEV_SERVER from bin/starman so it no longer forces dev mode in production — the devcontainer sets this via containerEnv.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: dbe48689a185806364203cdd1757692b54141ec0 https://github.com/dreamwidth/dreamwidth/commit/dbe48689a185806364203cdd1757692b54141ec0 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M cgi-bin/modperl_subs.pl

Log Message:


Fix Apache2::Connection XS bootstrap for client_ip method

The Plack merge removed use Apache2::Const qw/ :common / from LJ/S2.pm, which had been bootstrapping Apache2::Connection XS methods as a side effect. Without it, $conn->client_ip fails at runtime. Explicitly load Apache2::Connection in modperl_subs.pl.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 22120106eb6013b4857e3d8f233d0b34dfaad9bd https://github.com/dreamwidth/dreamwidth/commit/22120106eb6013b4857e3d8f233d0b34dfaad9bd Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M .devcontainer/config/etc/apache2/ports.conf M .devcontainer/devcontainer.json A .devcontainer/plack/Dockerfile A .devcontainer/plack/devcontainer.json A .devcontainer/setup.sh M .devcontainer/start.sh M .gitignore R Build.PL M CLAUDE.md A app.psgi M bin/checkconfig.pl A bin/starman M cgi-bin/Apache/BML.pm M cgi-bin/Apache/LiveJournal.pm M cgi-bin/DBI/Role.pm A cgi-bin/DW/BML.pm M cgi-bin/DW/Controller/Create.pm A cgi-bin/DW/Controller/Journal.pm M cgi-bin/DW/Controller/Login.pm A cgi-bin/DW/Controller/Userpic.pm M cgi-bin/DW/Request.pm M cgi-bin/DW/Request/Apache2.pm M cgi-bin/DW/Request/Base.pm A cgi-bin/DW/Request/Plack.pm M cgi-bin/DW/Request/Standard.pm M cgi-bin/DW/Widget/AccountStatistics.pm M cgi-bin/LJ/Global/Defaults.pm M cgi-bin/LJ/S2.pm M cgi-bin/LJ/User/Account.pm M cgi-bin/LJ/Web.pm A cgi-bin/Plack/Middleware/DW/Auth.pm A cgi-bin/Plack/Middleware/DW/ConcatRes.pm A cgi-bin/Plack/Middleware/DW/Dev.pm A cgi-bin/Plack/Middleware/DW/Redirects.pm A cgi-bin/Plack/Middleware/DW/RequestWrapper.pm A cgi-bin/Plack/Middleware/DW/Sysban.pm A cgi-bin/Plack/Middleware/DW/UniqCookie.pm A cgi-bin/Plack/Middleware/DW/XForwardedFor.pm M cgi-bin/ljlib.pl M cgi-bin/modperl_subs.pl A doc/PLACK.md M doc/dependencies-cpanm M doc/dependencies-system M src/s2/S2.pm A t/plack-app.t A t/plack-auth.t A t/plack-bml.t A t/plack-controller.t A t/plack-integration.t A t/plack-middleware.t A t/plack-static.t A t/plack-sysban.t M views/login.tt

Log Message:


Plack/Starman Support (#3512)

  • Add missing use LJ::Memories in AccountStatistics widget

The widget calls LJ::Memories::count() but relied on modperl_subs.pl to load the module at startup rather than declaring its own dependency.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Use path-based journal URLs in dev container

Override $SUBDOMAIN_RULES for dev containers to use path-based format (/~username) instead of subdomain-based format (username.domain). Fix journal_base() to construct URLs from the request host when the rule has an empty domain.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Plack testing with devcontainer

  • Fix Plack request lifecycle and integration tests

DW::Request->get now always creates a fresh request when plack_env is provided, fixing the issue where LJ::start_request's internal reset/get cycle would leave DW::Request in a stale state. Also fixes DW::Request::Plack->status to work as a getter, adds a default 404 for unmatched routes in app.psgi, and rewrites the integration test to properly monkey-patch after module loading. Includes tidyall formatting.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Plack: render Login controller through full stack, remove dead Procnotify call

Add missing methods to DW::Request::Plack (pnote, note, content, content_type getter/setter, no_cache, get_remote_ip) so controllers can render through the Plack stack. Route all requests through DW::Routing in app.psgi instead of only /api/ paths, and use the routing return value to set HTTP 200 status for handled requests.

Remove the dead LJ::Procnotify::check() call from RequestWrapper middleware — the module was deleted but the call was left behind.

New test t/plack-controller.t validates GET /login renders through the real routing + controller + template pipeline via Plack::Test.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add UniqCookie middleware and fix is_web_context for Plack

Add Plack::Middleware::DW::UniqCookie that calls LJ::UniqCookie->ensure_cookie_value to generate and set the unique tracking cookie on every request, matching Apache behavior.

This required two supporting changes:

  • LJ::is_web_context() now returns true when a DW::Request is active, not just under mod_perl. Many modules gate web-only behavior on this check, so Plack requests were silently skipping cookie, auth, and other web-context logic.

  • DW::Request::Plack now implements err_header_out, header_out_add, and err_header_out_add so that add_cookie (which appends Set-Cookie headers) works correctly.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add static content serving middleware for Plack

Add DW::ConcatRes middleware to handle concatenated CSS/JS requests (??file1.css,file2.css URLs), ported from Apache::LiveJournal. Wire in Plack::Middleware::Static for plain static files from $LJ::HTDOCS, matching Apache's DocumentRoot behavior.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Implement redirect.dat support in Plack redirects middleware

Load redirect.dat and redirect-local.dat at startup and return 301 for matching paths, preserving query strings. Matches the existing Apache behavior in Apache::LiveJournal::trans().

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add Sysban middleware for Plack and clean up app.psgi TODOs

Port sysban blocking from Apache::LiveJournal::trans() to a Plack middleware: IP bans, uniq cookie bans, tempbans, and noanon_ip bans for anonymous users. Also remove stale TODOs from app.psgi (srand preforking is a non-issue in modern Perl, BML language setup is irrelevant to Plack but noted in RequestWrapper for future BML port).

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Implement Auth middleware for Plack

Resolve authenticated user from session cookies via LJ::Session->session_from_cookies() and set the remote user for the request. Bypasses LJ::get_remote() directly since it depends on BML::get_request(), but subsequent get_remote() calls hit the cache. Supports dev server ?as=username impersonation.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Route embed module domain requests to embedcontent handler

When the request host matches $LJ::EMBED_MODULE_DOMAIN, force routing to /journal/embedcontent regardless of path, matching the Apache trans() behavior. Removes the last placeholder comment from app.psgi.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Implement BML rendering under Plack via DW::BML

Add DW::BML module that renders .bml pages using DW::Request instead of Apache APIs, allowing BML pages to work under Plack. The module reuses the core BML engine (bml_decode, bml_block, config loading, scheme/look system) from Apache::BML and only replaces the handler and request adapter layers.

Includes a RequestAdapter that makes DW::Request look like an Apache request object for BML's public API functions (BML::get_request(), etc.), BML fallback routing in app.psgi after DW::Routing, and tests.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add homepage integration tests verifying tropo-red site scheme

Tests that GET /index returns 200, renders with the tropo-red body class, includes tropo-red.css, and has text/html content type. Restructured integration tests so real-routing tests run before the monkey-patch.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add Starman dependency and dev server startup script

Add Starman to dependencies-cpanm and create bin/dev-plack-server for running Dreamwidth under Plack/Starman with a single worker in dev mode. Listens on 0.0.0.0:8080 by default, configurable via --port and --host.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix static file serving to search all htdocs directories

Static middleware now iterates over LJ::get_all_directories('htdocs') so files from extensions (e.g. dw-nonfree) are served alongside base htdocs. Uses pass_through so each layer falls through to the next when a file isn't found in that directory.

Fixes 404s for nonfree static assets like /img/tropo-red/dw_logo.png.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Provide BML package functions for Plack and initialize language getter

DW::BML now defines all BML::* package functions (ml, set_language, ehtml, get_request, cookies, etc.) and Apache::BML::* stubs at load time so they're available in any Plack web context. Previously these were only defined by Apache::BML which can't be loaded without Apache2::* modules.

RequestWrapper now calls BML::set_language with LJ::Lang::get_text on every request so translation strings resolve correctly for all pages.

Also fixes infinite recursion in the request adapter's overloaded hash classes by using array-based objects to avoid re-triggering %{} overload.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix login error display, URL doubling, and BML scope bridging

  • Display login errors in login.tt using Foundation alert-box pattern

  • Set ml_scope early in Login controller so LJ::Lang::ml resolves relative string codes before template rendering
  • Bridge BML and TT scope mechanisms: BML::ml falls back to $r->note('ml_scope') when $BML::ML_SCOPE is empty
  • Fix DW::Request::Plack::uri to return path only (matching Apache behavior) instead of full URL, which caused doubled URLs in every LJ::create_url call

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix cookie domain issues for dev container under Plack

The Redirects middleware used local $LJ::DOMAIN_WEB = "www.$LJ::DOMAIN" which leaked "www." into downstream cookie-setting code when $DOMAIN is empty (dev container). Changed to a lexical variable scoped to the redirect checks only.

Also set $COOKIE_DOMAIN to empty string in dev container defaults to prevent it defaulting to "." (just a dot), which browsers reject.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Update CLAUDE.md with Plack dev server and workflow notes

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Preserve cookies on Plack redirects and handle controller redirect responses

DW::Request::Plack::redirect was creating a new Plack::Response, discarding any cookies/headers already set on the request (e.g. login session cookies). Now builds the redirect from the existing response object. Also handle controller redirect responses (arrayrefs) in app.psgi dispatch.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Load real Apache::BML engine under Plack, fix BML strings and dev server usability

  • Load Apache::BML by stubbing Apache2/APR modules so the BML engine functions (bml_decode, load_conffile, parsein, etc.) are available under Plack without duplicating them. Fake Apache2::Const provides the constants Apache::BML needs.

  • Remove no-op stubs for BML::register_hook, set_config, register_language, etc. that were preventing BML config files (like BMLInit.pm) from registering the ml_getter hook. This fixes missing translation strings on BML pages.

  • Keep .bml in the language scope so LJ::Lang::get_text can match scope to .bml.text files, fixing [missing string] on BML pages.

  • Fix undef warnings in BML::decide_language.

  • Fix check_referer for dev servers with empty $LJ::DOMAIN by comparing referer host against the request Host header.

  • Auto-validate email on account creation in dev servers so new accounts can post immediately without email confirmation.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix grants

This supports both localhost (domain socket) and 127.0.0.1 (TCP socket) connections, which get triggered depending on how you access the database.

  • Fix missing standard CSS/JS resources and LJ::Memories under Plack

Under Plack, start_request called DW::Request->reset before the request was created, so the resource registration block (lj_base.css, esn.css, jquery UI, etc.) was skipped. Extract registration into LJ::register_standard_resources() and call it from the Plack middleware after the DW::Request is created.

Also add explicit use LJ::Memories in AccountStatistics widget, which was previously only loaded via modperl_subs.pl.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add DW::Controller::Userpic to serve userpics via DW::Routing

Replaces the Apache::LiveJournal userpic_trans/userpic_content handlers with a proper controller that works under both Plack and mod_perl.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add DW::Controller::Journal for journal rendering under Plack

Extract journal viewing pipeline from Apache::LiveJournal into a shared DW::Controller::Journal module. Journals are now accessible under Plack via path-based URLs (/~username/ and /users/username/).

  • Create DW::Controller::Journal with determine_view() and render() methods
  • Add journal path-based routing in app.psgi before BML fallback
  • Override $SUBDOMAIN_RULES for dev container to use path-based URLs
  • Fix LJ::User::journal_base to construct /~user URLs in dev container
  • Add OK/NOT_FOUND/DECLINED/status_line stubs to DW::BML::RequestAdapter
  • Load Apache2::Response in modperl_subs.pl for headers_out in trans phase
  • Fix S2 check_depth undef warnings by guarding before hash interpolation

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Load DW::Request::Apache2 at startup to bootstrap mod_perl XS methods

DW::Request no longer loads DW::Request::Apache2 at compile time (to support Plack), so Apache2::RequestRec XS methods like headers_out were never bootstrapped. Load DW::Request::Apache2 explicitly in modperl_subs.pl so all Apache2 XS methods are available during the PerlInitHandler/PerlTransHandler phases.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix redirect loop for path-based journal URLs under Apache

When SUBDOMAIN_RULES uses path-based URLs in the dev container, journal_base returns http://host/~user which matches the incoming /~user/ path, causing an infinite redirect. Detect this case and dispatch directly via $determine_view instead of redirecting.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix S2 stylesheet loading and warnings under Plack path-based URLs

The HTMLCleaner was stripping S2 stylesheet tags because valid_stylesheet_url didn't recognize /~user/res/N/stylesheet paths. Also adds set_last_modified/meets_conditions to DW::Request::Plack and fixes various uninitialized value warnings in the journal controller.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Update web runner name

Default to 3 workers and call it Starman! Because it is!

  • Fix shop links in dev container by setting SHOPROOT to /shop

When SHOPROOT was empty string, links like "$SHOPROOT/account" lost their /shop prefix and resolved to just /account, which doesn't route to the shop controllers.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Fix Auth middleware to always mark auth resolution and add safety docs

Always call set_remote(undef) when no authenticated user is found, so LJ::get_remote() won't re-enter session resolution via Login.pm (which crashes on null owner). Add safety comments to LJ_IS_DEV_SERVER env var and ?as= impersonation block. Fix plack-auth.t mocks to properly isolate test state.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Update Plack docs, fix CLAUDE.md startup command, remove Build.PL

Rewrite doc/PLACK.md to reflect current implementation: full middleware stack, routing pipeline, test suite, and security notes. Update CLAUDE.md to reference doc/PLACK.md and fix bin/starman command. Remove unused Build.PL.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Switch devcontainer to Starman on port 80, Apache available on 8081

Starman is now the primary web server in the devcontainer. Apache config is kept on port 8081 but not started by default (run apache2ctl start manually if needed). Added --log option to bin/starman for access and error logs. Removed spammy debug logging from app.psgi.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Add libgd-dev

Need this to build GD... sometimes? Docker caching memes.

  • Split devcontainer into setup.sh (one-time) and start.sh (every restart)

postCreateCommand runs setup.sh for DB init, schema loading, and static compilation. postStartCommand runs start.sh for mysql, memcached, and Starman on every container start. Added --daemonize flag to bin/starman so the process survives the parent shell exiting.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

  • Remove macos/brew

This was a brief experiment, but no longer needed now that devcontainer is working!

  • Extraneous, was part of a spurious misfire

  • Revert unnecessary changes to Utils.pm, Auth.pm; remove DBIx::Class dep

Revert LJ::Utils namespace refactor and LJ::Auth irand import — both were interim experiments that aren't needed. Remove unused DBIx::Class from dependencies-cpanm.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: c6da53efa6c8618b11c94c79599446465d48639c https://github.com/dreamwidth/dreamwidth/commit/c6da53efa6c8618b11c94c79599446465d48639c Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M .github/workflows/update-workflows.pl M bin/upgrading/update-db.pl M cgi-bin/DW/Controller/Login.pm

Log Message:


Tidy, ignore.

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: e9d9de85043730ef93413465a3fbba4417b4015b https://github.com/dreamwidth/dreamwidth/commit/e9d9de85043730ef93413465a3fbba4417b4015b Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M cgi-bin/DW/Controller/Create.pm

Log Message:


Update Create controller to use current translation string keys

The gender and error strings referenced legacy BML keys (/manage/profile/index.bml.) that no longer exist. Updated to use the equivalent keys from the Template Toolkit text file (/manage/profile.tt.).

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 3c2bcb44eabfdcf8893173f5ca57076915b391d2 https://github.com/dreamwidth/dreamwidth/commit/3c2bcb44eabfdcf8893173f5ca57076915b391d2 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M .devcontainer/Dockerfile M doc/dependencies-cpanm M etc/docker/base/Dockerfile M etc/docker/base22/Dockerfile M etc/docker/dev/Dockerfile

Log Message:


Unpin CGI and use metadb resolver for CPAN dependency fetching

CGI was pinned at 4.50 (for SameSite cookie support) but that version is no longer reliably available on CPAN mirrors. All later versions include SameSite support, so the pin is unnecessary. Also remove redundant CGI::Cookie entry since it's part of the CGI distribution.

Switch cpm to --resolver metadb to resolve download failures from default CPAN mirrors (backpan.perl.org, www.cpan.org).

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
[personal profile] github posting in [site community profile] changelog

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 6519898408b5ed5106023a78af12de3ab3d0b334 https://github.com/dreamwidth/dreamwidth/commit/6519898408b5ed5106023a78af12de3ab3d0b334 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-01 (Sun, 01 Feb 2026)

Changed paths: M bin/upgrading/update-db-general.pl M bin/upgrading/update-db.pl

Log Message:


Fix update-db.pl to not require running twice on fresh databases

Re-check for dbnotes table after table creation so alters can run in the same pass. Also fix MySQL 8.0+ compatibility in acctcode timegenerate column_type check, which dropped integer display widths causing the alter to run repeatedly.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications

December 2014

S M T W T F S
 123456
78910111213
14151617181920
21 222324252627
28293031   

Most Popular Tags

Style Credit