Skip to content

add log in plugin autoloader#3020

Closed
pifou25 wants to merge 228 commits intojeedom:alphafrom
pifou25:feat/log_errors
Closed

add log in plugin autoloader#3020
pifou25 wants to merge 228 commits intojeedom:alphafrom
pifou25:feat/log_errors

Conversation

@pifou25
Copy link
Copy Markdown
Contributor

@pifou25 pifou25 commented Jan 27, 2025

Description

add log in case of plugin error via the plugin autoloader, this is a great help for plugin developers :)

Suggested changelog entry

add log in case of plugin error via the plugin autoloader

Related issues/external references

Fixes #3017

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

Sekiro-kost and others added 30 commits April 30, 2024 13:18
Mips2648 and others added 13 commits April 16, 2026 22:32
Migrer PHPStan vers une dépendance Composer (edit jeedom#3110)
Correction des méthodes statiques et du nommage de classes (PHPStan lvl 1)
Suppression des arguments superflus dans les appels de méthodes (PHPStan lvl 1)
…HPStan

git ls-remote --exit-code retourne 2 quand la branche n'existe pas,
ce qui, combiné à bash -e, faisait échouer tout le step. Remplacement
par une condition if/grep pour ne pas propager le code de sortie.
…nch-check

Corriger l'échec du workflow PHPStan lors de la suppression de branche
…mixing-tags

Fix/scenario self execute mixing tags
@Mips2648 Mips2648 changed the base branch from alpha to develop April 18, 2026 09:01
@Mips2648 Mips2648 changed the base branch from develop to alpha April 18, 2026 09:05
Copy link
Copy Markdown
Collaborator

@Mips2648 Mips2648 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il faudrait rebase sur develop aussi stp

@Mips2648 Mips2648 added the changelog-dev Use to generate release notes / changelog To be apply on PR label Apr 18, 2026
kwizer15 and others added 8 commits April 18, 2026 14:42
…d'intégration

Le champ `type` envoyé par le client dans `setComponentOrder` était concaténé
directement dans la requête SQL, sans aucune validation, contrairement aux
autres champs contrôlés par is_numeric(). Un admin pouvait injecter du SQL
arbitraire (testé : `DROP TABLE viewData` s'exécute réellement).

- Whitelist stricte sur le champ `type` (cmd, eqLogic, scenario)
- Remplacement de la concaténation SQL multi-statements par un prepared
  statement exécuté à chaque itération
- Tests d'intégration couvrant l'endpoint via un sous-processus PHP
  authentifié comme admin (payload DROP, UNION, type inconnu, type manquant)
fix: prevent a possible SQL injection in setComponentOrder
Add healthcheck in the docker container
Clarified the usage of the #trigger_name# tag and its implications for object, equipment, or command name changes.
@pifou25 pifou25 mentioned this pull request Apr 19, 2026
11 tasks
@pifou25
Copy link
Copy Markdown
Contributor Author

pifou25 commented Apr 19, 2026

nouvelle PR #3276

@pifou25 pifou25 closed this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-dev Use to generate release notes / changelog To be apply on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] PHP Parse error dans *pluginid*/plugin_info/install.php n'est pas envoyé vers http.error