Skip to content

Kleine Verbesserungen und RexStan-Fixes (v1.3.1)#17

Open
skerbis wants to merge 3 commits into
mainfrom
chore/release-1.3.1-small-improvements
Open

Kleine Verbesserungen und RexStan-Fixes (v1.3.1)#17
skerbis wants to merge 3 commits into
mainfrom
chore/release-1.3.1-small-improvements

Conversation

@skerbis

@skerbis skerbis commented Jun 4, 2026

Copy link
Copy Markdown
Member

Moin
Yves hier ein paar kleine Verbesserungen, hatte gerade Zeit, also dachte ich mir ..

Ich habe ein paar Stabilitäts- und Qualitätsfixes für BlockPeek umgesetzt und direkt als Patch-Release vorbereitet.

Enthalten:

  • RexStan-Fixes (null-safety, Typisierung, generische Extension-Point-Annotationen)
  • robusteres Preview-Rendering inkl. sauberer Context-Rücksetzung bei force_fe
  • Settings-Härtung (Admin-null-check + Template-Validierung auf BLOCK_PEEK_CONTENT)
  • Asset-Loading auf content/edit begrenzt
  • Version auf 1.3.1 erhöht und Changelog ergänzt

RexStan läuft für das Addon ohne Fehler durch.

Copilot AI review requested due to automatic review settings June 4, 2026 21:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR prepares a 1.3.1 patch release for the BlockPeek REDAXO addon, focusing on RexStan-driven hardening and more robust backend preview rendering/configuration behavior.

Changes:

  • Hardened settings access and template saving by adding admin null-safety and validating the required BLOCK_PEEK_CONTENT placeholder.
  • Improved preview rendering stability by safely flipping/restoring REDAXO context for force_fe and tightening parameter handling/types for extension points.
  • Limited backend asset loading to content/edit and bumped versions/changelog for the 1.3.1 release.

Reviewed changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
pages/settings.php Adds user null-check and validates template placeholder before persisting changes.
boot.php Loads BlockPeek assets only on content/edit and uses addon instance for asset URLs.
lib/Generator.php Tightens constructor typing and ensures force_fe context is restored via try/finally.
lib/Extension.php Adds generic EP annotation, defensive param parsing, safer updatedate casting, and safer srcdoc escaping.
lib/TemplateInstaller.php Uses rex_file::get() for default template content loading with fallback.
lib/TemplateListHider.php Adds generic EP annotation and removes now-redundant subject type guard.
lang/en_gb.lang Adds i18n string for missing placeholder validation error.
lang/de_de.lang Adds i18n string for missing placeholder validation error.
package.yml Bumps addon version to 1.3.1.
package.json Syncs asset build package version to 1.3.1.
package-lock.json Syncs lockfile package version to 1.3.1.
CHANGELOG.md Adds 1.3.1 changelog entry describing fixes and adjustments.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pages/settings.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants