[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Dmitri Pal wrote:
Jason Gerard DeRose wrote:
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.




Jason,

The patch removes 4300 lines and adds 1000. Is this correct or we are
missing something?


The majority of that 4300 is a single file, mootools-core.js. I'm guessing he is planning to use a different javascript toolkit.

rob

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]