Commit Graph

369 Commits

Author SHA1 Message Date
Thomas Gelf b75029c5aa IcingaCommand,Service,User: support custom vars 2015-06-24 10:13:27 +02:00
Thomas Gelf 1bdeff3474 IcingaObject: add/fix customvar support 2015-06-24 10:13:06 +02:00
Thomas Gelf 9504f9a094 DirectorObjectForm: add basic customvar support
* Allow to add a single var each time
* Allow to modify existing vars
* Re-organize onSuccess code
* Add object helper method
2015-06-24 10:11:36 +02:00
Thomas Gelf eb6fda1eb1 QuickForm: add onSetup helper 2015-06-24 10:07:30 +02:00
Thomas Gelf 8267e377ea CustomVariable: new helper methods 2015-06-24 10:07:01 +02:00
Thomas Gelf ac5bfd32f3 CustomVariables: fix method calls 2015-06-24 09:43:48 +02:00
Thomas Gelf a2790652ec CustomVariables: do not replace vars on modification 2015-06-24 09:42:50 +02:00
Alexander Fuhr 7aba7fdb5f pgsql.sql: fix missnamed fkey column 2015-06-23 17:15:30 +02:00
Thomas Gelf 1359e19820 mysql.sql: fix missnamed fkey column 2015-06-23 17:02:16 +02:00
Alexander Fuhr da7cc607e5 Db: Fix checksum escaping :) 2015-06-23 16:45:25 +02:00
Thomas Gelf a412a9fec2 Db: pgsql 2015-06-23 16:12:26 +02:00
Thomas Gelf e7dbeef21c IcingaConfig: pgsql workaround :( 2015-06-23 16:10:57 +02:00
Thomas Gelf ae6b7367dc IcingaConfig: generation time is INT (ms) 2015-06-23 16:07:34 +02:00
Thomas Gelf ae4f80444a IcingaConfig: one more pgsql thingy 2015-06-23 16:05:34 +02:00
Thomas Gelf 0e4b781600 IcingaConfig: escape checksums for pgsql 2015-06-23 16:03:56 +02:00
Alexander Fuhr 040dbdbb99 DbObject: Fix wrong type comparison 2015-06-23 16:02:54 +02:00
Thomas Gelf f1595738e3 Db: fix pgsql check 2015-06-23 15:24:05 +02:00
Thomas Gelf 9c5cd31357 IcingaConfig: escape binary checksums for pgsql 2015-06-23 15:13:34 +02:00
Alexander Fuhr 8333975662 GeneratedConfigTable: Fix group by error 2015-06-23 14:44:25 +02:00
Thomas Gelf 29820e05ac Util: fix pass-by-ref error 2015-06-23 14:38:37 +02:00
Thomas Gelf 676acf0740 Util: new helper class 2015-06-23 14:37:23 +02:00
Alexander Fuhr 2dcd1c2d78 DbObject: Add pg escape for checksum 2015-06-23 14:19:30 +02:00
Thomas Gelf 06935c442d IcingaConfig: pgsql workaround :( 2015-06-23 14:12:39 +02:00
Thomas Gelf 3087776f6b PosgreSQL: use ENCODE, not HEX 2015-06-23 13:28:14 +02:00
Thomas Gelf 6c8213f4db DbObject: do not insert id=NULL, fails on pgsql 2015-06-23 13:05:02 +02:00
Alexander Fuhr bea63149c6 Db: Fix the where clause for the object_type 2015-06-23 12:56:59 +02:00
Alexander Fuhr 1f27c6cfbe Add PostgreSQL Schema that is fitting the MySQL Schema
refs #9442
2015-06-23 09:56:48 +02:00
Alexander Fuhr 548de3a49c MySQL Schema: Change timeout datatype from medium- to smallint 2015-06-22 16:44:24 +02:00
Thomas Gelf 110ecf65b8 GeneratedConfigTable: commit missing table 2015-06-18 11:03:18 +02:00
Thomas Gelf 32cca9d2c6 IcingaConfig: fix activity links 2015-06-18 11:01:45 +02:00
Thomas Gelf 48d876556c GeneratedConfig: add simple "show" support 2015-06-18 10:54:44 +02:00
Thomas Gelf 4ca3583fff CustomVariable: forgot to implement ConfigRenderer 2015-06-18 09:42:05 +02:00
Alexander Fuhr 54f7b64844 Config: add new test url
refs #9434
2015-06-17 19:04:04 +02:00
Alexander Fuhr a80c295314 IcingaConfig: generate and store if modified
resolves #9434
2015-06-17 19:03:23 +02:00
Alexander Fuhr d7a816026f schema: use checksum as primary key for config 2015-06-17 19:02:08 +02:00
Alexander Fuhr bc00eefb07 Conf: renamed controller to Config 2015-06-17 18:57:51 +02:00
Alexander Fuhr a287ef799d ConfController: Add new Controller to manage Icinga Configuration 2015-06-17 13:31:51 +02:00
Alexander Fuhr ef537160f7 IcingaObjectGroups: Fix empty groups rendering
fixes #9432
2015-06-17 12:30:59 +02:00
Alexander Fuhr 6fcb16ced8 IcingaConfig: Rename fromDb() to generate() 2015-06-17 11:29:55 +02:00
Alexander Fuhr bcbee81fa0 DirectorObjectForm: Fix typo 2015-06-17 11:21:44 +02:00
Alexander Fuhr 85b26041f9 DirectorObjectForm: Fix typo and so on 2015-06-17 11:18:44 +02:00
Thomas Gelf 56c4b791ef doc: add TODO list 2015-06-17 11:11:59 +02:00
Thomas Gelf b15e814151 Forms: centralize groups property loading 2015-06-17 11:11:25 +02:00
Thomas Gelf a25bb80004 IcingaConfig: add more object types 2015-06-17 10:53:41 +02:00
Thomas Gelf ed8e472cba IcingaConfigFile: remove different implementations
One size fits all ;)
2015-06-17 10:03:31 +02:00
Thomas Gelf 774174052a DirectorObjectForm: fix exception on groupless objects 2015-06-17 10:02:29 +02:00
Alexander Fuhr 616892984d Groups: Add generic Groups support
resolves #9427
2015-06-16 17:58:47 +02:00
Alexander Fuhr e9e9f91fee IcingaConfigHelper: Use config renderer and escape strings 2015-06-16 17:54:38 +02:00
Alexander Fuhr 61414cbadc IcingaConfig: Add an IcingaConfigRenderer Interface 2015-06-16 17:52:06 +02:00
Alexander Fuhr 193cb60604 Groups: Add groups support to User, Host and Service 2015-06-16 17:51:01 +02:00