Commit Graph

1420 Commits

Author SHA1 Message Date
Thomas Gelf 77cbb1040c GroupMemberTable: should work for services also
refs #1682
2018-10-25 08:21:58 +02:00
Thomas Gelf 4c3c81c275 JobsCommand: explicitly load with ID
fixes #1677
2018-10-17 09:05:20 +02:00
Thomas Gelf 6132166513 RemoveLinkForm: allow for multiple instances
fixes #1619
2018-10-16 16:09:53 +02:00
Michael Friedrich 0d95d5142c Add URL to service template creation note
This follows the same principle as with hosts where the URL
already is put into. I've found it more convenient to just
click on it and not having to navigate into the services tree :)
2018-10-16 15:11:25 +02:00
Thomas Gelf f871e0bd7d basket: cleanup, fix/finish custom selection
fixes #1630
2018-10-15 15:04:14 +02:00
Thomas Gelf 83dc9dc6c3 BasketSnapshotFieldResolver: deal with fields
Also, this fixes Service Sets
2018-10-15 15:03:57 +02:00
Thomas Gelf 9ed1503ad6 BasketForm: it's name, not basket_name 2018-10-15 15:03:57 +02:00
Thomas Gelf c640f5c1e7 BasketForm: redirect with name on create 2018-10-15 15:03:57 +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 5c3e220d4b Basket: provide CLI command 2018-10-15 15:03:57 +02:00
Thomas Gelf eb789162cb Basket/Datafield: map best candidate, fix bindings 2018-10-15 15:03:57 +02:00
Thomas Gelf a58efd2d25 BasketController: show "diff" also for new objects 2018-10-15 15:03:57 +02:00
Thomas Gelf 83248f8f12 RestoreBasketForm: do not complain about legacy...
...method names
2018-10-15 15:03:57 +02:00
Thomas Gelf 77c4997b88 Various: explicit loading with ID where required
...cleanup, comments
2018-10-15 15:03:57 +02:00
Thomas Gelf f27b4e9729 RestoreBasketForm: add missing form 2018-10-15 15:03:57 +02:00
Thomas Gelf c7939c281b BasketForm: allow more object types 2018-10-15 15:03:57 +02:00
Thomas Gelf 178215a7ab JobController: explicitly deal with IDs 2018-10-15 15:03:57 +02:00
Thomas Gelf 03a8043311 BasketController: show details, content checksum 2018-10-15 15:03:57 +02:00
Thomas Gelf 479ef3002d BasketController: formatting 2018-10-15 15:03:57 +02:00
Thomas Gelf 9390a3b9ca SyncPropertyForm: explicit ID handling 2018-10-15 15:03:57 +02:00
Thomas Gelf 93cbd4f020 Dashboard: introduce "Director" section with...
..."Basket"
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 1b1da71f31 SyncruleController: clean up, explicitly use IDs 2018-10-15 15:03:57 +02:00
Thomas Gelf d13c6f2ecf ImportsourceController: clean up, explicitly load
...with autoincement id
2018-10-15 15:03:57 +02:00
Thomas Gelf 75970a7aa5 IndexController: no kickstart without schema 2018-10-08 13:54:39 +02:00
Thomas Gelf fa70ecde0e Kickstart: deal with multiple DBs 2018-10-08 06:35:20 +02:00
Thomas Gelf 8cec78a7c3 Dashboard: show Health to admins only 2018-10-08 06:35:08 +02:00
Thomas Gelf db72931c1e Migrations: cleanup 2018-10-06 16:58:13 +02:00
Thomas Gelf fb3bc190eb JobController: phpdoc, replace getId 2018-10-06 15:35:59 +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 8fb2c26d7f IcingaHostForm: template should not say 'Hostname'
fixes #1668
2018-10-05 15:27:59 +02:00
Markus Frosch b8809af2af
Merge pull request #1433 from dgoetz/servicegroup-set
Add Servicegroups directly to Services
2018-09-26 09:25:46 +02:00
Markus Frosch 4675a241a8 Integrate MembershipHousekeeping into Housekeeping 2018-09-18 12:21:19 +02:00
Markus Frosch 7bfe1e03e6 Housekeeping: Add helper to refresh memberships in database
This is usually only done when either object or group changes.
2018-09-18 10:36:45 +02:00
Markus Frosch 0d879c60d3 IcingaTimeperiod: Support includes and excludes 2018-09-13 15:14:41 +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 5eaa682124 ConfigController: show connection problems
On large setups, you'll see this on every deployment. But as we're
sometimes facing strange connection issues, I prefer to have some
noise here
2018-09-06 01:08:44 +02:00
Thomas Gelf 4268221603 ImportsourceCommand: add fetch action
fixes #1626
2018-09-05 13:32:17 +02:00
Markus Frosch 26e58834f6 IcingaHostForm: Move getAppliedGroups to IcingaObject 2018-09-05 12:35:40 +02:00
Markus Frosch b6fd60a39f legacy: Avoid CoreApi in DeploymentLinkForm 2018-09-05 11:41:49 +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 49d9ed7ecd IcingaServiceForm: fix blacklist service from set
fixes #1519
2018-08-13 09:52:07 +02:00
Thomas Gelf 8929b41df0 Import/Export: refine action names, docs
refs #1409
2018-08-13 08:04:00 +02:00
Thomas Gelf 20395a483c locale/de_DE: refresh translation 2018-08-12 12:24:13 +02:00
Markus Frosch a1a0939909 RestoreObjectForm: Handle restore for all apply rules in object_type apply 2018-08-10 13:58:01 +02:00
Markus Frosch a47529bb02 RestoreObjectForm: Fix restore of multi-key and apply
Apply: Now uniquely identified via name (multiple matches result in error)

