Commit Graph

13759 Commits

Author SHA1 Message Date
Johannes Meyer 58673b0b95 PhpCommand: Accept phpunit path as option and fix coverage 2023-07-04 17:05:06 +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 d0b2ed177c tests: Drop DateFormatTestBroken as it is .. broken 2023-07-04 16:24:37 +02:00
Johannes Meyer c9f3f0444d tests: Require view helpers at runtime 2023-07-04 16:24:19 +02:00
Johannes Meyer e7adc06497 ApplicationBootstrap: Process `ICINGAWEB_MODULES_DIR` by default 2023-07-04 16:08:41 +02:00
Gianluca Piccolo db9888b1f1 Fixes #5020 2023-06-22 15:11:39 +02:00
Sukhwinder Dhillon 59fc7dd745 Fix installation doc for centOS 2023-06-22 15:10:05 +02:00
Thomas Gelf 463cc748bf MonitoringBadgeNavigationItemRenderer: do not fail
...on wildcard filter
2023-06-22 15:07:47 +02:00
Sukhwinder Dhillon ea1e5f9245 TimeLine: Always parse `int` to validateTime()
Php < 8.1 converts fetched time(stamp) to string. This must always be an int.
2023-06-22 15:05:10 +02:00
Johannes Meyer c40cfb41a8 RoleForm: Force a suffix for all element names
fixes #4973
2023-06-22 15:04:19 +02:00
Sukhwinder Dhillon 5000d3117b IcingaException: Only use `vsprintf()` if `$args` given
If the passed message contains a `%`, but no `$args`, `vsprintf()` throws an error.
2023-06-22 15:03:14 +02:00
Johannes Meyer 10d3fb64f9 js: Automatically transform .time-until widgets into .time-ago ones 2023-06-22 15:02:37 +02:00
raviks789 f74041e00a Javascript: Add `copy-to-clipboard` behavior
Utilizes `CopyToClipboard.js` from ipl-web
2023-06-20 12:06:27 +02:00
Sukhwinder Dhillon 65b9024bc5 Winter.less: Don't set bg-color to transparent 2023-06-19 10:09:49 +02:00
Sukhwinder Dhillon 09b9d7401c base.less: Make menu nav-level-2 hover better visible 2023-06-19 10:09:36 +02:00
Johannes Meyer 357398cecd php: Fix mysql container startup 2023-06-19 10:03:04 +02:00
Alexander A. Klimov 7eb6359281 GHA: handle changed interface of Icinga/docker-icingaweb2 2023-05-23 10:32:25 +02:00
Eric Lippmann a3235555bb js: Also preserve scroll-y upon auto-refresh 2023-05-19 15:29:44 +02:00
Johannes Meyer e0e2ff7a86
Merge pull request #5026 from Icinga/let-autosubmits-trigger-real-submits
Let autosubmits trigger real submits
2023-05-19 15:02:51 +02:00
Johannes Meyer cb6a0c120f events.js: Trigger a real submit upon autosubmit 2023-05-19 14:53:31 +02:00
Johannes Meyer 7da5eb0972 modal.js: Trigger a real submit upon autosubmit 2023-05-19 14:53:31 +02:00
Johannes Meyer 63eae12d33 loader.js: Transmit nearest identifiable parent as origin..
..upon autosubmit if the real element has no id or name.
2023-05-19 14:42:00 +02:00
Johannes Meyer 88caf3c141 loader.js: Empty nested containers upon `__CLOSE__` 2023-05-19 14:17:41 +02:00
Johannes Meyer 4b6df1bef9 Release version 2.11.4 2023-01-26 12:53:47 +01:00
Johannes Meyer 693bed1710 Raise version to 2.11.4 2023-01-26 09:42:18 +01:00
Johannes Meyer 299ef68102 Update CHANGELOG.md 2023-01-26 09:42:18 +01:00
Johannes Meyer 74c8e24884 Update AUTHORS 2023-01-26 09:42:18 +01:00
Johannes Meyer fdcfdfa3de
Merge pull request #4988 from Icinga/dkr-env
Provide the behaviour the Docker images patch into us by ourselves
2023-01-26 09:35:39 +01:00
Alexander A. Klimov 73dcf2bc89 setup: welcome page: on Docker remove redundant instructions 2023-01-24 11:23:58 +01:00
Alexander A. Klimov 3784fe80b7 LoggingConfigForm: on Docker default to webserver log 2023-01-24 11:23:34 +01:00
Alexander A. Klimov 0031108160 icingacli setup config webserver apache: add trailing / to Alias dir
if the Alias URI (e.g. /) has a trailing /. Otherwise Apache says 403.
2023-01-18 13:55:45 +01:00
Johannes Meyer 04c9edeccc
Merge pull request #4986 from Icinga/enhance-module-test-compatibility
Enhance module test compatibility
2023-01-18 12:18:54 +01:00
Johannes Meyer 0803a1bbdc test: Support multiple paths in `ICINGAWEB_MODULES_DIR` 2023-01-18 12:07:11 +01:00
Johannes Meyer 93bac9443d test: Expect internal test dependencys in `php/Lib`
Loading internal test dependencies did previously only work
if placed directly inside `php`. No module does this at this
time.
2023-01-18 12:03:54 +01:00
Johannes Meyer 23c4ae2469 test: Don't require Mockery the legacy way
Installing locally as composer library is now the only way.
2023-01-18 12:02:38 +01:00
Yonas Habteab 6d2a585de9 TemporaryLocalFileStorage: Fix unexpected crash in destructor 2023-01-16 14:15:43 +01:00
Johannes Meyer e542982de0 Fix some reflected XSS bugs
fixes #4979
2023-01-12 09:55:57 +01:00
Johannes Meyer 8837fea7a4 Libraries: Only attempt a partial match if the library name contains a slash
fixes #4971
2023-01-12 09:54:42 +01:00
Johannes Meyer cbf8cfc738 js: Transmit `X-Icinga-AutoSubmittedBy` upon autosubmits
This header contains the name or id of the element responsible
for triggering the automatic form submission.
2023-01-12 09:54:18 +01:00
Johannes Meyer 96179182e4
Merge pull request #4976 from Icinga/do-not-disable-all-inputs-on-form-submit
js: Only disable submit buttons on form submit
2023-01-12 09:53:45 +01:00
Johannes Meyer 4641d8e820 js: Don't disable inputs upon auto-submits at all 2023-01-12 09:39:31 +01:00
Johannes Meyer 7cea0d78e4 js: Only disable submit buttons on form submit
Previously all `input` elements (text, date, number, ...)
got also disabled. This is unecessary.
2023-01-12 09:39:31 +01:00
Johannes Meyer d3f4ffe35c
Create SECURITY.md 2023-01-11 17:12:28 +01:00
Valentina Da Rold 963c3168b1 Check if url is external in validation function
refs: #4970
2023-01-11 14:09:43 +01:00
Eric Lippmann 39b91684d8
Merge pull request #4974 from Icinga/UpdateCheckoutAction
Update Checkout Action to v3
2023-01-10 09:57:46 +01:00
Eric Lippmann 57c52cadfa
Merge pull request #4964 from Icinga/packaging
Packaging Adjustments
2023-01-10 08:56:58 +01:00
Eric Lippmann 7855293302 Remove packages/
Moved to the packaging repository.
2023-01-09 16:14:15 +01:00
Eric Lippmann 03e3cf9c82 doc: No longer offer manual steps to install SELinux policy
The policy will be moved to the packaging repository and all RPM-based
distributions will provide the policy package.
2023-01-09 16:14:15 +01:00
Eric Lippmann d41ebeb6bc Schema path is now always /usr/share/icingaweb2/schema 2023-01-09 16:14:15 +01:00