Commit Graph

1237 Commits

Author SHA1 Message Date
Thomas Gelf 319f14f94b IcingaTemplateChoiceServiceForm: add missing form 2017-07-14 13:21:42 +02:00
Thomas Gelf f08c3535bf simple view script: not needed any more 2017-07-14 13:21:42 +02:00
Thomas Gelf eda559ce53 Dashboard: no more view scripts 2017-07-14 13:21:42 +02:00
Thomas Gelf cea78db5af ServiceSetTables: implement ValidHtml 2017-07-14 13:21:42 +02:00
Thomas Gelf 338edf08ef service/index: remove obsolete view script 2017-07-14 13:21:42 +02:00
Thomas Gelf 0cf6676c3c Host/Service/ObjectController: use more ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 20310a0c9e Choices: add dedicated action bar, add to...
...ObjectTabs, refine choice(s)Controller
2017-07-14 13:21:42 +02:00
Thomas Gelf 6ca1ec2951 ServicetemplateController: add templates action...
...re-structure code, enable autoRefresh
2017-07-14 13:21:42 +02:00
Thomas Gelf 998bdb193e TemplatechoiceController: has been lost 2017-07-14 13:21:42 +02:00
Thomas Gelf 2f79920a18 TemplateChoice: small fixes, forms 2017-07-14 13:21:42 +02:00
Thomas Gelf f3a11213f7 cs fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf edc887969e tables: remove obsolete code and files 2017-07-14 13:21:42 +02:00
Thomas Gelf 31d1d44da5 HostController: restrictions are no longer beta 2017-07-14 13:21:42 +02:00
Thomas Gelf 61b1e4b581 ServicesController: remove obsolete code 2017-07-14 13:21:42 +02:00
Thomas Gelf 25f8d075ed ServicetemplateController: reorganize it, add usage 2017-07-14 13:21:42 +02:00
Thomas Gelf 72b86017d1 IcingaHostTable: obsolete, remove 2017-07-14 13:21:42 +02:00
Thomas Gelf 1f113d4828 NotificationsController: no more special base class 2017-07-14 13:21:42 +02:00
Thomas Gelf 8dbf7ef6df dashboard/index: remove logic, dashboard renders 2017-07-14 13:21:42 +02:00
Thomas Gelf 65ddbb02ab IcingaHostForm: use choices and suggestions 2017-07-14 13:21:42 +02:00
Thomas Gelf a48a7f4236 TemplatechoicesController: new routes, slim ctrl 2017-07-14 13:21:42 +02:00
Thomas Gelf 9208c3b53c IcingaHostTemplateChoiceForm: new form 2017-07-14 13:21:42 +02:00
Thomas Gelf 186147a73a ServicetemplatesController: not needed any more 2017-07-14 13:21:42 +02:00
Thomas Gelf 3759a4e48d SuggestController: a few more suggestions 2017-07-14 13:21:42 +02:00
Thomas Gelf 04e22f5a23 ExtensibleSet: completely refactored based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 6e57baf273 HostsController: remove beta restrictions
The table takes care of this right now
2017-07-14 13:21:42 +02:00
Thomas Gelf 5cbcf48480 config/files: do not fail without filterEditor 2017-07-14 13:21:42 +02:00
Thomas Gelf 02c015d163 IndexController: slight fixes, work with new tabs 2017-07-14 13:21:42 +02:00
Thomas Gelf 1c770b9234 DashboardController: play nicely with ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 49747c4dca IcingaHostTemplateChoiceTable: table for choices
(still need to commit the related migration, sorry)
2017-07-14 13:21:42 +02:00
Thomas Gelf 719bd3646d FormDataFilter: re-introduce suggestions 2017-07-14 13:21:42 +02:00
Thomas Gelf 0bfd245cb2 ServicetemplateController: helper method
Helps to shorten lines for now
2017-07-14 13:21:42 +02:00
Thomas Gelf 1e1f62f3f4 BenchmarkCommand: add full hg membership resolver
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf 02a3652c86 Restrictriction: add simple hostgroup restrictions
refs #832
2017-07-14 13:21:42 +02:00
Thomas Gelf b5cdd9de4d ServicetemplateController: show template usage
First rough implementation, debug-output only for now

refs #895
refs #516
2017-07-14 13:21:42 +02:00
Thomas Gelf cb1804111f Controllers: whitespace fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf b753341e64 ServicesDashboard: add a bunch of new Dashlets...
...and related tables
2017-07-14 13:21:42 +02:00
Thomas Gelf 69406d631c ServicesOnHosts: add a new table 2017-07-14 13:21:42 +02:00
Thomas Gelf d877949e60 Services/ObjectsController: rough integration...
...for multiselect on services
2017-07-14 13:21:42 +02:00
Thomas Gelf 200d00d092 SimpleController: new base controller based on ipl 2017-07-14 13:21:42 +02:00
Thomas Gelf 788676b298 IcingaAddServiceToMultipleHostsForm: select...
...multiple hosts and add a service

fixes #894
2017-07-14 13:21:42 +02:00
Thomas Gelf 7496c1aac6 inspect/object: escape PlainObjectRenderer
fixes #942
2017-05-19 11:54:19 +02:00
Thomas Gelf 34a0179103 IcingaMultiEditForm: fix multi-object delete
fixes #677
2017-05-03 12:03:10 +02:00
Thomas Gelf 24b14184be syncrule/index: fix a typo in the view script
fixes #383
2017-05-03 11:28:36 +02:00
Thomas Gelf 2237272b6b SyncRule: do not allow to sync unless some...
...properties have been defined.

