11359 Commits

Author SHA1 Message Date
Alexander A. Klimov
c7ffb41b02 Implement togglable flyover
refs #3024
2017-11-21 14:05:12 +01:00
Johannes Meyer
0648436297
Merge pull request #3104 from Icinga/bugfix/transportconfig-validation
Wizard: Config validation button for Icinga 2 API

fixes #3101
2017-11-21 13:55:35 +01:00
Johannes Meyer
e4fd8d5124 Setup: Only allow to validate the API transport configuration
refs #3101
2017-11-21 13:48:29 +01:00
Markus Frosch
22c6bf75e7 Setup: Fix that the API transport validation does not work
refs #3101
2017-11-21 13:48:17 +01:00
Michael Friedrich
d045d4547e Update 'About' details with application name in version and corrected URLs
Requires translation refresh @lippserd
2017-11-21 13:40:19 +01:00
Thomas Gelf
a352c9daf9 body.phtml: provide a fallback in case no...
...inlineLayout has been given.

fixes #3120
2017-11-21 13:30:58 +01:00
Alexander A. Klimov
b000c1ae4a Implement auto-detaching DOM elements
refs #3039
2017-11-21 13:17:55 +01:00
Alexander A. Klimov
7fef9bddde Merge branch 'bugfix/x-icinga-windowid-auto-refresh' 2017-11-21 12:42:51 +01:00
Thomas Gelf
e32023bd71 DocSectionRenderer: trim trailing image url space
fixes #3117
2017-11-21 12:36:53 +01:00
Thomas Gelf
ccd31f6438 Filter: new abstract methode and better IDE hints
fixes #3111
2017-11-21 12:29:02 +01:00
Thomas Gelf
0edcfdee33 icinga/ui.js: don't spend time for UI debug...
...while not being shown.

fixes #3115
2017-11-21 12:27:15 +01:00
Alexander A. Klimov
71fe12393d Persist X-Icinga-WindowId across auto-refreshes 2017-11-21 11:30:36 +01:00
Markus Frosch
1aae1eab23 DBUserBackend: Replace internal crypt handling with PasswordHelper
refs #2954
2017-11-21 08:26:24 +01:00
Markus Frosch
f57277aa96 Introduce PasswordHelper for safer passwords
refs #2954
2017-11-21 08:26:24 +01:00
lippserd
745674dbe4
Merge pull request #3105 from Icinga/fix/announcements-ack-url
Fix acknowledge URL of announcements
2017-11-20 13:36:14 +01:00
Eric Lippmann
a4249539ec Fix acknowledge URL of announcements 2017-11-20 13:35:17 +01:00
lippserd
5aed51b1a2
Merge pull request #3094 from Icinga/feature/requirements
Support and documentation changes for 2.5.0
2017-11-17 11:44:34 +01:00
Markus Frosch
0a3ab14ca4 Fix ErrorDocument prefix for the Apache webserver 2017-11-17 11:41:04 +01:00
Markus Frosch
dd8aaec7cf Remove RPM spec file 2017-11-17 11:37:39 +01:00
Markus Frosch
e80ce765f0 Documentation update for 2.5.0
Including:

* FPM migration on EPEL
* Package deprecation
* SUSE PHP upgrade
2017-11-17 11:37:39 +01:00
Markus Frosch
032622a4dc php-fpm: Add config file examples and templates 2017-11-17 11:37:36 +01:00
lippserd
17718d4863
Merge pull request #3090 from Icinga/feature/configure-the-default-limit-13010
Add user preference for default number of items per page
2017-11-16 20:37:47 +01:00
lippserd
b3c1006eca
Merge pull request #3064 from Icinga/feature/var-lib-icingaweb2-2582
Implement ApplicationBootstrap::getStorageDir()
2017-11-16 20:27:34 +01:00
Alexander A. Klimov
cea52a1b4b Implement ApplicationBootstrap::getStorageDir()
refs #2582
2017-11-16 20:26:49 +01:00
lippserd
3d50729847
Merge pull request #3091 from Icinga/fix/disable-stacktraces
Fix that disabled stack straces via user prefs had no effect
2017-11-16 20:23:18 +01:00
lippserd
5c1d67a1ec
Merge pull request #3092 from Icinga/fix/postgresql-groupby
pogsql: Group by custom variables when querying them
2017-11-16 20:23:06 +01:00
lippserd
6f9e18cd34
Merge pull request #3096 from Icinga/feature/role-all-users
Apply role to all users if the role is defined with users=*
2017-11-16 20:22:52 +01:00
Eric Lippmann
f495b390da Apply role to all users if the role is defined with users=*
If the users directive contains at least one single asterisk, the role is applied to all users.
So, this supports roles which define users=username, ..., * and users=*

