Commit Graph

923 Commits

Author SHA1 Message Date
Markus Frosch 6d4475d89a ActivityLogInfo: Display extra info when objects are related
* Service to Host or ServiceSet
* Set to Host
2019-04-10 13:24:09 +02:00
Markus Frosch db00f1bfc4 ObjectController: Use objects table name to search history
This was mainly a problem for IcingaServiceSet and others that may have
a capital letter where the table name is split by `_`
2019-04-10 10:39:05 +02:00
Markus Frosch cd9d93de3e ActivityLog: Show proper diffs for service of sets
fixes #1287
2019-04-10 10:35:34 +02:00
Markus Frosch c5a79c6e88 ImportSourceHookTable: Apply modifiers when fetching data
This will make sure applying modifiers before initializing the
ArrayDatasource.

Before this change counting and pagination was broken with Black and
Whitelist.
2019-04-09 21:31:40 +02:00
Thomas Gelf 8c04de0a14 ImportsourceHookTable: show malformed data...
...plus some namespacing/cleanup
2019-04-04 13:22:39 +02:00
Markus Frosch 7b9e9f3a2f ActivityLog: Link back to the correct frontend for service and serviceset
fixes #1377
2019-03-28 18:21:38 +01:00
Markus Frosch 2be27ddf3d IcingaObjectInspection: Show flat commands run by the core 2019-03-26 12:15:30 +01:00
Markus Frosch a6e32d763f ObjectPreview: Avoid linking a flat command attribute inside a command 2019-03-26 12:02:55 +01:00
Markus Frosch b3bd671d90 ObjectController: Fix phpcs lint 2019-03-19 15:43:20 +01:00
Markus Frosch de8654fc74 ObjectController: Fix back link for clone action with services 2019-03-19 15:29:08 +01:00
Markus Frosch 43e11879f7 ShowConfigFile: Fix object type being changed in output
fixes #1799
2019-03-08 14:44:44 +01:00
Thomas Gelf 8046510b1f ServiceapplyrulesController and related changes
fixes #1755
2019-02-15 01:29:43 +01:00
Thomas Gelf bd16756913 TemplateTree: new loop detection
fixes #1631
2019-02-13 21:43:37 +01:00
Thomas Gelf d35ec0fee6 Tables, Redirector: add highlight for RO users
...and refactor some parts of the code

fixes #1785
2019-02-13 11:41:26 +01:00
Thomas Gelf af2e86d8b8 host/findservice: new route to readonly view 2019-02-10 11:15:05 +01:00
Thomas Gelf 92c05f49a3 ActivityLogTable: filter by host if given
In future we'll have better filtering possibilities, for now this scans all
rows with a matching service name in the table

fixes #1613
2019-01-11 12:24:29 +01:00
Thomas Gelf bb0bdeb737 SyncruleController: provide a preview tab
fixes #1754
2019-01-10 12:11:30 +01:00
Markus Frosch 91a62ffbee phpcs: Fix ObjectsController 2018-11-27 11:00:14 +01:00
Thomas Gelf 7926d558ba DataList: load by name, fix basket 2018-11-26 00:11:35 +01:00
Thomas Gelf ec11dea8a9 Basket: allow to download for non-primary Instance 2018-11-15 12:50:33 +01:00
Thomas Gelf 6377ed61cc DbObject: remove binary column magic
Binary columns must be configured explicitly, binary keys are now also
possible

