Johannes Meyer
b59f26879e
LessParser: Add custom function `extract-variable-default`
2021-06-23 17:40:06 +02:00
Sukhwinder Dhillon
b291d7ce3d
Add new less lib
2021-06-23 16:13:49 +02:00
Johannes Meyer
dcb619e62a
Translator: Add deprecation notice and use ipl-i18n internally
2021-05-28 14:03:36 +02:00
Johannes Meyer
f4a8599193
Introduce and utilize class `Icinga\Util\LessParser`
2021-01-25 09:15:53 +01:00
Johannes Meyer
7b488d7f93
swag: Fix violations of PSR-12
...
PSR-2 has been deprecated and phpcs v3.5.3
now checks for the successor PSR-12
2019-12-04 11:28:08 +01:00
Johannes Meyer
4af672fdfa
Translator: Also adjust env var `LANGUAGE` when setting up the locale
...
fixes #3750
2019-05-10 12:33:31 +02:00
Alexander A. Klimov
c04b2594a6
Format::seconds(): handle negative values as expected
...
refs #3589
2019-01-17 16:40:27 +01:00
Markus Frosch
4081a85d90
Introduce Icinga\Util\Environment to manage limits
...
And replace the code in Icinga\File\Pdf with the new helper.
2018-12-05 15:42:48 +01:00
Eric Lippmann
87da1e76cd
Respect php.ini limits when exporting to PDF
2018-12-05 15:12:03 +01:00
Eric Lippmann
8990d6f46e
Drop support for PHP < 5.6
2018-07-03 13:11:36 +02:00
Alexander A. Klimov
73473a3bb9
Fix tests
...
refs #2635
2018-06-22 09:57:10 +02:00
Alexander A. Klimov
906c1668a4
Split Json::encode() into Json::encode() and Json::sanitize()
...
refs #2635
2018-06-21 16:01:53 +02:00
Alexander A. Klimov
02b60633ff
Auto-sanitize only in the monitoring module
...
refs #2635
2018-06-20 18:05:12 +02:00
Alexander A. Klimov
9219cea776
Json::encode(): auto-sanitize bad UTF-8 strings
...
refs #2635
2018-06-20 18:05:11 +02:00
Alexander A. Klimov
fc1f6e13ab
Drop PHP 5.3 support
2018-05-07 11:36:54 +02:00
Alexander A. Klimov
5ce491d57a
Icinga\Repository::retrieveGeneralizedTime(): outsource logic
...
refs #2816
2018-01-18 15:25:21 +01:00
Markus Frosch
c3ef50978a
style: Fix minor styleguide issues for PHPCS
2017-11-08 10:06:45 +01:00
Markus Frosch
414ba16d8a
Util/Json: Make encode compatible to PHP < 5.5
2017-10-06 12:42:34 +02:00
Eric Lippmann
c554ebb473
Merge pull request #74 from Icinga/feature/travis
2017-06-23 14:45:38 +02:00
Eric Lippmann
686d022987
Merge pull request #2863 from Icinga/feature/domain-support-for-authn-authz-2153
2017-06-21 13:16:36 +02:00
Markus Frosch
b86789ecc5
Util/Json: Support PHP 5.3
2017-06-13 11:07:16 +02:00
Eric Lippmann
53eae8d93e
Add limit parameter to StringHelper::trimSplit()
...
refs #2153
2017-06-12 13:31:07 +02:00
Eric Lippmann
50971ea8e2
Merge pull request #2725 from Icinga/bugfix/browser-timezone-detection-2716
...
TimezoneDetect: support also negative timezone offsets
2017-06-02 09:32:59 +02:00
Alexander A. Klimov
1e58e15ac7
Test TimezoneDetect
...
refs #2716
2017-02-10 15:42:02 +01:00
Alexander A. Klimov
96ef0dccf8
Make JSON error handling logic reusable
...
refs #2728
2017-02-09 19:50:04 +01:00
Alexander A. Klimov
e5f462c2fa
TimezoneDetect: support also negative timezone offsets
...
refs #2716
2017-02-08 16:51:19 +01:00
Eric Lippmann
b0a6eb5b1e
Ignore case and whitespaces in the glob filter
...
refs #10965
2016-04-13 15:54:41 +02:00
Eric Lippmann
4d488ab354
Merge branch 'master' into feature/restrict-custom-variables-10965
2016-04-13 15:44:12 +02:00
Alexander A. Klimov
589da9bcd1
monitoring: Apply custom variable restrictions
...
refs #10965
2016-04-13 15:43:42 +02:00
Eric Lippmann
0edd1b5a08
doc: natcasesort files
2016-04-01 15:01:12 +02:00
Eric Lippmann
528be1ee79
doc: Iterate files alphabetically and directories last
2016-03-30 15:31:53 +02:00
Alexander A. Klimov
45168caa37
TimezoneDetect: support comma-separated icingaweb2-tzo cookies
2016-02-25 14:41:42 +01:00
Alexander A. Klimov
af18334e3e
Cookie icingaweb2-tzo: use `-' as separator
...
fixes #11126
2016-02-25 13:21:34 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Eric Lippmann
41c05c3451
Re-add String.php for backwards compatibility
2016-01-27 16:46:55 +01:00
Eric Lippmann
7fd575080e
PHP7: Rename String to StringHelper
...
refs #10251
2016-01-27 16:46:55 +01:00
Eric Lippmann
b043317fd4
PHP7: Fix Only variables should be passed by reference exception in Translator
...
refs #10251
2016-01-27 16:46:54 +01:00
Eric Lippmann
076784f2c9
lib: Add util DirectoryIterator
...
refs #10705
2015-11-24 15:54:16 +01:00
Eric Lippmann
5c3089ae85
lib: Fix String::endsWith() complexity
2015-11-24 15:53:13 +01:00
Johannes Meyer
1d6ad6df21
Merge branch 'master' into feature/custom-menu-items-5600
...
Conflicts:
modules/monitoring/configuration.php
2015-09-15 13:31:30 +02:00
Johannes Meyer
c154f96d44
Navigation: Add method createItem()
...
refs #5600
2015-09-01 16:02:44 +02:00
Eric Lippmann
4a5d2784fb
Normalize languages for negotiation to lowercase
...
refs #7818
2015-08-31 16:45:14 +02:00
Eric Lippmann
38ef8c7f11
lib: Fix PHPDoc of Translator::splitLocaleCode()
2015-08-31 09:08:31 +02:00
Eric Lippmann
7abc5778ea
Fix PHPDoc in the String helper
2015-08-19 12:50:05 +02:00
Matthias Jentsch
42de13a2b9
Merge branch 'feature/ssh-remote-connection-resource-configuration-7595'
...
resolves #7595
2015-06-15 17:30:42 +02:00
Paul Richards
e8cdcce61d
Fix PHP warning on Windows due to LC_MESSAGES not defined
...
Signed-off-by: Alexander A. Klimov <alexander.klimov@netways.de>
with the following changes:
Don't define LC_MESSAGES globally as only 2 methods would need that
Use LC_ALL rather than 6
fixes #8912
2015-06-12 13:49:38 +02:00
Alexander A. Klimov
b58ffbe034
Revert "Translator: fall back to LC_ALL if LC_MESSAGES is not defined"
...
This reverts commit 9fe2d4928d
.
2015-06-12 13:29:31 +02:00
Alexander A. Klimov
9fe2d4928d
Translator: fall back to LC_ALL if LC_MESSAGES is not defined
...
fixes #8912
2015-06-12 12:28:30 +02:00
Alexander A. Klimov
0bce5e83ad
Revert "Fix PHP warning on windows due to LC_MESSAGES not defined."
...
This reverts commit 5b18ff7965
.
2015-06-12 10:38:25 +02:00
Paul Richards
5b18ff7965
Fix PHP warning on windows due to LC_MESSAGES not defined.
...
fixes #8912
2015-06-11 17:28:50 +02:00