Endian Bugtracker
Endian Issue Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001136 [Endian Firewall] Other Scripts feature N/A 2008-07-17 15:46 2008-07-27 22:18
Reporter peter View Status public  
Assigned To peter
Priority immediate Resolution fixed  
Status closed   Product Version
Summary 0001136: framework for customized error message pages
Description we need a python script which statically creates all the error message html pages using cheetah.

Error messages in squid, dansguardian, havp, amavisd and p3scan should be made overrideable and brandable.

script does the following:
- should be called as createtemplate.py [servicename]

- reads config from /etc/templates/<servicename>.conf

- loops through each /usr/share/templates/<servicename>/*/*.orig.tmpl and
  creates corresponding messages files in <destdir>, with the corresponding
  directory structure, cutting away .orig.tmpl

- searches for each original template a corresponding template of the same
  name, which may override the orig template.. searches in:
  o /var/efw/<efw_servicename>/templates/**.custom.tmpl
  o /usr/share/templates/<servicename>/*/*.vendor.tmpl

- applies header.tmpl and footer.tmpl if thex exist in one of the 3 locations.

- script will be run:#
  o at boot time
  o as %post hook of respective service installations
  o after editing/uploading custom templates

- templates of squid, havp, dansguardian, amavisd, p3scan should not be packaged
  in their original place anymore, but packaged in /usr/share/templates/ as
  cheetah orig template
Additional Information
Tags No tags attached.
Attached Files

- Relationships
related to 0001137closedpeter p3scan error message template need to get rid of languages 

-  Notes
(0001461)
peter (administrator)
2008-07-17 21:37

respective changes in the services packages need still to be done

- Issue History
Date Modified Username Field Change
2008-07-17 15:46 peter New Issue
2008-07-17 15:46 peter Status new => assigned
2008-07-17 15:46 peter Assigned To => peter
2008-07-17 15:47 peter Issue cloned 0001137
2008-07-17 15:47 peter Relationship added related to 0001137
2008-07-17 16:09 peter Description Updated
2008-07-17 21:37 peter Status assigned => resolved
2008-07-17 21:37 peter Fixed in Version => 2.2-rc2
2008-07-17 21:37 peter Resolution open => fixed
2008-07-17 21:37 peter Note Added: 0001461
2008-07-27 22:18 peter Status resolved => closed

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Mantis [^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker