Project

General

Profile

Refactor #22529

Refactor Template rendering to use a proper rendering service

Added by Timo Goebel 11 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

We should refactor template rendering to use a rendering service class and the template scope should also be a dedicated object and not some controller class.


Related issues

Related to Foreman Remote Execution - Refactor #24130: plugin should work with new template rendering engine from coreClosed
Related to Boot disk - Refactor #24147: plugin should work with new template rendering engine from coreClosed
Related to Discovery - Refactor #24148: plugin should work with new template rendering engine from coreClosed
Related to Katello - Refactor #24149: Katello should use Foreman plugin API to register template macrosClosed
Related to Foreman - Feature #24294: add snapshot tests for templatesClosed
Related to Foreman - Feature #24359: Create localized copies of templates for version controlNew
Related to Foreman - Refactor #24484: snippet rendering should use source to find snippetClosed
Related to Foreman - Refactor #24496: remove unattended helperClosed
Related to Foreman - Bug #24503: snippets macro does not render a snippet partial from filesystemClosed
Related to Katello - Bug #24513: React pages don't include Rails url_helpersClosed
Related to Foreman - Bug #25070: Macro snippet_if_exists no longer worksClosed
Related to Foreman - Bug #25128: Template Renderer: Variables loader registry is not kept when the class is inheritedClosed

Associated revisions

Revision f715a7c9 (diff)
Added by kamils-iRonin 5 months ago

Fixes #22529 - Refactor Template rendering to use a proper rendering service (#5683)

History

#1 Updated by google classroom 10 months ago

removed spam bot comment

#2 Updated by Timo Goebel 10 months ago

  • Assignee set to Timo Goebel
  • Status changed from New to Assigned

#3 Updated by The Foreman Bot 6 months ago

  • Pull request https://github.com/theforeman/foreman/pull/5683 added

#4 Updated by The Foreman Bot 6 months ago

  • Status changed from Assigned to Ready For Testing

#5 Updated by Timo Goebel 6 months ago

  • Related to Refactor #24130: plugin should work with new template rendering engine from core added

#6 Updated by Timo Goebel 6 months ago

  • Related to Refactor #24147: plugin should work with new template rendering engine from core added

#7 Updated by Timo Goebel 6 months ago

  • Related to Refactor #24148: plugin should work with new template rendering engine from core added

#8 Updated by Timo Goebel 6 months ago

  • Related to Refactor #24149: Katello should use Foreman plugin API to register template macros added

#9 Updated by Timo Goebel 5 months ago

#10 Updated by Marek Hulán 5 months ago

  • Related to Feature #24359: Create localized copies of templates for version control added

#11 Updated by Marek Hulán 5 months ago

  • Triaged set to No
  • Target version set to 1.20.0
  • Fixed in Releases 1.20.0 added

#12 Updated by Anonymous 5 months ago

  • Status changed from Ready For Testing to Closed

#13 Updated by Timo Goebel 5 months ago

  • Related to Refactor #24484: snippet rendering should use source to find snippet added

#14 Updated by Timo Goebel 5 months ago

#15 Updated by Timo Goebel 5 months ago

  • Related to Bug #24503: snippets macro does not render a snippet partial from filesystem added

#16 Updated by Andrew Kofink 5 months ago

  • Related to Bug #24513: React pages don't include Rails url_helpers added

#17 Updated by Marek Hulán 3 months ago

  • Related to Bug #25070: Macro snippet_if_exists no longer works added

#18 Updated by Timo Goebel 3 months ago

  • Related to Bug #25128: Template Renderer: Variables loader registry is not kept when the class is inherited added

Also available in: Atom PDF