[icinga-checkins] icinga.org: icinga-web/elippmann/config_handlers: (

git at icinga.org git at icinga.org
Tue Jul 19 15:21:53 CEST 2011


Module: icinga-web
Branch: elippmann/config_handlers
Commit: 6e692f410aa0d6eb56996149540fcc1460a03ba0
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=6e692f410aa0d6eb56996149540fcc1460a03ba0

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Tue Jul 19 15:11:46 2011 +0200

(
* Added AppKitXIncludeConfigHandler which includes module config files into their global equivalent respectively
* Added AppKitResourceConfigHandler which collects modules' javascript and stylesheet (not yet) includes
* Added AppKit_ResourcesModel which holds collected resources
* Outsourced javascript includes from module.xmls to own files
* Added xsd/xsl validating/transforming this new files
* Adapted global config_handlers xml for the changes to take effect
) refs #1548

---

 app/config/config_handlers.xml                     |   55 ++++++++++++-
 app/config/javascript.xml                          |    5 +
 app/config/stylesheets.xml                         |    5 +
 .../actions/Widgets/SquishLoaderAction.class.php   |   29 +------
 app/modules/AppKit/config/autoload.xml             |    4 +
 app/modules/AppKit/config/javascript.xml           |   28 ++++++
 app/modules/AppKit/config/module.xml               |   24 +-----
 .../config/AppKitResourceConfigHandler.class.php   |   87 ++++++++++++++++++++
 .../config/AppKitXIncludeConfigHandler.class.php   |   85 +++++++++++++++++++
 .../AppKit/lib/config/xsd/parts/resource.xsd       |   34 ++++++++
 app/modules/AppKit/lib/config/xsd/resource.xsd     |   26 ++++++
 app/modules/AppKit/lib/config/xsl/resource.xsl     |   24 ++++++
 .../AppKit/lib/util/AppKitIteratorUtil.class.php   |   33 ++++++++
 app/modules/AppKit/models/ResourcesModel.class.php |   55 ++++++++++++
 app/modules/Cronks/config/javascript.xml           |   41 +++++++++
 app/modules/Cronks/config/module.xml               |   37 +--------
 app/modules/Reporting/config/javascript.xml        |   32 +++++++
 app/modules/Reporting/config/module.xml            |   28 +------
 app/modules/Web/config/javascript.xml              |   14 +++
 app/modules/Web/config/module.xml                  |    8 +-
 20 files changed, 542 insertions(+), 112 deletions(-)

Diff:   https://git.icinga.org/?p=icinga-web.git;a=commitdiff;h=6e692f410aa0d6eb56996149540fcc1460a03ba0




More information about the icinga-checkins mailing list