In stimulusjs you can define a component (known as a controller) like so:
import { Controller } from "stimulus";
export default class extends Controller {
static targets = ["item"];
function connect() {
if(this.hasItemTarget) {| #!/usr/bin/env bash | |
| # Stopgap for CVE-2026-109618 / CVE-2026-109619: disable session upload progress in every PHP-FPM version. | |
| # The attack vector is unconfirmed until the 14:00 UTC advisory. Remove the drop-in once PHP is patched. | |
| set -u | |
| for dir in /etc/php/*/fpm/conf.d; do | |
| [ -d "$dir" ] || continue | |
| ver=$(basename "$(dirname "$(dirname "$dir")")") | |
| printf '; Temporary mitigation for CVE-2026-109618/109619. Remove once PHP is patched.\nsession.upload_progress.enabled = 0\n' \ |
In stimulusjs you can define a component (known as a controller) like so:
import { Controller } from "stimulus";
export default class extends Controller {
static targets = ["item"];
function connect() {
if(this.hasItemTarget) {| <?php | |
| namespace App\Doctrine\ORM\Repository; | |
| use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; | |
| use Doctrine\ORM\QueryBuilder; | |
| abstract class AbstractRepository extends ServiceEntityRepository | |
| { | |
| /** |
| <flyout v-cloak> | |
| <div slot-scope="props"> | |
| <button | |
| v-on:click="props.toggle()" | |
| v-bind:class="'border-2 p-1 ' + (props.isActive ? 'bg-green': 'bg-red')" | |
| data-reference | |
| >…</button> | |
| <div | |
| v-show="props.isActive" | |
| class="list-reset bg-white border p-4 shadow z-10" |
| <template> | |
| <div> | |
| <div ref="trigger"> | |
| <slot name="trigger" | |
| v-bind:isActive="isActive" | |
| v-bind:toggle="toggle" | |
| > | |
| <button v-on:click="toggle">Toggle</button> | |
| </slot> | |
| </div> |
| <?php | |
| // Example in your plugin file | |
| public function registerSiteRoutes(): array { | |
| return [ | |
| 'api/.*+' => ['action' => 'nCIG/preFlight', 'verb' => 'OPTIONS'], | |
| ]; | |
| } |
| 0xab13d6983e7fe97b0c873f58536ad33412edc0a2 |
| DOMAIN.buildbox.newism.com.au, | |
| www.DOMAIN.buildbox.newism.com.au, | |
| dev.DOMAIN.buildbox.newism.com.au, | |
| stage.DOMAIN.buildbox.newism.com.au, | |
| master.DOMAIN.buildbox.newism.com.au |
We're going to generate a key per project which includes multiple fully qualified domains. This key can be checked into the project repo as it's intended for local development but never used on production servers.
Save ssl.conf to your my_project directory.
Open ssl.conf in a text editor.
Edit the domain(s) listed under the [alt_names] section so that they match the local domain name you want to use for your project, e.g.
| #!/bin/bash | |
| set -eu | |
| echo "steps:" | |
| echo " | |
| - label: \":hammer: dev\" | |
| command: |- | |
| source .env |