Commit Graph

494 Commits

Author SHA1 Message Date
Thomas Gelf fbfa2c935c Kickstart: fix tabs and title 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
Thomas Gelf aca6d812f1 Notifications: make tabs fit dashlets, no objects 2017-07-14 13:21:42 +02:00
Thomas Gelf e27bb05fb1 Inspect: completely refactored
* new tree renderer
* more tables with details
* styling
* allow to show status

fixes #1003
fixes #1005
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
Thomas Gelf 3173b885e8 Data and more: code cleanup, little fixes 2017-07-14 13:21:42 +02:00
Thomas Gelf 46d24e7600 GroupMemberTable, SelfServiceController: cs 2017-07-14 13:21:42 +02:00
Thomas Gelf 0c7e3eee41 Data: controller, table, form - ipl adjustments 2017-07-14 13:21:42 +02:00
Thomas Gelf 180fc2ccfa Datafield: on rename ask whether to also rename vars
fixes #818
2017-07-14 13:21:42 +02:00
Thomas Gelf 2691081349 HosttemplateController: introduce usage view
fixes #884
2017-07-14 13:21:42 +02:00
Thomas Gelf 5ad777a7cc SelfServiceController: fix check for unset values 2017-07-14 13:21:42 +02:00
Thomas Gelf 91e9cec1e0 SelfService: various changes
* Allow to enable NSClient++
* Allow to fetch global settings with the template key
* Restructure some methods
2017-07-14 13:21:42 +02:00
Thomas Gelf e566d32ccf HostController: one more fix for JSON 2017-07-14 13:21:42 +02:00
Thomas Gelf ca1371d8b3 ConfigController: use new response handling 2017-07-14 13:21:42 +02:00
Thomas Gelf 427cb2c050 SelfService: provide ticket
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 7a1dbd5334 HostController: fix agent tab activation 2017-07-14 13:21:42 +02:00
Thomas Gelf 5931c4ee5e SelfService: ship installer hashes
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 0fa784e0a9 SelfService: add api-version 2017-07-14 13:21:42 +02:00
Thomas Gelf 062bc717fc Settings: fix form handling and typo
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 27a51ac34c SelfService: implement powershell-parameters
fixes #486
2017-07-14 13:21:42 +02:00
Thomas Gelf c1e056c749 HostController: rename obsolete method 2017-07-14 13:21:42 +02:00
Thomas Gelf 4fe2b0e541 SelfService: controller, form, admin dashlet
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 4870c4fcfa SettingsController: cleanup 2017-07-14 13:21:42 +02:00
Thomas Gelf 086e081268 SelfServiceSettings: settings for the new Self...
...Service API feature

refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 9166bebd2c ServiceController: fix clone link, remove useless
...code
2017-07-14 13:21:42 +02:00
Thomas Gelf 04becc1582 TemplatechoicesController: less helper methods 2017-07-14 13:21:42 +02:00
Thomas Gelf 8b882411e5 Templatechoice(s)Controller: shorten code 2017-07-14 13:21:42 +02:00
Thomas Gelf ceebe08ecd TemplateChoice: work without form loader 2017-07-14 13:21:42 +02:00
Thomas Gelf 0ec5ec8197 TemplateChoice: delegate storing members to...
...the object, use a single form
2017-07-14 13:21:42 +02:00
Thomas Gelf 99c3ddcd55 SchemaController: fix compatibility, even if...
...currently unused
2017-07-14 13:21:42 +02:00
Thomas Gelf b390dd152e CommandArguments: no more view script 2017-07-14 13:21:42 +02:00
Thomas Gelf a368e87c02 ServicesetController: remove legacy code 2017-07-14 13:21:42 +02:00
Thomas Gelf 0aff644749 HostController: silently discard monitoring errors
fixes #988
2017-07-14 13:21:42 +02:00
Thomas Gelf f0059a38fc HostController: get rid of legacy view-based code 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 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 f3a11213f7 cs fixes 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 1f113d4828 NotificationsController: no more special base class 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 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 6e57baf273 HostsController: remove beta restrictions
The table takes care of this right now
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 0bfd245cb2 ServicetemplateController: helper method
Helps to shorten lines for now
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 788676b298 IcingaAddServiceToMultipleHostsForm: select...
...multiple hosts and add a service

