Commit Graph

3439 Commits

Author SHA1 Message Date
Johannes Meyer 2d24828230 Add web installer
Logic is still missing and follows later.

refs #7163
2014-09-29 14:23:42 +02:00
Johannes Meyer 4a14dc5916 Add interface for setup wizards
refs #7163
2014-09-29 14:19:05 +02:00
Johannes Meyer 5d6391242c Add interface for installers
refs #7163
2014-09-29 14:18:50 +02:00
Johannes Meyer 07d25e8bed Fix form tests 2014-09-29 12:56:36 +02:00
Johannes Meyer 243dd19281 Add AdminAccount page
refs #7163
2014-09-29 12:29:36 +02:00
Johannes Meyer b6b7814e8b Add GeneralConfig page
refs #7163
2014-09-29 12:29:13 +02:00
Johannes Meyer 5afda8a13e Add AuthBackend page
refs #7163
2014-09-29 12:28:12 +02:00
Johannes Meyer bd8f480cd0 Add LdapResource page
refs #7163
2014-09-29 12:27:58 +02:00
Johannes Meyer b782e790f4 Add DbResource page
refs #7163
2014-09-29 12:27:43 +02:00
Johannes Meyer 61f0ce65e0 Add preferences page
refs #7163
2014-09-29 12:27:26 +02:00
Johannes Meyer b1c32b1821 Add authentication page
refs #7163
2014-09-29 12:27:11 +02:00
Johannes Meyer a39c6a475a Add requirements page
refs #7163
2014-09-29 12:26:54 +02:00
Johannes Meyer 226575eddd Add welcome page
refs #7163
2014-09-29 12:26:27 +02:00
Johannes Meyer 929344e68b Add container to store and handle installation requirements
refs #7163
2014-09-29 12:25:29 +02:00
Johannes Meyer aa17f2828d Add utility to ease working with databases without the use of Zend
refs #7163
2014-09-29 12:24:56 +02:00
Johannes Meyer 7c53e6f7be Improve page permission handling
refs #7163
2014-09-29 11:31:59 +02:00
Johannes Meyer 5c13a19b1a Populate a wizard page in case the user moves backwards
refs #7163
2014-09-29 11:31:13 +02:00
Johannes Meyer 73b41769e7 __toString() should call __toString() as well if possible
There may be cases that an error occurs and another _toString()
implementation handles that appropriately. This is such a case.
2014-09-29 11:28:58 +02:00
Johannes Meyer 3107eb87bb Silence stat() call 2014-09-29 11:24:59 +02:00
Johannes Meyer a5454e5702 Improve form element description 2014-09-29 11:24:23 +02:00
Johannes Meyer 2c44fe34a7 Fix that ldap auth validation does not send a BIND request 2014-09-29 11:22:43 +02:00
Johannes Meyer 5b3d549e5c Add some more platform related calls
refs #7163
2014-09-29 11:21:56 +02:00
Johannes Meyer 8fcf21a6b8 Make it possible to retrieve a list of available users for authentication
refs #7163
2014-09-29 11:21:40 +02:00
Johannes Meyer 7e00e83772 Make the loglevel ERROR being the default
refs #7163
2014-09-29 11:21:15 +02:00
Johannes Meyer 380ffe45b9 Add some redundancy to get more implicitness
Although this commit does not seem reasonable
at first the "big" picture proves its necessity!

refs #7163
2014-09-29 11:20:39 +02:00
Johannes Meyer 4f688fa544 Let the form decide where to get the resource configuration from
refs #7163
2014-09-29 11:06:16 +02:00
Johannes Meyer 0e92e333aa Make isValid* calls of configuration forms being static
This allows a more flexible usage as there is no need to access instance
formdata when validating such configuration.
2014-09-29 11:02:45 +02:00
Johannes Meyer 8e48853f4d Add Wizard
This is a container/controller for form based wizards. Can be used directly
or by using a subclass that allows for a more customized handling.

refs #7163
2014-09-24 10:46:36 +02:00
Johannes Meyer 028a6c442b Fix persisting notification messages in the session 2014-09-24 10:46:35 +02:00
Johannes Meyer 635b802a2b Add tests for hasChanged, set/getByRef and fix setByRef 2014-09-24 10:46:35 +02:00
Johannes Meyer 6f988cb94c Remove method write() from Icinga\Web\Session\SessionNamespace 2014-09-24 10:46:35 +02:00
Johannes Meyer c00dbf9f46 Write session on response
There should not be any necessity to write the session once changes are
being made to it. We now track whether changes were made and write
the session when responding to the user's request if so.
2014-09-24 10:46:35 +02:00
Johannes Meyer 7fcd665aaa Fix value invalidation in Icinga\Web\Session\SessionNamespace 2014-09-24 10:46:35 +02:00
Johannes Meyer efab6c7827 Add method set/getByRef to Icinga\Web\Session\SessionNamespace 2014-09-24 10:46:35 +02:00
Johannes Meyer 80c42ce499 Fix autosubmit of Icinga\Form\Config\General\LoggingConfigForm 2014-09-24 10:46:35 +02:00
Johannes Meyer c772787967 Re-add TokenValidator
refs #7163
2014-09-24 10:46:35 +02:00
Johannes Meyer 71ccefac5e Add Cli command to generate and show setup tokens
One is now able to utilize `icingacli setup (show/generate)Token`

refs #7163
2014-09-24 10:46:35 +02:00
Johannes Meyer 98fbfe68a8 Redirect to /setup if necessary
A user gets now redirected to /setup in case he is not logged in, the token
file exists and no config.ini was found.

refs #7163
2014-09-24 10:46:34 +02:00
Johannes Meyer 032437cdeb The *group dataview classes are not in camelCase
Developing on case-insensitive filesystems for mainly
case-sensitive ones is bad habit ;P
2014-09-24 10:21:19 +02:00
Eric Lippmann 0ac7574a8f Merge branch 'bugfix/commands-6593'
fixes #6593
fixes #6961
fixes #4588
resolves #6666
2014-09-23 23:03:06 -07:00
Eric Lippmann c4d13a7850 monitoring: Fix `$this' usage in a closure 2014-09-23 23:00:19 -07:00
Eric Lippmann cde3ec6bc8 Merge branch 'master' into bugfix/commands-6593
Conflicts:
	modules/monitoring/application/controllers/TimelineController.php
2014-09-23 22:54:17 -07:00
Eric Lippmann 3229e5e587 monitoring: Add new multiselection controllers 2014-09-23 22:47:26 -07:00
Eric Lippmann 1710a50d5c Fix form CSS 2014-09-23 22:43:33 -07:00
Eric Lippmann 0b723bb57d monitoring: Deprecate the host and service action of the `ShowController'
There are the `HostController' and the `ServiceController' now instead.
2014-09-23 22:37:14 -07:00
Eric Lippmann 3034ac5257 monitoring/commands: Show affected objects in command forms
refs #6593
2014-09-23 22:34:19 -07:00
Eric Lippmann c8f00be75b monitoring/commands: Fix that removing a comment from the comment list opens and closes the detail area
This extends to removing a downtime from the downtime list.

refs #6593
2014-09-23 22:23:56 -07:00
Eric Lippmann 4258b13d45 monitoring/commands: Remove `MonitoringCommands' view helper
The helper is not used anywhere.

refs #6593
2014-09-23 22:21:23 -07:00
Eric Lippmann e847770135 monitoring/commands: Remove false property from the schedule service check command
refs #6593
2014-09-23 22:19:35 -07:00
Eric Lippmann 051c9691a9 Remove "WTF" comment 2014-09-23 22:18:06 -07:00