Commit Graph

11927 Commits

Author SHA1 Message Date
Johannes Meyer 2a48bd0f5e
Merge pull request #3503 from Icinga/fix/let-redirect-http-use-http-for-redirection 2018-07-04 15:57:39 +02:00
Carsten Koebke 55072ac840 Render multiline in custom variables correct
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-04 15:28:38 +02:00
Johannes Meyer 1f677e64f6 ActionController: Force HTTP redirects in method redirectHttp()
That's what its name implies, right? The counterpart is redirectXhr(),
which does still its job. redirectNow() on the other hand is for the
lazy people.
2018-07-04 14:44:03 +02:00
Johannes Meyer 990df95f36 loader.js: Allow to force HTTP to be used for JS redirection 2018-07-04 14:44:03 +02:00
Johannes Meyer 8cbff87af1 Request: Parse the POST body only as JSON if it's really JSON
refs #3484
2018-07-04 11:09:11 +02:00
Johannes Meyer 842e5603a1 Request: Introduce method extractMediaType
refs #3484
2018-07-04 11:09:11 +02:00
Eric Lippmann 10fa64b7e3
Merge pull request #3421 from winem/feature/documentation-installation-debian-webserver
Small addition to the Debian installation doc
2018-07-04 11:01:59 +02:00
Marcel Weinberg 874b24cb8e Add small addition to the Debian installation doc
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-07-04 10:59:52 +02:00
Eric Lippmann 1dce62ee49
Merge pull request #3496 from Icinga/bugfix/puppet-http-mitm
Vagrant/Puppet: prevent man-in-the-middle attacks
2018-07-04 09:24:09 +02:00
Eric Lippmann 8990d6f46e Drop support for PHP < 5.6 2018-07-03 13:11:36 +02:00
Eric Lippmann d6c4df7a5d Use password_hash and password_verify 2018-07-03 13:08:06 +02:00
Eric Lippmann faaff42096 Revert "Introduce PasswordHelper for safer passwords"
This reverts commit f57277aa96.

Since we're dropping PHP support for versions lower than 5.6 this class is no longer necessary.
2018-07-03 13:08:06 +02:00
Alexander A. Klimov 088e907f9e Vagrant/Puppet: prevent man-in-the-middle attacks via the EPEL repo 2018-06-29 11:44:56 +02:00
Alexander A. Klimov db816d3d0b Vagrant/Puppet: prevent man-in-the-middle attacks 2018-06-29 10:38:23 +02:00
Alexander A. Klimov 6da5d4173e icingacli test php unit: include the tests of all installed modules
refs #3494
2018-06-28 16:05:18 +02:00
Alexander A. Klimov fd239fa40c Separate framework and modules tests logically
refs #3494
2018-06-28 14:26:37 +02:00
Eric Lippmann 966148e8f0
Merge pull request #3463 from kobmaki/feature/Allow-to-interface-with-sqlite-databases-3381
Support SQLite resources
2018-06-28 11:42:00 +02:00
Eric Lippmann d19d888d9e
Merge pull request #3458 from Icinga/feature/host-and-service-group-grid-1017
Host- and servicegroup grid
2018-06-28 11:40:52 +02:00
Eric Lippmann fc2374d7c8
Merge pull request #3485 from Icinga/fix/persistent-acks
Respect persistent when acknowledging over API
2018-06-28 11:39:33 +02:00
Eric Lippmann b12b905076
Merge pull request #3487 from Icinga/fix/web-bootstrap
Bootstrap modules at last
2018-06-28 11:39:12 +02:00
Eric Lippmann 02630c2607 Add vertical-align to sort-controls 2018-06-28 11:27:46 +02:00
Eric Lippmann 88c2fe44e3 Link from the host and service group lists to their grids and vice versa
refs #1017
2018-06-28 11:27:46 +02:00
Eric Lippmann f8a076f20b Update icon font 2018-06-28 11:27:46 +02:00
Johannes Meyer 61103ae359 monitoring/list: Introduce action servicegroup-grid
refs #1017
2018-06-28 11:27:45 +02:00
Johannes Meyer 917827a87b monitoring/list: Introduce action hostgroup-grid
refs #1017
2018-06-28 11:27:45 +02:00
Alexander A. Klimov b07ae45cf9 Don't update Parallels Tools automatically
refs #3488
2018-06-27 17:32:07 +02:00
Eric Lippmann 0433dc4166 Bootstrap modules at last
We initialize modules before we set up the user backend and other
singletons. But modules may access those in order to check the
permissions of the authenticated user for example. With this fix,
modules are loaded once all other bootstrap tasks have been completed.

