freeipa/ipa-server/ipa-gui
Rob Crittenden bae3a2101f Fix encoding issue when manually loading templates for forms
We used to manually load the template files for the edit pages using
turbogears.meta.load_kid_template(). Unfortunately this went through
the one code path where encoding was completely ignored. It ended up
defaulting to sys.getdefaultencoding() which is 'ascii'. So even though
most of the templates are loaded as 'utf-8' the few that really mattered
weren't.

The fix is to call kid.load_template() ourselves and set the encoding of
the class we just loaded to either the setting in the app.cfg file or
to the normal default value of 'utf-8'.

454076
2008-07-29 11:32:02 -04:00
..
ipa_gui.egg-info Autotool ipa-server - patch from William Jon McCann <mccann@jhu.edu>. 0001-01-01 00:00:00 +00:00
ipagui Fix encoding issue when manually loading templates for forms 2008-07-29 11:32:02 -04:00
locales Change Title label to Job Title for clarity 2008-07-29 11:24:52 -04:00
dev.cfg Move non-user-configurable configuration elements to TurboGears app.cfg file. 2008-05-22 16:31:08 -04:00
i18n.patch Import internationalization for kid templates patch from Masato Taruishi 2008-02-19 22:45:11 -05:00
ipa_webgui Add our own SIGTERM handler so we can do clean shutdowns. 2008-06-09 22:11:08 -04:00
ipa_webgui.cfg Fix issue of double logging in ipa_error.log. 2008-06-03 22:41:09 -04:00
ipa_webgui.init Create /var/run/<process>.pid to play nicers with the start scripts 2008-02-06 11:02:05 -05:00
Makefile.am Import internationalization for kid templates patch from Masato Taruishi 2008-02-19 22:45:11 -05:00
README.i18n Import internationalization for kid templates patch from Masato Taruishi 2008-02-19 22:45:11 -05:00
README.multivalue Enable multi-value field support for some attributes on the edit pages 2007-11-08 22:12:42 -05:00
README.txt Addiing initial turbogears web gui. 2007-08-12 04:53:18 -07:00
sample-prod.cfg Add logger objects to each controller. 2007-10-17 16:45:20 -07:00
setup.py Set the license uniformly to GPLv2 only. 2008-02-04 15:15:52 -05:00
start-ipagui.py Install the web gui 0001-01-01 00:00:00 +00:00
test.cfg Addiing initial turbogears web gui. 2007-08-12 04:53:18 -07:00

ipa-gui

This is a TurboGears (http://www.turbogears.org) project. It can be
started by running the start-ipagui.py script.