fixes #1702
2018-11-14 12:24:31 +01:00
Thomas Gelf f3b972e904 Clone..Form: fix for ImportSource and SyncRule 2018-11-08 08:31:38 +01:00
Thomas Gelf 280ed4430e TemplateController: link non-template commands
fixes #1544
2018-10-30 19:08:18 +01:00
Thomas Gelf a09bd4df95 TemplatesTable: allow to filter by usage
fixes #1339
2018-10-30 17:55:50 +01:00
Thomas Gelf dce9770dcd ObjectController: fix adding single Host Templates
...to a Configuration Basket
2018-10-30 16:41:49 +01:00
Thomas Gelf cf6e4536ea Util: drop bin2hex/hex2bin helpers
We dropped support for PHP 5.3, this is no longer required
2018-10-30 15:32:17 +01:00
Thomas Gelf bff93725eb ObjectController: fix "add to basket" for Sets 2018-10-25 08:38:24 +02:00
Thomas Gelf ef0499918f Services: fix multiselection for templates 2018-10-25 08:26:09 +02:00
Thomas Gelf 77cbb1040c GroupMemberTable: should work for services also
refs #1682
2018-10-25 08:21:58 +02:00
Gregory Hargreaves 8e38b1e318 Fixed style issue. 2018-10-22 09:42:33 +02:00
Gregory Hargreaves 9b0d4b4d84 Added membership tab to servicegroups now the prerequisites are available for this functionality 2018-10-22 09:42:33 +02:00
Thomas Gelf 6132166513 RemoveLinkForm: allow for multiple instances
fixes #1619
2018-10-16 16:09:53 +02:00
Thomas Gelf f871e0bd7d basket: cleanup, fix/finish custom selection
fixes #1630
2018-10-15 15:04:14 +02:00
Thomas Gelf 5d113b3833 BasketController: allow to download JSON via Web 2018-10-15 15:03:57 +02:00
Thomas Gelf bea52a3091 Basket: load by name 2018-10-15 15:03:57 +02:00
Thomas Gelf f0878a9bcd BasketSnapshotTable: split by day - and more 2018-10-15 15:03:57 +02:00
Thomas Gelf 1cbe6741ae BasketSnapshotTable: show '-' when empty 2018-10-15 15:03:57 +02:00
Thomas Gelf f4220016d8 Basket: initial import of the main components
refs #1630
2018-10-15 15:03:57 +02:00
Thomas Gelf 35acda4865 ObjectController: fix usage link 2018-10-15 15:03:47 +02:00
Thomas Gelf d27615eb57 ConfigHealthItemRenderer: multi-instance support 2018-10-08 13:54:33 +02:00
Thomas Gelf e16d7865c7 DbSelectorForm: submission detection, once more 2018-10-06 16:36:01 +02:00
Thomas Gelf 3d26ab127f DbSelectorForm: do not believe to be submitted...
...when another form has been sent
2018-10-06 16:35:49 +02:00
Thomas Gelf 3839ecda50 Health: change UI layout and output ordering 2018-10-06 12:54:11 +02:00
Thomas Gelf fda7acc855 HealthController: show Health Check in the UI
fixes #1669
2018-10-05 16:00:10 +02:00
Thomas Gelf 72998e4307 IcingaObjectFieldLoader: hooked fields should not
...clear defined ones. There used to be collisions

fixes #1667
2018-10-05 15:13:19 +02:00
Thomas Gelf 33053103e1 IcingaServiceSetTable: do not trust a Servicve Set
...name, as the Template might have been renamed in the meantime - and the
name on the Set "object" has no meaning at all

fixes #1664
2018-10-04 18:30:27 +02:00
Thomas Gelf ea18006819 JobDetails: just a comment 2018-10-04 06:57:09 +02:00
Thomas Gelf 18ab9b4f7c tables: more getId calls removed 2018-10-04 06:56:28 +02:00
Thomas Gelf ac0745445e DirectorObjectForm: use autoinc for ints 2018-10-04 06:54:49 +02:00
Thomas Gelf 76e353c9fb IcingaObjectInspection: handle NULL checkresult
fixes #1641
2018-09-17 09:15:24 +02:00
Thomas Gelf 3ae39af1cb DeploymentLog: deal with entries without checksum
This will allow to keep deployment history while dropping outdated generated
configs
2018-09-12 12:43:01 +02:00
Markus Frosch a1664195f0
Merge pull request #1624 from Icinga/feature/legacy-updates
Improving legacy rendering
2018-09-06 11:44:36 +02:00
Thomas Gelf e853dc40fc ObjectController: hard exit after REST API response
fixes #1314
2018-09-05 22:29:19 +02:00
Markus Frosch 7c58cfdd7b widgets: Prefer using DeploymentApiInterface instead of CoreApi 2018-09-05 12:35:40 +02:00
Thomas Gelf 488aad6f4e DirectorDb: fix overridden variable, has no effect
...at least not yet, it would have once access to Director DBs can be restricted
2018-09-04 11:08:37 +02:00
Thomas Gelf 3ffacc70b6 IcingaServiceSet: do not delete on title click
fixes #1560
2018-08-13 11:21:54 +02:00
Thomas Gelf 657d6a958f WIP: click on service set title row should not...
...remove the set from the related host
2018-08-13 09:53:10 +02:00
Thomas Gelf b5a6bcc143 AutomationActions: disable 'Download JSON'
It's not implemented in the related controller, and too late for 1.5.0

