Commit Graph

262 Commits

Author SHA1 Message Date
Thomas Gelf f05fa90fee Sync: fix purge mechanism 2015-07-24 15:31:57 +02:00
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
Thomas Gelf 80b2974372 Import: ignore null properties for now 2015-07-24 15:26:09 +02:00
Alexander Fuhr 6777911a07 ImportRowModifierSettings: just spaces 2015-07-24 15:05:38 +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 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 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 b9eac26193 SyncRule: sync rules should work now. refs. #9709 2015-07-23 20:00:31 +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
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
Alexander Fuhr 9af1b60dc9 DataListEntry: Implement the datalistentry management 2015-07-22 13:42:47 +02:00
Alexander Fuhr 9bc8d3882e DbObject: Fix the array to string conversion 2015-07-22 13:42:47 +02:00
Thomas Gelf 3dfec6b8bd Import: allow for differing imports w/o new rows 2015-07-22 13:13:00 +02:00
Thomas Gelf af021b06ac ImportSourceSql: query should be a textarea 2015-07-22 11:37:06 +02:00
Stefan Scheungrab 2076d6b9a7 Import: renamed column imported_rowset_checksum TO rowset_checksum resolves: #9700 2015-07-22 11:13:52 +02:00
Thomas Gelf bc49af2685 Import: implement import runs
* Trigger import run and store data
* Add new table showing related information
2015-07-22 10:12:50 +02:00
Thomas Gelf 6ca8e8a7d6 ImportSourceSql: new import provider
fixes #9678
2015-07-21 15:18:16 +02:00
Thomas Gelf cab2348a28 ImportSourceHook: initial import
fixes #9677
2015-07-21 15:17:20 +02:00
Thomas Gelf 1c38e4469e Importsource: controller, object, list
fixes #9676
2015-07-21 15:16:18 +02:00
Thomas Gelf 1fd97c8606 QuickForm: add moveSubmitToBottom hack 2015-07-21 15:13:42 +02:00
Thomas Gelf 4881cd3860 DbObject: add missing call to onLoadFromDb 2015-07-21 15:12:23 +02:00
Alexander Fuhr cfbe065b86 DirectorDataList: Add controller, object etc. 2015-07-03 14:00:40 +02:00
Thomas Gelf 644c6beeff DirectorDatafield: introduce new object class...
...and adjust table, form and controller
2015-07-03 13:17:05 +02:00
Alexander Fuhr 83fdf0f67d QuickForm: Fix null failure 2015-07-03 11:20:32 +02:00
Alexander Fuhr ee44f461ab DataField: Add an action and a tab to config tabs 2015-07-03 10:49:47 +02:00
Thomas Gelf 33892f3298 DbObject: get rid of setDb. Fix race condition 2015-07-03 10:00:16 +02:00
Thomas Gelf 55ed08412c DirectorObjectForm: remove obsolete method 2015-07-03 09:31:20 +02:00
Alexander Fuhr 8c2939db60 ActionController: Fix code typo 2015-07-03 09:01:52 +02:00
Thomas Gelf 61795ccdcd QuickForm/FormLoader: add helper for subforms 2015-07-02 15:30:02 +02:00
Thomas Gelf 6730ac7447 HostActions: add "edit" hook to monitoring module 2015-07-02 15:28:41 +02:00
Alexander Fuhr 25f29b3acc DirectorObjectForm: Fix copy paste type ranges. to vars. 2015-07-02 14:54:41 +02:00
Thomas Gelf edad30f0ac IcingaObject: add initial resolve methods 2015-07-02 14:51:59 +02:00
Thomas Gelf 410d06dc63 IcingaObject: object_name is our key 2015-07-02 14:32:06 +02:00
Thomas Gelf 2b2ab87338 Datalists: halfway done 2015-07-02 14:13:42 +02:00
Thomas Gelf 02c7a5c62c DbObject: don't ->getId() for ->id 2015-07-02 14:11:13 +02:00
Alexander Fuhr 84a3de8336 Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-07-01 15:24:21 +02:00
Alexander Fuhr e9d38103f0 TimePeriodRanges: Implement the TimePeriodRanges support 2015-07-01 15:15:49 +02:00
Alexander Fuhr 4d2cbdea44 DbObject: Fix mixed key collision 2015-07-01 15:13:28 +02:00
Thomas Gelf d3f4625d7c DirectorObjectForm: workaround to move submit button 2015-06-30 11:37:35 +02:00
Thomas Gelf 628d7c3221 ActionController: remove legacy tab helpers 2015-06-30 11:30:08 +02:00
Thomas Gelf 3ba98a2ffa ActionController: move to Web\Controller namespace 2015-06-30 11:27:32 +02:00
Thomas Gelf 8f841d28ae Reorganize action controllers
* Removed 'list' and 'object' from urls
* IcingaObject: added isGroup helper
* Adjusted and abstracted tabs and tables
* Show endpoints in zone list
* Remove obsolete code
* Allow to filter activity log for objects
* Improve general look and feel
2015-06-30 11:19:31 +02:00
Alexander Fuhr decfcfd67b IcingaObjectGroups: Set right return type for store() 2015-06-30 10:46:53 +02:00
Alexander Fuhr fbbea8d486 IcingaObjectImports: Add check if modified and loaded from db 2015-06-30 10:46:15 +02:00
Thomas Gelf 816f8b8a72 Welcome: new controller showing initial help...
...especially in case your config is still missing.
2015-06-29 16:01:10 +02:00
Alexander Fuhr 321f9d9503 IcingaObjectImports: Fix bug with on delete 2015-06-29 12:50:59 +02:00
Thomas Gelf 114bac0d55 CustomVariable: no abstract for interface method 2015-06-29 12:04:45 +02:00
Thomas Gelf 815139bb21 List: add remaining tabs
Temporarily keeping endpoint and command args, will become subitems
later on
2015-06-29 11:31:35 +02:00
Thomas Gelf fe7cb41bac Services: ooops 2015-06-29 11:16:29 +02:00
Thomas Gelf 3d9fb846ed Services: add tabs, remove menu item & legacy actions 2015-06-29 11:15:23 +02:00
Thomas Gelf c95c689609 Hosts: add tabs, remove menu item & legacy actions 2015-06-29 11:12:20 +02:00
Alexander Fuhr 775bc67fec Add imports support for Endpoint 2015-06-29 11:11:56 +02:00
Alexander Fuhr f1c3f9025b Add imports support for UserGroup 2015-06-29 11:02:30 +02:00
Alexander Fuhr 61812d6115 Add imports support for Zone 2015-06-29 10:46:32 +02:00
Alexander Fuhr cdb66b648a Add imports support for Command 2015-06-29 10:39:37 +02:00
Alexander Fuhr c7f7d37523 Add imports support for Servicegroup 2015-06-29 10:28:57 +02:00
Alexander Fuhr b8a35e068c Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-06-29 10:21:14 +02:00
Alexander Fuhr 878841e33e Add imports support for Hostgroup 2015-06-29 10:20:15 +02:00
Thomas Gelf 854ba20451 config: add tabs, less menu items 2015-06-29 10:13:39 +02:00
Alexander Fuhr 0af3ed4452 Add imports support for Timeperiod 2015-06-26 16:45:44 +02:00
Alexander Fuhr f7bd670d1b Add imports support to User 2015-06-26 16:36:18 +02:00
Alexander Fuhr fd74a8dfd5 Add imports support to Service 2015-06-26 16:20:16 +02:00
Alexander Fuhr bc57937078 DirectorObjectForm: Add imports handling вот так 2015-06-26 15:56:55 +02:00
Alexander Fuhr a663d571be IcingaObject: Add storeImports как то так 2015-06-26 15:55:16 +02:00
Alexander Fuhr 864b9ea55c Implement IcingaObjectImport to handle object imports 2015-06-26 15:54:00 +02:00
Alexander Fuhr a2da7581b0 Merge branch 'master' of git.icinga.org:icingaweb2-module-director 2015-06-26 10:40:22 +02:00
Alexander Fuhr b1a7922873 Imports: Start with implementing the imports 2015-06-26 10:39:30 +02:00
Thomas Gelf 2021dc3479 DbObject: fix legacy method call 2015-06-25 08:45:36 +02:00
Alexander Fuhr 330c7b825e xMember: Delete the absolete Member classes 2015-06-24 15:34:24 +02:00
Alexander Fuhr 33ea3a9b34 IcingaObjectGroups: Fix typo in set() method 2015-06-24 14:57:04 +02:00
Thomas Gelf fc2352fb1e QuickForm: improve submission detection
Still not complete
2015-06-24 14:54:14 +02:00
Thomas Gelf b26172e0e9 IcingaZone: add support for global zones 2015-06-24 13:41:45 +02:00
Thomas Gelf f8bd943181 Group membership: more magic 2015-06-24 11:25:22 +02:00
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