Alexander Aleksandrovič Klimov
5333f2deb7
Disable deprecation warnings unless ICINGAWEB_ENVIRONMENT is set to "dev" ( #5359 )
...
in ApplicationBootstrap#setupErrorHandling(). In webrouter.php disable
them unconditionally (until ApplicationBootstrap#setupErrorHandling())
not to duplicate the check. ApplicationBootstrap#setupErrorHandling())
is called pretty early, so we won't miss much.
fixes #5117
* In addition, this provides #5269 and mitigates #5152 in production
where ICINGAWEB_ENVIRONMENT isn't set.
2025-05-05 17:58:28 +02:00
raviks789
1b363360f6
Add tests for detecting browser timezone name
2025-04-28 16:22:59 +02:00
raviks789
2d265babf7
Fix browser timezone information being lost
2025-04-24 10:23:46 +02:00
Johannes Meyer
2b08d88edf
Url: Always compare host and port to identify external urls
2025-03-26 10:23:31 +01:00
Johannes Meyer
01bcf71e37
ArrayDatasource: Restore order by key column
...
Broke with 384d9535a9
2024-11-05 09:16:21 +01:00
alyxbb
5c94bf7bae
removed gendered languaged
2024-01-08 23:55:09 +00:00
raviks789
d2a40e088d
FormTest: Remove mocke Icinga\Web\Session in test testWhetherACsrfCounterMeasureIsBeingAdded()
...
Since a fake session is already being instantiated in `BaseTestCase` there is no need to mock the class `Icinga\Web\Session`.
2023-08-28 16:56:51 +02:00
raviks789
9887a2d622
ConfigTest: Define property $oldConfigDir
...
Use of dynamic property is deprecated since PHP 8.2
2023-08-23 10:53:15 +02:00
Johannes Meyer
776e0803fa
tests: The app is soon not mocked anymore, so don't use it as such
2023-07-04 16:26:36 +02:00
Johannes Meyer
e572652f4c
ConfigTest: Always load test config from disk
2023-07-04 16:25:11 +02:00
Johannes Meyer
c9f3f0444d
tests: Require view helpers at runtime
2023-07-04 16:24:19 +02:00
Johannes Meyer
b89da2f865
Visitor: Force light mode when printing pages
2022-12-07 11:57:48 +01:00
Eric Lippmann
e45c53ac3c
Test nested LESS variables in minin calls
2022-06-30 12:15:01 +02:00
Yonas Habteab
1ec6913a04
Tests: Add less parser nested variables test cases
2022-06-30 12:15:01 +02:00
Sukhwinder Dhillon
8f0ac0492d
Replace deprecated method DbConnection::getConnection() with DbConnection::getDbAdapter()
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
d8895669b3
Remove class IniStoreTest
2022-05-27 13:55:48 +02:00
Sukhwinder Dhillon
213c60334a
Rename class DbStoreTest to PreferencesStoreTest
2022-05-27 13:55:48 +02:00
Johannes Meyer
42815f02e6
Drop class Icinga\File\Storage\LocalFileStorageIterator
2022-03-24 12:27:20 +01:00
Eric Lippmann
0ce968bfda
Deny light-mode definitions in selectors
2022-02-09 21:35:12 +01:00
Johannes Meyer
91c0ff9d05
LessParserTest: Test light mode collection
2022-02-09 21:35:12 +01:00
Johannes Meyer
38cc26eca5
tests: Introduce LessParserTest
2022-02-09 21:20:33 +01:00
Johannes Meyer
509d642982
tests: Introduce TemporaryLocalFileStorageTest
...
refs #4630
2022-01-11 12:48:34 +01:00
Johannes Meyer
0cbae3195e
test: Remove testcase TranslatorTest
2021-05-28 14:03:36 +02:00
Johannes Meyer
384d9535a9
ArrayDatasource: Sort result first and then apply limit+offset
2021-04-12 15:42:20 +02:00
Johannes Meyer
e671324ddb
tests: Don't use deprecated assertion assertRegExp()
2021-04-09 12:38:43 +02:00
Johannes Meyer
f27e872d90
tests: Don't make use of deprecated phpunit features
2021-04-09 12:38:43 +02:00
Johannes Meyer
cb87190138
tests: Add :void return type declarations
2021-04-09 12:38:43 +02:00
Johannes Meyer
87d741265e
Auth: Add support for denied permissions
2021-02-18 11:11:39 +01:00
Johannes Meyer
b2f7c3788d
test: Roles have permissions, not users
2021-02-18 11:11:39 +01:00
Johannes Meyer
766d73cb3f
IniParserTest: Add case for php bug 76965
...
refs #3733
2019-04-17 09:59:54 +02:00
Johannes Meyer
f6f106faf2
tests: Update ini tests
2019-03-04 12:16:55 +01:00
Johannes Meyer
ed7ecb32a5
IniParser: Properly unescape special characters in section names and option values
...
refs #3648
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2019-02-05 11:30:55 +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
Johannes Meyer
f28f7150fc
AuditHook: Enforce a named identity and allow to pass a explicit time
2018-07-18 14:45:00 +02:00
Eric Lippmann
faaff42096
Revert "Introduce PasswordHelper for safer passwords"
...
This reverts commit f57277aa96 .
Since we're dropping PHP support for versions lower than 5.6 this class is no longer necessary.
2018-07-03 13:08:06 +02:00
Eric Lippmann
1a841170ff
Merge pull request #3419 from Icinga/feature/audit-module-2584
...
Feature/audit module 2584
2018-06-19 05:13:42 -04:00
Eric Lippmann
f905a978d8
Merge pull request #3309 from Icinga/bugfix/localfilestoragetest-error-handler
...
LocalFileStorageTest: restore error_reporting() level and error handler
2018-06-08 09:03:31 -04:00
Johannes Meyer
1f7d9def73
Introduce test AuditHookTest
...
refs #2584
2018-06-08 14:21:15 +02:00
Eric Lippmann
4bea67e756
Merge pull request #3315 from Icinga/bugfix/php-7-2-support-3185
...
Don't call session_start() after ini_set()
2018-05-07 05:44:52 -04:00
Johannes Meyer
1b15048636
Drop obsolete Icinga\Web\Menu classes
...
refs #2338
2018-04-27 14:28:20 +02:00
Alexander A. Klimov
dadd2c80f6
Don't call session_start() after ini_set()
...
refs #3185
2018-01-24 17:38:20 +01:00
Alexander A. Klimov
a504281248
LocalFileStorageTest: restore error_reporting() level and error handler
...
... not to cause side effects in other tests
2018-01-24 10:54:49 +01:00
Alexander A. Klimov
1b2f3cf280
Test ASN1
...
refs #2816
2018-01-18 15:25:34 +01:00
Markus Frosch
f57277aa96
Introduce PasswordHelper for safer passwords
...
refs #2954
2017-11-21 08:26:24 +01:00
Eric Lippmann
f0ad3d5188
Add more test cases to the transformEmptyValuesToNull() test
...
refs #2751
2017-11-09 12:06:15 +01:00
Noah Hilverling
bd6e65374d
Add test for method transformEmptyValuesToNull
...
refs #2751
2017-11-09 11:57:59 +01:00
Alexander A. Klimov
2cced5fe13
Implement local file storage
2017-11-06 10:33:54 +01:00
Markus Frosch
28b1a00d4a
LdapUtils: Add isDN function
2017-10-20 15:17:11 +02:00
Eric Lippmann
010db92c88
Add # to the filter test
...
refs #2936
2017-09-20 15:16:41 +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