Eric Lippmann
f722e242fd
monitoring: Optimize method order in the DeleteCommentCommand
2015-08-21 10:33:18 +02:00
Eric Lippmann
f7630b98a9
monitoring: Optimize method order in the DeleteCommentsCommandForm
2015-08-21 10:32:16 +02:00
Eric Lippmann
15cf5a9724
monitoring: Fix submit label of the DeleteCommentsCommandForm
2015-08-21 10:31:21 +02:00
Eric Lippmann
5b143ce205
monitoring: Optimize method order in the DeleteDowntimesCommandForm
2015-08-21 10:30:55 +02:00
Eric Lippmann
fbb16e5ea2
monitoring: Optimize method order in the DeleteDowntimeCommand
2015-08-21 10:30:41 +02:00
Eric Lippmann
b092d081b9
monitoring: Use translatePlural for the success message in the DeleteCommentsCommandForm
2015-08-21 10:28:52 +02:00
Eric Lippmann
ed25488cff
monitoring: Use translatePlural for the success message in the DeleteDowntimesCommandForm
2015-08-21 10:28:28 +02:00
Eric Lippmann
8207579e13
monitoring/API: Expose removing service downtimes
...
refs #9606
2015-08-21 10:28:09 +02:00
Eric Lippmann
c35f0976c2
monitoring/API: Expose scheduling service downtimes
...
refs #9606
2015-08-21 10:19:46 +02:00
Johannes Meyer
a960f2cb4c
forms.less: Animate the icon char, not the i-tag
...
refs #8369
2015-08-21 10:17:03 +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
7dd3fc6c78
Make sure that the spinner is only animated when visible
...
refs #8369
2015-08-21 09:54:05 +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
d9855d8273
js: Fix that the fallback spinner is not utilized for auto submits
...
refs #8369
2015-08-20 16:55:03 +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
ebd34422cb
forms: Fix textarea layout with help icons
2015-08-20 16:53:26 +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
Johannes Meyer
736d715d8c
js: Allow to provide a fallback spinner for forms
...
refs #8369
2015-08-20 16:13:12 +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
1b1223ea2e
monitoring/API: Expose scheduling host downtimes
...
refs #9606
2015-08-20 15:54:33 +02:00
Eric Lippmann
f27f1097ca
monitoring: Don't require the child_hosts parameter when scheduling host downtimes
...
refs #9606
2015-08-20 15:54:03 +02:00
Eric Lippmann
d8f866c2bc
monitoring: Clone the filter before modyfing it in the IdoQuery
2015-08-20 15:50:02 +02:00
Eric Lippmann
e914b733cd
Handle API requests in the ErrorController
...
refs #9606
2015-08-20 15:49:37 +02:00
Johannes Meyer
4edf122364
Show a spinner when deleting comments or downtimes
...
refs #8369
2015-08-20 15:49:25 +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
5602d57d0b
Indicate that the configuration is being validated
...
refs #8369
2015-08-20 15:48:41 +02:00
Johannes Meyer
bf1e177023
LoginForm: Provide a progress label
...
refs #8369
2015-08-20 15:32:53 +02:00
Johannes Meyer
3f4221b249
js: Use a fixed with for form buttons once a form submit is ongoing
...
...and a progress label is set.
refs #8369
2015-08-20 15:32:31 +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
7da8ad4e44
js: Show activity indicators for form submits
...
refs #8369
2015-08-20 14:44:49 +02:00
Johannes Meyer
fedda16bd4
js: Use the last button instead of the first one for form submits
...
refs #8369
fixes #9245
2015-08-20 14:40:05 +02:00
Johannes Meyer
e3d99cb00d
loader.js: Add support for ajax progress timer
...
refs #8369
refs #8848
2015-08-20 14:38:03 +02:00
Johannes Meyer
2fe3c6e5cf
events.js: Properly handle the default for param `autosubmit'
...
refs #8369
2015-08-20 14:36:55 +02:00
Johannes Meyer
291c712b44
Fix form element label style
2015-08-20 14:35:40 +02:00
Johannes Meyer
690d60672c
Introduce form element decorator Spinner
...
refs #8369
2015-08-20 14:34:43 +02:00
Eric Lippmann
0fb495f541
monitoring/API: Add ActionsController w/ removeHostDowntime action
...
refs #9606
2015-08-20 14:25:12 +02:00
Eric Lippmann
2229665ec6
monitoring: Return an empty filter in Controller::getRestriction() if the authenticated user is not restricted
...
This is because applyFilter requires a filter object.
2015-08-20 14:24:06 +02:00
Eric Lippmann
432abb1d33
monitoring: Fix call for getting the URL parameters in DataView::handleRequest()
...
refs #9967
2015-08-20 14:23:03 +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
dcb1502286
monitoring: Implement Controller::getRestriction()
...
Controller::applyRestriction() breaks fluent interfaces whereas Controller::getRestriction() doesn't.
2015-08-20 13:11:36 +02:00