Sukhwinder Dhillon
75a607fe1f
PdfExportHook (phpDoc): Add possible param type hints
2023-09-01 13:06:12 +02:00
Johannes Meyer
c027282d8c
Test: Load a module's composer autoloader
2023-08-31 10:18:37 +02:00
raviks789
33b6c01fe2
Create fake session to write csp nonces to it
...
`Csp::createnonces()` writes to a window aware session and hence a fake base session
is created in `BaseTestCase::setUp()` method
2023-08-28 16:56:51 +02:00
Sukhwinder Dhillon
ee9d139a3a
PhpDoc: Fix incorrect @param
and @return
type hints
2023-08-23 10:53:15 +02:00
Sukhwinder Dhillon
a88d0fe348
Web: Method hasAccessToSharedNavigationItem()
requires param #2 of type Config
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
e3036c41a2
Web: Add $accessibleMenuItems
explicitly as non-dynamic property
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
391eede52f
StderrWriter::log(): Fix Variable '$color' is probably undefined
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
8358dc1c5e
Hook::has(): Method expects only one parameter
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
a0ed272cb8
ApplicationBootstrap: Fix method name case
2023-08-23 10:53:14 +02:00
raviks789
58938f6636
Config
: Import exception NotWritableError
2023-08-23 10:53:13 +02:00
raviks789
1b9d977da4
Config
: Fix parameter type for $fromDisk
of method module()
2023-08-23 10:53:13 +02:00
raviks789
11c7f913c8
Benchmark
: Define parameter $what
as nullable
2023-08-23 10:53:13 +02:00
raviks789
dd8875f99f
ConfigFormEventsHook
: Use self
to access static property $lastErrors
2023-08-23 10:53:13 +02:00
raviks789
2265b9d27b
LegacyWeb
: Import Exception
class
2023-08-23 10:53:13 +02:00
raviks789
1c0480d484
Module
: Use correct name case for Web::getFrontController()
method
2023-08-23 10:53:13 +02:00
Alexander A. Klimov
6de4bd6e7e
Explicitly add Module#configdir as (non-dynamic) property
...
W/o this the login page, if on PHP 8.2, says:
Deprecated: Creation of dynamic property Icinga\Application\Modules\Module::$configdir is deprecated in /usr/share/icingaweb2/library/Icinga/Application/Modules/Module.php on line 264
This breaks modules (if any) which use the property and not the getter.
2023-08-23 10:53:13 +02:00
Johannes Meyer
65b3006adf
Check if \Throwable
instead of \Exception
..
...
..everywhere else...
fixes #5079
2023-08-10 14:12:06 +02:00
raviks789
8a17c56345
Remove requiring vendor dependencies
...
Also avoid autoloading vendor.
2023-08-09 15:16:16 +02:00
Johannes Meyer
597cb5c94d
tests: Use a real app for bootstrapping
...
Makes the tests less isolated, but streamlines
the autoloading and other stuff in a way that's
more maintainable than before.
2023-07-05 09:24:49 +02:00
Johannes Meyer
e7adc06497
ApplicationBootstrap: Process ICINGAWEB_MODULES_DIR
by default
2023-07-04 16:08:41 +02:00
Johannes Meyer
693bed1710
Raise version to 2.11.4
2023-01-26 09:42:18 +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
d0a83a646c
Release version 2.11.3
2022-12-14 13:21:01 +01:00
Johannes Meyer
6ef968bb96
Raise version to v2.11.2
2022-11-04 12:14:40 +01:00
Johannes Meyer
225d43b45f
Release version 2.11.1
2022-07-06 14:48:48 +02:00
Sukhwinder Dhillon
f0f2835708
Module: Don't pass null as param to class_exists()
2022-07-05 15:42:15 +02:00
Johannes Meyer
dcf194bc4c
Raise version to 2.11.0
2022-06-30 13:47:07 +02:00
Sukhwinder Dhillon
eb768b4fce
Remove deprecated method ApplicationBootstrap::setupZendAutoloader()
and its uses
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
55d23a531f
Module: Remove deprecated method registerHook()
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
479bec6fb4
ApplicationBootstrap: Remove deprecated method listLocales()
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
b1f723318f
Web: Remove deprecated method getMenu()
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
e4450e7368
Revert "js: Don't serve scripts utilizing ECMA2016+ features"
...
This reverts commit 4d4f5b3a69f74b939c85fa9510c11ec1be75377c.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
f1e8280c3e
Revert "Don't support dark/light mode for IE"
...
This reverts commit baeca33789aa1b9a38a5377d678a7c22f35866b3.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
c0d247613d
Manager: Ensure enableModule dir has correct permission when created
2022-06-13 11:44:40 +02:00
Johannes Meyer
2a80e8bca6
Introduce new hook ThemeLoader
2022-05-11 14:37:07 +02:00
Johannes Meyer
95d0ac018c
Raise version to 2.10.1
2022-04-06 09:34:11 +02:00
Johannes Meyer
8dbbe26a1a
Use type declarations for all translation helpers
2022-03-24 12:29:06 +01:00
Johannes Meyer
3dc384fb58
Avoid passing null
to non-nullable arguments
2022-03-24 12:29:06 +01:00
Johannes Meyer
c038e84fc2
Ensure Return Type Compatibility with Internal Classes
2022-03-24 12:29:06 +01:00
Johannes Meyer
d0677a127f
Release version 2.10.0
2022-03-23 11:49:06 +01:00
Johannes Meyer
f21200f167
Release version 2.9.6
2022-03-08 15:12:52 +01:00
Johannes Meyer
3c48d693ff
about: Fix documentation link and use a version dependent one
2022-02-25 12:27:08 +01:00
Eric Lippmann
baeca33789
Don't support dark/light mode for IE
2022-02-10 10:47:24 +01:00
Johannes Meyer
d78bb02b41
Module: Parse requirements in metadata correctly
2022-02-04 16:17:54 +01:00
Johannes Meyer
57e8e41089
Manager: Parse version suffixes with decimals correctly
2022-02-04 16:17:54 +01:00
Johannes Meyer
c42653a9b0
Drop core locales
2022-02-04 15:58:06 +01:00
Johannes Meyer
ffaf6e5f04
Remove module asset support
2022-02-04 15:57:15 +01:00
Sukhwinder Dhillon
c30df56de4
Release version 2.9.5
2021-11-17 16:51:55 +01:00
Johannes Meyer
81f6116f3f
Release version 2.9.4
2021-11-10 10:17:35 +01:00
Sukhwinder Dhillon
2c01f38dec
Add icingadb as OR dependecy
...
Add only if the given module supports icingadb and has monitoring as a requirement
2021-11-10 09:33:48 +01:00