8441 Commits

Author SHA1 Message Date
Eric Lippmann
67bbc3ed6a monitoring: Apply restriction on hosts before calling filterQuery which also handles format
refs #9965
2015-08-21 11:14:43 +02:00
Eric Lippmann
fc28088dc0 monitoring: Remove deprecated method ListController::applyRestriction() 2015-08-21 11:09:54 +02:00
Johannes Meyer
89bc1f13ed forms.less: Prevent that the sort control "wobbles"
I love this word..

refs #8369
2015-08-21 10:53:16 +02:00
Johannes Meyer
b9d64b40a4 forms.less: Fix help icon layout 2015-08-21 10:36:08 +02:00
Johannes Meyer
c395dbd813 Wizard: Add missing progress element to custom form scripts
refs #8369
2015-08-21 10:35:10 +02:00
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
Eric Lippmann
5da139943c lib: Fix type hint for $menuItems in Module 2015-08-20 16:59:02 +02:00
Eric Lippmann
9aa62c9898 lib: Fix type hint for $tabs in Module 2015-08-20 16:58:24 +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
Eric Lippmann
800173b19f lib: Fix type hint for $router in Module 2015-08-20 16:47:17 +02:00
Eric Lippmann
5d8f091209 lib: Don't alias Zend classes in Module 2015-08-20 16:46:31 +02:00
Eric Lippmann
f24449b225 modules: Register controller namesoace in Module::registerWebIntegration()
Else we get an exception when loading modules on the CLI because Zend classes are not autoloaded.

refs #5786
2015-08-20 16:24:12 +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