Commit Graph

1041 Commits

Author SHA1 Message Date
Thomas Gelf d2cfa20385 DirectorDb: push missing changes 2018-06-08 00:07:14 +02:00
Thomas Gelf aaaa8aed0a DbSelectorForm: allow to switch Director database
fixes #1498
2018-06-07 23:50:31 +02:00
Thomas Gelf 885f76715a ActionController: cleanup 2018-06-07 23:37:28 +02:00
Thomas Gelf 7efeab674c (Host)ServiceTable: always show blacklist details
It can affect also single services
2018-06-05 11:06:43 +02:00
Thomas Gelf c401f5356c HostServiceTables: drop useless group()
fixes #1509
2018-06-01 14:55:14 +02:00
Thomas Gelf 31a6ab0cf2 IcingaHostServiceTable, others: cleanup, fix...
...blacklist-styling
2018-05-30 00:45:08 +02:00
Thomas Gelf f3056c6f2c DirectorObjectForm: templates have no choices
fixes #1363
2018-05-29 23:15:17 +02:00
Thomas Gelf 35f1f09b84 Tables: fix host/service blacklist queries 2018-05-25 19:11:50 +02:00
Thomas Gelf 8073128d0e IcingaServiceForm: add blacklist/delete button...
...and a lot of related boilerplate to get the "blacklist" feature working
2018-05-25 19:11:50 +02:00
Thomas Gelf 5a8c785b7c dipl: align with ipl-html, stop using deprecated
...method Html::escapeForHtml
2018-05-25 19:09:42 +02:00
Thomas Gelf ec0beb5de8 HostServiceRedirector: fix switched urls 2018-05-25 18:20:56 +02:00
Thomas Gelf 14cd540ce9 HostServiceRedirector: add applied service sets 2018-05-23 08:18:57 +02:00
Thomas Gelf 0f4fd471e2 HostServiceRedirector: new implementation for...
...service links. Fallback route and more

fixes #689
2018-05-23 00:47:30 +02:00
Thomas Gelf b773b90ae5 JobDetails: fix message "characters are not yet.." 2018-05-17 08:36:39 +02:00
Thomas Gelf 05bc9e5bfc CustomvarTable, SyncRunDetails: small fixes 2018-05-09 13:18:10 +02:00
Thomas Gelf df83c9abad ipl: no more Html::__callStatic, add phpdocs 2018-05-08 19:54:00 +02:00
Thomas Gelf b1fd0bd9ed ObjectTabs: show 'inspect' only for endpoints...
...with an ApiUser reference

fixes #1293
2018-05-08 16:25:38 +02:00
Thomas Gelf df7c77a0f6 ipl-related fixes 2018-05-05 18:29:17 +02:00
Thomas Gelf 988319dcf6 ipl-related: use HtmlDocument instead of Html 2018-05-05 01:25:24 +02:00
Thomas Gelf 955695682d Use BaseHtmlElement and more 2018-05-05 01:11:55 +02:00
Thomas Gelf 4f8c60bb46 various: cleanup, sop using deprecated methods 2018-05-05 00:24:49 +02:00
Thomas Gelf 99ddb9266b Commands: show usage over templates and objects
fixes #335
2018-05-04 18:02:05 +02:00
Thomas Gelf 6add437dce IcingaCommand: do not allow to delete while in use
fixes #1443
2018-05-04 13:12:23 +02:00
Thomas Gelf 8e4b88195b ObjectsTableCommand: formatting 2018-05-04 12:47:51 +02:00
offsides 38a56f68fe Assign: add "is not set" operator
fixes #1436
2018-05-04 12:42:39 +02:00
Thomas Gelf cd2de241dd Commands: allow to filter by usage
fixes #1480
2018-05-04 11:03:42 +02:00
Thomas Gelf 5dab1d3bb8 IcingaHostForm: logic belongs here
refs #1451
2018-03-28 18:38:36 +02:00
Thomas Gelf 8c7897ee46 DirectorObjectForm: do not allow to store...
...IcingaHost objects you wouldn't be allowed to see afterwards

fixes #1451
2018-03-28 18:32:52 +02:00
Thomas Gelf 2f68489cac DirectorDb: do not fail when unconfigured and...
...not use by Controllers
2018-03-28 17:55:57 +02:00
Thomas Gelf 56c5ac0846 DirectorDb: ConfigurationError has been missing 2018-03-28 17:52:21 +02:00
Da Rold Valentina 08e38f2c75 Hook for custom field in Director form 2018-03-28 15:46:21 +02:00
Markus Frosch 1e7f0f962b IcingaObjectInspection: Properly read and handle config_checksum
This adapts behavior from DeploymentLogTable

fixes #1420
2018-03-11 14:20:09 +01:00
Markus Frosch 034319dbe7 ImportedrowsTable: Render complex data types in pre tag
Just like ImportsourceHookTable.

refs #1325
2018-03-11 14:10:50 +01:00
Thomas Gelf 7525a7b0f6 ObjectsTable: allow to filter any type by name
Not used yet, will make it easy to create restrictions like
director/host/filter-by-name = "*.dev.example.com"
2018-02-25 18:15:12 +01:00
Thomas Gelf ad88207d84 ObjectsTable: cleanup 2018-02-25 18:08:40 +01:00
Thomas Gelf bd40160391 IcingaObjectInspection: deal with CheckResults...
...without a command property