Multi-Key: Loading by Multi-Key and validating object_type
2018-08-10 13:37:28 +02:00
Marc DeTrano 2c3c09cb9c make call to showUsage conditional on whether request is an API request 2018-08-10 08:40:44 +02:00
Markus Frosch ab86a4fd89 Add input suggestion for datalist vars 2018-08-10 08:25:10 +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 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 85d748b295 ImportRowModifierForm: cleanup 2018-07-13 11:46:25 +02:00
Thomas Gelf 089fbad29b ImportRowModifierForm: do not initialize prio
fixes #1567
fixes #1568
2018-07-13 11:07:19 +02:00
Thomas Gelf 014f9b9dbe UserGroups: allow to specify zones
fixes #1163
2018-07-13 10:35:28 +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 88f7dc0d0f controllers, library: small fixes 2018-06-23 09:05:10 +02:00
Thomas Gelf 5be3f092a9 Importsources: remove dummy, allow import / export 2018-06-14 13:45:00 +02:00
Thomas Gelf 3054755e87 Importsources: REST API 2018-06-14 08:35:36 +02:00
Thomas Gelf 5a3e604e75 Syncrules: allow export via REST API 2018-06-13 21:17:41 +02:00
Thomas Gelf fc58e506ea CloneImportSource: one more cloning feature 2018-06-12 22:01:34 +02:00
Thomas Gelf 7ffc64d9ed ExportCommand: fix documentation 2018-06-12 21:36:58 +02:00
Thomas Gelf 9a259d1589 KickstartForm: phpdoc 2018-06-12 20:26:28 +02:00
Thomas Gelf 4c9a40c688 ImportsourceController: align titles, cleanup 2018-06-12 20:23:57 +02:00
Thomas Gelf 5fe976e059 SyncRuleForm: initial implementation 2018-06-11 23:13:03 +02:00
Thomas Gelf 34bff74797 ImportCommand: initial implementation 2018-06-11 20:09:25 +02:00
Thomas Gelf cdcf99592b ServiceCommand: allow to delete single services
fixes #719
2018-06-08 22:02:27 +02:00
Thomas Gelf 28320fe6bb FormDataFilter: use auto-suggestion for groups...
...drop ugly method in IcingaObjectGroup and clean up some files
2018-06-08 20:45:02 +02:00
Thomas Gelf e3c086c78c FormDataFilter: cleanup 2018-06-08 18:52:12 +02:00
Thomas Gelf a95618f283 dependencies: cleanup 2018-06-08 08:45:54 +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 85ea19d12e IcingaServiceForm: fix phpcs complaint 2018-06-05 11:37:02 +02:00
Thomas Gelf 6790ff1c30 IcingaServiceForm: show a warning and no...
...override details for blacklisted services
2018-06-05 11:30:18 +02:00
Thomas Gelf bd5ad64f02 IcingaServiceForm: fix "blacklist" for overrides
...when defined being such via Sync rule
2018-06-05 11:05:43 +02:00
Thomas Gelf ee230cb865 IcingaCommandArgumentForm: use 304 for REST API...
...and not for "normal" requests

fixes #1512
2018-06-05 10:29:34 +02:00
Thomas Gelf 927591501c Export: first bunch of exportable Director objects
ImportSource, SyncRule, Datafield and more