fixes #383
2017-05-03 11:24:22 +02:00
Thomas Gelf f91dd5fa0e PropertyModifierCombine: implementation, tests...
...and related changes with some documentation

fixes #922
2017-05-03 10:39:49 +02:00
Thomas Gelf ddcaaa7bcf SyncPropertyForm: re-add related fields
e6e51dc broke this, related fields like 'host' or 'zone' have no longer been
offered. This did not affect existing Sync Rule configurations

fixes #903
2017-04-21 15:03:43 +02:00
Thomas Gelf 360fcfca2d locale/de_DE: compile latest translation 2017-03-14 23:14:06 +01:00
Tobias von der Krone 8142229fae Differentiate notification object and template
Show a different label and description when configuring a notification
object or a template.
2017-03-14 22:57:00 +01:00
Tobias von der Krone 9a9886d263 Allow configuring the zone for notification templates
refs #594
2017-03-14 22:57:00 +01:00
Lee Clemens f7d1444fd9 Permit external HostGroups
refs #384
fixes #748
2017-03-13 22:45:12 +01:00
Thomas Gelf 489d4ab1a3 KickstartForm: let parent handle exceptions 2017-03-13 22:05:05 +01:00
Thomas Gelf a36ed2c23d KickstartForm: prepare for utf8mb4 2017-03-13 21:59:51 +01:00
Thomas Gelf e6e51dc2be SyncPropertyForm: fix error on list sync
fixes #836
2017-03-08 17:04:50 +01:00
Thomas Gelf 41868de7f1 DeploymentController: do not show config tab...
...when required permissions are missing
2017-03-06 21:41:47 +01:00
Thomas Gelf abc18ffd95 ServicesetsCommand: allow to list/fetch sets...
...on CLI

fixes #828
2017-03-02 15:48:42 +01:00
Thomas Gelf 29b917dd18 IcingaHostGroupTable: sort by name
fixes #821
2017-02-27 19:36:05 +01:00
Thomas Gelf b248e8dcae IcingaHostGroupForm: assignment is not required
fixes #814
2017-02-27 19:35:12 +01:00
Thomas Gelf 8f8c8bf841 ServiceController: avoid loop detection error...
...for fake services generated with the `use_var_overrides` property

fixes #820
2017-02-27 19:06:48 +01:00
Thomas Gelf 592b8cb98e locale/de_DE: refresh German translation 2017-02-17 16:55:35 +01:00
Thomas Gelf 0de1987389 IcingaMultiEditForm: prepare elements before...
...adding fields

fixes #707
2017-02-17 16:41:41 +01:00
Thomas Gelf 82e79c810f IcingaServiceSetForm: redirect to host services...
...when adding a set to a single host

fixes #804
2017-02-17 16:35:13 +01:00
Thomas Gelf 099eca0d0b IcingaCommandForm: allow to configure zones
fixes #802
2017-02-17 16:08:57 +01:00
Thomas Gelf 736244e9e9 IcingaServiceSetTable: remove misleading host...
...count
2017-02-17 10:13:34 +01:00
Thomas Gelf 4860082d4b host/services: show applied service sets
fixes #735
2017-02-17 08:44:08 +01:00
Thomas Gelf ac3ea09133 IcingaServiceSetServiceTable: support inherited...
...sets. They should be shown and link to the related parent. Variable overrides
should be possible, deleting the set should not.

fixes #740
2017-02-16 11:45:45 +01:00
Thomas Gelf 13918f7337 host/services: do not show tables based on...
...whether they have content or not. It's too late to take this decision in
the view, as different tables are to be handled differently - in the controlller.

fixes #793
2017-02-16 11:07:23 +01:00
Thomas Gelf f4339e6b1a HostController: did I ever mention...
...that I hate Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen?
2017-02-08 16:14:11 +01:00
Thomas Gelf dc1d572229 HostController: override REST API handling
fixes #759
2017-02-08 12:38:14 +01:00
Thomas Gelf 1a6fbd5cd7 IcingaObjectFieldForm: gracefully handle missing...
...field, as it might have been removed before

refs #751
2017-01-26 09:03:51 +01:00
Thomas Gelf d323a77695 IcingaUserGroupForm: remove zone elements
Has been introduced with 984740, but never worked for groups as those tables
do not even have a zone_id property.

fixes #680
refs #227
2017-01-24 18:29:40 +01:00
Thomas Gelf ddd711e5e8 EndpointCommand: add rough status action 2017-01-24 11:09:37 +01:00
Thomas Gelf 66ee5fb325 IcingaZoneTable: use subquery count()
fixes #742
2017-01-24 10:58:53 +01:00
Thomas Gelf d4b28101a1 HostController: jsut a newline to make phpcs happy 2017-01-18 15:23:30 +01:00
Thomas Gelf 5af80479a5 ServiceForm: support all new kinds of overrides 2017-01-18 15:17:17 +01:00
Thomas Gelf 0506bf2b64 HostController: simplify code 2017-01-18 15:11:14 +01:00
Thomas Gelf a1ed3f4be5 host/services: allow to delete sets
fixes #724
2017-01-18 15:10:39 +01:00
Thomas Gelf c4bfe3171d HostController: do add fake template name...
...into inheritance tree when overriding inherited services

