Markus Frosch
9921ebc2f8
test: Align icingacli test commands with default settings
...
We cleaned the default settings for travis, the CLI commands now
use the same default.
The following issue should be fixed for issues:
https://github.com/Icinga/icinga-packaging/issues/50
2017-11-08 10:07:37 +01:00
Markus Frosch
5ba3ff3c4d
travis: Update build matrix
...
* Only generate locales on precise
* Pin version of phpcs for PHP 5.3
2017-11-08 10:06:48 +01:00
Markus Frosch
c3ef50978a
style: Fix minor styleguide issues for PHPCS
2017-11-08 10:06:45 +01:00
Markus Frosch
4bffcf1ba5
style: Update icingaweb2.ruleset.xml
...
So allow common style in our code base.
2017-11-08 09:59:33 +01:00
Markus Frosch
cf4c83011f
travis: Update phpcs to 3.0.2
...
And install phpcbf
2017-11-08 09:59:33 +01:00
Markus Frosch
3412fdfac1
Enable PHP CodeSniffer in travis testing
2017-11-08 09:59:33 +01:00
lippserd
cc4fcaefad
Merge pull request #2845 from Icinga/fix/translation-excludes
...
GetTextTranslationHelper: Make sure we ignore any dotfile or vendor dir
2017-11-08 09:53:54 +01:00
Markus Frosch
389b23af81
GettextTranslationHelper: Avoid descending into symlinks
...
This basically avoids loops...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-08 09:53:19 +01:00
Markus Frosch
43423f9453
GetTextTranslationHelper: Make sure we ignore any dotfile or vendor dir
...
If you are using composer, or ship any other code in dotfile or vendor
directories, we should not parse that for translation.
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-08 09:53:19 +01:00
lippserd
1a86c61c2d
Merge pull request #2843 from Icinga/bugfix/cannot-disable-missing-module-2811
...
Handle enabled, but deleted modules properly
2017-11-08 09:49:51 +01:00
Alexander A. Klimov
cbfbb3a162
Handle enabled, but deleted modules properly
...
refs #2811
2017-11-08 09:48:58 +01:00
lippserd
3fc410b8c1
Merge pull request #3068 from Icinga/feature/sort-announcements-by-date
...
Sort announcements by date
2017-11-08 09:48:09 +01:00
Eric Lippmann
cd05d00b63
Sort announcements descending by start time
...
refs #2987
2017-11-08 09:46:14 +01:00
Eric Lippmann
1f5f610b04
Add newlines to AnnouncementIniRepository.php
2017-11-07 14:48:46 +01:00
Eric Lippmann
5ec14bdb9d
Remove inheritdoc tags in AnnouncementIniRepository.php
2017-11-07 12:50:30 +01:00
lippserd
26032a0413
Merge pull request #2984 from deric/solarized
...
Solarized dark theme
2017-11-07 09:13:30 +01:00
Markus Frosch
0a188740d3
Solazired theme: Improve colors and module styles
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-07 09:10:20 +01:00
Tomas Barton
751da3c762
Add solarized dark theme
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-11-07 09:10:20 +01:00
lippserd
37275ee799
Merge pull request #3034 from Icinga/bugfix/doc-module-sends-wrong-content-type-for-images-2918
...
ModulesController: use setter for headers and response code
2017-11-07 09:05:11 +01:00
lippserd
94922ade25
Merge pull request #3061 from ss23/crypt_fix
...
Modify authentication function to support alternative algorithms
2017-11-06 11:06:06 +01:00
ss23
c196a7c7c4
Modify authentication function to support alternative algorithms
...
The existing usage of crypt() was borderline incorrect. This simplified
function will allow hashes of other types (e.g. bcrypt) and thus
mitigate #2954 (use password_hash) until this can be implemented.
The getSalt protected method was also removed as this is no longer
required, though this can be added again in future.
2017-11-06 22:48:42 +13:00
lippserd
2d9b6ea538
Merge pull request #3022 from Icinga/feature/wip-file-storage-abstraction
...
[WIP] Add file storage abstraction
2017-11-06 10:34:54 +01:00
Alexander A. Klimov
2cced5fe13
Implement local file storage
2017-11-06 10:33:54 +01:00
lippserd
2caa07ce9b
Merge pull request #3027 from Icinga/bugfix/respect-limits-and-sort-order-for-format-requests-2967
...
Respect limits and sort orders for format requests
2017-11-06 09:51:19 +01:00
lippserd
28bd928678
Merge pull request #3052 from Icinga/fix/cli-monitoring-update-help
...
Fix help for icingacli monitoring list (--unhandled is --problems, etc.)
2017-11-06 09:49:52 +01:00
lippserd
2c93177d21
Merge pull request #3060 from simahawk/patch-1
...
Update installation step for Ubuntu
2017-11-06 09:48:45 +01:00
lippserd
27867494ff
Merge pull request #2798 from towolf/suspend-autorefresh-when-invisible
...
Disable auto-refresh when page is not visible
2017-11-06 09:48:31 +01:00
Johannes Meyer
4cf577b1c8
RepositoryForm: Utilize setDefaults instead of populate now
...
refs #3010
refs #2998
2017-11-06 08:56:09 +01:00
Simone Orsi
c99fd34ed0
Update installation step for Ubuntu
...
Install `icingacli` to avoid `The program 'icingacli' is currently not installed. You can install...`
2017-11-05 21:47:13 +01:00
Jennifer Mourek
3a8ba39abd
Disable auto-refresh when page is not visible
...
credits to @towolf
Icinga offers the user to enable or disable 'auto-refresh' with a
static preference.
But 'auto-refresh' is the default and our users often have dozens of
Icinga tabs open in their browser, which they are not looking at.
The background tabs lead to significant load on the database to to
repeated queries to keep the invisible UI fresh.
This change adds a visibility listener, which disables auto-refresh when the
page is not visible.
refs #2761
2017-10-26 13:53:25 +02:00
Alexander A. Klimov
ee7fa2c48c
Merge branch 'bugfix/wizard-ldap-connection-settings-discovery-failure-reasons-are-silented-2865'
...
fixes #2865
2017-10-26 11:14:51 +02:00
Alexander A. Klimov
d13856eb39
Wizard: show LDAP connection settings discovery failure reasons
...
refs #2865
2017-10-26 10:25:37 +02:00
Jennifer Mourek
12a694787b
ModuleController: Rename ETag to etag and change Response headers (imageAction)
2017-10-25 14:36:41 +02:00
Michael Friedrich
1748b3df9d
Fix help for icingacli monitoring list (--unhandled is --problems, etc.)
...
The help text still showed the wrong paramter, while it was not documented
as possible parameter either. In addition to that #562 unveils that a
custom --format parameter requires selected columns to do so.
This patch adds that into the documentation which is rendered as CLI command
help text then.
refs #562
2017-10-24 21:05:39 +02:00
lippserd
04c8892f24
Merge pull request #3010 from Icinga/bugfix/cant-create-resources-and-command-transports-2998
...
Bugfix/cant create resources and command transports 2998
2017-10-24 08:57:43 +02:00
Johannes Meyer
37aeff7791
Respect limits and sort orders for format requests
...
fixes #2967
2017-10-23 15:49:12 +02:00
Johannes Meyer
2e1bac81ff
Form: Create the form as part of method `setDefaults'
...
We don't care anymore about the BC in Zend version 1.12.7.
Hence we'll happily override setDefaults now. Yay!
refs #2998
2017-10-23 15:10:50 +02:00
Johannes Meyer
d348d95e5e
Revert "Form: Don't prevent disabled elements from getting overwritten.."
...
This reverts commit eb343009bb
.
refs #2998
2017-10-23 15:10:37 +02:00
lippserd
e914f121e4
Merge pull request #3038 from nbuchwitz/patch-1
...
Doc: Fix module name in translation example
2017-10-23 11:27:15 +02:00
Nicolai
1cbaff76d9
Doc: Fix module name in translation example
...
Changed module name from module to yourmodule according to the example description.
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 11:26:38 +02:00
lippserd
8c40aef9ab
Merge pull request #2961 from tfylling/patch-1
...
Option for default schedule downtime for all services
2017-10-23 11:18:44 +02:00
tfylling
46a82c2739
Monitoring: Make downtime for all services checkbox configurable
...
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 11:17:25 +02:00
lippserd
401eda2d29
Merge pull request #2924 from Icinga/bugfix/ldap-membership-resolution
...
Problems in LDAP membership resolution
2017-10-23 11:10:47 +02:00
lippserd
75578c5b72
Merge pull request #2957 from nbuchwitz/bugfix/filter-with-parentheses-2925
...
Remove array syntax from default comment filter
2017-10-23 10:48:27 +02:00
Nicolai Buchwitz
bd5de0949d
Remove array syntax from default comment filter
...
Added comment types 'comment' and 'ack' as separate fields and removed
the array syntax due to problems with the filter editor.
refs #2925
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2017-10-23 10:45:21 +02:00
Markus Frosch
2e94bec22c
travis: Enable ldap PHP module for PHP 5.3
2017-10-23 10:35:29 +02:00
Markus Frosch
f65759ace8
LdapUserGroupBackend: Base ambiguity decision based on isDN
...
Problem was: When a DN did not contain the same base DN, the check failed
This happens when you have an entry referencing a DN of another domain.
(And this value is tested as a sample)
2017-10-20 15:17:11 +02:00
Markus Frosch
28b1a00d4a
LdapUtils: Add isDN function
2017-10-20 15:17:11 +02:00
Alexander A. Klimov
c22efa4519
UrlValidator: translate error message
2017-10-20 14:27:33 +02:00
Jennifer Mourek
48742e1333
ModulesController: use setter for headers and response code
...
refs #2918
2017-10-20 10:35:23 +02:00