[Freeipa-devel] [PATCH] jderose 017-2 Giant webui patch take 2

Jason Gerard DeRose jderose at redhat.com
Tue Oct 13 17:53:59 UTC 2009


Okay, finally here is the revised webui patch.  Since the last version,
I:

 * Ported to various API changed between wehjit 0.0.1 and 0.1.0

 * Removed the session.py stuff, which will be in a separate patch

 * Added the plugin browser to help developers inspect the plugins

The webui is still in a similar "dumb" state till I extend various
meta-data in ipalib, which I will work on this week and will quickly get
the UI into a more impressive state.  I just can't let this patch get
any larger... stop the madness!  ;)  There currently isn't a top-level
webui-page at /ipa/ui, but pages exist for each command plugin,
i.e., /ipa/ui/user_add

This patch is big, but tries to be non-intrusive: the new webui stuff
only runs from the new lite-server.py script, not for the installed
version running under Apache.  As far as I know, no existing
functionality is disrupted by this patch.  After making the meta-data
changes, I will enable the new functionality under Apache also.

I hope everyone will find the plugin-browser quite helpful.  To run it,
launch lite-server.py like this:

  ./lite-server.py

And then point your browser to:

  http://127.0.0.1:8888/ipa/ui/Command

All plugins in all namespaces are available in the browser, but details
are currently only available for the Command and Object namespaces.  I
will also soon add an easy way to render the plugin browser to static
pages to put on freeipa.org.

This patch requires python-wehjit and python-assets, which are in
Fedora12 and rawhide.  Or you can install from tarballs here:

  http://jderose.fedorapeople.org/assets/current/

  http://jderose.fedorapeople.org/wehjit/current/

A couple of weekends ago I also packaged assets and wehjit for
Debian/Ubuntu.  Karmic packages are available in my PPA:

  https://launchpad.net/~jderose/+archive/ppa

Sorry the patch is so large, subsequent ones wont be.




-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jderose-017-2-Giant-webui-patch-take-2.patch
Type: text/x-patch
Size: 156895 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20091013/fb68530a/attachment.bin>


More information about the Freeipa-devel mailing list