refs #1409
2018-06-01 18:44:07 +02:00
Thomas Gelf 5d4408862a Settings, CoreApi: allow to configure package name
fixes #1497
2018-06-01 16:27:00 +02:00
Thomas Gelf 32a1352ac9 SyncPropertyForm: choose lists by name, cleanup
fixes #1048
2018-06-01 14:52:10 +02:00
Marc DeTrano 183ea4a949 add Zone option to Dependency Form 2018-05-29 18:47:40 +02:00
bargru 64caa43da3 Fix translation Stati -> Status
Fix for https://github.com/Icinga/icingaweb2-module-director/issues/1446
see https://www.duden.de/rechtschreibung/Status
2018-05-29 17:25:36 +02:00
Thomas Gelf 02dfac1b8b Revert "Export: first bunch of exportable Director objects"
Wrong branch, not yet for the master

This reverts commit 721700c62f.
2018-05-29 12:40:14 +02:00
Thomas Gelf 721700c62f Export: first bunch of exportable Director objects
ImportSource, SyncRule, Datafield and more

refs #1409
2018-05-29 12:34:18 +02:00
Thomas Gelf ed8a135a66 IcingaUserForm: allow to specify TimePeriods
fixes #944
2018-05-29 12:22:25 +02:00
Thomas Gelf 2045f98016 IcingaServiceForm: allow to define apply rules...
...based on templates.

fixes #1359
2018-05-28 15:50:18 +02:00
Thomas Gelf 4df11f8bd7 IcingaServiceForm: fix clear overrides on blacklist 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 8f71ca034d SyncForms: restore notifications on "no change" 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 0f4fd471e2 HostServiceRedirector: new implementation for...
...service links. Fallback route and more

fixes #689
2018-05-23 00:47:30 +02:00
Thomas Gelf df83c9abad ipl: no more Html::__callStatic, add phpdocs 2018-05-08 19:54:00 +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
offsides 38a56f68fe Assign: add "is not set" operator
fixes #1436
2018-05-04 12:42:39 +02:00
Da Rold Valentina 69d3675b34 SuggestController: don't suggest command templates
...where commands are required

fixes #1414
2018-05-04 11:32:18 +02:00
Thomas Gelf b6c0895d33 IcingaServiceSetForm: hide empty descriptions 2018-05-04 08:43:43 +02:00
Thomas Gelf f49276372a cli: add SyncruleCommand
fixes #1476
2018-04-27 18:14:56 +02:00
Markus Frosch bd5e33ab11 SyncruleController: Handle forms before processing the rule for content
This ensures we show the latest details on the sync rule, without need
to reload the view (reload was active before adding benchmark)
2018-04-27 16:05:39 +02:00
Markus Frosch c4a95fd64e Sync: Implement Benchmark for the Sync process
Note: This disables redirect-on-success for the forms, so you can see
the benchmark result.
2018-04-27 16:05:39 +02:00
Thomas Gelf d001d4a9be cli: add ImportsourceCommand
fixes #1474
2018-04-27 15:06:45 +02:00
Thomas Gelf 473bbd40c4 IcingaHostForm: fix premission checks on new Hosts
refs #1451
2018-03-29 16:46:41 +02:00
Thomas Gelf 5dab1d3bb8 IcingaHostForm: logic belongs here
refs #1451
2018-03-28 18:38:36 +02:00
Thomas Gelf fcbc2db71b IcingaObject: resolve groups for flattened objects
refs #1449
2018-03-28 17:47:48 +02:00
Dirk Goetz 5201221bf6 add Servicegroups to Services in Set and at Host templates
refs #619
2018-03-19 08:56:22 +00:00
Thomas Gelf a9f5f2140b SelfServiceSettingsForm: allow global_zones...
...regardless of installation settings

