Eric Lippmann
2440308699
Use timeSince() in the host groups view
...
Instead of prefixedTimeSince() which will be removed.
refs #6778
2015-04-15 15:22:26 +02:00
Eric Lippmann
9b9975bd73
Use timeSince() in the service groups view
...
Instead of prefixedTimeSince() which will be removed.
refs #6778
2015-04-15 15:21:19 +02:00
Eric Lippmann
a6a9bd28eb
Use timeSince() for the last status change in the service's detail view
...
Instead of using prefixedTimeSince() which will be removed.
refs #6778
2015-04-15 15:06:15 +02:00
Eric Lippmann
b84452140c
Use timeSince() for the last status change in the host's detail view
...
Instead of using prefixedTimeSince() which will be removed.
refs #6778
2015-04-15 15:02:27 +02:00
Eric Lippmann
291c6bf167
Remove superfluous <br /> after state pending in the hosts overview
2015-04-10 15:36:09 +02:00
Eric Lippmann
19cae4b751
Don't show last status change for services if they're in state pending
2015-04-10 15:31:20 +02:00
Eric Lippmann
2854859a67
Use timeSince() for displaying status changes of services instead of prefixedTimeSince()
...
Note that only the services view excluded the prefix from time diffs when being displayed in the dashboard. I'll readd that for both hosts and services later on.
Further, note that only the hosts view excludes the date of the status change when in state pending. I'll add that for the services view too.
refs #6778
2015-04-10 14:27:34 +02:00
Eric Lippmann
d5427f03ab
Use timeSince() for displaying status changes of hosts instead of prefixedTimeSince()
...
refs #6778
2015-04-10 14:22:06 +02:00
Eric Lippmann
5a46821d91
Rename timeago, timesince and timeuntil CSS classes to time-ago, time-since and time-until
...
refs #6778
2015-04-10 14:19:08 +02:00
Eric Lippmann
1dcb3b3ad2
Use timeUntil() for the comment expiration date and time
...
refs #6778
2015-04-10 13:20:41 +02:00
Eric Lippmann
dc757e3b19
Use timeAgo() for the comment creation date and time instead of prefixedTimeSince()
...
refs #6778
2015-04-10 12:56:49 +02:00
Eric Lippmann
df3caa61e9
Improve notifications view component for objects
...
The old view did not show a hyphen if the user lacked the permissions to send a notification and if viewing a host or service not currently in a problem state.
Further the tooltip for send notification was bad English and the view generated a superfluous <br>.
2015-04-10 10:46:19 +02:00
Eric Lippmann
5efc343f03
Add full stop to sentences in the notifications view component for objects
...
refs #6778
2015-04-10 10:28:17 +02:00
Eric Lippmann
d6374d4770
Use timeAgo() instead of timeSince() for an object's last check
...
refs #6778
2015-04-10 10:27:57 +02:00
Eric Lippmann
613de61e6d
Improve English for "The last one occured %s ago" in the notifications view component for objects
...
fixes #8950
2015-04-10 10:24:15 +02:00
Eric Lippmann
80ab64e2b4
Fix typos in the notifications view partial for objects
2015-04-10 10:21:54 +02:00
Eric Lippmann
e6f070d068
Use timeAgo() instead of timeSince() when displaying object notifications
...
refs #6778
2015-04-10 10:20:10 +02:00
Eric Lippmann
a84b3acee7
Fix "since since" in the monitoring health view
...
Because timeSince() now includes the prefix, the prefix has to be removed from the format string.
refs #6778
2015-04-10 10:19:10 +02:00
Eric Lippmann
44ee4cd609
Use timeAgo() instead of timeSince() in the monitoring health view
...
refs #6778
2015-04-10 10:14:22 +02:00
Eric Lippmann
3ec6caa15b
lib: Add timeAgo to views
...
refs #6778
2015-04-10 09:56:39 +02:00
Eric Lippmann
7f73c6ae29
Use DateFormatter in our Format util for time ago, since and until
...
Note that time diff formatting now always includes the prefix using the functions timeAgo, timeSince and timeUntil.
I'll remove the related prefixed* functions later on and implement it as parameter to the functions listed above.
refs #6778
2015-04-10 09:51:15 +02:00
Eric Lippmann
f2e5066430
lib: Add DateFormatter for ICU date formatting
...
The DateFormatter class is supposed to handle locale-dependent date, time, and time diff (ago, since, until) formatting.
refs #6778
2015-04-10 09:44:38 +02:00
Eric Lippmann
06830e035e
Set default locale for the intl extension upon locale detection
...
refs #6778
2015-04-10 09:29:46 +02:00
Eric Lippmann
0baeb32751
Temporary disable timesince ui counter
...
refs #6778
2015-04-09 12:05:45 +02:00
Eric Lippmann
0de2dbd626
Temporary disable timeuntil ui counter
...
refs #6778
2015-04-08 15:23:00 +02:00
Eric Lippmann
3f2d87777a
Use IntlDateFormatter in Format::timeUntil()
...
refs #6778
2015-04-08 15:19:51 +02:00
Johannes Meyer
1835479738
Setup: Fix that the mysql privilege checks are not working in the wizard
...
Missed to commit this yesterday as part of the fix for #8929
refs #8929
2015-04-08 08:55:08 +02:00
Johannes Meyer
2882e2fd5e
Setup: Fix that not any privilege checks are working in the wizard
...
fixes #8929
2015-04-07 16:14:03 +02:00
Johannes Meyer
62bb35a71e
Fix that the ldap port does not change when updating the encryption to use
...
fixes #8958
2015-04-07 15:07:36 +02:00
Johannes Meyer
dc4d1246a9
Fix that the sql port does not change when updating the type of the database
...
fixes #7491
2015-04-07 15:07:36 +02:00
Johannes Meyer
9596b4fdf7
Form: Make it possible to preserve default values during (auto)submission
2015-04-07 15:07:36 +02:00
Alexander Klimov
967a2e82dc
Use (only) "@return $this" in fluent interfaces' documentation
2015-04-07 14:24:11 +02:00
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