Commit Graph

1581 Commits

Author SHA1 Message Date
Thomas Gelf db51fb4280 DaemonController: use Hint for errors, formatting 2020-12-01 05:49:19 +01:00
Thomas Gelf 4d406621aa DeploymentChecker: new Background Daemon component
fixes #2045
fixes #1988
2020-11-30 18:47:52 +01:00
Thomas Gelf 921aafab3a ConfigDiff: use gipfl/diff, drop php-diff
fixes #2226
2020-11-30 17:45:20 +01:00
Thomas Gelf 637315d5e2 DirectorObjectForm: centralize field priority
fixes #2041
2020-11-30 12:39:48 +01:00
Thomas Gelf a2f294fea2 IcingaCloneObjectForm: explicit baseUrl
fixes #1894
2020-11-30 10:19:21 +01:00
Thomas Gelf aa0980e168 SuggestController: use datalist keys
fixes #1918
2020-11-30 09:39:39 +01:00
valentina da rold 0c3a866020 locale: add Italian translation
fixes #2080
2020-11-28 20:00:17 +01:00
Thomas Gelf e2696fd75a IcingaConfig: remove magic_apply_for
This has always been and experimental feature, deprecated since v1.7.0

fixes #1851
2020-11-28 19:09:58 +01:00
Thomas Gelf 81f853e5dc IcingaNotificationForm: explain time units
fixes #1897
2020-11-28 17:54:19 +01:00
Thomas Gelf b8ab90f135 PropertyModifierRejectOrSelect: usability
This also introduces a new Form helper method -> getSetting

fixes #2228
2020-11-25 02:53:29 +01:00
Thomas Gelf 84610bf80d SelfService: we agreed on aliases, as the new...
...parameters are also subject to mapping. Disabled installation, now the
script should run without asking any questions. Remaining task: eventually
ask whether and how to install the framework components. Setting names have
already been defined with this commit

refs #2147
2020-11-24 20:20:26 +01:00
Thomas Gelf e908306f79 SelfServiceController: disable new install options
...for now

refs #2147
2020-11-24 18:10:49 +01:00
Thomas Gelf 6091b98d47 SelfService: respect setting
refs #2147
2020-11-24 18:00:40 +01:00
Thomas Gelf 0cb0904d14 SelfService: provide ConvertEndpointIPConfig
refs #2147
2020-11-24 17:57:36 +01:00
Thomas Gelf f77de7992b BasketController: change NV-table style
fixes #2225
2020-11-24 09:52:16 +01:00
Thomas Gelf a761485b96 CompareBasketObject: new helper for basket diffs
...with lot's of workarounds for foreign baskets

fixes #2223
2020-11-24 04:36:48 +01:00
Thomas Gelf 5c8a12da38 SelfService: fix error handling
fixes #1728
2020-11-18 19:51:40 +01:00
Thomas Gelf 213f897ffc HostController: details for external services...
...when clicking "Modify" in the monitoring module

fixes #1531
2020-10-27 01:18:18 +01:00
Thomas Gelf 456832e7d1 css, various places: use Hint class 2020-10-26 18:50:13 +01:00
Thomas Gelf 24a5411a93 ActionController: provide response-helper for all
...controllers
2020-10-26 16:39:36 +01:00
Thomas Gelf 3acd9ed114 ImportsourceController: fix order 2020-10-09 11:56:12 +02:00
Thomas Gelf f2461bb7e9 ImportsourceController: catch the whole block 2020-10-09 11:55:24 +02:00
Thomas Gelf 1705e2e3e5 ImportsourceController: error handling for json 2020-10-09 11:54:09 +02:00
Thomas Gelf b45d12a85a ImportsourceController: typo 2020-10-09 11:51:59 +02:00
Thomas Gelf 7f1018a018 ImportsourceController: catch failures on preview 2020-10-09 11:50:56 +02:00
Gianluca Piccolo 533d2d7b77 Add key param to deployment status cli 2020-10-07 19:24:49 +02:00
Gianluca Piccolo 0a54fda6b6 Add deployment status cli 2020-10-07 19:24:49 +02:00
Gianluca Piccolo dd53e4db9d Fix params names 2020-10-07 16:04:06 +02:00
Gianluca Piccolo fab69d7c0e Add log files collection 2020-10-07 16:04:06 +02:00
Gianluca Piccolo 23214529f1 First deployment status api implementation 2020-10-07 16:04:06 +02:00
Thomas Gelf 3f8f7bd1eb DeploymentStatus: new helper
* this also adds director/config/deployment-status

