Commit Graph

586 Commits

Author SHA1 Message Date
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 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 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 551039e42b Commandtemplate: add missing controller
fixes #1060
2017-08-25 16:28:22 +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 ee21c6320a SuggestController: do not fail with no vars...
...and clean up some code
2017-08-25 12:05:02 +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 a89d6aa548 SuggestController: add missing UserTemplates
fixes #1061
2017-08-21 23:06:32 +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 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 3dce2a5d06 SyncpropertyTable: allow to search and sort
fixes #1085
2017-08-19 23:07:25 +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 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 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 578446d79c ImportSourceDetails: new dedicated class, plus..
...a missing new controller class
2017-08-16 12:01:25 +02:00
Thomas Gelf 5311f37708 Syncrule/Importsource: add dedicated controllers 2017-08-16 09:43:05 +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 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 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 d95512ce08 CustomvarVariants: one more table, showing...
...distinct values for a specific var
2017-07-26 11:53:42 +02:00
Thomas Gelf c2a6bef46e phperror/error: provide a failsafe error message
...for PHP 5.3

fixes #1033
2017-07-26 11:49:51 +02:00
Thomas Gelf cc01446269 ActivityLogTable: fix range/author filtering 2017-07-26 09:25:58 +02:00
Thomas Gelf f2ad5884ea IcingaAppliedServiceTable: base on ipl 2017-07-26 09:22:41 +02:00
Thomas Gelf 098cd0a57a Sync: completely refactor table, form, controller 2017-07-25 17:53:59 +02:00
Thomas Gelf c0e723c57e ActivityLog: preserve object when switching tab 2017-07-25 14:20:39 +02:00
Thomas Gelf f44afef214 ActivityLog: refactor code, fix HTML, use ipl 2017-07-25 14:04:08 +02:00
Thomas Gelf fadbde5e9b HostForm: take over logic from base form, clean up 2017-07-25 10:18:07 +02:00
Thomas Gelf c295218a5c HostController: code cleanup, little fixes, tabs 2017-07-24 10:52:36 +02:00
Thomas Gelf 42723ff534 SelfServiceController: no non-api requests 2017-07-21 17:28:55 +02:00
Thomas Gelf d97022bf88 SelfServiceController: fix transformation check 2017-07-21 12:06:10 +02:00
Thomas Gelf cfabbf25e0 CommandArguments: provide quickSearch 2017-07-21 08:23:52 +02:00
Thomas Gelf 5b97e477b4 SettingsController: re-add module config page
fixes #1025
2017-07-20 22:35:41 +02:00
Thomas Gelf 44458d2eec CommandArguments: refactor table, controller 2017-07-20 22:29:00 +02:00
Thomas Gelf 068ba20af2 HostController: indentation 2017-07-20 17:27:08 +02:00
Thomas Gelf d16bc24b1c Commands: show external commands separately 2017-07-20 17:19:51 +02:00
Thomas Gelf 6db1f01b6e SettingsController: more explicit title 2017-07-20 17:00:25 +02:00
Thomas Gelf 53a9624db6 Service: links, actions 2017-07-20 17:00:03 +02:00
Thomas Gelf 408e3753ab AgentWizard: add new functionality 2017-07-20 16:58:48 +02:00
Thomas Gelf 8a60e9f041 Data: case 2017-07-20 15:10:12 +02:00
Thomas Gelf 31d65fadc2 Deployment: add Info class, refactor LogRenderer
No more view script, based on ipl
2017-07-20 11:06:20 +02:00
Thomas Gelf cda6970594 ipl: Components are now Widgets 2017-07-20 10:19:32 +02:00
Thomas Gelf fa955b0449 ConfigController: use all the shiny new components
New tables, Deployment info, tabs
2017-07-20 08:24:00 +02:00
Thomas Gelf 44f1ddc891 Dashboards: allow to ship tabs, use them to...
...improve usability
2017-07-19 18:37:19 +02:00
Thomas Gelf ea7f949cda HostController: fix applied service tab handling 2017-07-14 16:03:00 +02:00
Thomas Gelf 22d06b8362 SuggestController: relax restrictions 2017-07-14 15:47:11 +02:00
Thomas Gelf fe52ac507a SuggestController: add notificationtemplates 2017-07-14 15:39:29 +02:00
Thomas Gelf dc110e87ed Notifications: add usage overview and table 2017-07-14 15:21:08 +02:00
Thomas Gelf d61b93d63d Inspect: we expect an object, not a name 2017-07-14 14:57:01 +02:00
Thomas Gelf e200221529 data/vars: add a new table
Also cleaned up some obsolete code

fixes #1016
2017-07-14 13:21:42 +02:00
Thomas Gelf acddf07849 DataTabs: remove them from the controller 2017-07-14 13:21:42 +02:00
Thomas Gelf 1c4d6598c0 Notifications: allow access to apply rules with...
...director/notifications permission

fixes #1015
2017-07-14 13:21:42 +02:00
Thomas Gelf 188349a3c1 data/fields: title first 2017-07-14 13:21:42 +02:00
Thomas Gelf 6874a5f90c Dashboards: restructured
fixes #1014
2017-07-14 13:21:42 +02:00
Thomas Gelf 09a5905147 SelfService: use ! as an Array delimiter...
...for custom PS serialization
2017-07-14 13:21:42 +02:00
Thomas Gelf f12271f7a3 HostsController: indentation 2017-07-14 13:21:42 +02:00
Thomas Gelf c381fb76f0 SelfService: add endpoints_config
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf 4830a2a879 HostsController: renew multiselect action, clean up 2017-07-14 13:21:42 +02:00
Thomas Gelf c58d9f321b SelfService: ship director_host_object
refs #486
2017-07-14 13:21:42 +02:00
Thomas Gelf fe249a18be Settings: use ipl, clean up, fix array handling 2017-07-14 13:21:42 +02:00
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