Commit Graph

1384 Commits

Author SHA1 Message Date
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
Thomas Gelf 54e17237e3 CommandArgument: always show and handle skip_key
This also allows to wipe the argument_name on modification

fixes #682
2017-09-04 10:01:11 +02:00
Thomas Gelf 3418a535ae CommandArguments: redirection after submission...
...and add 'back' link
2017-09-03 09:23:52 +02:00
Thomas Gelf 59eda8f9c4 SuggestController: set default limit to 100
refs #1135
2017-08-29 15:53:02 +02:00
Thomas Gelf d010d7d33a IcingaServiceSetForm: remove useless method 2017-08-28 06:51:58 +02:00
Thomas Gelf da2968a6d3 ServiceForm: add more helpful links to services...
...on hosts
2017-08-26 14:13:13 +02:00
Thomas Gelf 833d9eb972 KickstartForm: shorten url comment lines 2017-08-25 22:44:30 +02:00
Thomas Gelf 75fb983622 Forms: transform addHtmlHint into ipl-aware code 2017-08-25 18:12:39 +02:00
Thomas Gelf 551039e42b Commandtemplate: add missing controller
fixes #1060
2017-08-25 16:28:22 +02:00
Thomas Gelf 2b386fa856 locale/de_DE: refresh translation 2017-08-25 16:10:31 +02:00
Thomas Gelf 5296f33bcc KickstartForm: add hint for those re-running...
...Kickstart

fixes #1116
2017-08-25 14:41:28 +02:00
Thomas Gelf 1a08b90c7a IcingaTemplateRepository: fetch parents, not...
...ancestors per default

fixes #1114
2017-08-25 14:22:49 +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 99eb6acd63 AssignRenderer and Form: "is true/set" operator
refs #339
fixes #729
fixes #739
2017-08-25 12:08:11 +02:00
Thomas Gelf ee21c6320a SuggestController: do not fail with no vars...
...and clean up some code
2017-08-25 12:05:02 +02:00
Thomas Gelf c7d7657489 IcingaAddServiceForm: fix method signature...
...to fit parent method

fixes #1112
2017-08-25 11:48:53 +02:00
Thomas Gelf 9d369b5f16 IcingaHostForm: re-add zone element, got lost
fixes #1110
2017-08-25 11:04:26 +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 ff3c7c93bb HostForm: simple import selection for new hosts...
...cleanup, remove obsolete code
2017-08-24 13:04:54 +02:00
Thomas Gelf 71ab8b4663 ServiceController: set ServiceSet for new service
...added to a Set

fixes #1097
2017-08-23 08:41:41 +02:00
Thomas Gelf ed715a881e locale/de_DE: complete German translation 2017-08-22 16:12:20 +02:00
Thomas Gelf f4cd0d7b3c DeploymentLinkForm: fix typo 2017-08-22 10:11:00 +02:00
Thomas Gelf 29410a2079 locale/de_DE: refresh translation 2017-08-22 01:31:29 +02:00
Thomas Gelf a89d6aa548 SuggestController: add missing UserTemplates
fixes #1061
2017-08-21 23:06:32 +02:00
Thomas Gelf 2109d138d5 IcingaTimeperiodRangeForm: delete through the...
IcingaTimePeriod and it's Ranges

fixes #1089
2017-08-21 22:41:37 +02:00
Thomas Gelf ece3ba2498 HostController: fix link for 'add service set'
refs #1087
2017-08-21 21:02:41 +02:00
Thomas Gelf b930b70966 SuggestController: suggest all commands for import
...not just templates
2017-08-21 21:01:24 +02:00
Thomas Gelf c15a6e1a90 IcingaAddServiceForm: refactor, rename and use...
...it for single and for multiple hosts

refs #1087
2017-08-21 19:55:24 +02:00
Thomas Gelf 3c72cb9062 FormDataFilter: use correct view helper for...
...ExtensibleSet - this affects assign filters involving arrays

fixes #1068
2017-08-21 12:23:02 +02:00
Thomas Gelf d87a65a670 ImportsourceController: fix redirect after delete
...for property modifiers
2017-08-21 11:11:53 +02:00
Thomas Gelf 86b9f8e963 ServiceController: pass Set to ServiceForm if any
fixes #1031
2017-08-21 10:32:58 +02:00
Thomas Gelf 058bcb083d NotificationController: fix method signature 2017-08-21 08:04:29 +02:00
Thomas Gelf 7e13a9a4f2 HostController: remove HostAgentForm for now
Will probably return soon
2017-08-20 17:07:53 +02:00
Thomas Gelf 0f3f2f05df PropertymodifierTable: allow to manually switch...
...execution order (priority)
2017-08-20 16:03:49 +02:00
Thomas Gelf 20ca3f2e54 ImportSourceController: fix rendering order 2017-08-20 15:15:31 +02:00
Thomas Gelf 4c7b940705 PriorityColumn: add new object extension, use...
...it for SyncProperty
2017-08-20 15:04:06 +02:00
Thomas Gelf 3dce2a5d06 SyncpropertyTable: allow to search and sort
fixes #1085
2017-08-19 23:07:25 +02:00