refs #2187
2020-10-07 16:04:06 +02:00
Pascal de Bruijn 9f7568c0ea KickstartForm: add 'UTF8' to array of allowed charsets, to support Postgres
Followup to eae7a8ab86

UTF8 without a dash is the proper encoding shown by psql -c '\l'
2020-09-22 19:04:01 +02:00
Thomas Gelf 6736e3296e IcingaServiceForm: use "re/deactivate" (wording)
fixes #2135
2020-06-06 22:24:40 +02:00
Thomas Gelf d8f55a47b3 IcingaHostForm: do not trust HTML separator
fixes #2133
2020-06-06 21:56:54 +02:00
Thomas Gelf 80f9ea29b5 BasketForm: allow Notification Templates 2020-04-09 14:59:52 +02:00
Thomas Gelf a7ea5d0b76 ImportsourceController: fix pagination
Next page pointed to importsource/fetch, should stay importsource/preview

refs #2096
2020-03-09 10:26:49 +01:00
Thomas Gelf 413ac8f281 ImportsourceController: fix download link
refs #2096
2020-03-05 13:10:49 +01:00
Thomas Gelf 865ed3f0d0 ImportsourceController: allow to fetch preview
fixes #2096
2020-03-05 13:06:51 +01:00
Thomas Gelf 421f47d08d IcingaObjectResolver: new for ServicesetController 2020-02-12 10:41:58 +01:00
Thomas Gelf c12a6baeea Sync: implement update-only policy
fixes #2059
2020-01-17 09:01:25 +01:00
Thomas Gelf 2ef30f5f12 various: formatting, cleanup 2020-01-10 12:33:54 +01:00
Thomas Gelf d795ad3c8e BenchmarkCommand: add more flattening tests 2020-01-10 12:31:40 +01:00
Thomas Gelf de993f4f16 BasketController: fix typo
refs #2052
2020-01-09 08:49:28 +01:00
Thomas Gelf 3e98d828e5 OverriddenVarsResolver: externalize lookup logic
This now also takes into account properties overridden on intermediate
Host templates
2019-12-04 12:36:47 +01:00
Thomas Gelf e0c0662be1 IcingaHostSelfServiceForm: ignore empty values 2019-12-04 12:28:19 +01:00
Thomas Gelf 3f657a01c8 DeployFormsBug7350: add a reminder 2019-12-04 12:25:00 +01:00
Thomas Gelf be8c1101f2 travis: use phpcs 3.5.2 2019-11-28 07:13:22 +01:00
Thomas Gelf 50315d8714 ImportSource: fix cloning
fixes #2005
fixes #1997
2019-11-05 16:50:56 +01:00
Thomas Gelf ece50a0947 InspectPackages: new feature
fixes #1995
2019-10-17 03:18:00 +02:00
Thomas Gelf 1b5ed9699d Db\Migrations: warn about downgrades
fixes #1992
2019-10-16 11:28:29 +02:00
Thomas Gelf e7cfabfe29 ConfigCommand: remove obsolete code 2019-10-16 10:54:11 +02:00
Thomas Gelf 618b2647c6 DeployFormsBug7530: warn for all 2.11.* versions
fixes #1985
2019-10-16 10:30:01 +02:00
Thomas Gelf d0a29d4716 CloneSyncRuleForm: do not fail
fixes #1982
2019-10-14 14:24:33 +02:00
Valentina Da Rold 1d400b2899 Remove unused function from category form 2019-10-02 09:47:15 +02:00
Valentina Da Rold 19d43fae5d Use category_id in DataFieldForm 2019-10-01 17:43:43 +02:00
Valentina Da Rold 1f5224258b Add DirectorDatafieldCategoryForm 2019-10-01 16:57:49 +02:00
Valentina Da Rold 90c7bf0dc1 Add DataFieldCategoryController, Tabs and Table 2019-10-01 16:57:10 +02:00
Thomas Gelf d45af31503 DeploymentLinkForm: ignore unreachable core
fixes #1966
2019-09-30 10:41:31 +02:00
Thomas Gelf ef541f92af JobsCommand: load enabled modules 2019-09-26 12:43:07 +02:00
Thomas Gelf 802ecdf07f locale/de_DE: add latest strings 2019-09-25 14:04:20 +02:00
Thomas Gelf 4ee3ef2fd9 Daemon: new implementation 2019-09-25 12:10:08 +02:00
Thomas Gelf 7f79842ddf DeploymentForms: warn about Icinga issue #7530
fixes #1958
2019-09-24 14:45:51 +02:00
Thomas Gelf cdb92e18de PhperrorController: redirect to dashboard once...
...all dependencies are satisfied
2019-09-20 11:22:58 +02:00
Thomas Gelf 5c93594687 phperror: use new state-hint CSS 2019-09-20 10:33:00 +02:00
Thomas Gelf 2b5e8e5791 de_DE: change wording
refs #1951
2019-09-20 10:32:20 +02:00
Thomas Gelf c211237ddc de_DE: refreshed German translation
fixes #1951
2019-09-20 10:30:07 +02:00
tomascassidy 2146d852d9 Fix typo in DeployConfigForm.php 2019-09-20 02:14:31 +02:00
Hans Rakers 0e5d88ada6 Add description field 2019-09-20 02:13:13 +02:00
J Skoba eae7a8ab86 KickstartForm: add 'UTF-8' to array of allowed charsets, to support Postgres 2019-09-20 02:09:26 +02:00
Thomas Gelf 6d781e09e3 ConfigController: fix search in id-range filtered
...activities

fixes #1381
2019-09-20 01:37:47 +02:00
Thomas Gelf 2cfd072739 Basket: sort table, form element 2019-09-19 17:42:29 +02:00
Thomas Gelf ab109ab626 SyncruleController: fail nicely in preview
fixes #1941
2019-09-16 11:37:44 +02:00
Thomas Gelf 83907eb8fa BasketsController: fix hasSearch-related error 2019-09-12 00:09:55 +02:00
Thomas Gelf ce40e16850 HostController: change wording
fixes #1827
2019-09-11 23:07:38 +02:00
Thomas Gelf 606d71501e Use ipl, try to keep dipl compatibility 2019-09-11 23:02:39 +02:00
chisatohasimoto 9c62ea24b3 Add Japanese language support director 2019-09-11 22:52:33 +02:00
Eric Lippmann d56ba2ed94 CLI: Apply modifiers in 'importsource fetch'
refs #1819
2019-09-11 22:48:48 +02:00
Thomas Gelf dbc4699042 Merge branch 'next' 2019-09-11 22:44:27 +02:00
Thomas Gelf 4a070d5ba7 FormStoredPassword: one more dipl 2019-09-11 22:37:13 +02:00
Thomas Gelf 0e0bc3fb5d various: some little fixes 2019-09-11 22:36:36 +02:00
Thomas Gelf 087b09d363 run: check module dependencies
fixes  #1938
2019-09-11 22:34:48 +02:00
Thomas Gelf e1565c9990 Revert "Merge branch 'next'"
This reverts commit f45f925e5e, reversing
changes made to 90c07943e4.

