12106 Commits

Author SHA1 Message Date
Eric Lippmann
0c06ec7431
Merge pull request #3558 from Icinga/fix/permission-test-in-hook-has
Fix permission test in Hook::has()
2018-11-15 11:26:07 +01:00
Eric Lippmann
1268c16a7f
Merge pull request #3588 from Icinga/fix/problems-the-world-has-and-ever-will
Fix problems the world has and ever will
2018-11-15 11:25:48 +01:00
Eric Lippmann
59b7730327
Merge pull request #3619 from Icinga/bugfix/setup-icingacli-fallback
Setup: make icingacli alternative command working OOTB
2018-11-15 11:24:56 +01:00
Eric Lippmann
8300011c6f Use requireVirtualTable() 2018-11-15 11:10:31 +01:00
Alexander A. Klimov
ae5018ccea Setup: make icingacli alternative command working OOTB 2018-11-14 12:26:30 +01:00
Eric Lippmann
dda390b3d8 Require virtual table hosts
refs #3564
2018-11-14 10:22:17 +01:00
Thomas Gelf
b4afdf4115 DbConnection: do not fail for MySQL 8
fixes #3611
2018-11-08 11:11:37 +01:00
Johannes Meyer
c8a49414b1 js: Append a unique container id to the Window-Id
Generates a semi-random id for containers other than the menu and col1.
This id is then appended to the Window-Id of every request separated by
an underscore: `window-id_container-id`

refs #3609
2018-11-07 12:44:25 +01:00
Johannes Meyer
8212c51f8d js: Already set window.name prior bootstrapping our js runtime
Makes sure that the Window-Id already generated and utilized by the
server on the first request is used by subsequent requests instead
of a new one.

Also avoids that concurrent running id-less requests compete about
which one may set his assigned id. Now any subsequent request
already transmits the id assigned to the first one.

And it resets `window.name` in case the user performs a manual
refresh so that the id used by the server is set/utilized.

refs #3609
2018-11-07 09:13:16 +01:00
Michael Friedrich
aed2e54834
Merge pull request #3594 from Icinga/feature/docs-icinga-com
Update URL to https://icinga.com
2018-10-29 17:49:34 +01:00
Eric Lippmann
d1d7526ad2
Merge pull request #3593 from Icinga/feature/docs-ldap-timeout
Add docs for timeout on LDAP resource
2018-10-18 11:04:19 +02:00
Michael Friedrich
d1fb3b3674 Update URL to https://icinga.com 2018-10-18 11:02:57 +02:00
Michael Friedrich
3d949ac9e6 Add docs for timeout on LDAP resource
refs #3592
2018-10-18 10:52:01 +02:00
Florian Strohmaier
d1cbc4b05c JS: Remove excessive scroll events 2018-10-16 15:41:33 +02:00
Eric Lippmann
8c6e1cb9d8
Merge pull request #3591 from Icinga/feature/release-docs
Drop G+ from RELEASE docs
2018-10-16 14:45:23 +02:00
Eric Lippmann
d00fdf4d19
Merge pull request #3592 from Icinga/feature/ldap-timeout
LdapConnection: Add timeout setting with a useful default value
2018-10-16 14:45:02 +02:00
Markus Frosch
39f5b5e2cd LdapConnection: Ensure port and timeout are numbers 2018-10-16 14:44:01 +02:00
Markus Frosch
3f782460dc LdapConnection: Add timeout setting with a useful default value 2018-10-16 14:35:50 +02:00
Michael Friedrich
85949fd23f Drop G+ from RELEASE docs 2018-10-12 15:02:02 +02:00
Johannes Meyer
86ae8c12df IniParser: Use mode INI_SCANNER_RAW to parse ini files 2018-10-10 09:44:11 +02:00
Johannes Meyer
4e6b936862 helpers/url: Properly escape image urls 2018-10-10 09:44:11 +02:00
Johannes Meyer
7ba0466048 config/module(en|dis)able: Utilize a form instead of a link 2018-10-10 09:44:11 +02:00
Johannes Meyer
77bb1944db Web: Setup the logger earlier in the bootstrap process
Previously only ERROR got logged (to syslog only) up until
setupLogger() was called. This prevented any other message
level from being logged. It's now required to be able to
log in the Auth singleton. It also fixes the problem that
during setupSession() some warnings were never visible
due to the same reason.
2018-10-08 14:03:34 +02:00
Johannes Meyer
2f9037e545 Auth: Log which groups were identified for the user being authenticated 2018-10-08 14:02:26 +02:00
Johannes Meyer
d8e3f23342 LdapCapabilities: Log which attributes were discovered 2018-10-08 10:34:27 +02:00
Johannes Meyer
3c69a63ce3 LdapUserGroupBackend: Log what the ambiguity check does 2018-10-08 10:34:27 +02:00
Johannes Meyer
4c96da3d56 auth/external: Use a stripped down layout for the logout workaround
We've used the standard layout before which caused a automatic login.
Automatic because the browser saw our js/css <link> tags and accessed
the routes which in turn logged in the user, but only if there's a
enabled module which's configuration.php (or run.php) accesses the
Auth singleton. The stripped down layout provides its own js/css so
there's no need for our full-blown resources.

