Commit Graph

571 Commits

Author SHA1 Message Date
Markus Frosch e64ace7ccf IcingaCommandForm: Add warning for command as plain string 2019-03-26 12:02:55 +01:00
Markus Frosch 6a79436af3 IcingaCommand: Allow command to be rendered as string
Icinga 2 allows this from the beginning.
2019-03-26 12:02:35 +01:00
Markus Frosch 977f6ddad4 Allow IcingaService to be cloned to a different host
Similar to the implementation for Service Set.
2019-03-19 14:58:37 +01:00
Thomas Gelf 32b71c922c IcingaCloneObjectForm: fix cloning to another Set
fixes #1758
2019-02-14 23:11:45 +01:00
Thomas Gelf 738e4eeaf1 IcingaTimePeriod: support Basket (ExportInterface)
fixes #1735
2019-02-14 22:42:21 +01:00
Thomas Gelf e961f0eb2a BasketUpload: ignore Datafields, they get special
...treatment
2019-02-14 21:57:10 +01:00
Thomas Gelf dc48a7e6a0 KickstartForm: do not fail on missing element 2019-02-14 15:34:51 +01:00
Thomas Gelf 788fb452cd RestoreBasketForm: do not fail with a single DB
fixes #1716
2018-12-11 00:26:01 +01:00
Thomas Gelf b67e0c0017 Basket: add UploadForm
fixes #1731
2018-12-10 15:36:59 +01:00
Thomas Gelf 7926d558ba DataList: load by name, fix basket 2018-11-26 00:11:35 +01:00
Thomas Gelf 7b6deea2fa BasketController: link to baskets from "add to..." 2018-11-25 22:03:53 +01:00
Thomas Gelf 7f0ffb1691 IcingaCloneObjectForm: allow to clone a service...
...from one Service set into another one

fixes #886
2018-11-07 11:08:40 +01:00
Thomas Gelf 77f8f7d4ca IcingaTimePeriodForm: cleanup.
fixes #788
2018-10-30 18:54:28 +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
Jens Link f6f3d3b1aa typo fix 2018-10-25 15:12:11 +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 83248f8f12 RestoreBasketForm: do not complain about legacy...
...method names
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 9390a3b9ca SyncPropertyForm: explicit ID handling 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 fa70ecde0e Kickstart: deal with multiple DBs 2018-10-08 06:35:20 +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 0d879c60d3 IcingaTimeperiod: Support includes and excludes 2018-09-13 15:14:41 +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
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