Commit Graph

541 Commits

Author SHA1 Message Date
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
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
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 9a259d1589 KickstartForm: phpdoc 2018-06-12 20:26:28 +02:00
Thomas Gelf a95618f283 dependencies: cleanup 2018-06-08 08:45:54 +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 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
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 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 b6c0895d33 IcingaServiceSetForm: hide empty descriptions 2018-05-04 08:43:43 +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 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 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 550959d858 NamePattern: allow to combine multiple patterns
fixes #1331
2017-12-12 15:49:22 +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
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 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 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 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 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 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 5296f33bcc KickstartForm: add hint for those re-running...
...Kickstart

fixes #1116
2017-08-25 14:41:28 +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 f4cd0d7b3c DeploymentLinkForm: fix typo 2017-08-22 10:11:00 +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 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 4c7b940705 PriorityColumn: add new object extension, use...
...it for SyncProperty
2017-08-20 15:04:06 +02:00
Thomas Gelf bd157b865b ObjectController: allow to clone external objects
fixes #854
2017-08-18 16:13:09 +02:00
Thomas Gelf e6279d87e3 IcingaCloneObjectForm: allow to clone single...
...sets and services with their host. Also, only allow admins to clone fully
resolved

fixes #629
2017-08-18 16:11:57 +02:00
Thomas Gelf 5ee215df27 IcingaCloneObjectForm: reset api key when cloning 2017-08-18 13:40:46 +02:00
Thomas Gelf 7a4d04b92f IcingaTimePeriodRangeForm: simplify usage 2017-08-16 15:24:13 +02:00
Thomas Gelf 5edce76fed ApplyMigrations: rebase form on DirectorForm 2017-08-16 14:59:21 +02:00
Thomas Gelf a870ab1f1d DataController: refactor, also simplify...
...DirectorDatalistEntryForm usage
2017-08-16 14:39:37 +02:00
Thomas Gelf f7fc7a3de9 ImportRun/CheckForm: base on DirectorForm, cleanup 2017-08-16 10:29:42 +02:00
Thomas Gelf 7c47b5a8d1 SettingsForm: do not expect enum to contain...
...the default value

fixes #1054
2017-08-02 15:54:03 +02:00
Thomas Gelf b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf 098cd0a57a Sync: completely refactor table, form, controller 2017-07-25 17:53:59 +02:00
Thomas Gelf f44afef214 ActivityLog: refactor code, fix HTML, use ipl 2017-07-25 14:04:08 +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 ad791918bc IcingaHostSelfServiceForm: fail early if template
...is not for Agents
2017-07-21 15:46:33 +02:00
Thomas Gelf 408e3753ab AgentWizard: add new functionality 2017-07-20 16:58:48 +02:00
Thomas Gelf 1ba276cf15 DeploymentLinkForm: introduce new form 2017-07-20 09:24:42 +02:00
Thomas Gelf 8c8c78b7c0 DeployConfigForm: inherit from DirectorForm 2017-07-19 19:08:57 +02:00
Thomas Gelf 70034b5afe ApiKey: add new related forms 2017-07-19 18:22:49 +02:00
Thomas Gelf 95769c3ee2 Modifier: add a description field
fixes #465
2017-07-14 14:45:25 +02:00
Thomas Gelf 2cdba2aa65 Import and Sync: add description fields
fixes #1018
2017-07-14 14:27:05 +02:00
Thomas Gelf 05d8e5bb00 Datalist: Allow to restrict entries by role
fixes #1012
2017-07-14 13:21:42 +02:00
Thomas Gelf 48e649439b SelfServiceSettings: comment for future settings 2017-07-14 13:21:42 +02:00
Thomas Gelf bf2b90fd6c Settings: fix global zone defaults and settings 2017-07-14 13:21:42 +02:00
Thomas Gelf fe249a18be Settings: use ipl, clean up, fix array handling 2017-07-14 13:21:42 +02:00
Thomas Gelf 3574cec487 SelfService: allow to specify global zones
fixes #997
2017-07-14 13:21:42 +02:00
Thomas Gelf 2ca7f26b49 SelfService: fix booleans, add new options
refs #486
2017-07-14 13:21:42 +02:00
Max Stephan 9f1148ee9d IcingaCommandArgument: $hostname$ -> $host.name$
https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#host-runtime-macros
(3.4.2. Host Runtime Macros)
$hostname$ doesn't work
2017-07-14 13:21:42 +02:00
Thomas Gelf f10b85ac9e Kickstart: remove legacy code, clean up 2017-07-14 13:21:42 +02:00