Bug#296125: Templating too fragile

2005-05-17 Thread Jeremy Laine
Hi Matt! I uploaded Diogenes 0.9.16+0.9.17pre22 to experimental yesterday. This version disables custom templates for admin pages, as I did not come up with a fail-proof template checking mechanism within a reasonable time (any suggestions, proof of concepts or full solutions are most welcome!).

Bug#296125: Templating too fragile

2005-02-23 Thread Matthew Palmer
On Wed, Feb 23, 2005 at 11:53:13PM +0100, Jeremy Lain? wrote: I am working on a patch that would allow you to recover from broken templates. It would protect you from templates causing parse errors by reverting to the Diogenes default template. The one case this does not cover is if you go

Bug#296125: Templating too fragile

2005-02-23 Thread Jeremy Lainé
I am working on a patch that would allow you to recover from broken templates. It would protect you from templates causing parse errors by reverting to the Diogenes default template. The one case this does not cover is if you go and include broken PHP code inside the Smarty templates, but hey, if

Bug#296125: Templating too fragile

2005-02-21 Thread Pierre Habouzit
Le Lun 21 Février 2005 08:17, Jeremy Lainé a écrit : If an invalid template is uploaded (for instance, one containing inline stylesheets) which happens to be the template which is used for a barrel's administrative interface, smarty will constantly bomb and not allow the admin to fix the

Bug#296125: Templating too fragile

2005-02-21 Thread Pierre Habouzit
The ridiculousness of a templating engine which barfs on a commonly used character is a matter for another time. A very colourful sentence Matt, thank god for Aussies :) What was the character? { Yep, any template with an inline stylesheet kills the smarty template engine. I

Bug#296125: Templating too fragile

2005-02-20 Thread Matthew Palmer
Package: diogenes Version: 0.9.15-1 Severity: important If an invalid template is uploaded (for instance, one containing inline stylesheets) which happens to be the template which is used for a barrel's administrative interface, smarty will constantly bomb and not allow the admin to fix the

Bug#296125: Templating too fragile

2005-02-20 Thread Matthew Palmer
On Mon, Feb 21, 2005 at 08:17:45AM +0100, Jeremy Lain? wrote: If an invalid template is uploaded (for instance, one containing inline stylesheets) which happens to be the template which is used for a barrel's administrative interface, smarty will constantly bomb and not allow the admin to