On 02/18/2011 05:12 PM, Endi Sukma Dewata wrote:
On 2/18/2011 1:08 PM, Endi Sukma Dewata wrote:
Hard-coded messages through out the code have been replaced by i18n
messages obtained from json_metadata and i18n_messages.
https://fedorahosted.org/freeipa/ticket/899
Needs rebase, due to mkosek's big patch.
Attached is an updated version. I had to change IPA.cert into an entity
because it has to be initialized after IPA.init() finishes loading the
metadata & messages.
We might want to introduce a concept of plugin for Web UI (similar to
plugin for ipalib). The first step is to rename IPA.entity_factories
into IPA.plugins, but most of the work will be splitting the IPA.entity
into plugin and real entity.
Patch #107 can be used without rebase.
Attached is a new version using the plugin framework. Please see
certificate.js.
Every function is an Object. There is no reason to create an object,
and then have an init method on it.
_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel