Commit Graph

5834 Commits

Author SHA1 Message Date
Eric Lippmann 6b63f3d8a2 Merge branch 'feature/require-mandatory-params-8886'
resolves #8886
2015-04-07 13:06:43 +02:00
Eric Lippmann cdd5da80f0 Use Url::getRelativeUrl() when updating dashlets
fixes #8363
2015-04-07 13:05:12 +02:00
Eric Lippmann 25736cf76e Return HTTP 400 on MissingParameterException
refs #8886
2015-04-07 12:27:19 +02:00
Eric Lippmann dfd8c91827 Add PHPDoc to ActionController::$params 2015-04-07 12:25:46 +02:00
Eric Lippmann 002e793a53 lib: Add Params::req()
Params::req() should be used for requiring a mandatory CLI parameter.

refs #8886
2015-04-07 12:20:37 +02:00
Eric Lippmann 93b1a35de0 lib: Add UrlParams::req()
UrlParams::req() should be used for requiring a mandatory URL parameter.

refs #8886
2015-04-07 12:17:59 +02:00
Eric Lippmann 0fc5801e5e lib: Add MissingParameterException::getParameter and ::setParameter ...
... for getting/setting the name of the missing parameter which caused the exception.

refs #8886
2015-04-07 12:15:15 +02:00
Alexander Klimov e32eeb991e Implement Icinga\Web\Widget\SortBox::create() 2015-04-07 11:37:06 +02:00
Alexander Klimov 57ed849cee Icinga\Web\Widget\SortBox::applyRequest(): return $this 2015-04-07 11:26:16 +02:00
Eric Lippmann 4d795494fc Fix MissingParameterException's PHPDoc
refs #8886
2015-04-07 10:48:37 +02:00
Johannes Meyer aae1d05684 Fetch the log path from the configuration
...instead of using a getter that has been dropped carelessly.

fixes #8972
2015-04-07 10:34:55 +02:00
Johannes Meyer b0b95ab387 Fix that Icinga\Application\Logger::writesTo* is not functional 2015-04-07 10:31:57 +02:00
Eric Lippmann 9ce9e0270c Fix that LDAP encryption settings have no effect
I renamed the directive for the encryption setting from 'connection' to 'encryption' before releasing Beta3 but
I forgot to change the Connection class accordingly.

fixes #8953
2015-04-02 10:41:25 +02:00
Eric Lippmann 06d9e4113c Fix that sending multiple commands over SSH failed
The config object has to cloned before unsetting the transport because else the
transport is removed for all subsequent calls to CommandTransport::fromConfig().

fixes #8815
2015-04-01 13:53:44 +02:00
Eric Lippmann 5745c1fec4 Fix code style in the Perfdata view helper 2015-03-30 12:12:58 +02:00
Eric Lippmann 09d713be0d Fix PHPDoc of the Perfdata view helper 2015-03-30 12:10:58 +02:00
Eric Lippmann 8c46e5e285 Use View::translate() instead of t() in the Perfdata view helper
refs #7330
2015-03-30 12:08:26 +02:00
Eric Lippmann 83408ee21b Use Controller::translate() instead of mt() in the AlertsummaryController
refs #7330
2015-03-30 12:04:58 +02:00
Eric Lippmann be53f4f9bc Use Controller::translate() instead of t()/mt() in the ChartController
refs #7330
2015-03-30 12:04:05 +02:00
Eric Lippmann 820862d546 Use Controller::translate() instead of t() in the AlertsummaryController
refs #7330
2015-03-30 11:58:48 +02:00
Eric Lippmann ab1dc1faa0 Do not translate format strings 2015-03-30 11:28:05 +02:00
Eric Lippmann 0a7e76d190 Fix typo in Perfdata::formatLabel()'s PHPDoc 2015-03-30 11:27:17 +02:00
Matthias Jentsch 26ff265219 Improve search field caption for screen readers
Use unicode ellipsis instead of dots to not confuse screen readers. Screen readers shouldn't read 'dot dot dot' when focusing the search button.
2015-03-19 11:22:56 +01:00
Matthias Jentsch 004301a2ba Merge branch 'feature/warning-links-open-in-new-window-7937'
resolves #7937
2015-03-19 11:06:21 +01:00
Matthias Jentsch 5383999ef7 Add warning to links that open in a new window
Add warning on mouseover / focus as recommended by as recommended by WCAG20 G201

