4355 Commits

Author SHA1 Message Date
Johannes Meyer
5b875f3749 JsonResponse: Allow to output the "data" key in case of an error
As stated by the JSend specification this key is optional for error responses.
2016-09-21 15:58:59 +02:00
Eric Lippmann
3fdba713ed Merge branch 'bugfix/handle-recoverable-error-10361'
fixes #10361
2016-09-12 08:29:40 +02:00
Alexander A. Klimov
c8b1693fdc Fix Controller::assertPermission() allowing everything for unauthenticated requests
fixes #12108
2016-09-12 08:18:36 +02:00
Eric Lippmann
4398267db5 Merge branch 'bugfix/wrong-url-makes-whole-dashboard-unusable-11920'
fixes #11920
2016-09-09 15:22:48 +02:00
Eric Lippmann
ef7be98e0c Simplify InternalUrlValidator::isValid()
refs #11920
2016-09-09 15:22:24 +02:00
Eric Lippmann
1f980f92f2 Optimize imports in InternalUrlValidator
refs #11920
2016-09-09 15:21:06 +02:00
Eric Lippmann
576640e661 Simplify Version::getGitHead()
refs #11664
2016-09-09 14:19:32 +02:00
Alexander A. Klimov
b240e0e6bb Implement Version::getGitHead()
refs #11664
2016-09-01 10:14:14 +02:00
Alexander A. Klimov
fa113e023b dashboard/new-dashlet: don't allow external URLs
refs #11920
2016-08-31 15:11:55 +02:00
Johannes Meyer
124fb848a0 Repository: Fix column caches² 2016-08-18 15:40:20 +02:00
Johannes Meyer
bd4f21df11 Repository: Fix column caches 2016-08-18 15:30:47 +02:00
Johannes Meyer
ccb8bcc6e3 Repository: Allow for some more fine-grained control
Filter columns, search columns and sort rules can now be returned
dependent on a query's current target
2016-08-18 13:36:09 +02:00
Eric Lippmann
ecbb0926dc Merge branch 'feature/change-password-10616'
resolves #10616
2016-08-04 16:09:41 +02:00
Thomas Gelf
2b50f6ff10 FilterExpression: render boolean true as such
fixes #12299
2016-08-03 13:03:08 +00:00
Eric Lippmann
e62d94209f Allow users to change their password if backend is db
refs #10616
2016-07-21 17:38:19 +02:00
Eric Lippmann
e6ec6e05b2 Rename Preferences to My Account
refs #10616
2016-07-21 12:31:10 +02:00
Eric Lippmann
42991b0756 Ensure correct URL for the refresh container button
Shifted params no longer appear in the URL which is retrieved from the request object.
We now use Url::fromRequest() instead.
2016-07-13 10:24:30 +02:00
Johannes Meyer
4774db16ef View: Add methods setHelperFunction and dropHelperFunction 2016-07-11 09:08:43 +02:00
Markus Frosch
e9681de388 RepositoryQuery: Avoid cloning sub-objects when they are null
fixes #12078
2016-06-30 13:16:05 +02:00
Markus Frosch
dfa77b2b2f IniRepository: Avoid using iterator_to_array with ArrayDatasource
While iterating ConfigObject/ArrayDatasource will not rewrite the section header into a row value as keycolumn.

In addition we now properly use the filter.

refs #12065
2016-06-28 16:21:06 +02:00
Eric Lippmann
fc5ed3feb1 Bump version to 2.3.4 2016-06-23 14:09:55 +02:00
Eric Lippmann
d4b9b6d303 Bump version to 2.3.3 2016-06-07 15:15:01 +02:00
Eric Lippmann
54b43efb33 Fix exception if module.info contains newlines that are not part of the module's description
fixes #11831
2016-06-06 16:21:10 +02:00
Eric Lippmann
97451dae86 Merge branch 'bugfix/remove-large-add-to-menu-tab-11850'
fixes #11850
2016-06-02 17:57:51 +02:00
Eric Lippmann
fee45a2438 Database: Never ignore asterisk filters
fixes #11885
2016-06-02 17:27:32 +02:00
hailthemelody@rm-laptop04
188703cf95 fix various typos
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-06-02 08:24:05 +02:00
Alexander A. Klimov
50037d8ec9 Tabs: fix wrong parameter for array_splice()
refs #11850
2016-05-31 14:47:25 +02:00
Johannes Meyer
b759ab6f5a DbResourceForm: Don't show SSL form elements by default
Addded additionally a check for PHP 5.4 so that these elements
are not shown for earlier versions.