fixes #722
2017-01-18 14:21:29 +01:00
Thomas Gelf 9dd8587d5a KickstartController: useless use of use 2017-01-18 11:21:50 +01:00
Thomas Gelf e4dbdbe808 Kickstart: unify strings 2017-01-16 17:30:22 +01:00
Thomas Gelf 7b6de717bb locale/de_DE: compile new German translation 2017-01-16 17:29:40 +01:00
Thomas Gelf fd3bb68de6 locale: translate recent additions to de_DE 2017-01-16 17:29:14 +01:00
Thomas Gelf b26b209b06 KickstartController: do not fail on missing schema 2017-01-16 11:01:17 +01:00
Thomas Gelf b7a10d296c phpcs: mostly new PSR-2 SpacingAfter/Before checks 2017-01-13 20:54:52 +01:00
Thomas Gelf 9e771f2d5a Fix phpcs complaints 2017-01-13 19:47:54 +01:00
Thomas Gelf d258cb433e HostController: appliedservice is not deprecated 2017-01-13 16:48:44 +01:00
Thomas Gelf bfc571cb9d HostController: show a sets services, not the set 2017-01-13 16:44:16 +01:00
Thomas Gelf af1e146466 ServicesetController: open hosts next to us 2017-01-13 16:42:46 +01:00
Thomas Gelf 02b60ba3d1 IcingaServiceSetServiceTable: do not set obsolete
...property
2017-01-13 16:41:47 +01:00
Thomas Gelf a17f8ab39b IcingaServiceSetHostTable: link to host, not to...
...its services - this is less confusing
2017-01-13 16:40:18 +01:00
Thomas Gelf 8dabfef378 IcingaServiceSetServiceTable: add host support 2017-01-13 16:24:21 +01:00
Thomas Gelf 457fee77a4 IcingaServiceForm: support services from sets...
...on hosts for variable overrides
2017-01-13 16:14:28 +01:00
Thomas Gelf b226ed1341 ServiceController: provide a link back for...
...services on hosts
2017-01-13 16:10:55 +01:00
Thomas Gelf f845c2c2f5 IcingaServiceSetForm: remove the possibility...
...to override fields for all services at once. We need to figure out whether
this feature should really be allowed. It's not that important any more, since
we now allow to modify services once added to the set. Also, fields can now be
overridden at host level.
2017-01-13 15:53:16 +01:00
Thomas Gelf 721db342ea IcingaObjectDatafieldTable: list inherited fields
fixes #14003
2017-01-13 15:23:31 +01:00
Thomas Gelf 4a75804d86 various: change icinga.org to icinga.com
fixes #14001
2017-01-13 13:33:58 +01:00
Thomas Gelf 0d6209c257 host/agent: adjust documentation link 2017-01-13 13:26:21 +01:00
Thomas Gelf 7a3a845570 Forms: try to give dev UI more hints on fluent...
...code
2017-01-13 13:15:01 +01:00
Thomas Gelf 331573fc76 locale: compile German translation
refs #13997
2017-01-13 13:04:41 +01:00
Thomas Gelf 76138d17f1 locale: complete German translation
fixes #13997
2017-01-13 13:00:54 +01:00
Thomas Widhalm c09aef6f61 locale: update German translation 2017-01-13 11:33:07 +01:00
Thomas Gelf 587c302a84 ImportRowModifierForm: allow to modify newly...
...created columns deriving from other property modifiers

fixes #13979
2017-01-12 17:26:06 +01:00
Thomas Gelf 8a8c0882df SyncPropertyForm: provide property modifier...
...target columns in the drop-down

fixes #13977
2017-01-12 16:56:43 +01:00
Thomas Gelf 0e8674c872 IcingaHostForm: allow access to Zone and Agent...
...properties on every host

fixes #13965
2017-01-12 13:44:43 +01:00
Thomas Gelf ef90fea506 ServiceController: provide a 'back'-link for...
...services belonging to a single host
2017-01-02 11:20:28 +01:00
Thomas Gelf 4501935040 ServiceController: fix issue with hidden feature
Services imported with use_var_overrides used to throw an error since we
introduced the new template resolver
2017-01-02 11:09:15 +01:00
Thomas Gelf 886ba0e168 IcingaService (on host): add applied services...
...and improve ServiceSet handling

fixes #13849
2017-01-02 10:51:54 +01:00
Thomas Gelf e05eb60286 IcingaHostAppliedServicesTable: switch parameters 2017-01-02 10:51:29 +01:00
Thomas Gelf 87f88bf0c7 DirectorObjectForm: allow to hook custom code...
...after fields have been added
2017-01-02 10:17:49 +01:00
Thomas Gelf 7a2665646f IcingaServiceForm: restructure to allow more...
...variants with less code

refs #13849
2017-01-02 10:16:55 +01:00
Thomas Gelf e5e012cf56 IcingaHostAppliedServicesTable: new table for...
...applied services

refs #13849
2017-01-02 10:08:38 +01:00
Thomas Gelf 37bdbe265b ActivityLogTable: artificially limit row count
refs #13811
2016-12-28 16:01:48 +01:00
Thomas Gelf 935db47a81 ConfigController: provide quick filter showing...
...own changes in the activity log

refs #13809
2016-12-28 12:39:13 +01:00
Thomas Gelf 726b320d24 IcingaServiceSetForm: improve readability 2016-12-16 13:33:54 +01:00
Thomas Gelf 018629aad0 FormDataFilter: use correct class for text column 2016-12-16 13:26:33 +01:00
Thomas Gelf 36e79b97cd IcingaServiceTemplateTable: do not override...
...anything at all. Now you're sooo empty. Soon you'll die... har har har...

