Commit Graph

261 Commits

Author SHA1 Message Date
Thomas Gelf 18782b9ff5 QuickForm: add buttons before onSetup() hook 2015-07-30 09:10:57 +02:00
Thomas Gelf 7058536530 IcingaObject: add getFields() lookup method 2015-07-30 09:09:44 +02:00
Thomas Gelf 92f53f18d1 IcingaObjects: add supportsFields(), but still...
...unsure whether this shouldn't be implicitely depend on
supportsCustomVars
2015-07-30 09:08:27 +02:00
Thomas Gelf 0bc2fbe9c7 Util: add auth helper methods 2015-07-30 09:04:42 +02:00
Thomas Gelf e98401d291 DirectorObjectForm: add setElementValue() helper 2015-07-30 08:54:03 +02:00
Thomas Gelf c9dd2e284c QuickForm: addHtmlHint helper method 2015-07-30 08:54:03 +02:00
Thomas Gelf cb8077057c Db: fix enumImportSource 2015-07-30 08:54:03 +02:00
Thomas Gelf a2cc9a612a DirectorObjectForm: move optionalEnum to QuickForm 2015-07-30 08:54:03 +02:00
Thomas Gelf 5dcc9b35d9 Db: template tree should be generic 2015-07-30 08:54:03 +02:00
Thomas Gelf 2bc57d459b QuickForm: translate() makes use of module name 2015-07-30 08:54:03 +02:00
Stefan Scheungrab 229902687a PropertyModifierHook - corrected function transform in order to get the hooks working 2015-07-30 04:28:19 +02:00
Thomas Gelf 3f3fbacedd Db: simplify enum methods 2015-07-29 18:07:21 +02:00
Thomas Gelf 2fbfc109d1 Db: tabs VS spaces in enumSyncRule 2015-07-29 17:31:27 +02:00
Thomas Gelf b0e8dbc957 Db: fetchHostTemplateTree() experiments 2015-07-29 17:19:45 +02:00
Alexander Fuhr 34237b265e QuickTable: Use the setColumns in EditorFilter 2015-07-29 17:16:38 +02:00
Alexander Fuhr 99027a343d ListController|ObjectsController: setupFilterControl
refs #9729
2015-07-29 15:31:32 +02:00
Alexander Fuhr b6b7518285 QuickTable: Implement the Filter usage
refs #9729
2015-07-29 15:31:32 +02:00
Thomas Gelf 6db336fc54 DataTypeSqlQuery: add a new crazy data type 2015-07-28 17:58:02 +02:00
Alexander Fuhr e4bf3ee370 IcingaHost: Add first basic getFields() method
resolves #9760
2015-07-28 17:37:58 +02:00
Alexander Fuhr f7a2425b97 DataTypeDatalist: Implement getEntries() 2015-07-28 17:37:58 +02:00
Alexander Fuhr 31e2b23d82 IcingaServiceField: Implement the field assignment
refs #9752
2015-07-28 15:25:44 +02:00
Alexander Fuhr 6005913bbd IcingaHostField: Implement the field assignment
refs #9752
2015-07-28 15:25:44 +02:00
Alexander Fuhr e89a568fc3 Db: Add enumHostTemplates and enumServiceTemplates 2015-07-28 15:25:44 +02:00
Thomas Gelf 51c7a258ce IcingaConfig: start to work on zone magic...
...still incomplete
2015-07-28 15:24:05 +02:00
Thomas Gelf d381fddfff IcingaConfig: add zone name lookup helper and cache 2015-07-28 15:22:48 +02:00
Thomas Gelf f57847cb32 IcingaConfig: add configFile helper method 2015-07-28 15:22:20 +02:00
Thomas Gelf 2e0c636574 object/delete: add new delete form 2015-07-28 15:15:08 +02:00
Thomas Gelf 9e80a5242b QuickForm: support spaces and more on submit labels 2015-07-28 15:09:16 +02:00
Alexander Fuhr 45049e45da DataTypeDatalist: rename datalist field to datalist_id 2015-07-28 12:03:47 +02:00
Alexander Fuhr f5e8b5f8f8 DirectorDatafield: Imlement settings handling
refs #9715
2015-07-28 12:03:47 +02:00
Thomas Gelf d52549acd7 Db: add enumDatalist helper method 2015-07-28 11:49:30 +02:00
Thomas Gelf fa8dbaadfc QuickForm: add getSentValue() helper method 2015-07-28 11:48:42 +02:00
Thomas Gelf 03ffbb1de6 DirectorObjectForm: allow access to our db 2015-07-28 11:40:45 +02:00
Thomas Gelf d2d7565887 DirectorObjectForm: run setup() before object 2015-07-28 11:39:18 +02:00
Thomas Gelf a8b2eeeaf7 DirectorObjectForm: pass db to object if no such 2015-07-28 11:38:21 +02:00
Thomas Gelf 38501e8e96 QuickForm: postpone setup() call 2015-07-28 11:37:08 +02:00
Thomas Gelf 570a0ac00a QuickForm: do not validate unsubmitted but sent
There is no clean way to clear errors detected by isValidPartial
afterwards, so we shouldn't call it
2015-07-28 11:35:53 +02:00
Thomas Gelf d522cb8d2b DbObject: add hasConnection() helper method 2015-07-27 23:24:50 +02:00
Thomas Gelf 1b13d15070 Db: provide import statistics 2015-07-27 22:39:29 +02:00
Alexander Fuhr 1400d3df97 DataTypeHook: Implement addSettingsFields... 2015-07-27 17:23:48 +02:00
Alexander Fuhr 0380e51087 DataTypeHook: Add DataType Hook Datalist 2015-07-27 17:22:21 +02:00
Alexander Fuhr 9c938f1953 DataTypeTime: Add DataType Time Hook 2015-07-27 17:02:33 +02:00
Alexander Fuhr 03009502a9 DataTypeHooks: Add name param to getFormElement() 2015-07-27 15:49:59 +02:00
Thomas Gelf 68e359cbc0 Sync: start to work with multiple datasources...
...working, but still unfinished
2015-07-26 15:46:25 +02:00
Thomas Gelf ce766df466 Db: allow access to dynamic imported rows query 2015-07-26 15:40:53 +02:00
Thomas Gelf c9e5f16d3e Import: exception for missing key column...
...but skip check for now
2015-07-26 15:38:29 +02:00
Thomas Gelf 666aafc842 QuickTable: lazy-load view everywhere 2015-07-26 15:37:01 +02:00
Thomas Gelf 22444f2792 Db: getImportrunRowsetChecksum helper method 2015-07-26 15:36:32 +02:00
Thomas Gelf 1ffc032e26 Sync: dummy return value to succeed in controller
Fixes redirect unless we store a sync run history
2015-07-24 15:31:57 +02:00
Thomas Gelf f05fa90fee Sync: fix purge mechanism 2015-07-24 15:31:57 +02:00