refs #3470
2018-06-27 09:52:00 +02:00
Eric Lippmann 74d1c78465 Respect persistent when acknowledging over API
refs #3467
2018-06-27 09:47:08 +02:00
Eric Lippmann f9af22e409 Remove unused variable 2018-06-27 09:40:22 +02:00
Uwe Ebel 4b5cf47cce Introduce SQLite resource type
refs #3381

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2018-06-27 09:40:22 +02:00
Eric Lippmann c633c86db7
Merge pull request #3480 from Icinga/fix/revert-persistent-db-connections
No longer support persistent database connections
2018-06-27 09:36:37 +02:00
Eric Lippmann 184d4afdbd
Merge pull request #3483 from Icinga/feature/update-vendor-libs
Update vendor libs
2018-06-27 09:36:16 +02:00
Eric Lippmann fdd791974d Update Parsedown 2018-06-25 16:07:47 +02:00
Eric Lippmann 66132c330a Update JShrink 2018-06-25 16:05:36 +02:00
Eric Lippmann 46907735fe Update HTMLPurifier 2018-06-25 16:04:10 +02:00
Eric Lippmann e55ac3e4a2 Update dompdf deps 2018-06-25 16:01:06 +02:00
Eric Lippmann 42c7c3ae7a
Merge pull request #2754 from Icinga/feature/api-call-to-add-announcement-2749
Support creating announcements via API
2018-06-25 09:32:06 +02:00
Eric Lippmann 4d42c043e4 Remove traces of persistent db connections 2018-06-22 15:36:46 +02:00
Eric Lippmann 6c2b4d3982 Revert "Allow to configure persistent database connections"
This reverts commit 61f251d6ad.
2018-06-22 14:46:23 +02:00
Eric Lippmann af35794006 Revert "lib/db: Allow to configure persistent connections"
This reverts commit 4763b6b20a.
2018-06-22 14:43:32 +02:00
Eric Lippmann 6f1d8668a0 Fix line exceeds 120 characters 2018-06-22 11:04:48 +02:00
Alexander A. Klimov ee60a8df99 Don't let AutoRefreshForm handle API requests
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov 235e75d054 Form: handle API requests as expected
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov 880a0a254f DateTimePicker: support *nix timestamps
refs #2749
2018-06-22 11:03:07 +02:00
Alexander A. Klimov a444b8adf5 Request: support JSON as POST data format
refs #2749
2018-06-22 11:03:07 +02:00
Eric Lippmann adfcc5596e
Merge pull request #3444 from Icinga/bugfix/error-responding-non-html-requests-2635
Json::encode(): auto-sanitize bad UTF-8 strings
2018-06-22 05:01:07 -04:00
Alexander A. Klimov 73473a3bb9 Fix tests
refs #2635
2018-06-22 09:57:10 +02:00
Alexander A. Klimov 906c1668a4 Split Json::encode() into Json::encode() and Json::sanitize()
refs #2635
2018-06-21 16:01:53 +02:00
Alexander A. Klimov 02b60633ff Auto-sanitize only in the monitoring module
refs #2635
2018-06-20 18:05:12 +02:00
Alexander A. Klimov 1a94a21263 Prefer Json::encode() over json_encode()
refs #2635
2018-06-20 18:05:11 +02:00