4101 Commits

Author SHA1 Message Date
Johannes Meyer
b654344552 Raise version to v2.11.2 2022-11-04 12:00:40 +01:00
Yonas Habteab
aa7767e0f5 CommentParser: Wrap descriptions after the available screen columns
Well, what should I say, the PHP code sniffer allows us up to 120 characters
line length and when you code/format based on these rules, e.g the description
of a cli command, it will mess everything up when you run `icingacli module --help`.
So, we can just wrap the output after the available screen columns.

(cherry picked from commit 8cb0976c5b910578d14510dcabf59db6fb146c3e)
2022-11-04 11:56:51 +01:00
Johannes Meyer
7d79a490aa PrivilegeAudit: Expand defined privileges when exporting to PDF
refs #4862

(cherry picked from commit 314545f3a7c594580b46b84c2d15d5f1a8fba6cb)
2022-11-04 11:56:47 +01:00
Johannes Meyer
80c35f8571 PrivilegeAudit: Use the <details> tag
(cherry picked from commit 503f9b731602731455c77459216a5e9143af5c39)
2022-11-04 11:56:47 +01:00
Johannes Meyer
e25cd4f672 Dashlet: Drop view parameter from title urls
refs https://github.com/Icinga/icingadb-web/issues/463

(cherry picked from commit 78f5fd4648a78f4a7fa40a3a4e912ca16f29fc7b)
2022-11-04 11:56:47 +01:00
Eric Lippmann
667570b810 Fix LDAP pagination for PHP7.3+ (#4901)
* Ldap: Read and update cookie values for paged requests also with PHP 7.3+

* Ldap: Provide server-side sort control directly with the request with PHP 7.3+

(cherry picked from commit c133cbe4f86a7d716d37dd961cfa3be305983bbf)
2022-11-04 11:56:47 +01:00
Johannes Meyer
29f3568dc2 Release version 2.11.1 2022-07-06 14:48:10 +02:00
Sukhwinder Dhillon
6b0b388d1b Module: Don't pass null as param to class_exists() 2022-07-06 14:48:10 +02:00
Sukhwinder Dhillon
745059a6e6 Format.php: Handle null values
(cherry picked from commit 21e4c68a581bb8547a34321c3fcbaf9dfb99ef5f)
2022-07-06 14:46:53 +02:00
Johannes Meyer
81056b97af Merge pull request #4854 from Icinga/fix/incorrect-history-time-and-date-4853
Fix incorrect history time and date

(cherry picked from commit 97f459b7e941fa6518f1508198e09d9ea93646c5)
2022-07-06 14:01:28 +02:00
Johannes Meyer
dcf194bc4c Raise version to 2.11.0 2022-06-30 13:47:07 +02:00
Yonas Habteab
c29ac9842d Call: Don't precompile arg values when it's not an array
The CSS/LESS callable argument values may not always be an array, but also an object or whateever,
in this case we don't need to precompile the values as they could never be a variable.
2022-06-30 12:15:01 +02:00
Yonas Habteab
9ac1a00e94 Remove some unused codes & adjust the license headers 2022-06-30 12:15:01 +02:00
Yonas Habteab
5a04480245 Check for deferred color prop when defining variable variable & some fixlets for naming issue 2022-06-30 12:15:01 +02:00
Yonas Habteab
a2932bd5ce Visitor: Transform less tree calls & variable definitions into our own classes 2022-06-30 12:15:00 +02:00
Yonas Habteab
7ac2dccbd1 Introduce DeferredColorProp class 2022-06-30 12:15:00 +02:00
Yonas Habteab
b10261b444 Introduce own Call class for less tree calls 2022-06-30 12:15:00 +02:00
Johannes Meyer
95ea071a89 DbQuery: Accept any type in method valueToTimestamp() 2022-06-30 08:37:14 +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
Johannes Meyer
f8e1137060 Remove restriction macro user:local_name 2022-06-14 14:24:30 +02:00
Johannes Meyer
46a21d9709 Drop method DbQuery::whereToSql()
It's been used by `DbQuery::renderFilter()` rather
exclusively. So if removing one, both need to go.
2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
846a90301d DbQuery: Replace deprecated method renderFilter() and remove it 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
bba77b52e7 LdapConnection: Remove deprecated method connect() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
b47298fffe SimpleQuery: Remove deprecated method paginate() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
8f0ac0492d Replace deprecated method DbConnection::getConnection() with DbConnection::getDbAdapter() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
aded6a055e DbConnection: Remove deprecated method getConnection() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
eb768b4fce Remove deprecated method ApplicationBootstrap::setupZendAutoloader() and its uses 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
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
8fc50645c4 AesCrypt: Remove deprecated methods encryptToBase64() and decryptFromBase64() 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
3113dc06ac Remove deprecated class Icinga/Util/Translator 2022-06-14 14:24:30 +02:00
Sukhwinder Dhillon
423c58d710 Remove deprecated class Icinga/Util/String 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 fc481e527bc021144205e9fea88397bdf5ce60bc.
2022-06-13 15:50:52 +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
Johannes Meyer
d663fe84c3 DbConnection: Fix that unequal is handled as equal...
refs #4814
2022-06-13 15:05:24 +02:00
Johannes Meyer
1bee2db583 DbConnection: Only ignore the * for equal/unequal conditions
fixes #4813
2022-06-13 14:38:51 +02:00
Sukhwinder Dhillon
c0d247613d Manager: Ensure enableModule dir has correct permission when created 2022-06-13 11:44:40 +02:00
Yonas Habteab
8e6d4a6b46 LinearUnit: Make Iterator methods compatible with the parent methods 2022-06-02 16:19:42 +02:00
Yonas Habteab
4782df4fee Form: Fix don't pass null values to strtolower() error 2022-05-30 14:00:01 +02:00