fixes #1402
2018-02-21 11:34:19 +01:00
Thomas Gelf 56f44b9ff1 IcingaObjectInspection: improve Inspect look&feel
fixes #264
2018-02-20 15:40:49 +01:00
Thomas Gelf a515e02953 FilterByNameRestriction: test and unify behavior
fixes #1392
2018-02-20 13:45:19 +01:00
Thomas Gelf 3a1d09cfb1 ImportsourceHookTable: add new classes, deal with
...empty rows
2018-01-26 13:06:54 +01:00
Thomas Gelf 53432c6d5c ImportModifiers: friendlier errors on PHP 7.x 2018-01-25 13:13:42 +01:00
Markus Frosch 6c52a26281 DirectorObjectForm: Add flapping settings
refs #330
2018-01-15 10:10:33 +01:00
Broskavka c825d0b441 Update NamePattern.php 2017-12-14 00:25:49 +01:00
Thomas Gelf 619717903b DirectorObjectForm: commit missing method
refs #1331
2017-12-13 09:46:53 +01:00
Thomas Gelf 062efd9919 NamePattern: fix msg
refs #1331
2017-12-12 15:55:15 +01:00
Thomas Gelf 550959d858 NamePattern: allow to combine multiple patterns
fixes #1331
2017-12-12 15:49:22 +01:00
Thomas Gelf dbe8aeeed3 ObjectsTableService: do not show set members
fixes #1299
2017-11-23 16:43:52 +01:00
Markus Frosch efc36fdbb8 ObjectController: Don't let DeploymentLink break the interface on errors
This can happen whenever the deployment related config of Zones,
Endpoints or ApiUsers is incomplete or missing.

This should not break forms needed to fix the problem.
2017-11-15 12:04:12 +01:00
Thomas Gelf 0e10545175 ServiceSet: allow controlled/restricted access
fixes #1235
2017-10-12 16:54:31 +02:00
Thomas Gelf fb72a6e293 ObjectsController: allow admins to download JSON
fixes #1226
2017-10-11 10:55:20 +02:00
Thomas Gelf bab0ebc6c1 AdditionalTableActions: add showsql to the GUI
fixes #1227
2017-10-11 10:51:43 +02:00
Thomas Gelf 76ac1e104e configuration.php: add director/showsql permission
fixes #1225
2017-10-10 17:33:33 +02:00
Thomas Gelf d1e116a5a1 ipl: rename to dipl
fixes #1217
2017-10-09 15:23:27 +02:00
Thomas Gelf 4caf3fce51 ActionController: allow for fluent use of...
...assertOneOfPermissions
2017-10-07 17:25:18 +02:00
Thomas Gelf 5388520551 FieldLoader: fix 'show based on filter' for...
...CustomVariables of type Array

fixes #983
2017-10-07 17:14:54 +02:00
Thomas Gelf 223f0fec61 ServiceTemplateUsage: forgot one comment
fixes #1210
2017-10-04 13:50:28 +02:00
Thomas Gelf 6980544208 ServiceTemplateUsage: temporarily disable link...
...for sets

refs #1122
2017-10-04 06:57:57 +02:00
Thomas Gelf 5c53f9a3ba ExtensibleSet: fix "remove" button handling
fixes #1100
2017-10-04 06:56:11 +02:00
Thomas Gelf 45eaf0e987 IcingaServiceForm: add NamePattern validator 2017-10-02 08:45:32 +02:00
David Ulbricht 727cc22bc4 Dependencies: add usage overview and table 2017-09-28 14:50:44 +02:00
Thomas Gelf e45962c1b9 various: shorten long line, spacing, readability 2017-09-28 11:02:13 +02:00
Marc DeTrano 708edfdebc Updates: clean code for whitespace/standards...
...issues as reported by Travis. Add requirement for parent and child host
fields when setting up a Dependency Object (these fields are not necessarily
needed for Templates or Apply Rules). Renamed new table field to
'parent_service_by_name'... which is a bit more descriptive or what that
field is intended for.
2017-09-28 11:01:27 +02:00
Marc DeTrano 6bea1eff41 Implement Icinga Dependency Configuration. 2017-09-28 11:01:27 +02:00
Thomas Gelf 8a6480e40e ObjectsTabs: fix typo 2017-09-28 11:01:02 +02:00
Thomas Gelf e40c1b83de QuickSubForm: just an IDE hint 2017-09-27 08:38:04 +02:00
Thomas Gelf 748c3668e2 ExtensibleSet: drop-down-like button for drop-...
...down-like elements
2017-09-27 08:34:13 +02:00
Thomas Gelf e950bb3395 Objects: ship templates via REST API
fixes #1185
2017-09-18 10:23:36 +02:00
Thomas Gelf aee72c558c DirectorObjectForm: add inherited groups to main...
...display group
2017-09-17 13:50:13 +02:00
Thomas Gelf b9d06f3015 IcingaHostForm: show (and link) applied groups 2017-09-13 16:40:04 +02:00
Thomas Gelf b87c3bb0f6 TranslationDummy: remove unrelated code from form 2017-09-13 11:01:45 +02:00
Thomas Gelf 9be31df544 DirectorObjectForm: do not catch onSuccess failure
...base clase already does
2017-09-13 10:50:34 +02:00
Thomas Gelf bc8af635e8 DirectorObjectForm: show inherited integers
fixes #812
2017-09-12 15:29:39 +02:00
Thomas Gelf c27fd86f4c QueryColumnsFromSql: use correct DB
fixes #1173
2017-09-12 00:26:19 +02:00
Thomas Gelf 9fa641b27c ObjectTabs: do not offer preview for services...
...when making part of a Set
2017-09-11 16:07:17 +02:00
Thomas Gelf e76665741e ImportSourceSql: cache query column list
fixes #1071
2017-09-11 15:30:00 +02:00
Thomas Gelf 313dba50cb QuickForm: get unique error helpers from DOF 2017-09-11 15:27:37 +02:00
Thomas Gelf e752d7f7ae Changelog: prepare for v1.4.0 2017-09-11 15:17:29 +02:00
Thomas Gelf 32fe4877fd ImportsourceHookTable: fix indentation 2017-09-06 02:04:38 +02:00
Thomas Gelf c0a08584ef ImportsourceHookTable: use root columns, improve
...styling

fixes #243
fixes #1153
2017-09-05 10:57:37 +02:00
Thomas Gelf 04a72fbc5a ExtensibleSetElement: no autocomplete for...
...existing options - might be confusing
2017-09-04 12:27:48 +02:00
Thomas Gelf 71057ef47a DirectorObjectForm: do not set imports from...
...choices when there are no such.

fixes #1111
2017-09-03 10:41:57 +02:00
Thomas Gelf f74cb93533 ActionController: handle view=compact
fixes #1133
2017-09-03 09:35:09 +02:00
Thomas Gelf 2ef865392b ObjectsTableZone: no object type filter...
...and drop 'Templates' tab, as it is useless here

fixes #1125
2017-08-28 10:59:12 +02:00
Thomas Gelf fd400977f2 IcingaObject: do not resolve imports when...
...resolving related objects
2017-08-26 16:17:07 +02:00
Thomas Gelf 84b6196e79 QuickBaseForm: allow for ipl elements in Html 2017-08-25 17:30:29 +02:00
Thomas Gelf f005f54c72 TemplateUsageTable: add missing headers
fixes #1119
2017-08-25 15:37:09 +02:00
Thomas Gelf 8edb7e50fb DirectorObjectForm: do not sort sets when removing
...entries

fixes #1099
2017-08-25 15:16:16 +02:00
Thomas Gelf 8f15fe3c0e Host applied services: route links to _self 2017-08-25 13:47:04 +02:00
Thomas Gelf 9fbc523ffd ConfigController: explicitly forbid all REST API
...calls to methods not being exported.

fixes #1113
2017-08-25 12:33:36 +02:00
Thomas Gelf fbcf206b3a IcingaObjectFieldLoader: cleanup 2017-08-25 10:52:02 +02:00
Thomas Gelf d65114e783 TableCommand: do not search for object_type
fixes #1109
2017-08-25 10:51:21 +02:00
Thomas Gelf bd0ccc6ca4 FieldLoader: do not add NULL id to list of objects
fixes #1102
2017-08-25 09:28:47 +02:00
Thomas Gelf e05c3a8556 IcingaHostForm: fix bug with no available tpl...
...and improve element ordering

fixes #1108
2017-08-24 22:42:01 +02:00
Thomas Gelf 6a60b3942c DirectorObjectForm: allow for string imports...
...and deal with empty choices
2017-08-23 23:52:59 +02:00
Thomas Gelf b3ae6ea68b ExtensibleSet: make sure to stop on errors...
...that have been "manually" set
2017-08-22 17:43:25 +02:00
Thomas Gelf 1815ef1521 RestApi: fix response codes
fixes #1092
2017-08-22 16:47:57 +02:00
Thomas Gelf 2f2b898a01 ObjectsTableService: also show services on Host...
...templates as being valid

fixes #1091
2017-08-22 16:31:43 +02:00
Thomas Gelf ab69e1c55f DirectorObjectForm: improve error handling
Template resolving has been changed, adjust error handling accordingly
2017-08-22 10:13:37 +02:00
Thomas Gelf 8154d433d4 ActionController: initialize ipl translator
fixes #1076
2017-08-22 00:13:41 +02:00
Thomas Gelf 10391cab8e ExtensibleSetElement: implement optgroups
fixes #1037
2017-08-21 22:54:38 +02:00
Thomas Gelf 8402f58610 DirectorObjectForm: work with string imports 2017-08-21 21:35:11 +02:00
Thomas Gelf b55541097e QuickForm: helper for exception message text 2017-08-21 21:00:41 +02:00
Thomas Gelf 7b2e13f9c1 DirectorObjectForm, TemplateTree: more fixes...
...related to inheritance and fields
2017-08-21 15:15:06 +02:00
Thomas Gelf 45111ac622 DirectorObjectForm: fix issue with pre-set imports 2017-08-21 14:49:13 +02:00
Thomas Gelf 2a836ee884 ObjectController: fix "click on same tab"...
...when creating an object switched context
2017-08-21 13:20:47 +02:00
Thomas Gelf ac8114f32c ObjectsController: hard-code 'host' filter for...
...services through the REST API
2017-08-21 09:50:08 +02:00
Thomas Gelf 7ecc3dc068 ObjectController: do not shift imports...
...as they are also needed later on
2017-08-21 09:07:20 +02:00
Thomas Gelf 0f3f2f05df PropertymodifierTable: allow to manually switch...
...execution order (priority)
2017-08-20 16:03:49 +02:00
Thomas Gelf 3dce2a5d06 SyncpropertyTable: allow to search and sort
fixes #1085
2017-08-19 23:07:25 +02:00
Thomas Gelf 4d9d029156 ImportSourceDetails: fix rendering 2017-08-18 21:52:14 +02:00
Thomas Gelf ffb0177a16 ImportsourceHookTable: use PlainObjectRenderer 2017-08-18 21:48:28 +02:00
Thomas Gelf 00e0f9574d ObjectsTableService: shorten line 2017-08-18 17:02:19 +02:00
Thomas Gelf ad6dceae99 show/actitivitylog: move to config/activity 2017-08-18 16:55:10 +02:00
Thomas Gelf fa3042c39f Boolean: keep value when validating
Might fix weird issues related to booleans
2017-08-18 16:15:30 +02:00
Thomas Gelf bd157b865b ObjectController: allow to clone external objects
fixes #854
2017-08-18 16:13:09 +02:00
Thomas Gelf b8d3487350 ExtensibleSetElement: move "add" option out of...
...tab order
2017-08-18 10:49:42 +02:00
Thomas Gelf 78ab1fa120 ObjectTabs: cosmetics 2017-08-17 00:01:56 +02:00
Thomas Gelf 75181ea7a2 ObjectController: refactor some base actions...
...and provide new helpers
2017-08-16 23:53:37 +02:00
Thomas Gelf 23249dcf7d HostController: refactor all involved tables...
...for single services and sets
2017-08-16 23:27:13 +02:00
Thomas Gelf 04a78f734a config: refactor controller, tables, get rid...
...of view scripts, add new Widget helper classes
2017-08-16 19:11:30 +02:00
Thomas Gelf b016b1954b GeneratedConfigFileTable: move and refactor 2017-08-16 17:59:09 +02:00
Thomas Gelf 785802cbd6 DbHelper: fix some methods 2017-08-16 17:33:02 +02:00
Thomas Gelf 531b54391a ServiceSetHosts, ImportrunTable: move and refactor 2017-08-16 16:12:30 +02:00
Thomas Gelf a4abe398ac ActionController: add new helpers, remove obsolete
...ones
2017-08-16 15:30:46 +02:00
Thomas Gelf 573e38ce33 IcingaTimePeriodRangeTable: move and refactor 2017-08-16 15:26:31 +02:00
Thomas Gelf d5ccb1edb5 Importrun, imported rows: move and refactor...
...table and refactor the controller
2017-08-16 14:55:34 +02:00
Thomas Gelf 23d599053e JobDetails: move logic to dedicated class...
...plus code cleanup
2017-08-16 14:01:43 +02:00
Thomas Gelf f65275bda7 DirectorObjectForm: use new inheritance helpers 2017-08-16 13:56:04 +02:00
Thomas Gelf a4e6d3251a PropertymodifierTable: move and refactor 2017-08-16 12:32:53 +02:00
Thomas Gelf 578446d79c ImportSourceDetails: new dedicated class, plus..
...a missing new controller class
2017-08-16 12:01:25 +02:00
Thomas Gelf 6f3d07f729 ImportsourceHookTable: move and refactor based...
...on SimpleQueryBasedTable
2017-08-16 11:15:39 +02:00
Thomas Gelf 9f70f84423 ImportsourceTabs: new dedicated class for tabs 2017-08-16 10:50:33 +02:00
Thomas Gelf 5311f37708 Syncrule/Importsource: add dedicated controllers 2017-08-16 09:43:05 +02:00
Thomas Gelf e5f7633d1e Automation: move and refactor related tables 2017-08-16 09:23:45 +02:00
Thomas Gelf 408ff7639c IcingaObjectsHandler: new REST API handler for...
...list of objects
2017-08-16 08:17:31 +02:00
Thomas Gelf 93cb271554 IcingaObjectHandler: delegate REST API 2017-08-16 08:08:08 +02:00
Thomas Gelf a7b796466f ObjectsController: fix set-related permissions 2017-08-15 02:51:59 +02:00
Thomas Gelf 681f2de05a ObjectPreview: move rendering logic to a...
...dedicated class
2017-08-14 12:40:02 +02:00
Thomas Gelf f24b82821f SelfService: move logic to a dedicated class 2017-08-14 12:22:28 +02:00
Thomas Gelf 52045b799a RestApi: add new RequestHandler 2017-08-14 10:51:26 +02:00
Thomas Gelf e5305cb049 IcingaObjectDatafieldTable: move and base on new
...SimpleQueryBased table
2017-08-13 13:38:35 +02:00
Thomas Gelf 38ebf2dd2d IcingaObjectFieldLoader: use new repository-based
...inheritance helper methods
2017-08-13 12:05:03 +02:00
Thomas Gelf 3b394900c9 IcingaAppliedServiceTable: fix row rendering 2017-08-12 11:51:08 +02:00
Thomas Gelf 7668ac5202 ChoicesTable: more code cleanup 2017-08-12 11:26:42 +02:00
Thomas Gelf eb433ad03e GroupMemberTable: code cleanup 2017-08-12 11:26:08 +02:00
Thomas Gelf 7815e450b7 ObjectsTableService: show Service objects without
...Host and highlight them as errors
2017-08-11 12:02:53 +02:00
Thomas Gelf 696390968d ObjectTabs, Dashboard: fix small permission issues
...and show only tabs pointing to Dashboards with (allowed) Dashlets
2017-08-07 11:00:59 +02:00
Thomas Gelf b7579e184c ObjectsController: try to control output buffering
...for REST API. Base requests on queries from new table objects
2017-08-02 15:54:03 +02:00
Thomas Gelf 92cbdb7db6 ActionController: remove obsolete code 2017-08-02 16:59:56 +02:00
Thomas Gelf 6436ba74af ObjectController: move REST API code to method 2017-08-02 16:59:56 +02:00
Thomas Gelf 5ccb94dfbd Objects: dedicated tab for external commands 2017-07-31 10:37:08 +02:00
Thomas Gelf e1d766f112 ServiceController: improve ObjectTabs handling 2017-07-29 00:13:20 +02:00
Thomas Gelf 81a7914fdb ObjectController: code cleanup 2017-07-29 00:12:34 +02:00
Thomas Gelf 34c6134b21 HostController: move tab handling to ObjectTabs
Helps to unify tabs on usage/edit
2017-07-28 23:20:58 +02:00
Thomas Gelf 5ca7740285 Various: cosmetics, hints, more links 2017-07-28 23:07:48 +02:00
Thomas Gelf 99ab56e6f9 ObjectController: link back to template usage 2017-07-28 22:56:51 +02:00
Thomas Gelf a0a12ce3d1 TemplateControllers: throw away custom code...
...and bring all logic to the base class, fix all links