fixes #3583
2018-10-02 15:24:11 +02:00
Marius Hein
ae469311be Fix uninitialized array and module in Cli\Command 2018-09-24 13:48:22 +02:00
Max Kozlov
65591c829f
Update Cli.php 2018-09-08 01:37:33 +03:00
Max Kozlov
a55e32b1a1
Return non-zero on display usage
`Icingacli` should return non-zeno status code when display usage messages
 for example for invalid commands

https://github.com/Icinga/icinga2/issues/6585#issuecomment-418681789

It is good for automation and helps mitigate typing errors
2018-09-05 22:16:25 +03:00
Markus Frosch
4753262589 DetailviewExtension: Integrate into multi-select views
refs #3072
2018-08-22 17:13:41 +02:00
Markus Frosch
ecbfafd25a DetailviewExtension: Make sure data-icinga-module is set on container
To allow the eventhandler in JS to load and initialize the
corresponding module.
2018-08-22 17:04:41 +02:00
Eric Lippmann
7e4b92b714 Fix permission test in Hook::has()
Before, only the first hook for the given type was tested. If this hook
belonged to a not permitted module, Hook::has() returned false. Though
there may have been other hooks which are permitted.
2018-08-16 17:03:42 +02:00
Oliver Rahner
967a0bf74e
documented $currentUser$ placeholder for restrictions 2018-08-08 15:24:26 +02:00
Oliver Rahner
34eadb7f29
Enable $currentUser placeholder in restrictions
implements #3493
2018-08-08 15:15:02 +02:00
Eric Lippmann
b3e0b5d587 Raise version to 2.6.1 v2.6.1 2018-08-02 12:46:39 +02:00
Eric Lippmann
e254761dd7 Update changelog 2018-08-02 12:46:39 +02:00
Eric Lippmann
27c6c06f75
Merge pull request #3537 from Icinga/fix/array-to-str-conversion-when-sending-commands-3535
Audit: Log a command's payload as json
2018-08-02 12:39:34 +02:00
Eric Lippmann
0f075b034b Respect permissions in Hook::has() 2018-07-26 11:51:23 +02:00
Johannes Meyer
dbfef34f6e Audit: Log a command's payload as json
$data may be arbitrarily nested.

refs #3535

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-24 10:16:30 +02:00
Blerim Sheqa
50f2d1949f Update RELEASE.md 2018-07-19 13:42:16 +02:00
Johannes Meyer
cfe6c7b065 Update CHANGELOG.md v2.6.0 2018-07-19 09:34:58 +02:00
Johannes Meyer
c0f99539ff Raise version to v2.6.0 2018-07-19 09:27:11 +02:00
Johannes Meyer
71c70e1e11 Update AUTHORS 2018-07-19 09:23:26 +02:00
Johannes Meyer
dab9fea0d4
Merge pull request #3457 from Icinga/feature/proper-results-when-filtering-for-linked-objects-2934
Proper results when filtering for linked objects
2018-07-19 09:15:58 +02:00
Johannes Meyer
0464bc4fde
Merge pull request #3533 from Icinga/feature/command-audit
Add command audit
2018-07-19 09:03:13 +02:00
Eric Lippmann
7f21e14afc Add command audit 2018-07-19 00:35:28 +02:00
Eric Lippmann
7624d99070 Use subquery filters for contacts if appropriate
refs #2934
2018-07-18 17:47:40 +02:00
Eric Lippmann
424f687f5d
Merge pull request #3532 from Icinga/bugfix/ido-check_interval
Fetch check_interval property of monitored objects, too
2018-07-18 16:32:37 +02:00
Eric Lippmann
c168ebfe3a Fix subquery joins for host and service group views
refs #2934
2018-07-18 15:50:37 +02:00