refs #3095
2017-11-16 12:02:41 +01:00
Eric Lippmann
d11519ac49 pogsql: Group by custom variables when querying them
Custom variables added via the URL parameters addColumns or sort must be added to the GROUP BY list when using PostgreSQL.

Credits to @nbuchwitz who came up with the initial fix for this.

refs #1873
2017-11-16 09:20:22 +01:00
Eric Lippmann
af64ca8fc8 Fix that disabled stack straces via user prefs had no effect
Web::setupFrontController() took the user object into account when checking for disabled stacktraces.
But we changed our bootstrap order some time ago so we did not have a user in this method anymore.
Now, Web::setupUser() checks for disabled stacktaces in the user prefs instead.

refs #2595
2017-11-15 17:22:54 +01:00
Alexander A. Klimov
bdcb6389d8 Add user preference for default number of items per page
refs #2859

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-15 16:56:43 +01:00
Florian Strohmaier
166f27b947 CSS: Optimize monitoring status bar spacing 2017-11-13 15:02:06 +01:00
lippserd
226efe2e16
Merge pull request #3079 from cstegm/patch-1
Detect UP and DOWN in plugin output to colorize output
2017-11-10 11:35:36 +01:00
cstegm
bb794d6993 Detect UP and DOWN in plugin output to colorize output
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-10 11:33:52 +01:00
lippserd
905ea06f53
Merge pull request #3026 from jrgensen/master
Fix php fatal error on monitoring/health/info when asking for json
2017-11-10 11:30:07 +01:00
Klaus Jrgensen
fa9b2981d7 Fix PHP fatal error on monitoring/health/info when asking for JSON
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-10 11:16:33 +01:00
lippserd
37a9450a0f
Merge pull request #3083 from Icinga/fix/unhandled-service-count-for-hosts
Fix wrong unhandled services count in host views when restrictions ar…
2017-11-10 11:14:13 +01:00
Eric Lippmann
928185a144 Fix wrong unhandled services count in host views when restrictions are used
The query for fetching the unhandled services count utilises the hosts query as subquery.
Restrictions are applied to both the hosts query and the query for the unhandled services count.
This leads to wrong results since the restrictions are already in place for the unhandled services count because we're using the hosts query as subquery.

refs #2822
2017-11-10 10:17:32 +01:00
lippserd
fd1ee57a93
Merge pull request #2752 from Icinga/bugfix/configform-transformemptyvaluestonull-does-not-handle-values-correctly-2751
ConfigForm: transformEmptyValuesToNull does not handle values correctly
2017-11-10 10:11:37 +01:00
Eric Lippmann
f0ad3d5188 Add more test cases to the transformEmptyValuesToNull() test
refs #2751
2017-11-09 12:06:15 +01:00
Eric Lippmann
9ed5685849 ConfigForm: Use transformEmptyValuesToNull() also in onSuccess()
refs #2751
2017-11-09 12:06:12 +01:00
Noah Hilverling
9791e6ffb8 ConfigForm: Do not ignore false while transforming to null
refs #2751
2017-11-09 11:57:59 +01:00
Noah Hilverling
bd6e65374d Add test for method transformEmptyValuesToNull
refs #2751
2017-11-09 11:57:59 +01:00
Noah Hilverling
bf20611fd4 ConfigForm: Fix that empty values are not handled correctly
refs #2751
2017-11-09 11:57:59 +01:00
Johannes Meyer
23066d2cc4 ServicegroupQuery: Use left joins instead of inner joins
refs #2796
2017-11-09 09:42:46 +01:00
Johannes Meyer
4ef085bdcd HostgroupQuery: Use left joins instead of inner joins
refs #2796
2017-11-09 09:42:46 +01:00
Johannes Meyer
e41f4504a1 mixedPagination: Utilize the url() helper instead of the Url class directly 2017-11-09 08:33:18 +01:00
lippserd
71b1671b1f
Merge pull request #3074 from Icinga/fix/search-for-host-and-servicegroups
Allow to search for host and servicegroups by their case insensitive …
2017-11-08 15:42:07 +01:00
Eric Lippmann
121fdaadb0 Allow to search for host and servicegroups by their case insensitive names too
refs #2971
2017-11-08 15:40:43 +01:00
lippserd
2731027200
Merge pull request #3073 from Icinga/remove-packages-debian-directory
Remove packages/debian
2017-11-08 14:22:56 +01:00