Skip to content

Conditional report actions#276

Open
TheSyscall wants to merge 3 commits intomainfrom
conditional-actions
Open

Conditional report actions#276
TheSyscall wants to merge 3 commits intomainfrom
conditional-actions

Conversation

@TheSyscall
Copy link
Copy Markdown

@TheSyscall TheSyscall commented Apr 16, 2026

Only show actions if there is actually an exporter for it.

  • Remove PDF download option and mail attachment type when there is no pdfexport hook implementation registered
  • Remove download dropdown and send button entirely if no export option is available

This serves as a step toward getting rid of pdfexport as a requirement for reporting, but does not get rid of this dependency entirely.

This combined with the changes made in #275 should allow us to remove pdfexport as a requirement entirely

requires Icinga/ipl-web#367

relates to #275

@cla-bot cla-bot Bot added the cla/signed label Apr 16, 2026
@TheSyscall TheSyscall requested a review from Al2Klimov April 16, 2026 12:15
Comment thread library/Reporting/Actions/SendMail.php
Comment thread application/controllers/ReportController.php
'forward'
))->openInModal()
);
if ($download->hasLinks()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Requires:

I'll keep this thread open, so we don't forget. Also, you should bump the module.info to a not yet released ipl version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants