Commit Graph

3225 Commits

Author SHA1 Message Date
Johannes Meyer 4c00d5effc Wizard: Fix invalid call to self::translate()
refs #9654
2015-08-06 13:21:50 +02:00
Johannes Meyer 0695d5900c Merge branch 'master' into feature/less-costly-count-queries-for-history-views-8615 2015-08-06 13:11:28 +02:00
Johannes Meyer 9dad63b512 Service history: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 13:09:35 +02:00
Johannes Meyer 63650518ee Host history: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 13:09:24 +02:00
Johannes Meyer b9e0a80479 EventHistory Overview: Show the load more link as button and centered
refs #8615
2015-08-06 12:50:17 +02:00
Johannes Meyer ea3e0bc013 Eventhistory Overview: Use id attribues as the name attribute is deprecated
refs #8615
2015-08-06 11:52:35 +02:00
Johannes Meyer 8cf3b99335 Eventhistory Overview: Remove pagination and provide a load more link instead
refs #8615
2015-08-06 10:23:44 +02:00
Johannes Meyer 7662545c2a SimpleQuery: Provide a getter for the current iterator position
refs #8615
2015-08-06 09:39:23 +02:00
Johannes Meyer c891b9d356 HostgroupsummaryQuery: Fix group statement ambiguity 2015-08-06 07:54:03 +02:00
Matthias Jentsch 60675979bc Merge branch 'bugfix/creating-dashlet-with-parentheses-9530'
fixes #9530
2015-08-05 18:22:29 +02:00
Matthias Jentsch f8e2dc850c Drop IniEditor and clean up IniWriter
Replace the ini editor code with a new parser implementation that manipulates a DOM. Do not support capabillities that are no longer needed, like nested configurations, section inheritance, section-less properties.
2015-08-05 18:10:17 +02:00
Johannes Meyer 35ea3cc9ee Wizard: Make it unambiguous what the first database configuration is for
fixes #9654
2015-08-05 16:20:03 +02:00
Johannes Meyer e2e1692462 Wizard: Use IcingaException::describe() in the finish's log where appropriate
fixes #9791
2015-08-05 15:54:45 +02:00
Alexander Fuhr aa7adee21f views/donwtime(s|-header): Fix that the Downtimes show "Starts in" ...
... for objects with non-problem state

refs #9266
2015-08-05 14:37:33 +02:00
Eric Lippmann bebff5b83e Merge branch 'bugfix/multiselect-restrictions-9574'
fixes #9574
2015-08-04 16:47:15 +02:00
Eric Lippmann 0e14cb48da monitoring: Ignore restrictions if user has the wildcard restriction
resolves #9830
2015-08-04 16:28:45 +02:00
Eric Lippmann cdd13bc389 monitoring: Apply restrictions before filtering for multiple services
refs #9574
2015-08-04 15:30:07 +02:00
Johannes Meyer e6d507828c Merge branch 'master' into feature/allow-to-extend-the-content-of-a-dashlet-on-the-right-6677 2015-08-04 15:29:48 +02:00
Eric Lippmann 10e50842b2 monitoring: Apply restrictions before filtering for multiple hosts
refs #9574
2015-08-04 15:28:51 +02:00
Eric Lippmann 7403c67893 monitoring: Default to Filter::matchAll() in the ObjectList
refs #9574
2015-08-04 15:28:18 +02:00
Johannes Meyer 15ac59268c Put a small margin around show more links
refs #6677
2015-08-04 15:25:01 +02:00
Johannes Meyer bc91c38a85 Service Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:16:31 +02:00
Johannes Meyer 4481224549 Servicegroup Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:16:16 +02:00
Johannes Meyer 792dc177dd Notification Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:15:22 +02:00
Johannes Meyer 723ff76c17 Host Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:15:08 +02:00
Johannes Meyer 66bf3d2eb9 Hostgroup Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:14:01 +02:00
Johannes Meyer 916a88542a Event Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:13:43 +02:00
Johannes Meyer 5ec85df923 Downtime Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:13:17 +02:00
Johannes Meyer 6017dce1cc Contact Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:13:02 +02:00
Johannes Meyer b8ac2fccd4 Comment Overview: Provide a show more link when in compact view
refs #6677
2015-08-04 15:12:47 +02:00
Alexander Fuhr 7ad6a76d7a Merge branch 'master' into bugfix/invalid-host-passive-check-9672 2015-08-04 13:57:11 +02:00
Alexander Fuhr b5ae4599fd ProcessCheckResultCommandForm: Use substr instead of pregmatch
refs #9672
2015-08-04 13:54:30 +02:00
Alexander Fuhr 18f382e85e ProcessCheckResultCommandForm: Use getHostMultiOptions method
refs #9672
2015-08-04 13:30:46 +02:00
Alexander Fuhr dfbcc066a7 MonitoringBackend: Implement the getProgramVersion method
refs #9672
2015-08-04 13:28:32 +02:00
Alexander Fuhr 1c5bf36538 Host(s)-/Service(s)Controller: Set the form backend
refs #9672
2015-08-04 13:25:17 +02:00
Eric Lippmann 5ae21fd196 doc: Set parameters from route explicitly
refs #9817
2015-08-04 12:48:53 +02:00
Alexander Fuhr ceb32679d8 RemoteInstanceForm: Fix the unhandled exception if no ...
..resources are available