fixes #1044
2017-07-28 22:56:03 +02:00
Thomas Gelf 85e1f0053e Dashlets: unify tabs, change apply position 2017-07-28 22:42:16 +02:00
Thomas Gelf 74a887f5af DirectorObjectForm: fix redirectionUrl for...
...objects without id

fixes #1043
2017-07-28 22:40:16 +02:00
Thomas Gelf b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf 6d1dd52229 Timeperiod: fix ranges tab, refactor code 2017-07-28 16:50:15 +02:00
Thomas Gelf 8276f19ab7 ObjectsController: add missing autorefresh 2017-07-28 09:56:17 +02:00
Thomas Gelf 313c8168ba Dashboard, templates: timeperiod, not timePeriod
fixes #1036
2017-07-27 12:12:12 +02:00
Thomas Gelf dac5dbdcc0 TemplateUsage: make code generic, do no longer...
...require concrete implementations

fixes #1028
fixes #1032
2017-07-27 11:34:12 +02:00
Thomas Gelf 9f76efc892 QuickTable: render booleans as such
fixes #602
2017-07-27 10:37:11 +02:00
Thomas Gelf ccfd2176fb CustomvarVariantsTable: no link, not yet 2017-07-26 12:29:40 +02:00
Thomas Gelf d95512ce08 CustomvarVariants: one more table, showing...
...distinct values for a specific var
2017-07-26 11:53:42 +02:00
Thomas Gelf cc01446269 ActivityLogTable: fix range/author filtering 2017-07-26 09:25:58 +02:00
Thomas Gelf f2ad5884ea IcingaAppliedServiceTable: base on ipl 2017-07-26 09:22:41 +02:00
Thomas Gelf 24cee68044 SyncRuleTabs, SyncRunDetails: new helper classes 2017-07-25 17:55:08 +02:00
Thomas Gelf 098cd0a57a Sync: completely refactor table, form, controller 2017-07-25 17:53:59 +02:00
Thomas Gelf 8c83a951f7 ActivityLogInfo: add missing class 2017-07-25 14:51:18 +02:00
Thomas Gelf 39a1aa38b4 ObjectsController: add missing 'add' link for sets 2017-07-25 14:47:35 +02:00
Thomas Gelf c0e723c57e ActivityLog: preserve object when switching tab 2017-07-25 14:20:39 +02:00
Thomas Gelf fadbde5e9b HostForm: take over logic from base form, clean up 2017-07-25 10:18:07 +02:00
Thomas Gelf b675d37b6f CloneObject: use modern loading 2017-07-25 10:16:15 +02:00
Thomas Gelf c295218a5c HostController: code cleanup, little fixes, tabs 2017-07-24 10:52:36 +02:00
Thomas Gelf 32be68b671 SimpleController: obsolete, removed 2017-07-24 09:19:54 +02:00
Thomas Gelf 9d60bceb0c Controller/Extension: remove obsolete QuickSearch 2017-07-24 08:49:55 +02:00
Thomas Gelf cd92429a60 BaseActionBar: no back link for objects without...
...a dedicated dashboard type

fixes #1027
2017-07-21 13:42:47 +02:00
Thomas Gelf 374c328a5b ObjectsController: fix redirect after deleting...
...multiple hosts or services
2017-07-21 13:32:38 +02:00
Thomas Gelf 8e7022258f DeploymentLogTable: fix PostgreSQL issue with...
...binary value, it returns a resource instead of the real value

fixes #1026
2017-07-21 12:10:01 +02:00
Thomas Gelf b8a953e296 ActivityLogTable: do not call fetchRows twice 2017-07-21 12:07:47 +02:00
Thomas Gelf 985d03d5f2 IcingaCommandArgumentTable: improve readability 2017-07-21 12:07:28 +02:00
Thomas Gelf 7258b83dbb DbHelper: new trait with DB-specific utils 2017-07-21 12:05:47 +02:00
Thomas Gelf cfabbf25e0 CommandArguments: provide quickSearch 2017-07-21 08:23:52 +02:00
Thomas Gelf 27e38b566d ObjectsController: allow child classes to...
...fiddle with our table
2017-07-20 22:29:23 +02:00
Thomas Gelf 44458d2eec CommandArguments: refactor table, controller 2017-07-20 22:29:00 +02:00
Thomas Gelf d16bc24b1c Commands: show external commands separately 2017-07-20 17:19:51 +02:00
Thomas Gelf 014963f96c Tables: get rid of assemble workaround 2017-07-20 14:58:23 +02:00
Thomas Gelf 4cd3c02a90 TemplatesTable: translate header 2017-07-20 12:48:01 +02:00
Thomas Gelf 27d1297303 InfraTabs: add missing tab class 2017-07-20 11:06:58 +02:00
Thomas Gelf 31d65fadc2 Deployment: add Info class, refactor LogRenderer
No more view script, based on ipl
2017-07-20 11:06:20 +02:00
Thomas Gelf cda6970594 ipl: Components are now Widgets 2017-07-20 10:19:32 +02:00
Thomas Gelf 68324d9b52 Controllers: formatting 2017-07-20 09:53:31 +02:00
Thomas Gelf 1ba276cf15 DeploymentLinkForm: introduce new form 2017-07-20 09:24:42 +02:00
Thomas Gelf 5d01c1d843 ObjectController: use new DeploymentForm, tables 2017-07-20 08:31:53 +02:00
Thomas Gelf 1df9ef13d9 ObjectsTable: show 100 lines instead of 25 2017-07-20 08:28:38 +02:00
Thomas Gelf 5e98ea7b9b TemplatesTable: clean up links 2017-07-20 08:25:30 +02:00
Thomas Gelf db31f337f1 Table: override inherited assemble method
This is an ugly workaround for now, need to find a better solution
2017-07-19 19:07:42 +02:00
Thomas Gelf 37b3a8da82 Activity/DeploymentLogTable: completely refactored 2017-07-19 18:45:12 +02:00
Thomas Gelf e6a9b1197d QuickForm: allow options for submit button helpers 2017-07-19 18:29:16 +02:00
Thomas Gelf dc110e87ed Notifications: add usage overview and table 2017-07-14 15:21:08 +02:00
Thomas Gelf 3d666d1157 DatafieldTable: fix search columns 2017-07-14 13:45:31 +02:00
Thomas Gelf b89c337d3b CustomvarTable: do not break 2017-07-14 13:43:28 +02:00
Thomas Gelf e200221529 data/vars: add a new table
Also cleaned up some obsolete code

fixes #1016
2017-07-14 13:21:42 +02:00
Thomas Gelf acddf07849 DataTabs: remove them from the controller 2017-07-14 13:21:42 +02:00
Thomas Gelf 953baf5b95 DataFilter: code cleanup 2017-07-14 13:21:42 +02:00
Thomas Gelf 95e7b2bf0a ObjectController: permissions are plural 2017-07-14 13:21:42 +02:00
Thomas Gelf fe822c3e31 ObjectsController: it's apply, not apply_rule 2017-07-14 13:21:42 +02:00
Thomas Gelf e0667a1d9b ApplyRulesTable: fix restriction name 2017-07-14 13:21:42 +02:00
Thomas Gelf ee582b7106 ObjectsController: fix 'add' link for apply rules 2017-07-14 13:21:42 +02:00
Thomas Gelf 5457a0865f ObjectTabs: relax notification apply permissions
refs #1015
2017-07-14 13:21:42 +02:00
Thomas Gelf 1c4d6598c0 Notifications: allow access to apply rules with...
...director/notifications permission

fixes #1015
2017-07-14 13:21:42 +02:00
Thomas Gelf 8f8f9a508e QuickForm: split method, new helpers for buttons 2017-07-14 13:21:42 +02:00
Thomas Gelf b9fd1f42d9 DirectorObjectForm: fallback, static auth 2017-07-14 13:21:42 +02:00
Thomas Gelf a23e77ef90 ApplyRulesTable: gray out disabled rows like in...
...objects tables
2017-07-14 13:21:42 +02:00
Bernd Arnold 7e2b8ce97b Object: fix typos
throught -> through

Since every sentence ends with a dot here, I've also added a dot for the last
sentence.

