Commit Graph

1226 Commits

Author SHA1 Message Date
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
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 b675d37b6f CloneObject: use modern loading 2017-07-25 10:16:15 +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 ad791918bc IcingaHostSelfServiceForm: fail early if template
...is not for Agents
2017-07-21 15:46:33 +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 28f322a107 IcingaObjectDatafieldTable: cast to int when...
...comparing ids

fixes #726
2017-07-20 15:19:57 +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 1ba276cf15 DeploymentLinkForm: introduce new form 2017-07-20 09:24:42 +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 8c8c78b7c0 DeployConfigForm: inherit from DirectorForm 2017-07-19 19:08:57 +02:00
Thomas Gelf 37b3a8da82 Activity/DeploymentLogTable: completely refactored 2017-07-19 18:45:12 +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 70034b5afe ApiKey: add new related forms 2017-07-19 18:22:49 +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 95769c3ee2 Modifier: add a description field
fixes #465
2017-07-14 14:45:25 +02:00
Thomas Gelf 2cdba2aa65 Import and Sync: add description fields
fixes #1018
2017-07-14 14:27:05 +02:00
Thomas Gelf 350bc34043 FormDataFilter: missing use of use 2017-07-14 13:48:48 +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 776c98b910 IcingaServiceVarTable: remove obsolete table 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 05d8e5bb00 Datalist: Allow to restrict entries by role
fixes #1012
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 48e649439b SelfServiceSettings: comment for future settings 2017-07-14 13:21:42 +02:00
Thomas Gelf bf2b90fd6c Settings: fix global zone defaults and settings 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
Max Stephan 9f1148ee9d IcingaCommandArgument: $hostname$ -> $host.name$
https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/monitoring-basics#host-runtime-macros
(3.4.2. Host Runtime Macros)
$hostname$ doesn't work
2017-07-14 13:21:42 +02:00
Bernd Arnold 7e2b8ce97b Object: fix typos
throught -> through

Since every sentence ends with a dot here, I've also added a dot for the last
sentence.

fixes #990
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 8216daa3af Core: give empty list on 404, remove obsolete...
...view scripts
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 373d01ad64 DirectorDataFieldForm: make sure object exists...
...even when an exception occurs
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 251b97c023 SelfServiceSettingsForm: fix setting name 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 6b10cdc3f7 IcingaHostForm: allow to set api_key for templates
refs #486
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 3564cb04f8 objects/tree: this is no longer needed 2017-07-14 13:21:42 +02:00
Thomas Gelf 120a7532a1 ObjectController: fix history and fields 2017-07-14 13:21:42 +02:00
Thomas Gelf efe6cfbbaa QuickTable: every QuickTable is ValidHtml 2017-07-14 13:21:42 +02:00
Thomas Gelf 9e044c558e IcingaServiceForm: allow to use choices 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 22d34b933a ServiceSetServicesTable: use 'disabled# class
fixes #984
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 a4e5bb5559 tables: we are ValidHtml 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 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