Commit Graph

380 Commits

Author SHA1 Message Date
Johannes Meyer e1230eb8ae Add style and view scripts for first prototype
refs #6136
2014-05-14 12:53:44 +02:00
Matthias Jentsch ced6e8f78f Initialize all empty ellements with their default values.
refs #6098
2014-05-12 15:49:38 +02:00
Matthias Jentsch 793a0a061f Add validation for application name.
refs #6129
2014-05-12 15:40:59 +02:00
Thomas Gelf c93564c797 Put focus into search field on initial page load
fixes #6170
2014-05-09 10:57:21 +00:00
Johannes Meyer 4e77ea2f88 Fix logging configuration form 2014-04-30 12:09:44 +02:00
Johannes Meyer a865d8874d Fix ResourceForm namespace
refs #6038
2014-04-30 11:59:40 +02:00
Johannes Meyer 4cf3044a53 Rename Icinga\Logger\Writer\StreamWriter to FileWriter
refs #6038
2014-04-30 11:59:22 +02:00
Johannes Meyer 0b3d3e9bb2 Adjust logging configuration to suit the new logger implementation
refs #6038
2014-04-30 11:33:36 +02:00
Johannes Meyer a5faa8bf25 Fix ResourceForm
refs #6038
2014-04-30 10:16:20 +02:00
Johannes Meyer e2ba172a8e Make dashboard components using the ini writer class
fixes #5524
2014-04-29 11:30:53 +02:00
Matthias Jentsch e1d8ad820e Fix include
refs #4788
2014-04-28 17:15:36 +02:00
Matthias Jentsch 085025ba7d Icingaweb shoul work without optional extensions when they are not used
When optional classes and php extensions like pgsql and additonal Zend-Pdos are
actually required by creating a new resource or authentication backend,
perform a check and display a warning instead of just throwing an exception.

refs #4788
2014-04-28 17:13:40 +02:00
Johannes Meyer 98ca15d1fb Mark less important or non-testable code as skipped for code coverage
refs #6011
2014-04-28 14:06:41 +02:00
Johannes Meyer 2415604035 Add test for Zend_View_Helper_DateFormat
refs #6011
2014-04-28 14:06:39 +02:00
Johannes Meyer f7051ca992 Remove form tests that cover only graphical tests
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer 21b949758f Refactor ResourceForm tests
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer 3d44c45eb8 Rename EditResourceForm to ResourceForm
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer 656e6bd0fd Drop obsolete CreateResourceForm class
refs #6011
2014-04-28 14:06:38 +02:00
Johannes Meyer aaa6a56146 Refactor authentication config form tests and fix auth backend validation
refs #6011
fixes #5712
2014-04-28 14:06:38 +02:00
Matthias Jentsch b16c6efa05 Add PieChart to display hosts and services, improve layout and fix flag
checkboxes

refs #5765
2014-04-28 09:48:06 +02:00
Matthias Jentsch 081b5072a6 Fix layout of MultiController views
refs #5765
2014-04-28 09:48:06 +02:00
Thomas Gelf 039aa76467 Directly use the routing script for internal web server 2014-04-17 21:12:13 +00:00
Thomas Gelf 4a6fe006d8 Show exception message in title 2014-04-17 16:21:48 +00:00
Johannes Meyer 82ca774331 Re-enable setting the current configuration when showing icingaweb/config
fixes #5972
2014-04-08 15:18:14 +02:00
Johannes Meyer 6692f253fd Fix that the preference configuration does not handle defaults properly 2014-04-07 15:03:08 +02:00
Thomas Gelf 072f157064 Allow developers to disable minimizers 2014-04-07 12:04:23 +00:00
Johannes Meyer d658eff9b1 Add form field to set the database name for a resource of type db
fixes #5115
2014-04-07 09:55:19 +02:00
Johannes Meyer d109046bc0 Fix that the general and logging form cannot write configuration changes
fixes #5952
2014-04-07 09:27:37 +02:00
Alexander Klimov cdf1a0b683 Write more class documentation 2014-04-02 13:47:02 +02:00
Alexander Klimov 241fda1196 Small cleanup 2014-04-02 13:47:02 +02:00
Alexander Klimov d38e879d69 Sort application log DESC
resolves #4514
2014-04-02 13:47:02 +02:00
Alexander Klimov e2bfc06d6c Moved application log from monitoring module
refs #4514
2014-04-02 13:47:02 +02:00
Thomas Gelf fba63602c9 Improve CLI web serving autodetection 2014-03-28 19:47:25 +00:00
Johannes Meyer bafa8cc032 Fix authentication error handling 2014-03-28 14:45:03 +01:00
Johannes Meyer c03268414f Fix pivot table pagination being to narrow when only one vertical level exists 2014-03-28 08:57:27 +01:00
Thomas Gelf 17ce27a985 Ship only one CSS and one JS file 2014-03-27 07:32:45 +00:00
Thomas Gelf 90665a2711 Re-render page when en/disabling modules and trigger client-side CSS reload 2014-03-26 07:58:57 +00:00
Thomas Gelf ad0432f3be Do not search with empty search string, add servicegroups 2014-03-25 12:30:05 +00:00
Thomas Gelf 440b1cf730 Re-enable search result autorefresh as it should work fine right now 2014-03-25 12:14:26 +00:00
Thomas Gelf f612610fa7 Friendlier error controller, special handling for 404 with disabled module 2014-03-25 12:10:02 +00:00
Thomas Gelf 1a47f617ee Disable unused submenu class 2014-03-20 11:25:10 +00:00
Michael Friedrich 4ce7ea503f Rename help and documentation to icingacli.
Refs #5802
2014-03-19 17:25:53 +01:00
Johannes Meyer e9ec87b0e3 Refine styling of the servicematrix
refs #4180
2014-03-19 09:11:25 +01:00
Johannes Meyer c73928d7a8 Add pagination control to the servicematrix
refs #4180
2014-03-19 09:11:25 +01:00
Thomas Gelf ebbd4119c2 New approach for view helpers - register anonymous functions
* May be subject to change
* TODO: Find out how to phpDoc them
* Removed a bunch of "old-style" view helpers
* more to come
2014-03-17 17:14:16 +01:00
Thomas Gelf 5bd1d97f5e Use module name and more whenn rendering the body, drop module-container 2014-03-17 17:11:56 +01:00
Thomas Gelf e964da9579 URL default encoding should match rules for href's.   VS & 2014-03-17 16:59:22 +01:00
Thomas Gelf fb948d8390 Remove pixel definitions from menu icon 2014-03-17 16:54:40 +01:00
Alexander Klimov 5c0441bc06 Re-design configuration interface 2014-03-11 17:13:42 +01:00
Thomas Gelf 08c66afec2 Basic styling for 'Add to dashboard' 2014-03-10 01:40:23 +01:00
Thomas Gelf fcd05dfe81 Improve click/site behaviour 2014-03-09 23:30:37 +01:00
Thomas Gelf 11c44af35e Remove obsolete requestId 2014-03-09 23:21:27 +01:00
Thomas Gelf e035f025b3 MainDetail has gone 2014-03-09 23:18:36 +01:00
Michael Friedrich 773528342f Fix default log path in config form. 2014-03-09 15:57:50 +01:00
Thomas Gelf cdc717b88f No search autorefresh unless fixed 2014-03-09 01:56:05 +01:00
Thomas Gelf d729d9381d Temporarily remove 'plus' link from dashboard 2014-03-08 21:39:12 +01:00
Thomas Gelf 73a8e13fc8 Remove #col2 traces in the application code 2014-03-08 15:00:23 +01:00
Thomas Gelf 0dc5a12565 Restyle auth backend config 2014-03-08 13:35:07 +01:00
Thomas Gelf 4fef863674 Restyle resources config 2014-03-08 13:26:05 +01:00
Thomas Gelf 5c27f8153a Config code scares me... this fixes an error on Configuration / Logging 2014-03-08 13:13:49 +01:00
Thomas Gelf 296d8c7969 Send notifications on site reload and via XHR 2014-03-07 23:15:51 +00:00
Thomas Gelf edd03d3e55 Move "temporary logout" to menu 2014-03-07 17:29:04 +00:00
Thomas Gelf 13f827a0ef Cleanup preferences, add them to the menu 2014-03-07 17:03:43 +00:00
Thomas Gelf b7b6a08fbf Remove baseUrl from Qlink helper (was for testing only and broken) 2014-03-07 16:22:13 +00:00
Alexander Klimov a4ed32d357 Using new PHP icon helper 2014-03-07 10:54:39 +01:00
Michael Friedrich 3a623b248e Fix DateFormat/TimeFormat requiring config.ini global section. 2014-03-06 18:41:48 +01:00
Thomas Gelf 26d3ba053e Add icon helper 2014-03-06 16:30:27 +00:00
Alexander Klimov e05250db4e Icinga icons hotfix 2014-03-06 14:16:42 +01:00
Alexander Klimov b410ebeed6 Remove unnecessary spaces at end of line 2014-03-06 13:08:11 +01:00
Alexander Klimov 2f8160d020 Re-design configuration interface
refs #5705
2014-03-06 12:32:55 +01:00
Alexander Klimov 360c14b0d5 Make arrows have more margin
refs #5705
2014-03-06 12:32:55 +01:00
Alexander Klimov a2f83eba05 Make select forms look like select forms 2014-03-06 12:32:55 +01:00
Alexander Klimov d2ec3c9509 Re-design configuration interface
Conflicts:
	public/js/icinga/events.js
