Commit Graph

1337 Commits

Author SHA1 Message Date
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
Thomas Gelf 719ca9d271 IcingaServiceSetTable: remove obsolete table 2017-08-18 17:40:50 +02:00
Thomas Gelf 32cd0d6b83 HostController: cosmetics 2017-08-18 17:08:04 +02:00
Thomas Gelf ad6dceae99 show/actitivitylog: move to config/activity 2017-08-18 16:55:10 +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 93a42c7fc8 controllers, tables, view scripts: remove obsolete 2017-08-17 00:08:08 +02:00
Thomas Gelf 1a72e89f05 controllers: refactor even more of them 2017-08-16 23:51:15 +02:00
Thomas Gelf 23249dcf7d HostController: refactor all involved tables...
...for single services and sets
2017-08-16 23:27:13 +02:00
Thomas Gelf 6f20e6c35e schema: no more view script, refactor controller 2017-08-16 19:13:07 +02:00
Thomas Gelf 04a78f734a config: refactor controller, tables, get rid...
...of view scripts, add new Widget helper classes
2017-08-16 19:11:30 +02:00
Thomas Gelf b016b1954b GeneratedConfigFileTable: move and refactor 2017-08-16 17:59:09 +02:00
Thomas Gelf 531b54391a ServiceSetHosts, ImportrunTable: move and refactor 2017-08-16 16:12:30 +02:00
Thomas Gelf 573e38ce33 IcingaTimePeriodRangeTable: move and refactor 2017-08-16 15:26:31 +02:00
Thomas Gelf 7a4d04b92f IcingaTimePeriodRangeForm: simplify usage 2017-08-16 15:24:13 +02:00
Thomas Gelf cff14c8f80 ServicegroupsContoller: no more need for tab...
...handling
2017-08-16 15:13:28 +02:00
Thomas Gelf 5edce76fed ApplyMigrations: rebase form on DirectorForm 2017-08-16 14:59:21 +02:00
Thomas Gelf a4d138354b ImportsourceController: completely refactor, get
...rid of view scripts
2017-08-16 14:58:23 +02:00
Thomas Gelf d5ccb1edb5 Importrun, imported rows: move and refactor...
...table and refactor the controller
2017-08-16 14:55:34 +02:00
Thomas Gelf cea6baa331 EndpointController: remove obsolete init() 2017-08-16 14:43:03 +02:00
Thomas Gelf a870ab1f1d DataController: refactor, also simplify...
...DirectorDatalistEntryForm usage
2017-08-16 14:39:37 +02:00
Thomas Gelf 14b5c67ff2 DashboardController: remove obsolete comments 2017-08-16 14:29:04 +02:00
Thomas Gelf 4c177fc4ea JobsController: refactor, cleanup 2017-08-16 14:14:30 +02:00
Thomas Gelf 23d599053e JobDetails: move logic to dedicated class...
...plus code cleanup
2017-08-16 14:01:43 +02:00
Thomas Gelf a4e6d3251a PropertymodifierTable: move and refactor 2017-08-16 12:32:53 +02:00
Thomas Gelf 578446d79c ImportSourceDetails: new dedicated class, plus..
...a missing new controller class
2017-08-16 12:01:25 +02:00
Thomas Gelf 6f3d07f729 ImportsourceHookTable: move and refactor based...
...on SimpleQueryBasedTable
2017-08-16 11:15:39 +02:00
Thomas Gelf f7fc7a3de9 ImportRun/CheckForm: base on DirectorForm, cleanup 2017-08-16 10:29:42 +02:00
Thomas Gelf 5311f37708 Syncrule/Importsource: add dedicated controllers 2017-08-16 09:43:05 +02:00
Thomas Gelf e5f7633d1e Automation: move and refactor related tables 2017-08-16 09:23:45 +02:00
Thomas Gelf f24b82821f SelfService: move logic to a dedicated class 2017-08-14 12:22:28 +02:00
Thomas Gelf 53726e8dcc NotificationController: changed hook 2017-08-14 12:06:32 +02:00
Thomas Gelf e5305cb049 IcingaObjectDatafieldTable: move and base on new
...SimpleQueryBased table
2017-08-13 13:38:35 +02:00
Thomas Gelf 7fd94fb5bd Jobs, Kickstart: raise limits, try to work...
...around GC bugs

refs #1056
2017-08-04 11:31:43 +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 5596df5039 DataController: '0' is a valid entry
fixes #1045
2017-07-31 10:00:57 +02:00
Thomas Gelf 010dbbd87d HostController: fix translation error in the...
Agent tab
2017-07-29 01:44:01 +02:00
Thomas Gelf e1d766f112 ServiceController: improve ObjectTabs handling 2017-07-29 00:13:20 +02:00
Thomas Gelf 34c6134b21 HostController: move tab handling to ObjectTabs
Helps to unify tabs on usage/edit
2017-07-28 23:20:58 +02:00
Thomas Gelf a0a12ce3d1 TemplateControllers: throw away custom code...
...and bring all logic to the base class, fix all links

fixes #1044
2017-07-28 22:56:03 +02:00
Thomas Gelf b2736e1776 ObjectForms: fix weird issues with 'add' forms 2017-07-28 18:46:11 +02:00
Thomas Gelf 6d1dd52229 Timeperiod: fix ranges tab, refactor code 2017-07-28 16:50:15 +02:00
Thomas Gelf ecd91d8bff Notification: fix redirect after delete
fixes #1042
2017-07-28 09:56:53 +02:00
Thomas Gelf dac5dbdcc0 TemplateUsage: make code generic, do no longer...
...require concrete implementations

fixes #1028
fixes #1032
2017-07-27 11:34:12 +02:00
Thomas Gelf 75ca51e85b TimeperiodtemplateController: initial import
fixes #1028
2017-07-27 11:01:34 +02:00
Thomas Gelf 8333c2f754 list/table: still in use, so remove filterEditor
...as that one is obsolete for now
2017-07-27 10:36:19 +02:00
Thomas Gelf d95512ce08 CustomvarVariants: one more table, showing...
...distinct values for a specific var
2017-07-26 11:53:42 +02:00