fixes #13585
2016-12-14 21:19:12 +01:00
Thomas Gelf 7e7e2601d3 ObjectFields: prefix filters, respect inheritance
refs #13253
2016-12-14 17:33:13 +01:00
Thomas Gelf 3e92746112 IcingaObjectFieldForm: configure conditional fields 2016-12-14 16:36:33 +01:00
Thomas Gelf ec0ea2ee6d NotificationsController: use new base class...
...with less tabs, less and simpler code

fixes #13565
fixes #13157
2016-12-14 15:04:38 +01:00
Thomas Gelf d38862bad4 objects/table: show the deployment link here too 2016-12-14 14:59:27 +01:00
Thomas Gelf 7f5ae5e321 DashboardController: allow to load other...
...dashboards than the default one
2016-12-14 14:58:51 +01:00
Thomas Gelf 30c2dfad75 NotificationTable: simplify it, provide templates
fixes #13263
2016-12-14 14:57:52 +01:00
Thomas Gelf ade7b1415e ConfigController: do not show an exception...
...when a deployment fails
2016-12-14 14:56:22 +01:00
Thomas Gelf 24bb170889 Dashlet: allow to hide regardless of permissions 2016-12-14 12:34:02 +01:00
Thomas Gelf a6962dc326 Dashboard: show description if any 2016-12-14 12:33:19 +01:00
Thomas Gelf fe489ce094 deploymentLink: typo 2016-12-14 12:32:21 +01:00
Thomas Gelf 4c1ab4dae6 php: just some comments and cleanup 2016-12-13 18:25:14 +01:00
Thomas Gelf db227f9851 MultiEdit: allow to enable/disable multiple hosts
fixes #13547
2016-12-13 16:05:07 +01:00
Thomas Gelf 7c6a10013f AssignFilter: add 'contains' operator
fixes #13133
2016-12-13 14:49:36 +01:00
Thomas Gelf 1dc0aad828 FormDataFilter: correct 'in' operator handling
fixes #13543
2016-12-13 11:39:15 +01:00
Thomas Gelf f1a61e2557 ServiceGroup: allow to assign them to services...
...via assignment rules

fixes #13415
2016-12-13 09:51:52 +01:00
Thomas Gelf 87bd531f2a SuggestController: temporarily add locations 2016-12-07 08:26:15 +01:00
Thomas Gelf 6c53d351a1 locale/translateMe: unused code, allows to...
...translate strings not explicitly available for translation
2016-12-06 08:59:30 +01:00
Thomas Gelf 1683f63e8c ServiceController: give IDEs some hint 2016-12-06 08:54:13 +01:00
Christoph Niemann ddc4b9321b agent helper: add new linux agent script
fixes #12910
2016-11-30 09:45:34 +01:00
Thomas Gelf 4bf26b421d services: provide deploy buttons
fixes #13315
2016-11-25 20:55:48 +01:00
Thomas Gelf 72bb29694d multi-edit: show deployment link 2016-11-25 20:51:02 +01:00
Thomas Gelf 065205dc7a ServiceController: ignore command lookup errors
They can happen when an invalid command has been chosen
2016-11-18 19:54:47 +01:00
Thomas Gelf 14fce02448 DatalistTable: do not show the owner...
...as it has no meaning as of today
2016-11-18 16:00:52 +01:00
Thomas Gelf fd713e6efb Data: allow to search for fields and data lists
fixes #13247
2016-11-18 15:41:33 +01:00
Thomas Gelf 46aac60c7d DatafieldTable: provide usage summary
fixes #13249
2016-11-18 15:40:06 +01:00
Thomas Gelf 040a658477 suggestions: first test implementation to play with 2016-11-17 20:36:59 +01:00
Thomas Gelf 14908d11a4 ServiceController: disable overview for now 2016-11-16 16:17:18 +01:00
Thomas Gelf a3ecddcd9b Revert "IcingaServiceTable: strip down the service table"
Will be added later on

This reverts commit cf6f9d42e2.
2016-11-16 16:16:49 +01:00
Thomas Gelf 2372b40a96 IcingaHostTemplateTable: do not show inheritance
...for now
2016-11-16 16:02:58 +01:00
Thomas Gelf 5407c4fe7c ObjectsController: template table for templates...
...but load the other one first to trick the autoloader
2016-11-16 13:36:07 +01:00
Thomas Gelf 5b58aad56b IcingaHostServiceTable: directly link to the form
...at least for now
2016-11-16 13:36:07 +01:00
Thomas Gelf cf6f9d42e2 IcingaServiceTable: strip down the service table 2016-11-16 13:36:07 +01:00
Thomas Gelf 484e14c445 ServiceController: prepare for an overview site...
...not much content here... yet
2016-11-16 13:36:07 +01:00
Thomas Gelf b23a2437e6 IcingaHostTable: no more imports, show address...
...and related actions for templates
2016-11-16 13:36:07 +01:00
Thomas Gelf 2725ef54e6 IcingaCommandForm: allow to import any command
fixes #12978
2016-11-15 18:23:39 +01:00
Markus Frosch cc34de9b4d ServicesetController: Add hosts view to serviceSets
So you can see and access hosts the serviceset is added to.

refs #12891
2016-11-11 15:33:11 +01:00
Markus Frosch ae70de9755 IcingaServiceSetTable: Fix counter to show distinct counted values
refs #12891
2016-11-11 15:18:21 +01:00
Markus Frosch 1a51e55563 Merge branch 'feature/better-import-table' 2016-11-11 11:30:56 +01:00
Markus Frosch b08f3df882 IcingaServiceSet*: Improve Table and view
Add filter and pagination, and some nice display features.

refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch c50b1b09a2 IcingaServiceTable: Hide ServiceSet Services from applied ones listing
refs #12891
2016-11-11 10:44:22 +01:00
Markus Frosch 699b6a7293 SyncPropertyForm: Only try to enum imports when we are able to
This allows a user to use fields or custom expression for serviceSet.

refs #12891
2016-11-11 10:44:22 +01:00
Thomas Gelf 9292bb8524 config/file(s), deployment: improve usability
* mark formerly chosen file when navigating back
* autorefresh improvements

fixes #13119
2016-11-09 20:37:33 +01:00
Markus Frosch d1077a5616 Import*Table: Show key_column as first column 2016-11-09 14:21:04 +01:00
Thomas Gelf 64f00940b1 config/file: unify look and feel, link back
fixes #13087
2016-11-08 22:16:56 +01:00
Thomas Gelf 7add16751b IcingaServiceSetForm: provide a list url
fixes #13085
2016-11-08 22:11:53 +01:00
Thomas Gelf 8ca17f4e7b StartupLogRenderer: remove heavvy logic from view 2016-11-08 16:48:45 +01:00
Thomas Gelf 8eba20a578 show/activities: show diff also for create/delete
fixes #13077
2016-11-08 16:21:54 +01:00
Thomas Gelf 72fbe80e7b startup.log: improve link handling
fixes #13075
2016-11-08 16:19:06 +01:00
Thomas Gelf 8ce4cf49c0 inspect: show tabs, allow for all hosts
fixes #13073
2016-11-08 16:13:01 +01:00
Thomas Gelf 9725d8f625 runSummary: link action, not action_name
fixes #13067
2016-11-08 11:45:29 +01:00
Thomas Gelf 2b20daa552 FormDataFilter: show groups of any type
fixes #13045
2016-11-07 22:17:15 +01:00
Thomas Gelf 588926a9f9 config/activities: allow to filter them
fixes #12239
2016-11-07 22:04:51 +01:00
Markus Frosch 37f3d1a3e8 SettingsForm(Legacy): Add activation script setting
refs #13049
2016-11-04 16:36:54 +01:00
Markus Frosch 1786d08321 CoreApi: Use DeploymentApiInterface
refs #13049
2016-11-04 14:13:07 +01:00
Markus Frosch 79541be050 SettingsForm(Legacy): Add configuration for a deployment path
refs #13049
2016-11-04 14:10:50 +01:00
Thomas Gelf f67b71a353 SettingsForm: more comfort for v1 users 2016-11-04 10:34:40 +01:00
Markus Frosch 003a100b9c IcingaConfig(Legacy): Add deployment mode for Icinga 1 config
refs #13049
2016-11-04 10:28:11 +01:00
Thomas Gelf 4f2dbdf5e8 HostController: add set link 2016-11-04 09:37:12 +01:00
Thomas Gelf 76ff4ebfd2 Sets: enable them 2016-11-04 09:37:12 +01:00
Markus Frosch 1455831a3c IndexController: Show dashboard as soon as schema is initialized
fixes #13047
2016-11-04 09:36:47 +01:00
Thomas Gelf f2b178ecec SettingsForm: show stored values
fixes #13042
2016-11-03 22:04:06 +01:00
Thomas Gelf 1afe452d29 SettingsForm: log level reminder
fixes #13042
2016-11-03 20:42:56 +01:00
Thomas Gelf b2c834e7a4 permissions: provide new ones and enforce them
fixes #13039
2016-11-03 16:06:35 +01:00
Thomas Gelf 7e4479a76a HostController: hide forgotten set link 2016-11-03 15:13:55 +01:00
Thomas Gelf f286b5ad08 Revert "ServiceSet: re-enable them"
This reverts commit c073278ee3.
2016-11-03 15:04:42 +01:00
Thomas Gelf 58245108c4 Dashboard: show a nice message if no dashboard...
...is available

fixes #13027
2016-11-03 14:27:15 +01:00
Thomas Gelf 8b2f43e4ff SettingsForm: hiding v1-masterless for now 2016-11-03 14:22:08 +01:00
Markus Frosch 802b923df6 IcingaConfig: Add v1-masterless config format
Do not render a passive checkable to the master zone then.

refs #12919
2016-11-03 13:41:44 +01:00
Thomas Gelf 4a82bd5b90 IcingaConfig: count apply rules and show them 2016-11-03 13:35:44 +01:00
Thomas Gelf c073278ee3 ServiceSet: re-enable them 2016-11-03 12:54:15 +01:00
Thomas Gelf a540fd08aa cli/objects: provide new commands
fixes #12965
2016-11-03 12:32:51 +01:00
Thomas Gelf d006449564 inspect: enforce permissions
fixes #11763
fixes #11764
2016-11-03 11:49:04 +01:00
Thomas Gelf 6c23a02252 Test: add test suite prototype and command
refs #12905
2016-11-02 19:30:11 +01:00
Thomas Gelf 468a2719a7 DirectorActivityLog: optionally log to file/syslog
fixes #12976
2016-11-02 18:40:43 +01:00
Thomas Gelf 984740db9a IcingaUer(Group)Form: allow to specify a zone
fixes #11754
2016-11-02 18:04:35 +01:00
Thomas Gelf 57e4c441bd deploymentlink: show even when there are only...
...unrelated changes