This was too early, need to check for incubator
2019-09-06 09:54:03 +02:00
Thomas Gelf 17f8ef1dd0 Use ipl, try to keep dipl compatibility 2019-09-06 09:48:11 +02:00
Thomas Gelf 90c07943e4 SyncRuleForm: add a note regarding filters 2019-09-06 09:45:44 +02:00
Thomas Gelf 4fcda464e8 Sync: allow notification, dependency, scheduled dt
fixes #925
fixes #1209
fixes #1211
fixes #1212
2019-09-06 09:39:35 +02:00
Thomas Gelf 2518990335 ImportRowModifierForm: fix duplicate translate() 2019-08-19 11:55:15 +02:00
Marius Hein e51f9fa21a ImportRowModifier: Change description 2019-08-19 11:29:11 +02:00
Marius Hein cbd0b131fd ImportRowModifier: Access sub values 2019-08-19 11:29:11 +02:00
Thomas Gelf a97f31e657 StoredPassword: new element type -> hidden strings
fixes #1872
2019-07-10 13:11:58 +02:00
Thomas Gelf aad07b3d1d IcingaDependency: fix form and rendering 2019-07-09 10:36:57 +02:00
Thomas Gelf e9bde184f1 IcingaDependencyForm: cleanup, description 2019-07-09 10:36:57 +02:00
Thomas Gelf 01f2666ff2 IcingaDependency: drop parent_service_var 2019-07-09 10:36:57 +02:00
Thomas Gelf de0b3db8a2 IcingaDependencyForm: allow to store var names 2019-07-09 10:36:57 +02:00
Thomas Gelf adace00df4 Dependency: prepare var rendering, cleanup 2019-07-09 10:36:57 +02:00
Thomas Gelf 4413a44d65 IcingaServiceForm: allow to set check_command...
...for Service Apply rules, given that admin permissions have been granted.
This also fixes the problem that inherited command names haven't been shown.

fixes #1899
2019-07-08 16:27:44 +02:00
Thomas Gelf 1953a7b0f7 Forms: explain "contains", mention wildcards 2019-07-08 14:12:30 +02:00
Rudy Gevaert c36aed0f9e Document the lookup of structured data sources 2019-07-04 13:33:38 +02:00
Florian Bachmann b8bf12b951 add "icingacli director hostgroups" CLI command for listing hostgroups defined in Icinga Director 2019-07-04 12:18:20 +02:00
Thomas Gelf 0d405cba98 SyncruleCommand: show number of expected changes
Sample output when there are changes:

    icingaweb2@web:~$ icingacli director syncrule check --id 36
    There are pending changes for this Sync Rule. You should  trigger a new Sync Run.
    Expected modifications: 2x create, 0x modify, 0x delete
    icingaweb2@web:~$ echo $?
    1

...when there are no changes:

    icingaweb2@web:~$ icingacli director syncrule check --id 34
    This Sync Rule is in sync
    icingaweb2@web:~$ echo $?
    0

...and when something failes:

    icingaweb2@web:~$ icingacli director syncrule check --id 32
    This Sync Rule failed: No data has been imported for "Benutzergruppen aus Nagios" yet
    icingaweb2@web:~$ echo $?
    2

fixes #1849
2019-05-27 17:46:43 +02:00
Thomas Gelf 7533334de9 SyncruleController: fix typo 2019-05-27 17:30:42 +02:00
Thomas Gelf cc15cae34a Basket: allow to add external commands and...
...command templates
2019-05-27 17:27:18 +02:00
Thomas Gelf e255471984 IcingaObjectFieldForm: propose command arguments
...for Host and Service Templates
2019-05-27 13:24:33 +02:00
Thomas Gelf db8895ae10 DataTypeDatalist: allow to customize behavior
Available options:
* strict: select box
* suggest_strict: auto-completion, allow only list values
* suggest_optional: Allow for values not on the list
* suggest_extend: Extend the list with new values

fixes #1846
2019-05-06 21:25:44 +02:00
Markus Frosch 92f2f9f44d IcingaConfig: Deprecate magic_apply_for as config feature
fixes #1850
2019-04-30 12:41:53 +02:00
Thomas Gelf baa3ae248f Datafield: fix links and redirections
fixes #1847
2019-04-29 10:45:30 +02:00
Dirk Goetz b70bf7659e ServiceGroup: Make assign optional
fixes #930
2019-04-24 14:02:32 +02:00
Thomas Gelf da909907fd IcingaMultiEditForm: use IcingaObjectFormHook 2019-04-24 11:20:40 +02:00
Thomas Gelf 904ec7c435 ScheduledDowntimes: Hosts with Services, optional
schema, form, rendering