fixes #894
2017-07-14 13:21:42 +02: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 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 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 d4b28101a1 HostController: jsut a newline to make phpcs happy 2017-01-18 15:23:30 +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 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 b226ed1341 ServiceController: provide a link back for...
...services on hosts
2017-01-13 16:10:55 +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 935db47a81 ConfigController: provide quick filter showing...
...own changes in the activity log

refs #13809
2016-12-28 12:39:13 +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 7f5ae5e321 DashboardController: allow to load other...
...dashboards than the default one
2016-12-14 14:58:51 +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 db227f9851 MultiEdit: allow to enable/disable multiple hosts
fixes #13547
2016-12-13 16:05:07 +01:00
Thomas Gelf 87bd531f2a SuggestController: temporarily add locations 2016-12-07 08:26:15 +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 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 fd713e6efb Data: allow to search for fields and data lists
fixes #13247
2016-11-18 15:41:33 +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 484e14c445 ServiceController: prepare for an overview site...
...not much content here... yet
2016-11-16 13:36:07 +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
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
Thomas Gelf 64f00940b1 config/file: unify look and feel, link back
fixes #13087
2016-11-08 22:16:56 +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 8ce4cf49c0 inspect: show tabs, allow for all hosts
fixes #13073
2016-11-08 16:13:01 +01:00
Thomas Gelf 588926a9f9 config/activities: allow to filter them
fixes #12239
2016-11-07 22:04:51 +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 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 c073278ee3 ServiceSet: re-enable them 2016-11-03 12:54:15 +01:00
Thomas Gelf d006449564 inspect: enforce permissions
fixes #11763
fixes #11764
2016-11-03 11:49:04 +01: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 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 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 696e63b4ec Servicesset: add controller, form and table 2016-10-25 23:12:23 +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 23ef9a707c MultiEdit: make it independent of an object type 2016-10-14 18:32:34 +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 3423ddf605 ShowController: try hard to render erraneous...
...activity log entries
2016-10-09 13:12:18 +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 b6d97171e1 ConfigController: shift checkforchanges first...
...would fail otherwise
2016-09-09 08:40:14 +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 f8ed937ffa IcingaServiceForm: adjust overrides for host-...
...generated services
2016-09-08 13:10:42 +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 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 336257680c Settings: remove settings logic from DB...
...and keep helper method for easy instantiation
2016-08-27 13:20:03 +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 56a7cb285d host/services: show inherited services...
...and magically applied ones
2016-08-23 14:18:54 +00:00
Thomas Gelf 9ccab4c9cf ServiceController: show host if any 2016-08-23 13:48:44 +00:00
Thomas Gelf a4d6ed1b6e show/activitylog: render and diff related files
fixes #12265
2016-08-01 07:05:21 +00:00
Thomas Gelf c46f9d52e6 config/file: link to generated objects 2016-07-28 07:11:09 +00:00
Thomas Gelf bcbe321063 Importrun: add dedicated view script, improve...
...controller
2016-07-13 10:19:51 +02:00
Thomas Gelf 4de8bfd88c host/agent: provide Windows newlines 2016-06-28 02:01:05 +02:00
Thomas Gelf f7ddbaf2d7 host/agent: provide download for Windows Agent 2016-06-28 01:55:43 +02:00
Thomas Gelf 4f7647c258 ShowController: remove legacy 'disabled' check 2016-06-26 16:34:36 +02:00
Thomas Gelf 8068fa4e03 ListController: add autorefresh for sync and import 2016-06-26 16:30:58 +02:00
Thomas Gelf 1915e4c42b ImportrunController: cleanup 2016-06-26 16:30:12 +02:00
Thomas Gelf 6e4940d712 Importsource: drop run action 2016-06-26 15:56:35 +02:00