fixes #12032
2016-11-02 17:37:04 +01:00
Lee Clemens f38ded6223 IcingaUserForm: fix object_name description
fixes #13023
2016-11-02 14:34:20 +01:00
Thomas Gelf aec44c90d8 tables: use db, not connection, less code 2016-11-02 14:27:23 +01:00
Thomas Gelf ee0def7d2b Lots of files: make IDE users happy 2016-11-01 18:28:36 +01:00
Tobias von der Krone 48c4ee7c23 CommandForm: Make imports optional on commands
Specifying an import should be optional for Commands. You have to
specify the execution method, e.g. "Plugin Check Command", anyway so
that the correct base template will be imported by icinga director
automatically.

fixes #12979
2016-10-31 08:38:06 +00:00
Thomas Gelf 55e0ebd02d kickstart: add new route /kickstart allowing one...
...to re-run the kickstart wizard

fixes #13014
2016-10-31 08:34:26 +00:00
Thomas Gelf f41d453448 DeployConfigForm: provide link-like form for...
...deployments

fixes #11854
2016-10-30 10:52:14 +00:00
Thomas Gelf a4ef711ef0 SyncProperty: simplify code and form
fixes #12700
2016-10-29 21:25:42 +00:00
Thomas Gelf 6642d8cf74 config/diff: allow to flip shown configs, even...
...undeployed ones
2016-10-27 20:40:57 +00:00
Thomas Gelf 66e5158ccc Dashboard: replace it with a modular one
fixes #12997
2016-10-27 17:58:31 +00:00
Thomas Gelf d59604bd93 ServiceSet: rework sets, allow for vars and...
...all other service properties when adding services to a set
2016-10-25 23:12:23 +00:00
Thomas Gelf 5de24c6ec4 IcingaServiceSetForm: restructure the form 2016-10-25 23:12:23 +00:00
Thomas Gelf 7f34e4bdf3 IcingaServiceSet: improve work with imports 2016-10-25 23:12:23 +00:00
Thomas Gelf 4929f6b228 Host: show a related service set list 2016-10-25 23:12:23 +00:00
Thomas Gelf dedaea0319 IcingaServiceSetForm: prepare custom fields 2016-10-25 23:12:23 +00:00
Thomas Gelf bed122d906 IcingaServiceSetForm: complete description 2016-10-25 23:12:23 +00:00
Thomas Gelf 696e63b4ec Servicesset: add controller, form and table 2016-10-25 23:12:23 +00:00
Markus Frosch 8a5c111990 IcingaServiceTable: Remove no longer used code from appliedOnes
refs #12033
2016-10-25 10:48:31 +02:00
Thomas Gelf 72ce3cfb33 FormDataFilter: disable 'is true / set' for now 2016-10-25 02:38:45 +00:00
Thomas Gelf ad7c5bc997 IcingaHost: fix tests 2016-10-25 00:30:12 +00:00
Markus Frosch b3eb5ea102 IcingaServiceTable: Update apply rule rendering
For new storage format, and change to table.

refs #12033
2016-10-24 14:43:52 +02:00
Thomas Gelf 0d86c24cd8 Huge change, getting rid of legacy assignment...
...code. All objects should work with the new code base right now
2016-10-24 03:41:37 +00:00
Thomas Gelf aeafec37d7 FormDataFilter: simplify HTML, Code and style 2016-10-23 04:23:38 +00:00
Thomas Gelf 24478ede12 DataFilter: json_en/decode when passing to form 2016-10-23 03:14:52 +00:00
Thomas Gelf 8519a287dc FormDataFilter: flip button order 2016-10-22 07:02:09 +00:00
Thomas Gelf 3fbf3e9115 IcingaServiceForm: use new assign_filter property 2016-10-22 07:02:09 +00:00
Thomas Gelf 8ade496fdc DataFilter: refactor the whole class(es) 2016-10-22 07:02:09 +00:00
Thomas Gelf 037c588d26 FormDataFilter: change icon for expression 2016-10-22 07:02:09 +00:00
Thomas Gelf 9349ba0f2a FormDataFilter: new implementation for assignments
First prototype
2016-10-22 07:02:09 +00:00
Thomas Gelf 1f660b514a IcingaServiceForm: allow empty name for apply rule 2016-10-22 06:09:10 +00:00
Thomas Gelf 7c31b37f27 IcingaServiceForm: remove duplicate code
Elements in this list are optional and may be used in various forms,
so keeping this in the base class is preferrable here
2016-10-22 06:09:00 +00:00
Thomas Gelf 5b4e7509f4 Just a couple of phpcs complaints fixed 2016-10-22 06:08:52 +00:00
Thomas Gelf 0791b900f3 QuickBaseForm: allow translation tools find 'None' 2016-10-22 06:08:44 +00:00
Corentin Ardeois 3e30d34098 Use `config` variable in apply for rules
* use `config` instead of `value` in apply for rules
* update documentation

refs #11976
2016-10-22 06:07:57 +00:00
Corentin Ardeois e7bd4343b5 Add support for Apply for rules in services
Apply for rules are defined through `apply_for` property
Only Array custom variables will be eligible in apply_for dropdown.

API Example:
```bash
 ./director-curl POST director/service?name=my_service '{"apply_for": "for (checked_tcp_port in host.vars.checked_tcp_ports)" }'
 ```

 Will render as:
 ```
  apply Service "my_service" for (checked_tcp_port in host.vars.checked_tcp_ports) {
      ...
  }
  ```