2014-03-06 12:32:55 +01:00
Alexander Klimov 63c73a8215 Remove bootstrap classes
refs #5705
2014-03-06 12:32:55 +01:00
Alexander Klimov 0d1d181d51 Revert "Remove bootstrap classes"
This reverts commit 682472ca6b744c80dce1b422520c4c072cb850d2.
2014-03-06 12:32:54 +01:00
Alexander Klimov 7062c5ab2d Revert "Remove bootstrap classes"
This reverts commit 023bc33c42153486251b4b1d77045bcf72197905.
2014-03-06 12:32:54 +01:00
Alexander Klimov ecd6a27e03 Remove bootstrap classes
refs #5705
2014-03-06 12:32:54 +01:00
Alexander Klimov eee7603c51 Remove bootstrap classes
refs #5705
2014-03-06 12:32:54 +01:00
Thomas Gelf 6ed72e1565 Mess with PDF generation code
* Works more or less
* Rewrite image tags on the fly
* Sample header image (still ugly)
* Trying hard to find a way for CORRECT page footers and line numbers
2014-03-06 11:21:11 +00:00
Thomas Gelf 95189fbf46 Fix layout re-rendering after login (thank you, automerge) 2014-03-06 11:07:24 +00:00
Thomas Gelf e52c2f5fb0 Set data(icingaUrl) also in the initial body 2014-03-06 09:19:48 +00:00
Thomas Gelf af7ca57b41 Clean up JavaScript and CSS loaders, prepare for minimized delivery 2014-03-04 15:15:08 +00:00
Thomas Gelf 5340289e01 JS: history has not been loaded 2014-03-04 13:37:05 +00:00
Thomas Gelf 635cdcbbc5 autorefresh even for search results, nicer headers 2014-03-04 13:25:58 +00:00
Thomas Gelf 915a024030 _render handled in IndexController. Does this make any sense? 2014-03-04 13:24:53 +00:00
Thomas Gelf 3daf46097d Less hacky dashboard activation 2014-03-04 13:22:39 +00:00
Thomas Gelf 38a5939544 We WANT to allow users to scale their content, just a note about this 2014-03-04 13:20:10 +00:00
Thomas Gelf 65da772190 Re-add qlink helper unless we find a better name
* I stumbled over too many places where we didn't care about quoting
  or escaping output, attributes etc
* Helpers help here
2014-03-04 13:16:07 +00:00
Thomas Gelf d648bbad72 Missing JS change in layout.phtml 2014-03-04 13:12:07 +00:00
Thomas Gelf c58f79c161 One more automerge issue 2014-03-04 12:45:22 +00:00
Thomas Gelf a4dbe96e53 TimeUnless gives '' for no time 2014-03-04 11:37:18 +00:00
Thomas Gelf 76c322901c Prototype for icingacli web serve 2014-03-04 11:13:43 +00:00
Thomas Gelf 29f007e537 Comfortable focus setting on login mask
* Needs improvement once we have better forms
2014-03-04 10:56:12 +00:00
Thomas Gelf 715cad86d5 No more layout container handling outside of layout.phtml
* Also added a few base-targets to get rid of hard-coded JS rules
2014-03-04 10:52:37 +00:00
Thomas Gelf 57caacb93f Merge branch 'feature/fanzzzy-5481' into feature/master-1
Conflicts:
	application/controllers/AuthenticationController.php
	application/controllers/ErrorController.php
	application/views/scripts/authentication/login.phtml
	library/Icinga/Application/ApplicationBootstrap.php
	library/Icinga/Web/Controller/ActionController.php
	library/Icinga/Web/Hook.php
	library/Icinga/Web/Widget/Dashboard.php
2014-03-04 09:42:25 +00:00
Eric Lippmann 07d04628cf Merge branch 'feature/installation-and-configuration-cleanup-5638'
Conflicts:
	config/config.ini.in
	library/Icinga/Application/ApplicationBootstrap.php
	library/Icinga/Application/Cli.php
	library/Icinga/Application/EmbeddedWeb.php
	library/Icinga/Application/Logger.php
	library/Icinga/Application/Modules/Manager.php
	library/Icinga/Application/Web.php
	library/Icinga/Authentication/Backend/DbUserBackend.php
	library/Icinga/Authentication/Manager.php
	library/Icinga/User/Preferences/IniStore.php
	test/php/library/Icinga/Application/LoggerTest.php
2014-03-03 19:03:39 +01:00
Eric Lippmann 7bf888a554 Vagrant: Add monitoring module config 2014-03-03 18:16:07 +01:00
Eric Lippmann 39c80dccaf Decouple authentication backend creation from Icinga\Authentication\Manager
Add authentication backend type msldap with default values for user_class
and user_name_attribute. Backend type ldap now logs an error when user_class
and user_name_attribute ist not configured. Rename membership.ini to
memberships.ini since all our INI configuration files are in the plurar
where it makes sense. The AuthenticationController now handles
authentication

refs #5685
refs #5638
fixes #5218
2014-03-03 17:21:17 +01:00
Matthias Jentsch a8f765fa3b Add extern authentication
Provide a new settings authenticationMode and delegate the
authentication handling to the webserver when the external authentication mode
is set. Add a new view 'logout' that will be shown after logout from external
authentication as the regular redirect to login is not possible.

refs #5405
2014-02-26 18:08:48 +01:00
Johannes Meyer 3555e66018 Make IcingaWeb using the new log wrapper
refs #5683
2014-02-26 11:19:52 +01:00