Johannes Meyer
c288a68ed5
Merge branch 'master' into bugfix/drop-zend-config-7147
...
Conflicts:
application/forms/LdapDiscoveryForm.php
2014-11-18 13:21:18 +01:00
Johannes Meyer
7621f6642d
Adjust usages of Icinga\Application\Config
...
refs #7147
2014-11-18 13:11:52 +01:00
Matthias Jentsch
5f8fcf4005
Fix Ldap server discovery
...
Add a new connection member that stores whether settings were guessed or product of a discovery, move discovery methods into seperate class.
fixes #7691
2014-11-18 09:45:54 +01:00
Thomas Gelf
b6464c5d83
Livestatus\Connection: one more comment
2014-11-16 18:43:11 +01:00
Thomas Gelf
aaec1b84bf
Livestatus\Query: indentation
2014-11-16 18:42:10 +01:00
Thomas Gelf
0ff9d57504
Livestatus\Connection: just a comment
2014-11-16 18:37:01 +01:00
Thomas Gelf
195375f055
Livestatus\Query: use calculated column headers
2014-11-16 18:03:58 +01:00
Thomas Gelf
d368df8211
Livestatus\Connection: check resource on disconnect
2014-11-16 18:01:07 +01:00
Thomas Gelf
2c7373f385
Livestatus\Connection: benchmark, comments
2014-11-16 17:59:56 +01:00
Thomas Gelf
140b246974
Livestatus\Connection: remove obsolete constant
...
TCPNODELAY is available in PHP >= 5.3
2014-11-16 17:58:56 +01:00
Thomas Gelf
6bf0ca216a
Livestatus\Query: resultrow method - base for more
...
This is where query-based column fixup voodoo starts
2014-11-16 16:35:02 +01:00
Thomas Gelf
628597d6cb
Livestatus\Query: some more filter-related stuff
2014-11-16 16:32:53 +01:00
Thomas Gelf
46b047b013
Livestatus\Query: add customvar support
2014-11-16 16:31:09 +01:00
Thomas Gelf
7d02107803
Livestatus\Query: fix limit, add some notes
2014-11-16 16:29:40 +01:00
Thomas Gelf
d7141392a5
Livestatus\Query: return available columns
2014-11-16 16:28:52 +01:00
Thomas Gelf
7b6b9b8574
LivestatusConnection: separator constant
2014-11-16 16:27:21 +01:00
Thomas Gelf
e0143bf572
Livestatus\Connection: add missing use statements
2014-11-16 16:26:28 +01:00
Thomas Gelf
fd55ffe47e
Livestatus\Connection: switch to new fetch methods
2014-11-16 16:25:47 +01:00
Thomas Gelf
efd395e12a
Livestatus\ResponseRow: initial dummy implementation
2014-11-16 16:22:10 +01:00
Thomas Gelf
17c8453c1c
Livestatus\Connection: line splitting implementation
...
Will need some more work to get SplFixedArray handling safe
2014-11-16 16:02:50 +01:00
Thomas Gelf
e1cdd30c93
Livestatus\Connection: fetch row from socket...
...
...basically just calling readLine, but splitting columns
2014-11-16 16:00:03 +01:00
Thomas Gelf
e755b37af3
Livestatus\Connection: discover column headers...
...
...in case the query doesn't know about
2014-11-16 15:56:58 +01:00
Thomas Gelf
8ec8c153dd
Livestatus\Connection: implement readLineFromSocket
...
We want to stream data in the near future, so reading line by line is
essential
2014-11-16 15:55:53 +01:00
Thomas Gelf
a027efc9e7
Livestatus\Connection: make use of socketError
2014-11-16 15:55:20 +01:00
Thomas Gelf
d66c95a725
Livestatus\Connection: implement socketError method
2014-11-16 15:54:32 +01:00
Thomas Gelf
be8120bd39
Livestatus\Connection: document hardcoded count
2014-11-16 15:53:19 +01:00
Thomas Gelf
d6b9f56a2c
Livestatus\Connection: throw "better" exceptions
...
Removed outdated method
2014-11-16 15:51:26 +01:00
Thomas Gelf
578873f695
Livestatus\Query: start using new filter methods
2014-11-16 15:48:59 +01:00
Thomas Gelf
3b1b38a353
Livestatus\Query: attempt to separate column handling
2014-11-16 15:47:06 +01:00
Thomas Gelf
4b5b5f4ae3
Livestatus\Query: use trigger_error in __toString
2014-11-16 15:37:52 +01:00
Thomas Gelf
510e1e66d6
Livestatus\Connection: add fetchRow / fetchPairs
...
Temporary ugly and slow implementation
2014-11-16 15:33:17 +01:00
Thomas Gelf
4cbe8da26f
Livestatus\Query: add a lot of filter voodoo
2014-11-16 15:30:10 +01:00
Thomas Gelf
14cdcc8ce2
Livestatus\Query: fetch csv, not json
2014-11-16 15:28:17 +01:00
Thomas Gelf
23546a4224
Livestatus\Query: parse an array structure
2014-11-16 15:22:54 +01:00
Thomas Gelf
1b8449009c
Livestatus\Connection: temporarily hardcode count
2014-11-16 15:20:12 +01:00
Thomas Gelf
0916f57ce8
Livestatus\Query: split string cast implementation
...
This way we can use an exception-throwing variant internally while not
breaking __toString
2014-11-16 15:13:07 +01:00
Thomas Gelf
38fec33849
Livestatus\Query: temporarily disable count cache
2014-11-16 15:12:13 +01:00
Thomas Gelf
48dfb1bb70
Livestatus\Query: remove obsolete properties
2014-11-16 15:11:31 +01:00
Thomas Gelf
39a995cc6f
Livestatus\Query: remove SimpleQuery tasks
2014-11-16 15:09:33 +01:00
Thomas Gelf
6de98dcf97
Livestatus\Query: extend SimpleQuery, not abstract
2014-11-16 15:06:58 +01:00
Johannes Meyer
9d292269b1
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
application/forms/Config/Resource/LdapResourceForm.php
test/php/application/forms/Config/Authentication/LdapBackendFormTest.php
2014-11-11 09:44:11 +01:00
Johannes Meyer
124f64ad89
Merge branch 'master' into bugfix/drop-zend-config-7147
2014-11-07 14:07:15 +01:00
Johannes Meyer
7b99b74ae1
Prefer Icinga\Application\Config instead of Zend_Config
...
refs #7147
2014-11-07 13:53:03 +01:00
Matthias Jentsch
54eda31633
Allow connect to hosts with no anonymous access
...
Do not throw exceptions on failed ldap connects during capability discovery
fixes #7325
2014-11-06 17:04:56 +01:00
Johannes Meyer
170ded6510
Merge branch 'master' into feature/setup-wizard-7163
...
Conflicts:
library/Icinga/Authentication/Backend/LdapUserBackend.php
library/Icinga/File/Ini/IniWriter.php
2014-11-04 14:22:53 +01:00
Eric Lippmann
16352fc10c
Move Logger to the Application namespace
...
fixes #7148
2014-10-31 10:27:17 +01:00
Matthias Jentsch
df69fd2264
Make Dns::getSrvRecors being more generic
...
The `target' property of a returned service record is too specific and causes
other properties being ignored.
2014-10-09 10:19:21 +02:00
Eric Lippmann
1b23fd7fbe
monitoring: Don't support status.dat as backend
...
Icinga Web 2 will not support status.dat for now and maybe forever.
2014-10-07 13:22:07 +02:00
Alexander Klimov
051128b967
Icinga\Protocol\File\FileReader: don't use Icinga\Util\Enumerate
2014-10-02 13:59:53 +02:00
Alexander Klimov
e192b939c2
Icinga\Protocol\File\FileIterator: extend EnumeratingFilterIterator
2014-10-02 13:59:52 +02:00