fixes #990
2017-07-14 13:21:42 +02:00
Thomas Gelf 4a0e8df2f2 Host,Service: add check_timeout property
fixes #546
2017-07-14 13:21:42 +02:00
Thomas Gelf 3eb3d82f44 Apply/TemplatesTable: allow to restrict by name
refs #898
2017-07-14 13:21:42 +02:00
Thomas Gelf b11c6b9f34 Boolean: hardcode isValid for true/false
Not perfect, but should do the job unless we move to better forms

fixes #690
2017-07-14 13:21:42 +02:00
Thomas Gelf e27bb05fb1 Inspect: completely refactored
* new tree renderer
* more tables with details
* styling
* allow to show status

fixes #1003
fixes #1005
2017-07-14 13:21:42 +02:00
Thomas Gelf be18c37968 TemplateTreeRenderer: use translation 2017-07-14 13:21:42 +02:00
Thomas Gelf 2e0e601cee QuickBaseForm: less code 2017-07-14 13:21:42 +02:00
Thomas Gelf 46d24e7600 GroupMemberTable, SelfServiceController: cs 2017-07-14 13:21:42 +02:00
Thomas Gelf 0c7e3eee41 Data: controller, table, form - ipl adjustments 2017-07-14 13:21:42 +02:00
Thomas Gelf 1e531bef1b Group members: hosts only for now 2017-07-14 13:21:42 +02:00
Thomas Gelf 2691081349 HosttemplateController: introduce usage view
fixes #884
2017-07-14 13:21:42 +02:00
Thomas Gelf 58accea801 GroupMemberTable: show group members
fixes #994
2017-07-14 13:21:42 +02:00
Thomas Gelf 29abb6c6e7 ObjectController: fix issue with Apply tabs 2017-07-14 13:21:42 +02:00
Thomas Gelf 475c84de1e RestApi: allow to override permission check 2017-07-14 13:21:42 +02:00
Thomas Gelf e562d00a50 QuickForm: improve REST API support
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 15942f93f7 DirectorForm: new base class, should get logic...
...useful to all Director forms, even for those not dealing with a DbObject
2017-07-14 13:21:42 +02:00
Thomas Gelf 120a7532a1 ObjectController: fix history and fields 2017-07-14 13:21:42 +02:00
Thomas Gelf efe6cfbbaa QuickTable: every QuickTable is ValidHtml 2017-07-14 13:21:42 +02:00
Thomas Gelf 1a7a83e28b TemplatesTable: link hosts to "edit" as long as...
...usage is missing
2017-07-14 13:21:42 +02:00
Thomas Gelf 6aaae3c445 TimePeriods: do not enforce template 2017-07-14 13:21:42 +02:00
Thomas Gelf ed6a77af5d ExtensibleSet: allow to hide elements, for choices 2017-07-14 13:21:42 +02:00
Thomas Gelf ceebe08ecd TemplateChoice: work without form loader 2017-07-14 13:21:42 +02:00
Thomas Gelf 456c8557a4 ObjectsTableHost: remove obsolete comment 2017-07-14 13:21:42 +02:00
Thomas Gelf f2abd3541e ObjectController: phpcs, formattinObjectController: phpcs, formattingg 2017-07-14 13:21:42 +02:00
Thomas Gelf f8ffc13642 Tables: use 'disabled' property 2017-07-14 13:21:42 +02:00
Thomas Gelf cea78db5af ServiceSetTables: implement ValidHtml 2017-07-14 13:21:42 +02:00
Thomas Gelf 0cf6676c3c Host/Service/ObjectController: use more ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 20310a0c9e Choices: add dedicated action bar, add to...
...ObjectTabs, refine choice(s)Controller
2017-07-14 13:21:42 +02:00
Thomas Gelf 6c943e4d06 ObjectsController: remove obsolete "global" types 2017-07-14 13:21:42 +02:00
Thomas Gelf f9271da888 ApplyRulesTable: remove action links for now...
...and allow to filter by inheritance
2017-07-14 13:21:42 +02:00
Thomas Gelf 652c805387 TemplatesTable: allow to filter by inheritance 2017-07-14 13:21:42 +02:00
Thomas Gelf 74dfbcaa67 ActionController: treat different viewRenderers 2017-07-14 13:21:42 +02:00
Thomas Gelf 8f1ae6fc94 RestApi: remove useless code
This is handled in the controller
2017-07-14 13:21:42 +02:00
Thomas Gelf 1739b950a8 ObjectController: hendly duplicate key errors
fixes #977
2017-07-14 13:21:42 +02:00
Thomas Gelf afcd928dfa ObjectsTableService: fix multiselect by using id
Not nice, but works
2017-07-14 13:21:42 +02:00
Thomas Gelf 0b89c222eb IcingaTemplateChoice: take over code generating...
...the choice form element
2017-07-14 13:21:42 +02:00
Thomas Gelf d7422fa55c DirectorObjectForm: adjust choice loading to fit
...new class names
2017-07-14 13:21:42 +02:00
Thomas Gelf 9845cddcb4 QureyBasedTable: move to ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf f3a11213f7 cs fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf edc887969e tables: remove obsolete code and files 2017-07-14 13:21:42 +02:00
Thomas Gelf 6597cd2027 ObjectController: adjust to fit new base controller 2017-07-14 13:21:42 +02:00
Thomas Gelf 90e0d1a50b ObjectsController: refactored, use new tables 2017-07-14 13:21:42 +02:00
Thomas Gelf 2f8ec92722 DirectorObjectForm: implement choices 2017-07-14 13:21:42 +02:00
Thomas Gelf 60ab0b58a6 NewObjectsController: obsolete 2017-07-14 13:21:42 +02:00
Thomas Gelf 117eeee67e ActionController: use traits, less code 2017-07-14 13:21:42 +02:00
Thomas Gelf 708cd237d0 TemplatesTable: new generic base table 2017-07-14 13:21:42 +02:00
Thomas Gelf cc2cb11cf3 ObjectsTable: new generic table 2017-07-14 13:21:42 +02:00
Thomas Gelf 0815c881cc ObjectSetTable: new generic table for sets 2017-07-14 13:21:42 +02:00
Thomas Gelf 69ccc3be74 QueryBasedTable: add forgotten table base class 2017-07-14 13:21:42 +02:00
Thomas Gelf df1832aaa9 ChoicesTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf 171e15e95a ObjectsTableService: new variant for legacy table 2017-07-14 13:21:42 +02:00
Thomas Gelf 0b8d67a3ff ObjectRestrictions: new controller extension 2017-07-14 13:21:42 +02:00
Thomas Gelf 14eb6df712 ObjectTabs: a new set of tabs 2017-07-14 13:21:42 +02:00
Thomas Gelf 11b054d296 ObjectsTableHost: new table 2017-07-14 13:21:42 +02:00
Thomas Gelf a74785755c DirectorBaseActionBar: attempt to provide some...
...helpers needed in multiple ActionBars
2017-07-14 13:21:42 +02:00
Thomas Gelf 96495722f9 ActionBar: add Objects and Template implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf 6f3c76c4f2 IconHelper: add new icons 2017-07-14 13:21:42 +02:00
Thomas Gelf 04e22f5a23 ExtensibleSet: completely refactored based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 311629bbd1 Web\Table\Objects*: a couple of new tables 2017-07-14 13:21:42 +02:00
Thomas Gelf 43eda94918 TemplateUsageTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf c4bf4cb57d ApplyRulesTable: new generic implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf 9384d6cd43 ServiceApplyRulesTable: we are a QueryBasedTable 2017-07-14 13:21:42 +02:00
Thomas Gelf 4590fa1d73 QuickForm: guess what? We are ValidHtml! 2017-07-14 13:21:42 +02:00
Thomas Gelf b5ce24fa42 TemplateTreeRenderer: introduce a new tree 2017-07-14 13:21:42 +02:00
Thomas Gelf ac1574c94a RestApi: move also the RestApi to a trait 2017-07-14 13:21:42 +02:00
Thomas Gelf dc6ec2a41d CoreApi: one more trait, for CoreApi functionality 2017-07-14 13:21:42 +02:00
Thomas Gelf e88c13663f DirectorDb: new controller extension 2017-07-14 13:21:42 +02:00
Thomas Gelf 7502706284 QuickSearch: add a trait for tables too 2017-07-14 13:21:42 +02:00
Thomas Gelf 9d3b1d1096 ServiceTemplateUsageTable: new implementation 2017-07-14 13:21:42 +02:00
Thomas Gelf bf5b7dbf32 QuickSearch: implement it as a trait 2017-07-14 13:21:42 +02:00
Thomas Gelf fd99b6924e SingleObjectApiHandler: attempt to move REST API
...and it's related logic away from controllers
2017-07-14 13:21:42 +02:00
Thomas Gelf 8fd60b87c0 SimpleController: remove functionality...
...as it is implemented elsewhere
2017-07-14 13:21:42 +02:00
Thomas Gelf 4f2a53dc90 MultiSelect: add table extension trait 2017-07-14 13:21:42 +02:00
Thomas Gelf d84a3c68e0 QuickForm: no role and tabindex for fake submit 2017-07-14 13:21:42 +02:00
Thomas Gelf 02a3652c86 Restrictriction: add simple hostgroup restrictions
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf cb1804111f Controllers: whitespace fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf b753341e64 ServicesDashboard: add a bunch of new Dashlets...
...and related tables
2017-07-14 13:21:42 +02:00
Thomas Gelf 69406d631c ServicesOnHosts: add a new table 2017-07-14 13:21:42 +02:00
Thomas Gelf d877949e60 Services/ObjectsController: rough integration...
...for multiselect on services
2017-07-14 13:21:42 +02:00
Thomas Gelf 200d00d092 SimpleController: new base controller based on ipl 2017-07-14 13:21:42 +02:00
Markus Frosch fa61805df2 QuickTable: Fix enforced filters for non-FilterAnd filters
We need to use the result of andFilter() as the new Filter.

The filter gets replaced by FilterAnd($oldFilter, $enforcedFilter) here.
2017-06-02 14:59:26 +02:00
Thomas Gelf 220d15c523 IcingaObjectFieldLoader: return early...
...and save CPU-cycles
2017-04-27 15:45:17 +02:00
Thomas Gelf 82e79c810f IcingaServiceSetForm: redirect to host services...
...when adding a set to a single host

fixes #804
2017-02-17 16:35:13 +01:00
Thomas Gelf 099eca0d0b IcingaCommandForm: allow to configure zones
fixes #802
2017-02-17 16:08:57 +01:00