* Now we only can use the ssh identity, if there is at least one ssh identity
resource exists

fixes #9517
2015-08-03 16:52:50 +02:00
Johannes Meyer d1917ad2b4 Merge branch 'master' into bugfix/do-not-use-count-queries-for-emptiness-checks-9632
Conflicts:
	modules/monitoring/application/views/scripts/service/history.phtml
2015-08-03 16:46:27 +02:00
Johannes Meyer 2de761d8ec Service History: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:35:17 +02:00
Johannes Meyer 54590bfaf1 Host History: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:34:50 +02:00
Johannes Meyer 8a5b5390da Event Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 16:09:42 +02:00
Johannes Meyer f03b9e5769 Eventgrid: Use $query->hasResult() instead of $query->count()
* and do not use fetchAll()
* and do not use <? short tags
* and do not use curly braces if not absolutely necessary..

refs #9632
2015-08-03 16:06:21 +02:00
Johannes Meyer 57e0ce1b53 Comment Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:49:12 +02:00
Johannes Meyer d9539b2ad1 Downtime Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:45:54 +02:00
Johannes Meyer 6f0b51ed8f Notification Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:35:17 +02:00
Johannes Meyer 29fd849cca Contact Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:35:07 +02:00
Johannes Meyer 028342adfe Services Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:24:10 +02:00
Johannes Meyer e1b3c42818 Host Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:22:14 +02:00
Johannes Meyer c0b82eff94 Servicegroup Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:18:40 +02:00
Johannes Meyer 39d29c79d2 Hostgroup Overview: Use $query->hasResult() instead of $query->count()
refs #9632
2015-08-03 15:06:22 +02:00
Eric Lippmann 688a08585b Merge branch 'master' into bugfix/error-prone-generictts-9611
Conflicts:
	modules/monitoring/application/views/scripts/show/components/downtime.phtml
2015-08-03 15:05:45 +02:00
Eric Lippmann d8e6418e94 monitoring: Fix code style in the show/components/downtime.phtml view script
refs #9611
2015-08-03 15:03:31 +02:00
Eric Lippmann 0809caa86b monitoring: Fix indent in the show/components/comments.phtml view script
refs #9611
2015-08-03 15:03:02 +02:00
Johannes Meyer 9a0e47a3e1 SimpleQuery: Add method hasResult()
refs #9632
2015-08-03 14:49:33 +02:00
Matthias Jentsch 6a17d7cb26 Do not target next pane in multiview detail controls
fixes #9815
2015-08-03 13:45:47 +02:00
Alexander Fuhr a63b69f4a1 components/downtime: Add downtime end time information in view
fixes #8845
2015-08-03 13:44:41 +02:00
Alexander Fuhr 8860181bcc Revert "components/downtime: Add downtime end time information in view"
This reverts commit 863330e50d.

refs #8845
2015-08-03 13:42:11 +02:00
Alexander Fuhr 1652f1e1ae Revert "components/downtime: Add the missing php script tag"
This reverts commit 95ea0e616d.

refs #8845
2015-08-03 13:41:40 +02:00
Alexander Fuhr 95ea0e616d components/downtime: Add the missing php script tag
refs #8845
2015-08-03 13:05:41 +02:00
Alexander Fuhr 863330e50d components/downtime: Add downtime end time information in view
fixes #8845
2015-08-03 12:37:09 +02:00
Eric Lippmann d5e2f92aa9 monitoring: Use createTicketLinks helper when showing downtimes of an object
refs #9611
2015-08-03 11:00:46 +02:00
Eric Lippmann a379a448d9 monitoring: Fix code style in the show/components/comments.phtml view script
refs #9611
2015-08-03 10:58:57 +02:00
Eric Lippmann b6caeb6c17 monitoring: Use createTicketLinks helper when showing comments of an object
refs #9611
2015-08-03 10:53:51 +02:00
Eric Lippmann e555e3e3b2 monitoring: Use createTicketLinks helper when showing a service's history
refs #9611
2015-08-03 10:44:53 +02:00
Eric Lippmann 498585d8af monitoring: Use createTicketLinks helper when showing a host's history
refs #9611
2015-08-03 10:43:42 +02:00
Johannes Meyer dafa722cec Hide non-essential form fields when configuring LDAP user group backends
resolves #9780
2015-07-31 15:56:13 +02:00
Johannes Meyer 5a3401cc28 monitoring: Reduce amount of default quick search columns
Entering an arbitrary pattern in the quick search field will now only search
for a host's and service's display name or a group's / contact's alias.

