Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Eric Lippmann
0bf6dc24a8
monitoring: Use command transports constants in the command transport factory
2014-10-30 09:53:55 +01:00
Eric Lippmann
1b83ec3ce2
Preferences: Fix saving preferences when using a database store
...
Our DbSelect::where() is not (or no longer?) compatible w/ Zend_Db_Select::where().
DbStore::load() now uses Zend_Db_Select but we should definitely think about our
DbSelect::where() implementation.
fixes #7353
2014-10-30 09:49:21 +01:00
Eric Lippmann
c4554ac692
Log exceptions when saving preferences
2014-10-30 09:48:25 +01:00
Eric Lippmann
39729c9580
Logger: Fix level comparison
2014-10-29 16:51:17 +01:00
Eric Lippmann
2698516005
Auth: Remove setting the not existent layout 'login' when logging out externally authenticated users
...
fixes #7191
2014-10-29 16:31:17 +01:00
Eric Lippmann
eb9fe0966b
monitoring: Remove unnecessary break after throwing an exception
2014-10-29 13:37:20 +01:00
Eric Lippmann
d9194c2696
monitoring: Rewrite Service::getStateText() to get the optional translated textual representation of a service state
2014-10-29 13:36:24 +01:00
Eric Lippmann
5fc1f85b76
monitoring: Write transport directive to instances INI configuration
...
Further I replaced if-elseif blocks w/ switch when branching based on the value of a single parameter,
which would have to be implied otherwise by looking at all the conditions.
2014-10-29 13:36:09 +01:00
Eric Lippmann
8ee52f8737
monitoring: throw meaningful logic exceptions in the command file classes
2014-10-29 11:36:00 +01:00
Eric Lippmann
319c5e7833
monitoring: indent php blocks in config/index.phtml properly
2014-10-29 11:33:31 +01:00
Eric Lippmann
e7ef1826b7
monitoring: Don't translate exception messages in the remote command file
2014-10-29 10:00:59 +01:00
Eric Lippmann
1cc1521607
monitoring: Don't translate exception messages in the local command file
2014-10-29 10:00:29 +01:00
Eric Lippmann
6973492b0d
monitoring: Translate headings in the config overview
2014-10-28 14:01:00 +01:00
Eric Lippmann
71e25f268a
monitoring: Rename label of the path to the local Icinga command file
...
Rename 'Local filepath' to 'Command file' because the remote instance form is using 'Command file' too.
2014-10-28 13:52:10 +01:00
Eric Lippmann
d04eceaeb2
monitoring: Remove 'Remote' prefix from the remote instance form elements' labels
...
The 'Remote' prefix of the remote instance form elements' labels is superfluous because the
instance's type already tells that it's remote.
2014-10-28 13:50:42 +01:00
Alexander Klimov
99b00b7f84
Fix CSS syntax errors
2014-10-24 12:35:09 +02:00
Eric Lippmann
12cadb52ca
Command transport: Show helpful exception messages
...
refs #7437
2014-10-24 11:45:58 +02:00
Alexander Klimov
38220afd11
PHP: avoid short tags <?
2014-10-23 10:44:54 +02:00
Eric Lippmann
f44b0525d8
logging: Fix that setting a numeric log level is flawed
2014-10-23 03:50:03 +02:00
Eric Lippmann
f68c591a46
LDAP Auth: Make group loading really optional
...
fixes #7432
2014-10-23 03:50:03 +02:00
Alexander Klimov
ba12d7b46c
Use mt() in the monitoring module instead of just t()
...
fixes #7330
2014-10-21 17:22:16 +02:00
Eric Lippmann
c2a3770869
schema/mysql: Add user and user_preference tables
2014-10-20 16:32:31 +02:00
Eric Lippmann
1bb3a58e8f
schema/mysql: Add group and group_membership tables
2014-10-20 15:37:50 +02:00
Eric Lippmann
424cee6b4a
Auth: Load user groups using the new user group backends
2014-10-20 13:43:40 +02:00
Eric Lippmann
2b67683e00
DbConnection::__construct(): Set prefix if configured
2014-10-20 13:43:03 +02:00
Eric Lippmann
aa56f3010c
lib: Add DbUserGroupBackend
2014-10-20 13:42:33 +02:00
Eric Lippmann
d170cf0c9d
lib: Replace Membership with IniUserGroupBackend
2014-10-20 13:42:15 +02:00
Eric Lippmann
d1228deef2
lib: Add UserGroupBackend as base class and factory for user group backends
2014-10-20 13:41:33 +02:00
Eric Lippmann
79ade944de
Resources: Support type 'ini' yet only in the resources.ini
...
Configuring the resource type 'ini' via the web interface is not yet possible.
2014-10-20 13:40:35 +02:00
Eric Lippmann
cee261bf7e
Use lowercase username and user groups for loading user permissions and restrictions
2014-10-20 13:36:37 +02:00
Eric Lippmann
53608c83d0
iframe: Load JavaScript even when 'isIframe' is true
2014-10-20 13:27:56 +02:00
Eric Lippmann
a2e1663e34
index: Don't drop query parameters when redirecting to dashboard
2014-10-20 13:27:33 +02:00
Eric Lippmann
5ca97c14d6
logging config: Support 'log' 'none'
2014-10-16 16:13:00 +02:00
Eric Lippmann
6c59c22044
Bootstrap: Remove logging configuration directives which do not override defaults
2014-10-16 15:59:56 +02:00
Eric Lippmann
6dfefb0e73
CLI: Fix logging setup
2014-10-16 15:59:35 +02:00
Eric Lippmann
501aca42b9
Logger: Fix the StreamWriterTest
2014-10-16 15:58:37 +02:00
Eric Lippmann
d2d653209f
Logger/SyslogWriter: Define configuration defaults here
...
Usage of closelog() is optional so I removed the explicit calls.
2014-10-16 15:56:38 +02:00
Eric Lippmann
04a8df54cd
Logger/FileWriter: Rename 'target' directive to 'file'
2014-10-16 15:55:24 +02:00
Eric Lippmann
97677ee2c1
Fix our Logger not supporting named logging levels and requiring the 'enabled' directive
2014-10-16 15:54:13 +02:00
Eric Lippmann
985154d3d8
Throw an ErrorException on E_STRICT errors
2014-10-16 15:51:18 +02:00
Eric Lippmann
a2772a17a7
File: Fix ErrorException::__construct()'s parameters
2014-10-16 15:47:50 +02:00
Eric Lippmann
d475ccd569
IcingaCommand: Fix strict standards violation: Only variables should be passed by reference
2014-10-16 15:37:07 +02:00
Eric Lippmann
f9e7e6d888
general config: Don't keep unused configuration directives
2014-10-16 11:20:16 +02:00
Marius Hein
92b4f4fbec
AlertSummary: Avoid division by zero
2014-10-16 09:50:15 +02:00
Johannes Meyer
64940198be
Fix AlertSummary report cannot find EventHistory dataview
...
We should start to think about how to prevent such issues ;)
2014-10-15 11:18:16 +02:00
Matthias Jentsch
937dbe2c15
Add missing close buttons to views without tabs
2014-10-14 17:54:52 +02:00
Matthias Jentsch
6124f984ee
Adjust scroll position on container after triggering the 'rendered' event
...
Prevent behaviors from altering the current scroll-position on page reload when refreshing or changing the focus.
fixes #7269
2014-10-14 15:50:15 +02:00
Marius Hein
c67e7c3ef0
AlertSummary: Format trend change percent value
2014-10-09 09:31:03 +02:00
Eric Lippmann
cc61dc2b01
Form: Don't override Zend_Form::setDefaults()
...
fixes #7315
2014-10-08 17:43:28 +02:00