fixes #1572
2018-08-10 14:28:02 +02:00
Thomas Gelf 71cc5939d3 CoreApiFieldsTable: fix legacy ipl syntax 2018-08-10 13:35:12 +02:00
Markus Frosch f63ee93f71 Turn off autocomplete in JS for suggested elements
Instead of the PHP code, for all input.director-suggest elements
2018-08-10 08:25:10 +02:00
Markus Frosch 07b07bb26e Fix wrong name in ActivityLog quicksearch
fixes #1408
2018-08-09 13:07:39 +02:00
Thomas Gelf 14a3039f65 controllers, libs: less noise from exceptions 2018-08-08 10:07:39 +02:00
Thomas Gelf 8c30b9c5de HostController, related: tweak Exceptions 2018-08-06 13:50:28 +02:00
Thomas Gelf 505912135d HostServices: mark disabled services
fixes #1548
2018-07-16 09:19:53 +02:00
Thomas Gelf c7a94f2c39 Dependencies: no longer considered experimental 2018-07-16 08:28:13 +02:00
Thomas Gelf ac1ba20ab7 AutomationObjectActionBar: add for Importsourc 2018-07-15 16:02:29 +02:00
Thomas Gelf 1733d6d520 Db: fix timezone issues
fixes #1332
fixes #1270
2018-07-13 09:43:27 +02:00
Thomas Gelf 06b6356de1 Dashboard: show DB selection only for setups...
...with multiple DBs
2018-06-23 11:17:56 +02:00
Thomas Gelf 9069a7f916 Objects, FormLoader: exceptions, exceptions 2018-06-14 14:08:04 +02:00
Thomas Gelf 1ca41c5b10 CloneSyncRuleForm: prepare for multi-db use 2018-06-14 13:41:13 +02:00
Thomas Gelf ee48f28302 CloneImportSourceForm: use the correct field 2018-06-14 13:06:00 +02:00
Thomas Gelf 810e873566 Objects: throw not found 2018-06-14 08:59:48 +02:00
Thomas Gelf 3d1ccf17a3 ActionController: add exception to phpdoc 2018-06-14 08:41:43 +02:00
Thomas Gelf 75268479ca RestApi: cleanup, exceptions, phpdoc 2018-06-14 08:33:11 +02:00
Thomas Gelf 1bc77ad7c6 CloneSyncRuleForm: show a meaningful message 2018-06-12 21:45:29 +02:00
Thomas Gelf fc58e506ea CloneImportSource: one more cloning feature 2018-06-12 22:01:34 +02:00
Thomas Gelf b2f97dd2bb Sync: fix phpcs complaints 2018-06-12 21:31:42 +02:00
Thomas Gelf f91c6f211d ObjectPreview: link related objects
fixes #1521
2018-06-12 21:27:18 +02:00
Thomas Gelf df4c3b925c ObjectsController: add missing loadForm
fixes #1518
2018-06-12 20:20:25 +02:00
Thomas Gelf 5fe976e059 SyncRuleForm: initial implementation 2018-06-11 23:13:03 +02:00
Thomas Gelf e3c086c78c FormDataFilter: cleanup 2018-06-08 18:52:12 +02:00
Thomas Gelf ea8452d0e9 ConfigHealthItemRenderer: be fail-safe
Icinga Web 2 should catch errors, but seems that it doesn't
2018-06-08 16:54:04 +02:00
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