fixes #9751
2015-07-31 15:15:13 +02:00
Johannes Meyer 60b0b4cc61 Merge branch 'master' into feature/query-limit-plus-one-9661 2015-07-31 13:57:00 +02:00
Johannes Meyer 99c69cc461 SimpleQuery: Add support for peek aheads
refs #9661
2015-07-31 13:51:39 +02:00
Eric Lippmann f4c7fd5408 Merge branch 'bugfix/env-in-source-9615'
fixes #9615
2015-07-31 11:31:54 +02:00
Eric Lippmann 834017f6e5 translation: Always use the correct path to the Icinga library in the translation helper
refs #9615
2015-07-31 11:30:26 +02:00
Johannes Meyer c5b5d3c9c3 SetupException: Provide a default exception message 2015-07-31 11:06:01 +02:00
Johannes Meyer 073c61903a DatabaseStep: Be less error-prone while calling array_search 2015-07-31 11:04:26 +02:00
Johannes Meyer 7305edc74c DbTool: Be less error-prone while calling array_search 2015-07-31 11:04:17 +02:00
Johannes Meyer b8293b1fdd WebWizard: Be less error-prone while calling array_search 2015-07-31 11:04:00 +02:00
Johannes Meyer c32b749701 DatabaseStep: Fix schema checks
The step to setup the database considered any table of foreign schemas
as one of our own schema, causing it to never create our schema for
non-empty databases.

fixes #9799
2015-07-31 11:03:12 +02:00
Johannes Meyer 316a4d8b82 Merge branch 'master' into bugfix/allow-to-configure-how-to-manage-groups-9609 2015-07-30 16:16:04 +02:00
Johannes Meyer c57bc30e67 AuthBackendPage: Don't crash while validating an external backend's config 2015-07-30 16:00:04 +02:00
Johannes Meyer a8415caf24 AuthenticationPage: Show the external-auth note as info form-notification 2015-07-30 15:57:06 +02:00
Eric Lippmann 8d137aa575 translation: Load msgfmt path from config or default to /usr/bin/env msgfmt
refs #9615
2015-07-30 15:55:05 +02:00
Eric Lippmann d4c7261562 translation: Fix msgmerge default
refs #9615
2015-07-30 15:53:39 +02:00
Eric Lippmann c9c97f3c61 translation: Load xgettext path from config or default to /usr/bin/env xgettext
refs #9615
2015-07-30 15:53:13 +02:00
Eric Lippmann 7160eb600a translation: Load msgmerge path from config or default to /usr/bin/env msgmerge
refs #9615
2015-07-30 15:51:41 +02:00
Johannes Meyer 16a964cb20 UserGroupStep: Do not produce invalid HTML
refs #9609
2015-07-30 15:51:07 +02:00
Johannes Meyer 5ca0e981c4 UserGroupBackendPage: Ensure that all required fields exist
refs #9609
2015-07-30 15:49:04 +02:00
Eric Lippmann 219dcdda37 translation: Set config on the translation helper
Installations from package will provide a config for the translation module which defines the appropriate gettext tools paths.

refs #9615
2015-07-30 15:47:35 +02:00
Johannes Meyer 9cd419d330 UserGroupBackendPage: Add missing page description
refs #9609
2015-07-30 15:28:13 +02:00
Johannes Meyer 171be7a436 AuthenticationStep: Fix that the backend type 'msldap' is shown as external 2015-07-30 15:05:19 +02:00
Eric Lippmann a234852f32 Merge branch 'feature/basic-auth-9660'
resolves #9660
2015-07-30 15:05:07 +02:00
Johannes Meyer 87deda86be AuthBackendPage: Fix that re-populating the chosen LDAP type has no effect
...
2015-07-30 14:51:51 +02:00
Johannes Meyer eb4e56fbc0 AuthenticationStep: Do not report a success if nothing has changed 2015-07-30 14:14:43 +02:00
Johannes Meyer 0155599a1a Wizard: Use <pre> instead of <textarea> for displaying the setup's log 2015-07-30 14:13:52 +02:00
Eric Lippmann 81aad9d6a6 Rename Notifiation::getMessages() to popMessages()
Because the call to popMessages()--before getMessages()--automatically resets the notification messages on the instance, popMessages() is a much better name for the method.

refs #9660
2015-07-30 13:45:39 +02:00
Johannes Meyer f3a8981aa3 UserGroupStep: Fix c&p mistake
refs #9609
2015-07-30 13:31:23 +02:00
Johannes Meyer 47079b723d Wizard: Apply user group backend configuration
refs #9609
2015-07-30 13:22:51 +02:00
Johannes Meyer c5761243c1 Wizard: Apply initial administrative rights for groups
refs #9609
2015-07-30 11:35:28 +02:00
Johannes Meyer ff5142896b AuthenticationStep: We're creating the roles.ini, ultimately 2015-07-30 09:04:33 +02:00
Johannes Meyer 9858d79aaa AdminAccountPage: Do not allow to choose a group..
Does not work currently :(

refs #9609
refs #9772
2015-07-29 17:18:41 +02:00
Johannes Meyer ba8d05af85 Wizard: Allow to choose a group for initial administrative access
refs #9609
2015-07-29 17:13:06 +02:00
Johannes Meyer 226caac4f9 Wizard: Clear user group stage data on a auth backend type switch as well
refs #9609
2015-07-29 16:28:41 +02:00