fixes #1831
2019-04-12 12:12:32 +02:00
Thomas Gelf 70618169f1 ObjectsTabs: fix tabs for Choices 2019-04-12 11:58:09 +02:00
Marianne Spiller ef2ecf1f8f
Adding s
Fixing "[CRITICAL] There is no check named 'job'"
2019-04-11 16:49:35 +02:00
Thomas Gelf 91fc186077 ScheduledDowntimes: remove templates for now 2019-04-11 11:17:58 +02:00
Thomas Gelf 8106a6ab6e ScheduledDowntime, Form, activity: tweak links 2019-04-11 08:58:19 +02:00
Thomas Gelf 69c8018f8d IcingaScheduledDowntimeForm: descriptions, cleanup 2019-04-11 02:53:31 +02:00
Thomas Gelf 54b62c7179 ApplRulesTable: allowto link with names 2019-04-11 02:53:31 +02:00
Thomas Gelf cd13b8124b IcingaScheduledDowntimeRangeForm: new form 2019-04-11 02:53:10 +02:00
Thomas Gelf 0178bb4718 IcingaScheduledDowntimeRangeTable: introduce, use 2019-04-11 02:53:10 +02:00
Thomas Gelf 6f790dd118 IcingaScheduledDowntimeForm: assignment elements 2019-04-11 02:34:14 +02:00
Thomas Gelf d53174391d SuggestionController: fix phpcs complaint 2019-04-11 02:34:14 +02:00
Thomas Gelf c72b51c538 ScheduledDowntimes: a bunch of url-related changes 2019-04-11 02:34:14 +02:00
Thomas Gelf f5a5a9c741 IcingaScheduledDowntimeForm: add all properties 2019-04-11 02:34:14 +02:00
Thomas Gelf d6a3d0e229 SuggestController: reduce duplicate code 2019-04-11 02:34:14 +02:00
Thomas Gelf 0c2cb9e484 ScheduledDowntimes: controllers, first form 2019-04-11 02:34:14 +02:00
Thomas Gelf 2615446572 ScheduledDowntime: initial implementation
refs #347
2019-04-11 02:34:14 +02:00
Thomas Gelf 1027084f04 ImportsourceCommand: apply property modifiers...
...on fetch

fixes #1819
2019-04-04 13:16:17 +02:00
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 8046510b1f ServiceapplyrulesController and related changes
fixes #1755
2019-02-15 01:29:43 +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 56293f167f SelfServiceController: ship optional Service User
fixes #1297
2019-02-14 15:34:22 +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 119635d290 SyncruleController: add diff and more for some...
...object types
2019-01-10 15:19:16 +01:00
Thomas Gelf f40f0f0414 SyncruleController: preview improvements 2019-01-10 13:11:20 +01:00
Thomas Gelf bb0bdeb737 SyncruleController: provide a preview tab
fixes #1754
2019-01-10 12:11:30 +01:00
lokidaibel 40656c9dab ServicegroupCommand: new CLI command
Created this to be able to also create Servicegroups over CLI. basically its the same file as HostGroupCommand. Tested in 1.5.1

fixes #1745
2019-01-02 10:23:49 +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 8b3f612edd locale: refresh German translation 2018-12-10 18:34:14 +01:00
Thomas Gelf 0c2e3fe1b1 Basket: fix various little issues
fixes #1691
2018-12-10 17:52:56 +01:00
Thomas Gelf ac69d022b6 BasketController: disable dead link 2018-12-10 15:52:24 +01:00
Thomas Gelf b67e0c0017 Basket: add UploadForm
fixes #1731
2018-12-10 15:36:59 +01:00
Markus Frosch 16252822cf phpcs: Fix DataController 2018-11-27 10:56:14 +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 ec11dea8a9 Basket: allow to download for non-primary Instance 2018-11-15 12:50:33 +01:00
Thomas Gelf 117699c957 ConfigController: fix config/diff URL handling
fixes #1704
2018-11-14 11:48:48 +01:00