refs #11115
2016-05-27 15:45:22 +02:00
Lee Clemens
87e774cb88 Add SSL Support to MySQL resources
Signed-off-by: Johannes Meyer <johannes.meyer@netways.de>
2016-05-27 13:15:48 +02:00
Alexander A. Klimov
21e4ba5680 Icinga Web 2.3.2 2016-04-28 14:56:31 +02:00
Alexander A. Klimov
2179c3aaef FilterEditor: check for a hidden form field instead of the submit button 2016-04-27 15:05:25 +02:00
Alexander A. Klimov
6def061742 FilterEditor: correct submit button name 2016-04-27 12:49:40 +02:00
Alexander A. Klimov
281e6e8163 Revert "Revert "FilterEditor::handleRequest(): don't apply a filter's changes if the 'Apply' button hasn't been pressed""
This reverts commit 45a6259b4c5d7e1995545ea046e4e20f361bad9c.
2016-04-27 12:46:48 +02:00
Alexander A. Klimov
45a6259b4c Revert "FilterEditor::handleRequest(): don't apply a filter's changes if the 'Apply' button hasn't been pressed"
This reverts commit 61a04e7ba174e92c194522b88fd9f335c5ff4294.
2016-04-27 12:10:46 +02:00
Marius Hein
6607af61e1 Set dashboard active if it is not disabled 2016-04-26 13:50:02 +02:00
Alexander A. Klimov
eecd15ee68 NavigationItem: fall back to the default renderer if an error occurrs
fixes #10486
2016-04-25 15:26:08 +02:00
Johannes Meyer
28c024c037 Repository: Properly handle non-aliased columns 2016-04-21 10:10:24 +02:00
Alexander A. Klimov
242cdab754 DateTimePicker: implement getFormat()
refs #10847
2016-04-18 17:19:57 +02:00
Alexander A. Klimov
61a04e7ba1 FilterEditor::handleRequest(): don't apply a filter's changes if the 'Apply' button hasn't been pressed
fixes #10848
2016-04-18 15:15:41 +02:00
Eric Lippmann
fdbcc6af8e Bump version to 2.3.1 2016-04-18 01:10:20 +02:00
Eric Lippmann
773c3cc88e Bump version to 2.3.0 2016-04-13 16:23:38 +02:00
Eric Lippmann
b0a6eb5b1e Ignore case and whitespaces in the glob filter
refs #10965
2016-04-13 15:54:41 +02:00
Eric Lippmann
4d488ab354 Merge branch 'master' into feature/restrict-custom-variables-10965 2016-04-13 15:44:12 +02:00
Alexander A. Klimov
589da9bcd1 monitoring: Apply custom variable restrictions
refs #10965
2016-04-13 15:43:42 +02:00
Eric Lippmann
42b7867562 Merge branch 'feature/support-multiple-ticket-patterns-10909'
refs #10909
2016-04-13 15:35:22 +02:00
Eric Lippmann
99adeaa065 Merge branch 'bugfix/external-auth-no-env-11391'
fixes #11391
2016-04-13 13:57:56 +02:00
Eric Lippmann
be7263ebfa Fix that only one default dashboard could be removed
fixes #11078
2016-04-13 12:27:25 +02:00
Eric Lippmann
7dbcd27c3c Remove superfluous whitespace 2016-04-13 11:04:54 +02:00
Eric Lippmann
9082a5204e Fix tab order of refresh and close container controls 2016-04-13 11:04:23 +02:00
Eric Lippmann
fb07b9aa83 vendor: Upgrade Parsedown to version 1.6.0
fixes #11558
2016-04-12 10:51:54 +02:00