Sukhwinder Dhillon
5e671e02af
Wizard: Fix throw exception
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
302bf3ef54
Tabs: Add `$tab_class` explicitly as non-dynamic property
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
30b91b9cd2
Tabs: Method `render()` does not expect any param and import missing Exception class
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
29b2ed22b9
AbstractWidget: Method `render()` does not expect any param
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
e2e582b095
Navigation/-Item: Fix `Variable '$classPath' is probably undefined`
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
eeff32d4ce
AuthBackendController: Fix `Variable '$backend' is probably undefined`
2023-08-23 10:53:14 +02:00
raviks789
c4a3cee94a
`UrlParams`: Fix type for parameter `$default` of method `get()`
...
The parameter `default` can be null, string, int or bool.
2023-08-23 10:53:14 +02:00
raviks789
c46446e17f
`Url`: Fix type for parameter `$value` of method `setParam()`
2023-08-23 10:53:14 +02:00
raviks789
2a4f448c3e
`Url`: Use `Icinga\Web\Request` instead of `Zend_Request` or `Zend_Abstract_Request`
2023-08-23 10:53:14 +02:00
raviks789
e946ed1f0e
`UrlParams`: Fix type for parameter `$default` of method `getValues()`
2023-08-23 10:53:14 +02:00
raviks789
d5e93a9d68
`UrlParams`: Fix type for parameter `$value` of method `add()`
...
The parameter `$value` can be null, string or bool.
2023-08-23 10:53:14 +02:00
raviks789
22c790ea48
`ActionControlle`: Avoid void return in `__call()` magic method
2023-08-23 10:53:13 +02:00
raviks789
6b0244f247
`ActionController`: Declare property `$view`
2023-08-23 10:53:13 +02:00
raviks789
2db4e35b78
`Button`: Import class `Zend_Config`
...
The parameters for the constructor can be of type `Zend_Config`. Hence the class has been imported.
2023-08-23 10:53:13 +02:00
raviks789
f05d76e05e
`FormElement`: Fix the return type of `loadDefaultDecorators()`
2023-08-23 10:53:13 +02:00
raviks789
4108b6b4cc
`Navigation`: Cast string to int to perform addition
...
In `library/Icinga/Web/Navigation/Navigation::merge()` the result of `preg_match`
must be cast to int before adding 1 to it.
2023-08-23 10:53:13 +02:00
raviks789
fdddc21bc8
`View`: Define parameter `$var` for `escape()` as nullable
2023-08-23 10:53:13 +02:00
raviks789
bf5aa41d63
`Widget`: Imported class `AbstractWidget`
...
The return type of static method `Widget::create()` is `AbstractWidget` instance.
Hence it is imported in `Widget::class`.
2023-08-23 10:53:13 +02:00
raviks789
1d8ce55262
`AbstractWidget`: Import class `Zend_View_Abstract`
...
Since static property `AbstractWidget::view` is of type `Zend_View_Abstract` instance. The
class needs to be imported.
2023-08-23 10:53:13 +02:00
raviks789
daddfe11b5
`Tab`: Fix type of property `$url`
...
`$url` can either be a string or `Icinga\Web\Url` instance.
2023-08-23 10:53:13 +02:00
raviks789
3b707fb6ab
`Wizard`: Fix return type for method `getPage()`
...
The method `Wizard::getPage()` could also return `ModulePage` instance. Hence it is included as one of the
return type of this method.
2023-08-23 10:53:13 +02:00
raviks789
bd0fb8c154
Remove the use of unavailable property `$this->lessc->importDisabled`
...
The functionality to set import to disabled is removed in `lessc`. Hence the code where this
property is used has been removed from `LessCompiler`.
2023-08-23 10:53:13 +02:00
raviks789
8e3c456327
Fix parameter name mismatch in `View::escape` method
...
The mismatch arises after migration from ZF1 to ZF-future.
2023-08-23 10:53:13 +02:00
raviks789
825f3a9b7f
Avoid use of dynamic properties deprecated in PHP 8.2
2023-08-23 10:53:13 +02:00
raviks789
8b99852fc2
Remove unused `FilterWidget::class` ( #5061 )
2023-08-21 15:35:17 +02:00
Johannes Meyer
4a52a653e4
js: Always load redirects to their designated target
...
The server applies the redirection magic now, but only
for compatibility reasons.
resolves #4881
2023-08-11 16:08:00 +02:00
raviks789
8a17c56345
Remove requiring vendor dependencies
...
Also avoid autoloading vendor.
2023-08-09 15:16:16 +02:00
raviks789
f74041e00a
Javascript: Add `copy-to-clipboard` behavior
...
Utilizes `CopyToClipboard.js` from ipl-web
2023-06-20 12:06:27 +02:00
Valentina Da Rold
963c3168b1
Check if url is external in validation function
...
refs: #4970
2023-01-11 14:09:43 +01:00
Johannes Meyer
b1574e4bee
ConfigMenu: Fix incorrect shared navigation url
...
fixes #4953
2022-12-07 11:57:23 +01:00
Johannes Meyer
3187a4e549
InternalUrlValidator: Also check the scheme
2022-12-07 11:56:43 +01:00
Johannes Meyer
314545f3a7
PrivilegeAudit: Expand defined privileges when exporting to PDF
...
refs #4862
2022-10-10 10:42:45 +02:00
Johannes Meyer
503f9b7316
PrivilegeAudit: Use the `<details>` tag
2022-10-10 10:42:45 +02:00
Johannes Meyer
78f5fd4648
Dashlet: Drop `view` parameter from title urls
...
refs https://github.com/Icinga/icingadb-web/issues/463
2022-10-10 10:39:47 +02:00
Sukhwinder Dhillon
3482ef9e65
Fix that navbar forgets active state after refresh ( #4831 )
2022-06-29 14:58:02 +02:00
Johannes Meyer
db2c30d418
ConfigMenu: Use absolute URLs in nav items
2022-06-15 08:39:55 +02:00
Johannes Meyer
457eb52e2c
ConfigMenu: Add missing application_log entry
...
fixes #4824
2022-06-15 08:39:09 +02:00
Johannes Meyer
c65ba3c2fc
Stylesheet: Don't parse library CSS as LESS
2022-06-14 15:12:26 +02:00
Johannes Meyer
0490a2dfe4
Drop class `Icinga\Web\Hook\GrapherHook`
2022-06-14 14:24:30 +02:00
Johannes Meyer
d25854ebce
Drop class `Icinga\Web\Hook\TicketHook`
2022-06-14 14:24:30 +02:00
Johannes Meyer
9ef344d3b2
Really mark class `Icinga\Web\Hook` deprecated -.-
...
I would have removed it, but the deprecation notice wasn't
defined properly and so not visible for more than six years.
Now even our own projects make still use of it thoroughly..
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
58ac2a97c2
InlinPie: Remove deprecated method `disableNoScript()`
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
a9af8f2e1a
Url: Remove deprecated methods `setBaseUrl()` and `getBaseUrl()`
2022-06-14 14:24:30 +02:00
Johannes Meyer
60938b58c6
Remove jQuery
...
It's now part of icinga-php-thirdparty
2022-06-14 14:07:20 +02:00
Sukhwinder Dhillon
a38d5ccac6
Revert "Form: Process request parameter _frameUpload"
...
This reverts commit fc481e527b
.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
e4450e7368
Revert "js: Don't serve scripts utilizing ECMA2016+ features"
...
This reverts commit 4d4f5b3a69
.
2022-06-13 15:50:52 +02:00
Sukhwinder Dhillon
f1e8280c3e
Revert "Don't support dark/light mode for IE"
...
This reverts commit baeca33789
.
2022-06-13 15:50:52 +02:00
Yonas Habteab
4782df4fee
Form: Fix don't pass null values to strtolower() error
2022-05-30 14:00:01 +02:00
Yonas Habteab
2279502265
SingleValueSearchControl: Add default class to the search suggestions
2022-05-27 14:26:16 +02:00
Johannes Meyer
74022ae4e0
Merge pull request #4697 from Icinga/feature/redesigned-user-menu-new
...
Feature/redesigned user menu
2022-05-16 09:04:26 +02:00