Commit Graph

13897 Commits

Author SHA1 Message Date
Johannes Meyer a6af690040
Merge pull request #4963 from Icinga/upgrade-htmlpurifier
Upgrade HTMLPurifier
2022-12-07 15:03:22 +01:00
Johannes Meyer d53d730aa3 HTMLPurifier: Fix file flags 2022-12-07 14:59:44 +01:00
Johannes Meyer 7df5045420 vendor: Upgrade HTMLPurifier to v4.16.0 2022-12-07 14:52:32 +01:00
Johannes Meyer 0096f43e0d
Merge pull request #4958 from Icinga/fix/browser-print-dialog-result-4957
Fix browser print dialog result
2022-12-07 13:05:06 +01:00
Johannes Meyer 723eaae08c print.less: Make sure that client print attempts work fine 2022-12-07 11:57:48 +01:00
Johannes Meyer b89da2f865 Visitor: Force light mode when printing pages 2022-12-07 11:57:48 +01:00
Johannes Meyer b1574e4bee ConfigMenu: Fix incorrect shared navigation url
fixes #4953
2022-12-07 11:57:23 +01:00
Johannes Meyer 8cd892359d form.js: Don't ignore autosubmit elements
A while ago this already has changed so that autosubmit
responses are guaranteed to be applied. Thus this
exception is now obsolete.

fixes #4942
2022-12-07 11:57:10 +01:00
Johannes Meyer 3187a4e549 InternalUrlValidator: Also check the scheme 2022-12-07 11:56:43 +01:00
Johannes Meyer 965aac11ef RoleController: Always perform a permission check 2022-12-07 11:56:17 +01:00
Johannes Meyer ec7fb82a94 login: Don't redirect to external resources
fixes #4945
2022-12-07 11:54:45 +01:00
Alexander A. Klimov a3100d378b SshResourceForm: fix XSS by escaping user-defined resource name
in the tooltip of the message shown instead of the private key.
2022-12-01 11:35:11 +01:00
mrzo2s45 bdb9fd299b Fix missing escape of double quotes in CSV output.
refs #4910
2022-11-07 12:59:28 +01:00
Johannes Meyer f382457a70 Merge branch 'release/v2.11.2' 2022-11-04 12:14:49 +01:00
Johannes Meyer 6ef968bb96 Raise version to v2.11.2 2022-11-04 12:14:40 +01:00
Johannes Meyer 159a0b3d70 Update CHANGELOG.md 2022-11-04 12:14:40 +01:00
Johannes Meyer 9b3e6165ea collapsible.js: Fix invalid default selectors
refs #4884
2022-11-03 16:41:25 +01:00
Johannes Meyer 4d0e42787a ConfigForm: Remove empty sections
fixes #4939
2022-11-02 16:07:53 +01:00
Yonas Habteab 8cb0976c5b 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.
2022-10-25 08:47:38 +02:00
Johannes Meyer bb4b53e90c css: Optimize performance
I don't quite understand why exactly this rule exposes
such an issue. We have several other rules that are
similar. But they don't reference form elements on the
left. I suspect a different issue somewhere else, this
only exaggerated it.

fixes #4929
2022-10-17 11:30:40 +02:00
Johannes Meyer 69929b799b
Merge pull request #4884 from Icinga/enhance-collapsible-js
Enhance collapsible js
2022-10-17 11:29:59 +02:00
Johannes Meyer aef6e99cf8 collapsible.js: Add support for external controls 2022-10-10 15:55:33 +02:00
Florian Strohmaier f13161b69d collapsible.js: Enhance markup flexibility 2022-10-10 15:54:24 +02:00
Johannes Meyer 314545f3a7 PrivilegeAudit: Expand defined privileges when exporting to PDF
refs #4862
2022-10-10 10:42:45 +02:00
Johannes Meyer 22cb1f2143 utils.js: Optimize performance of `getCSSPath()` 2022-10-10 10:42:45 +02:00
Johannes Meyer 3c2c79b669 css: Apply `box-sizing:border-box` to all `<details>` children
We have this everywhere else, so it should not be different here.
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 5059a782a8 RoleForm: Use the `<details>` tag 2022-10-10 10:42:45 +02:00
Johannes Meyer c4ce98159c collapsible.js: Use ES6's class syntax 2022-10-10 10:42:45 +02:00
Johannes Meyer b0622dcde2 collapsible.js: Don't use jQuery, but some ES6 features 2022-10-10 10:42:45 +02:00
Johannes Meyer 917e68d68d collapsible.js: Minor performance improvements 2022-10-10 10:42:45 +02:00
Johannes Meyer 17bd3ce14f collapsible.js: Use a data-attr to identify collapsible collapsibles 2022-10-10 10:42:45 +02:00
Johannes Meyer 181b18cfec css: Only apply .collapsible-control styles to outer buttons
Inner buttons usually have their own style
2022-10-10 10:42:45 +02:00
Johannes Meyer 222a6a8e0f collapsible.js: Add support for `<details>` 2022-10-10 10:42:45 +02:00
Johannes Meyer e8cae1f28a css: Let collapsible icons be anywhere inside the control 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
raviks789 bff47213ee Show warning health state badges
The warning state badges should be shown when notifications or active host/service checks are disabled.
2022-10-10 10:00:06 +02:00
Sukhwinder Dhillon 762630c027 event-history.phtml: Don't sort events by time
Sort only by day and date
2022-10-10 09:59:26 +02:00
Johannes Meyer dae7bf4657 Macro: Log the object where a macro is not found
fixes #3759
2022-10-10 09:58:39 +02:00
Eric Lippmann c133cbe4f8
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+
2022-10-10 09:55:47 +02:00
Alexander Aleksandrovič Klimov ad827395af Unveil hidden downtime in checkable detail view
Case: there are no comments, one downtime and you may not schedule additional ones.

Before: downtime is not shown in checkable detail view.

After: downtime is shown in checkable detail view.
2022-10-04 16:04:55 +02:00
Sukhwinder Dhillon 62d7ca8e97 setup.less: Make visible that the button is disabled 2022-07-19 11:43:28 +02:00
Sukhwinder Dhillon fbd4434b40 Align button icon to baseline 2022-07-19 11:08:55 +02:00
Johannes Meyer ff551392c7 Merge branch 'release/v2.11.1' 2022-07-06 14:49:08 +02:00
Johannes Meyer 225d43b45f Release version 2.11.1 2022-07-06 14:48:48 +02:00
Johannes Meyer 8ab2c3a320 Update CHANGELOG 2022-07-06 14:48:48 +02:00
Sukhwinder Dhillon 21e4c68a58 Format.php: Handle null values 2022-07-06 14:43:16 +02:00
Johannes Meyer 35977d67ed mysql: Use `ROW_FORMAT=DYNAMIC` everywhere 2022-07-06 11:47:30 +02:00
Eric Lippmann aa8c944d49 Docs: Fix Upgrading
Our icinga.com/docs tooling does not render the previous state
correctly.
2022-07-05 15:43:21 +02:00
moreamazingnick f84057fd83 Fix wrong return value breaks doc-module search
refs #4856
2022-07-05 15:42:46 +02:00