[icinga-checkins] icinga.org: icinga-web/mhein/testing: * Added AppKitXIncludeConfigHandler which includes module config files into their global equivalent respectively

git at icinga.org git at icinga.org
Tue Aug 2 10:58:52 CEST 2011


Module: icinga-web
Branch: mhein/testing
Commit: d5fadaf517c092cece8aefb69f2f96dab1de08c1
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=d5fadaf517c092cece8aefb69f2f96dab1de08c1

Author: Eric Lippmann <eric.lippmann at netways.de>
Date:   Thu Jul 21 12:11:03 2011 +0200

* Added AppKitXIncludeConfigHandler which includes module config files into their global equivalent respectively
* Added xsd/xsl validation/transformation for configs handled with AppKitXIncludeConfigHandler
* Added AppKitResourceConfigHandler which collects modules' javascript and stylesheet (not yet) includes
* Added AppKit_Resources model holding those includes
* Outsourced modules' javascript includes to own files
* Adapted global config_handlers and SquishLoader for the changes to take effect

refs #1548

---

 app/config/config_handlers.xml                     |   69 +++++++++++++---
 app/config/cronks.xml                              |    5 +
 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           |   27 ++++++
 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           |   40 +++++++++
 app/modules/Cronks/config/module.xml               |   37 +--------
 app/modules/Reporting/config/javascript.xml        |   31 +++++++
 app/modules/Reporting/config/module.xml            |   28 +------
 app/modules/Web/config/javascript.xml              |   13 +++
 app/modules/Web/config/module.xml                  |    8 +-
 21 files changed, 550 insertions(+), 119 deletions(-)

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




More information about the icinga-checkins mailing list