Eric Lippmann
b897813e71
lib: Add Form::setRequest()
2015-09-07 13:55:52 +02:00
Eric Lippmann
1fb613e811
api/forms: Fix array access of a notification
...
refs #9606
2015-09-07 13:49:53 +02:00
Eric Lippmann
d3fe1e1973
api/response: Allow setting null as success data
...
refs #9606
2015-09-07 13:45:13 +02:00
Eric Lippmann
b20eb681c0
api/forms: Use the first success notification as success message
...
refs #9606
2015-09-07 13:44:46 +02:00
Eric Lippmann
f467d085b0
api: Use JsonResponse in form
...
refs #9606
2015-09-07 13:36:12 +02:00
Eric Lippmann
25abc16e15
lib: Replace Repsonse::sendJson() w/ Response::json()
...
refs #9606
2015-09-07 13:24:21 +02:00
Eric Lippmann
a9cb8bfb2c
lib: Add JsonResponse class
...
refs #9606
2015-09-07 13:22:58 +02:00
Eric Lippmann
0f8c28d749
Merge branch 'master' into feature/api-9606
2015-09-07 11:33:44 +02:00
Matthias Jentsch
ca33e71f2d
Deduplicate and clean up service summary component
...
Remove redundant component view script and streamline subFilter handling in all views that render it. Remove
heading from component to allow embedding in different types of views.
refs #10033
2015-09-04 13:02:57 +02:00
Eric Lippmann
4fb6856caf
Fix exception when navigating to the preferences after namespacing all controllers
2015-08-31 10:19:30 +02:00
Eric Lippmann
e7e1b1a98e
Dispatcher: Default to the default module if no module has been given in the request
...
This is most likely the case when custom routes have been added to the router w/o the module parameter being set.
refs #5786
2015-08-28 13:13:20 +02:00
Eric Lippmann
9cf56410e9
lib: Fix PHPDoc of Form::populate()
2015-08-27 15:52:13 +02:00
Eric Lippmann
4070f6c75b
Merge branch 'master' into feature/namespaced-controllers-5786
2015-08-27 15:05:44 +02:00
Eric Lippmann
28009eb563
Rename controller namespace to Controllers
...
refs #5786
2015-08-27 13:03:45 +02:00
Eric Lippmann
c294283636
Merge branch 'bugfix/service-grid-grouping-postgres-9333'
...
Conflicts:
modules/monitoring/application/controllers/ListController.php
modules/monitoring/library/Monitoring/Backend/Ido/Query/IdoQuery.php
fixes #9333
fixes #9538
2015-08-27 12:58:49 +02:00
Johannes Meyer
8cc1970a9f
SearchDashboard: Use t() instead of the view helper
...
Since it's library code we do not need to use the module-aware
translation helper.
2015-08-25 16:51:50 +02:00
Eric Lippmann
c8790fad93
Merge branch 'bugfix/service-grid-display_name-9538' into bugfix/service-grid-grouping-postgres-9333
...
Conflicts:
library/Icinga/Data/PivotTable.php
modules/monitoring/application/controllers/ListController.php
2015-08-25 15:51:20 +02:00
Eric Lippmann
96fb3b5d4b
Merge branch 'master' into feature/api-9606
2015-08-25 09:25:59 +02:00
Eric Lippmann
ec390d7a8b
lib: Add Controller::httpBadRequest() for responding w/ HTTP 400 immideately
...
refs #9606
2015-08-24 15:59:59 +02:00
Johannes Meyer
7c86f19aee
SearchDashboard: Utilize createDashlet() and set a progress label
...
refs #8848
2015-08-24 12:36:59 +02:00
Johannes Meyer
320a4080ec
Dashlet: Add support for CSS animated progress labels
...
refs #8848
2015-08-24 12:36:35 +02:00
Johannes Meyer
db4c81a093
Pane: Add method createDashlet()
...
refs #8848
2015-08-24 12:35:38 +02:00
Eric Lippmann
ceaba90872
css: Load mixins.less
2015-08-21 16:45:05 +02:00
Matthias Jentsch
675a130787
Fix active configuration/application menu highlighting
...
Fix a bug that caused the application config to not be set to active when navigating through history.
refs #9761
2015-08-21 16:04:04 +02:00
Johannes Meyer
d31b60102e
Form: Fix that form titles are missing
...
The description may not be set at the time
loadDefaultDecorators() is called.
2015-08-21 14:20:09 +02:00
Johannes Meyer
9ca278d7b2
Merge branch 'master' into feature/activity-indicators-for-form-submits-8369
2015-08-21 13:37:54 +02:00
Johannes Meyer
fbca28c024
Form: Only add a form header if a description is set
...
refs #8369
2015-08-21 13:34:17 +02:00
Johannes Meyer
747f6dcf77
Form: Show the form autosubmit warning in the header tag...
...
...and use a unique id for the progress element.
refs #8369
2015-08-21 11:40:38 +02:00
Eric Lippmann
85ef98f72d
lib: Add PHPDoc to Request::hasCookieSupport()
2015-08-21 11:27:03 +02:00
Johannes Meyer
b9d64b40a4
forms.less: Fix help icon layout
2015-08-21 10:36:08 +02:00
Johannes Meyer
7244906515
Wizard: Use a constant for the name and id of the progress element
...
refs #8369
2015-08-21 10:16:23 +02:00
Johannes Meyer
07b17cc701
Wizard: Add Spinner decorator to the first (and only) submit button
...
refs #8369
2015-08-21 09:52:57 +02:00
Matthias Jentsch
44271471e3
Allow declarative definitions of badge renderers and improve interface
...
Allow the data backend, columns and generated tooltips to be defined in the configuration instead of providing subclasses for every new configuration. Provide an abstract BadgeMenuItemRenderer that allows creating Badges with less boilerplate.
fixes #9694
2015-08-20 18:16:33 +02:00
Johannes Meyer
46cd47b73c
Form: Automatically set data-progress-element...
...
..for forms with form based autosubmit warnings.
refs #8369
2015-08-20 16:54:20 +02:00
Johannes Meyer
32f8c0770c
Wizard: Use a single spinner for all submit buttons
...
refs #8369
2015-08-20 16:13:56 +02:00
Johannes Meyer
20f144bd4b
Spinner: Accept option `id'
...
refs #8369
2015-08-20 16:13:30 +02:00
Eric Lippmann
c5f444efe8
lib: Don't alias Zend classes in the ActionController
2015-08-20 16:10:39 +02:00
Eric Lippmann
6ca02a519b
lib: Fix type hint of Controller::getResponse()
2015-08-20 16:07:24 +02:00
Eric Lippmann
1c5a784022
lib: Move Request::sendJson() to Response::sendJson()
...
refs #9606
2015-08-20 16:05:45 +02:00
Eric Lippmann
870b73ae09
lib: Rename Request::getIsApiRequest() to ::isApiRequest()
...
There's no setter involved.
refs #9606
2015-08-20 16:02:25 +02:00
Eric Lippmann
62f0281a62
lib: Fix type hint of Controller::getRequest()
2015-08-20 16:00:24 +02:00
Eric Lippmann
1130e453f6
lib: Fix typos in the Form's PHPDoc
2015-08-20 15:57:52 +02:00
Eric Lippmann
f9f813e50b
lib: Fix PHPDoc of Form::populate()
2015-08-20 15:56:45 +02:00
Eric Lippmann
0ce4e12db8
lib: Fix type hints for Form::getElements()
2015-08-20 15:55:18 +02:00
Eric Lippmann
dd23bd9397
Form: Respond w/ JSON-encoded messages if API requests fail
...
refs #9606
2015-08-20 15:48:42 +02:00
Johannes Meyer
a77dc3665c
Form: Show a spinner for ongoing form submits
...
This will only be shown if there's no progress label set.
refs #8369
2015-08-20 15:05:02 +02:00
Johannes Meyer
275b57cb69
Form: Allow to set a progress label
...
refs #8369
2015-08-20 15:04:15 +02:00
Johannes Meyer
690d60672c
Introduce form element decorator Spinner
...
refs #8369
2015-08-20 14:34:43 +02:00
Eric Lippmann
71ff4512c3
lib/form: Bypass sent and submit handling if the form is an API target
...
refs #9606
2015-08-20 13:11:36 +02:00
Eric Lippmann
e07cdd21ac
lib: Add Request::sendJson()
...
refs #9606
2015-08-20 13:11:36 +02:00