refs #7937
2015-03-19 10:49:28 +01:00
Eric Lippmann ec60f15f09 Leave note about Upgrading to Icinga Web 2 Beta 3 2015-03-13 17:22:49 +01:00
Eric Lippmann f1cdc8c904 Sort host and service overview by display_name by default
refs #8716
2015-03-13 17:19:56 +01:00
Eric Lippmann a932f9d7c9 Merge branch 'bugfix/service-sort-by-display_name-8716'
fixes #8716
2015-03-13 17:16:05 +01:00
Eric Lippmann dbb5aba737 Sort by host_display_name too when sorting by host_severity
refs #8716
2015-03-13 17:14:14 +01:00
Eric Lippmann 03d85ac6ae Sort by service_display_name too when sorting by service_severity
refs #8716
2015-03-13 17:13:52 +01:00
Eric Lippmann 7ddd8d7ad2 Add support for order next to the column to DataView::getSortRules()
refs #8716
2015-03-13 17:12:16 +01:00
Eric Lippmann 949438d753 lib: Add SimpleQuery::splitOrder() ...
... for supporting specifying the sort direction next to the column, e.g.
'service_display_name ASC'

refs #8716
2015-03-13 17:09:32 +01:00
Eric Lippmann e17f9d7ebe Sort host overview by severity by default ...
... as indicated by the sort control.
2015-03-13 17:08:36 +01:00
Eric Lippmann cd5e07063f RPM: Fix version 2015-03-13 17:08:36 +01:00
Thomas Gelf f038a89fa5 locale/it_IT: a few modifications, compile catalog 2015-03-13 17:06:42 +01:00
Davide Demuru 7ca7b2e141 locale/it_IT: refresh translation
Signed-off-by: Thomas Gelf <thomas@gelf.net>
2015-03-13 17:01:49 +01:00
Thomas Gelf 2c5c795057 locale/de_DE: a few strings for detail view 2015-03-13 16:55:01 +01:00
Thomas Gelf d82b73a2fe details - notifications: show a bell 2015-03-13 16:07:20 +01:00
Thomas Gelf 499b9b149a details - notifications: shorter link text 2015-03-13 16:06:19 +01:00
Johannes Meyer d6e5afa6d5 Fix that a menu section is not expanded in a popup when hovered
fixes #8695
2015-03-13 15:01:47 +01:00
Johannes Meyer 44b1255bbc Do not open a new column when removing an acknowledgement 2015-03-13 14:13:09 +01:00
Thomas Gelf 63f87da53d Session: reworked to avoid duplicate notifications
* clear session on initialization, store once on shutdown
* less static method calls
* fixes erraneous cli checks
2015-03-13 14:10:27 +01:00
Marius Hein e90200160f Monitoring permission: Fixing typo in configuration.php
refs #8644
2015-03-13 11:47:49 +01:00
Johannes Meyer f4e5a7f666 Do not try to set a title on a set of tabs
That's not working anymore since the title related changes were reverted
2015-03-13 11:31:24 +01:00
Johannes Meyer 0bc1416b10 Use the correct name for malformed LDAP attributes automatically
...or more purposefully: Guard lazy users from themselves. I hope I don't
have to explain why _this_ is not part of Icinga\Protocol\Ldap\Query...

resolves #8608
2015-03-13 11:17:43 +01:00
Thomas Gelf edf55728cb monitoring/list: fix addcolumns VS addColumns
refs #8641
2015-03-13 09:07:02 +01:00
Thomas Gelf 560b8a556d layout-colors.less: replace hardcoded "petrol" 2015-03-13 09:03:46 +01:00
Thomas Gelf 316d926811 Ldap/Query: re-add __toString
We stopped using __toString as it is unable to handle exceptions - and
this makes sense. However, that's IMO not a good reason to completely
drop __toString. Especially when debugging, benchmarking and similar you
often need a quick way to "dump" an object.

In that case you are often not in a mood to figure out whether that
specific class prefers create(), dump(), render() or whatever. We should
not base our view scripts on __toString - at least unless we do not catch
Exceptions in __toString methods, eventually "forwarding" them as triggered
error where needed.
2015-03-13 08:58:25 +01:00
Thomas Gelf 697d4aff27 doc/search: do not break on "ill-formed" docs
We got ugly exceptions for non-obvious errors such as missing titles
2015-03-13 08:57:45 +01:00
Thomas Gelf 6bf8849d98 doc/search: do not search with less than 3 chars
Please consider this a quickfix to avoid mass results while typing in
the global search field. We need farther improvements here:
* compact mode: e.g. title/first match on one row
* show a hint when less than 3 chars have been provided
* allow two chars once we fixed the above
2015-03-13 08:57:45 +01:00