Feature: https://dev.icinga.org/issues/11976

Depends-On: https://github.com/Icinga/icingaweb2-module-director/pull/20
refs #11976
2016-10-22 06:00:54 +00:00
Thomas Gelf 9414068eee IcingaMultiEditForm: remove superfluous dot 2016-10-20 02:13:19 +00:00
Thomas Gelf 32790dbedc IcingaServiceForm: move hint to custom vars group 2016-10-20 01:35:36 +00:00
Thomas Gelf d5234f723d HostController: no loop check for 'fake' services
Inherited services do not exist in the db. As many services would
carry their template's name, the fallback to a name-based loop check
would trigger an erraneous error. So we trigger no preliminary loop
check for those now.

fixes #12938
2016-10-20 01:09:34 +00:00
Thomas Gelf 8679dc8a94 Import/SyncruleController: autorefresh 2016-10-18 17:34:18 +00:00
Thomas Gelf 927d59a3b3 Datafield: provide better explainations 2016-10-17 17:48:04 +00:00
Thomas Gelf 8c2d5ec7f9 Data: flip field/list order, as fields are...
...more important
2016-10-17 17:24:27 +00:00
Thomas Gelf baf0d40ea6 IcingaCommandArgumentForm: fix typo 2016-10-17 09:33:07 +00:00
Thomas Gelf a8c37695a9 IcingaMultiEditForm: translate '' to null 2016-10-14 20:13:35 +00:00
Thomas Gelf 64147e4206 objects/form: add missing view script for multiedit 2016-10-14 19:36:59 +00:00
Thomas Gelf 23ef9a707c MultiEdit: make it independent of an object type 2016-10-14 18:32:34 +00:00
Thomas Gelf 6a54e00402 MultiEdit: code cleanup, add custom var support
fixes #12465
fixes #12906
fixes #11614
2016-10-14 17:17:07 +00:00
Thomas Gelf 69237b8ae9 MultiEditForm: first shot, provides imports
refs #12465
2016-10-14 13:46:06 +00:00
Thomas Gelf 6f46e6b496 YesNo: new boolean-like form fields
fixes #12927
2016-10-14 13:39:43 +00:00
Markus Frosch f527e31b14 Merge branch 'bugfix/endpoint-remove-import-12920'
fixes #12920
2016-10-13 16:54:34 +02:00
Markus Frosch 255a02cf36 IcingaEndpointForm: Render imports input only when set
We don't need Endpoint templates in GUI.

refs #12920
2016-10-13 16:39:55 +02:00
Thomas Gelf 71b3459540 DirectorDatafieldForm: allow to wipe all related...
...custom variables when removing a field

fixes #12916
2016-10-13 14:02:51 +00:00
Markus Frosch 1a2cede13f ServiceController|IcingaServiceForm: Catching NestingError for the form to load
fixes #11803
2016-10-13 12:25:30 +02:00
Thomas Gelf 628df65fd4 HostController: catch NestingError when...
...resolving agent property

refs #11803
2016-10-13 10:05:35 +00:00
Thomas Gelf 18882324ee ShowController: let the object provide the config 2016-10-13 09:20:39 +00:00
Thomas Gelf c044de89de SyncPropertyForm: allow to sync m:n relations 2016-10-12 08:59:42 +00:00
Thomas Gelf acbce05c08 SyncRuleForm: hardcode order, add new types
refs #11361
2016-10-12 08:52:48 +00:00
Thomas Gelf f2f04c44e8 ServiceSet: add CLI command, fix key 2016-10-12 07:31:00 +00:00
Thomas Gelf fe332897be IcingaHostServiceTable: sort host services by name
fixes #12752
2016-10-11 14:41:25 +00:00
Thomas Gelf 0ac7c0f448 IcingaServiceForm: fix setting submit label 2016-10-11 14:36:07 +00:00
Thomas Gelf 960fb4a3d0 IcingaServiceForm: allow to delete Services...
...created in an automated way while still allowing one to override
vars.
2016-10-11 14:33:44 +00:00
Konstantin Kelemen 8b4c058c47 host/agent: corrected a misleading string 2016-10-11 12:40:34 +00:00
Thomas Gelf 3423ddf605 ShowController: try hard to render erraneous...
...activity log entries
2016-10-09 13:12:18 +00:00
Thomas Gelf bd3ae6d181 PropertymodifierTable: show target column if any
refs #12856
2016-10-06 19:37:01 +00:00
Thomas Gelf c0a8c49d4f show/activitylog: fallback rendering for hosts...
...with obsolete parents, that have been removed in the meantime
2016-10-06 16:29:50 +00:00
Thomas Gelf f71bfb1204 SyncPropertyForm: show sorted source columns 2016-10-06 16:16:06 +00:00
Marc DeTrano 348cb1aa63 IcingaCommandArgument: allow expressions in set_if
fixes #12153
2016-09-23 15:18:58 +00:00
Thomas Gelf 1a3467d6d1 FormExtensibleSet: render description if any 2016-09-16 21:54:55 +00:00
Thomas Gelf ffe16b472c IcingaServiceForm: no override check on new object 2016-09-09 13:25:57 +00:00
Thomas Gelf 82bd6be8bf IcingaHostGroupForm: keep internal method protected 2016-09-09 10:01:02 +00:00
Thomas Gelf 217fb38517 IcingaObject: implement supportsAssignRules 2016-09-09 09:06:31 +00:00
Thomas Gelf b6d97171e1 ConfigController: shift checkforchanges first...
...would fail otherwise
2016-09-09 08:40:14 +00:00
Markus Frosch a90595a004 IcingaHostGroup: Add apply statements 2016-09-09 08:32:42 +00:00
Thomas Gelf 29231ef8c8 config/deployments: collect uncollected stages...
...if any when refreshing the history