fixes #1399
2018-02-26 10:49:51 +01:00
Thomas Gelf 22eb5911f0 CustomVariables: readability, IDE hints 2018-02-25 17:58:11 +01:00
Thomas Gelf 56f44b9ff1 IcingaObjectInspection: improve Inspect look&feel
fixes #264
2018-02-20 15:40:49 +01:00
Thomas Gelf fae6162133 HostController: show inspect link
fixes #1396
2018-02-20 15:33:28 +01:00
Thomas Gelf 344e6a8e59 IcingaServiceForm: same buttons for any use case
fixes #1393
2018-02-20 14:10:21 +01:00
Thomas Gelf 8ab088fe18 ImportRowModifierForm: fix multiOptions 2018-01-26 13:00:12 +01:00
Thomas Gelf 53432c6d5c ImportModifiers: friendlier errors on PHP 7.x 2018-01-25 13:13:42 +01:00
Thomas Gelf 91cb98e02f ImportsourceController: search should be shown...
...next to the title
2018-01-25 10:11:48 +01:00
Thomas Gelf 2f3e8c406f HealthCommand: add PluginOutputBeautifier 2018-01-22 10:01:29 +01:00
Thomas Gelf 550959d858 NamePattern: allow to combine multiple patterns
fixes #1331
2017-12-12 15:49:22 +01:00
Dirk Goetz 7fb216db4c PropertyModifier: add capitalize
fixes #427
2017-11-24 11:00:06 +01:00
Thomas Gelf 44c2a1b7db HostsController: fix issue with PHP 5.4
refs #1281
2017-11-10 14:20:33 +01:00
Thomas Gelf 6be7daf36a Allow to add Service Set to multiple hosts at once
fixes #1281
2017-11-10 14:13:52 +01:00
Thomas Gelf 781a4db763 HealthCheck: add a 'deployment' section
fixes #1280
2017-11-10 09:59:56 +01:00
Thomas Gelf c5bbc5a1fa HealthCommand: compare overall numeric state...
...not the object itself
2017-11-09 10:10:26 +01:00
Thomas Gelf 9f6771f09e CLI: health check plugin
fixes #1278
2017-11-08 15:31:56 +01:00
Florian Bachmann 7cc23bf1bf force use of autoincrement id for generating the SQL query 2017-10-20 20:20:52 +02:00
Thomas Gelf 8ec0fad185 IcingaNotificationForm: add name pattern validator 2017-10-13 10:26:31 +02:00
Thomas Gelf 0e10545175 ServiceSet: allow controlled/restricted access
fixes #1235
2017-10-12 16:54:31 +02:00
Thomas Gelf adb9cc47a4 Forms: suggest Service properties...
...where applicable. Also, remove some obsolete overhead

fixes #1207
2017-10-12 15:43:30 +02:00
Thomas Gelf fc4cfe4d39 locale/de_DE: Refresh German translation
fixes #1218
2017-10-09 15:43:29 +02:00
Thomas Gelf d1e116a5a1 ipl: rename to dipl
fixes #1217
2017-10-09 15:23:27 +02:00
Thomas Gelf 800633155b Clone: one more check when cloning templates 2017-10-09 15:16:39 +02:00
Thomas Gelf bc94f467ef IcingaCloneObjectForm: allow to clone fields
fixes #733
2017-10-08 21:49:31 +02:00
Thomas Gelf 4db73fdb95 TemplateChoiceForm: add min_required, max_allowed
fixes #1214
2017-10-07 17:22:54 +02:00
Thomas Gelf f9e701d51d IcingaObjectFieldForm: be case insensitive
fixes #1213
2017-10-05 13:12:13 +02:00
Thomas Gelf 45eaf0e987 IcingaServiceForm: add NamePattern validator 2017-10-02 08:45:32 +02:00
Thomas Gelf b50a360ff1 ConfigController: do not fail without a valid...
...deployment endpoint

refs #918
2017-09-28 20:20:58 +02:00
Thomas Gelf 147946e965 Dependencies: hide single objects, mark the...
...feature as experimental, so we can merge it to master
2017-09-28 11:02:13 +02:00
Thomas Gelf e45962c1b9 various: shorten long line, spacing, readability 2017-09-28 11:02:13 +02:00
Thomas Gelf cd4e90e418 application/tables: remove obsolete tables 2017-09-28 11:01:27 +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 ec23a205c7 SuggestController: move escaping to controller 2017-09-17 13:44:52 +02:00
Thomas Gelf 9adc0e9087 IcingaHostForm: show inherited groups, link them...
...and strike them through in case you're overriding them
2017-09-13 19:03:52 +02:00
Thomas Gelf b9d06f3015 IcingaHostForm: show (and link) applied groups 2017-09-13 16:40:04 +02:00
Thomas Gelf 1fe8ecf895 sugges: escape output, this is still legacy code 2017-09-13 13:28:35 +02:00
Thomas Gelf 22e575f9b0 HostController: use my parents parents for...
...temporary fake service

fixes  #1121
2017-09-12 11:37:39 +02:00
Thomas Gelf 89660a500a ServiceController: trust the id if given
This way we are able to load invalid objects

fixes #1172
2017-09-12 10:32:14 +02:00
Thomas Gelf d83cf594cc IcingaServiceForm: provide Choices also for...
...services on Hosts, form field has been forgotten.

fixes #1171
2017-09-12 10:00:47 +02:00
Thomas Gelf 804008673a IcingaCloneObjectForm: clone sets with services...
...and fix redirection

fixes #852
2017-09-11 16:02:39 +02:00
Thomas Gelf e76665741e ImportSourceSql: cache query column list
fixes #1071
2017-09-11 15:30:00 +02:00