Commit Graph

318 Commits

Author SHA1 Message Date
Thomas Gelf f65e880aaa Sync: forbid sync access to existing templates 2015-07-24 15:31:57 +02:00
Thomas Gelf 7edc5f37b3 Sync: use a single db transaction 2015-07-24 15:31:57 +02:00
Thomas Gelf 1c5f83a6cf Sync: fail with missing key column
NB: might not work as expected, more fixes to come
2015-07-24 15:31:57 +02:00
Alexander Fuhr e3f7af057f DirectorDatafieldForm: Implement the unfinished Hook usage 2015-07-24 15:30:29 +02:00
Thomas Gelf fb85bcb572 module.less: just styles, playing around 2015-07-24 15:26:39 +02:00
Thomas Gelf 80b2974372 Import: ignore null properties for now 2015-07-24 15:26:09 +02:00
Thomas Gelf 61052be1f6 SyncpropertyTable: show labels, not ids 2015-07-24 15:25:04 +02:00
Thomas Gelf b104b78dde ImportrunTable: pagination count workaround
Our generic "count" implementation is not yet able to cope whit this
2015-07-24 15:23:58 +02:00
Alexander Fuhr 6777911a07 ImportRowModifierSettings: just spaces 2015-07-24 15:05:38 +02:00
Alexander Fuhr c868e13be5 run.php: Register string/numer hooks
refs #9715
2015-07-24 15:00:50 +02:00
Alexander Fuhr 4f5e0f5918 DataTypeString/Number-Hook: Add simple hooks
refs #9716
2015-07-24 15:00:50 +02:00
Alexander Fuhr 1e694f2d1b DataTypeHook: Add a Hook for DataType
refs #9715
2015-07-24 15:00:50 +02:00
Thomas Gelf 8715006f7e schema/mysql: allow for larger files
16MB vs 16KB
2015-07-24 11:23:21 +02:00
Thomas Gelf 753d9420c3 IcingaConfig: throw exception when missing 2015-07-24 10:58:02 +02:00
Thomas Gelf 747ea70a33 CustomVariables: use ->id, not ->getId 2015-07-24 10:57:05 +02:00
Thomas Gelf 6d9aaf73d9 SyncruleTable: add run link
refs #9731
2015-07-24 10:55:31 +02:00
Thomas Gelf e16dce9880 syncrule/run: use new sync class 2015-07-24 10:55:05 +02:00
Thomas Gelf bec233d940 HostTable: sort hosts 2015-07-24 10:54:42 +02:00
Thomas Gelf 826cafb476 SyncRule: add helper method fetching properties 2015-07-24 10:54:11 +02:00
Thomas Gelf 676e694078 SyncRule: just spaces 2015-07-24 10:53:55 +02:00
Thomas Gelf bdda0fe717 Sync: initial test implementation
refs #9731
2015-07-24 10:51:55 +02:00
Stefan Scheungrab 250fbeabe2 SycPropertyForm: Prepared form for sync property. refs: #9709 2015-07-24 09:51:31 +02:00
Stefan Scheungrab 6d65ce5066 SyncRuleForm: Replaced title for object type. refs: #9707 2015-07-23 20:51:29 +02:00
Stefan Scheungrab b9eac26193 SyncRule: sync rules should work now. refs. #9709 2015-07-23 20:00:31 +02:00
Stefan Scheungrab 69ce25828b myschema/upgrade29: order of dropping tables was wrong ... 2015-07-23 18:12:06 +02:00
Stefan Scheungrab 17f907489e mysql schema: removed contraints from tables import_row_modifier_setting import_row_modifier 2015-07-23 17:30:45 +02:00
Stefan Scheungrab 60f563959d mysql_schema: because of rename of the tables the key has to be updated:wq 2015-07-23 16:57:48 +02:00
Stefan Scheungrab 7564989981 mysql upgrade: deleted IF EXISTS 2015-07-23 16:47:27 +02:00
Stefan Scheungrab 3d3dc19d3b SyncRule: Controller Object and fomr 2015-07-23 16:40:32 +02:00
Stefan Scheungrab a410fa8f05 Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-07-23 16:37:33 +02:00
Stefan Scheungrab ad77d8b702 SyncRule: preparation for sync rule 2015-07-23 16:36:58 +02:00
Alexander Fuhr ec6974b9c5 Pagination: Add pagination suppport for all tables
fixes #9691
2015-07-23 16:20:33 +02:00
Alexander Fuhr 08ec28345e QuickTable: Implement Paginatable
refs #9691
2015-07-23 16:20:33 +02:00
Thomas Gelf ecb3d71760 IcingaConfig: just spaces 2015-07-23 15:38:17 +02:00
Thomas Gelf ec7ad0984b IcingaConfigFile: support string casts 2015-07-23 15:37:35 +02:00
Thomas Gelf b8d312d3fe IcingaConfig: add getFileContents() 2015-07-23 15:37:12 +02:00
Stefan Scheungrab 396120a1ce PropertyModifierRegexReplace: failed to adjust the input fields 2015-07-23 15:13:07 +02:00
Stefan Scheungrab b43b8ee5e3 PropertyModifier: renamed function for adding new fields to a Form 2015-07-23 14:42:53 +02:00
Stefan Scheungrab 06fc7d82a0 Director/PropertyModifier: Create first basic property modifiers refs: #9707 2015-07-23 14:29:15 +02:00
Stefan Scheungrab 103623211b Hook/PropertyModifier: added abstract function transform which actually transform the given value 2015-07-23 13:07:39 +02:00
Stefan Scheungrab 3a15cf8f28 Modifier: initial hook and preperation for generic modifier 2015-07-23 11:45:07 +02:00
Stefan Scheungrab 8621e3cfdd SyncProperty: initial setup for synchronising the properties 2015-07-23 11:43:41 +02:00
Stefan Scheungrab 3b96b38d03 mysql/schema: renamed table and two columns in order to fulfil the standards 2015-07-23 11:29:08 +02:00
Stefan Scheungrab e550d81d33 schema/mysql: modifier will be executed while import 2015-07-23 11:07:16 +02:00
Thomas Gelf 1b4cd5adfc schema/mysql: do not require sync filter expression 2015-07-23 10:47:41 +02:00
Thomas Gelf abab695708 Db: add fetch*RowsetRows methods
Magic query creators delivering our key/value table entries as "real" rows
2015-07-22 23:33:24 +02:00
Stefan Scheungrab 8ef61d4b3a Import/ImportSourceSql: typo replaced Resouce with Resource 2015-07-22 19:18:42 +02:00
Thomas Gelf 6c31bc08b7 schema/mysql: add sync tables 2015-07-22 17:09:33 +02:00
Thomas Gelf 4cd862a9b0 mysql/upgrade_27: drop, duplicate of upgrade_21 2015-07-22 15:35:43 +02:00
Alexander Fuhr 8f74020b92 SQLSchema: Update MySQL Schema with DataListEntry 2015-07-22 13:42:47 +02:00