refs #11979
2016-09-09 07:21:32 +00:00
Thomas Gelf b2b189c425 IcingaServiceForm: support use_var_overrides...
...even for single host-assigned services
2016-09-08 18:43:25 +00:00
Thomas Gelf 274e787cb4 CLI/service: fix issues with multi-column key
fixes #12014
fixes #12673
2016-09-08 18:02:47 +00:00
Thomas Gelf cc722578b6 IcingaServiceForm: fix null modification 2016-09-08 16:19:57 +00:00
Thomas Gelf f8ed937ffa IcingaServiceForm: adjust overrides for host-...
...generated services
2016-09-08 13:10:42 +00:00
Thomas Gelf 8dd7fcd13b IcingaHost, IcingaServiceForm: fix parse error...
...on PHP < 5.5
2016-09-08 11:32:41 +00:00
Thomas Gelf 6cc1a90b0a IcingaServiceForm: handle overrides
fixes #12546
2016-09-08 11:25:48 +00:00
Thomas Gelf a57dd2f505 ServicegroupsController: remove obsolete tab 2016-09-08 08:25:35 +00:00
Thomas Gelf 061705f52d ConfigController: add settings tab and form 2016-09-05 19:16:35 +00:00
Thomas Gelf 73eca56601 locale/de_DE: recompile translations 2016-09-05 14:48:45 +00:00
Lee Clemens 960fe14355 SyncRuleForm: fix typo of policy 2016-09-05 14:47:29 +00:00
Thomas Gelf 029907f01f TimePeriodRange: ranges should be more generic...
...as they will not only be used in timeperiods
2016-08-31 16:23:23 +00:00
Thomas Gelf a64e36b111 Settings: remove all legacy getSettings calls 2016-08-30 07:52:48 +00:00
Thomas Gelf 336257680c Settings: remove settings logic from DB...
...and keep helper method for easy instantiation
2016-08-27 13:20:03 +00:00
Thomas Gelf b6d59b9aca IcingaCommand: fix skip_key handling
refs #11554
refs #11918
2016-08-26 07:00:45 +00:00
Thomas Gelf 7323f73327 IcingaCommandArgumentTable: show arguments sorted 2016-08-25 20:49:56 +00:00
Thomas Gelf 8c42e0f7d6 IcingaCloneObjectForm: get cloned id AFTER store
fixes #11856
2016-08-24 14:49:11 +00:00
Thomas Gelf cb59c61d66 ServicesController: remove Services tab
fixes #12324
2016-08-23 16:06:05 +00:00
Thomas Gelf 84b035ec24 objects/tree: enable autorefresh...
...and some coding style fixes

fixes #12451
2016-08-23 15:11:42 +00:00
Thomas Gelf b5d6139893 ImportsourceController: do not show status unless...
...we show them
2016-08-23 14:26:06 +00:00
Thomas Gelf 204972eb7e ImportRowModifierForm: superfluous whitespace 2016-08-23 14:23:18 +00:00
Thomas Gelf 6f5feda5e0 config/file: quickfix for check command links 2016-08-23 14:22:06 +00:00
Thomas Gelf 56a7cb285d host/services: show inherited services...
...and magically applied ones
2016-08-23 14:18:54 +00:00
Thomas Gelf fbd1adba39 IcingaHostAppliedForServiceTable: new table 2016-08-23 14:04:48 +00:00
Thomas Gelf 9ccab4c9cf ServiceController: show host if any 2016-08-23 13:48:44 +00:00
Thomas Gelf d311b15399 IcingaCommandArgumentForm: trim argument name
fixes #11548
2016-08-02 11:13:43 +00:00
Thomas Gelf 54643fe5cd IcingaArguments: fix argment removal for forms
fixes #11536
2016-08-01 11:06:52 +00:00
Thomas Gelf 52e412002f IcingaCommandArgumentForm: store command, not args
refs #11536
2016-08-01 10:45:47 +00:00
Thomas Gelf a4d6ed1b6e show/activitylog: render and diff related files
fixes #12265
2016-08-01 07:05:21 +00:00
Thomas Gelf 2aa8a55c3b deployment: link files with errors...
...and others, at least before 2.5.0
2016-07-28 07:13:07 +00:00
Thomas Gelf c46f9d52e6 config/file: link to generated objects 2016-07-28 07:11:09 +00:00
Thomas Gelf 247ff40459 cli/config: add profiler 2016-07-22 17:20:57 +02:00
Thomas Gelf 0a33e4f1ed CLI: support commands
refs #12202
2016-07-22 02:17:06 +02:00
Lee Clemens b93f83eddc fix typo 2016-07-21 22:39:00 +02:00
Lee Clemens fe0da623a7 Fix it's and lot's contractions
"it's" means "it is", whereas "its" is possessive
2016-07-21 22:37:28 +02:00
Thomas Gelf 805a7c687c JobsCommand: support standalone 'forever' as...
...shown in the documentation
2016-07-20 17:42:33 +02:00
Thomas Gelf 9a6320c2f4 ImportSource: use target_property for transforms 2016-07-20 15:21:07 +02:00
Thomas Gelf f12e4b2033 ImportSource: provide applyModifiers helper method 2016-07-20 14:25:18 +02:00