[ecrire ↪ issue_85] 15 commits

spip/ecrire | 15 commits

Par Matthieu Marcillaud, le 26 novembre 2025 à 16h45min :

style: psr, parametre non utile

Modifié
inc/drapeau_edition.php

Détails : style: psr, parametre non utile (3319a6d0) · Validations · spip / ecrire · GitLab

==============================
Par Matthieu Marcillaud, le 26 novembre 2025 à 16h45min :

chore: quelques typages sur les retours des fonctions de drapeaux

Modifié
inc/drapeau_edition.php

Détails : chore: quelques typages sur les retours des fonctions de drapeaux (2910c11b) · Validations · spip / ecrire · GitLab

==============================
Par nicod_, le 26 novembre 2025 à 16h45min :

fix: Nettoyer la meta ‹ drapeau_edition › quand on désinstalle un plugin

Afin d’éviter des erreurs SQL à répétition dans le privé avec le système d’avertissement « en cours d’édition » (des tables ont été supprimées)
On compare les objets disponibles avant suppression des tables aux tables après suppression, pour faire le ménage dans drapeau_edition
On ajoute pour ça un pipeline trig_supprimer_objet_table, utilisable par les plugins pour faire d’autres actions.

Ref #85

Modifié
inc/drapeau_edition.php
inc/pipelines_ecrire.php
paquet.xml
plugins/installer.php

Détails : fix: Nettoyer la meta 'drapeau_edition' quand on désinstalle un plugin (3d2b6ee4) · Validations · spip / ecrire · GitLab

==============================
Par placido, le 18 novembre 2025 à 14h18min :

fix(chemin_import_js): pouvoir définir un chemin explicite depuis le dossier lib/

Un module JS fournit par une lib se trouve rarement à la racine.
On gère donc le cas où $fichier est un chemin de la forme lib/ModuleX/dist/module.js

Modifié
inc/importmap.php

Détails : fix(chemin_import_js): pouvoir définir un chemin explicite depuis le dossier `lib/` (546fe2d4) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 18 novembre 2025 à 13h54min :

test(pipeline): unit test pipeline()

Ajouté
tests/unit/Bootstrap/Pipeline/PipelineTest.php
Modifié
bootstrap/inc/initialization.php
bootstrap/inc/pipeline.php

Détails : test(pipeline): unit test pipeline() (bbc863a0) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 18 novembre 2025 à 13h54min :

test(pipeline): unit test minipipe()

Ajouté
tests/Stub/ClassStub.php
tests/fixtures/execute_pipeline_exists.php
tests/unit/Bootstrap/Pipeline/MinipipeTest.php
Modifié
.gitignore
bootstrap/inc/pipeline.php
composer.json
inc/rechercher.php
iterateur/data.php
phpstan.neon.dist
tests/unit/Bootstrap/Path/SpipPathsLoaderTest.php

Détails : test(pipeline): unit test minipipe() (30652292) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 18 novembre 2025 à 13h37min :

chore: update dependencies

Modifié
composer.json

Détails : chore: update dependencies (6b2c124c) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 5 novembre 2025 à 10h43min :

fix(path): rétablir la mémoization de $dossier_squelettes

Modifié
bootstrap/inc/path.php

Détails : fix(path): rétablir la mémoization de $dossier_squelettes (861b8e99) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 19h29min :

docs(path): PHPDoc param $reset

Modifié
bootstrap/inc/path.php

Détails : docs(path): PHPDoc param $reset (1b2c9870) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 17h02min :

test(path): unit test find_in_path()

Ajouté
tests/unit/Bootstrap/Path/FindInPathTest.php
Modifié
bootstrap/inc/path.php
tests/unit/TestCase.php

Détails : test(path): unit test find_in_path() (c6f9807d) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 16h08min :

test(path): unit test spip_paths_loader()

Ajouté
tests/unit/Bootstrap/Path/SpipPathsLoaderTest.php
Modifié
.gitignore
bootstrap/inc/path.php
tests/unit/TestCase.php

Détails : test(path): unit test spip_paths_loader() (fad1c282) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 14h18min :

test(path): unit test spip_paths()

Ajouté
tests/unit/Bootstrap/Path/SpipPathsTest.php
Modifié
bootstrap/inc/path.php
tests/unit/TestCase.php

Détails : test(path): unit test spip_paths() (ab2843a4) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 13h28min :

test(unit): TestCase

Ajouté
tests/fixtures/config/spip/dirs.php
tests/fixtures/config/spip/routes.php
tests/fixtures/spip.php
tests/unit/TestCase.php
Modifié
phpunit.xml.dist

Détails : test(unit): TestCase (90d1dee8) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 12h25min :

fix(path): useless static $last_dossier_squelettes

Modifié
bootstrap/inc/path.php

Détails : fix(path): useless static $last_dossier_squelettes (d915e234) · Validations · spip / ecrire · GitLab

==============================
Par JamesRezo, le 4 novembre 2025 à 12h23min :

feat: use path contracts interfaces

Modifié
bootstrap/inc/path.php
composer.json

Détails : feat: use path contracts interfaces (6d559f6d) · Validations · spip / ecrire · GitLab