3144 Commits

Author SHA1 Message Date
Alexander Fuhr
af3f33d260 Merge branch 'feature/dashboard-component-disabled-property-6986'
resolves #6986
2014-09-03 14:43:34 +02:00
Alexander Fuhr
acbd2bd7c0 Merge branch 'master' into feature/dashboard-component-disabled-property-6986 2014-09-03 14:40:30 +02:00
Alexander Fuhr
7cfc051228 Add tests for Dashboard and fix doc blocks
refs #6986
2014-09-03 14:36:04 +02:00
Alexander Klimov
33669f8969 Logger: add/update documentation
refs #7060
2014-09-03 13:53:46 +02:00
Alexander Klimov
f4b820aa57 Application log: don't use Icinga\Application\Config to get the log file name
refs #7060
2014-09-03 13:40:53 +02:00
Alexander Klimov
3b8fcb80a8 Application log: don't crash if logData === null
refs #7060
2014-09-03 12:44:23 +02:00
Johannes Meyer
54a834266c Form::createElements() should add elements instead of returning them
In case createElements() would still return the elements while requiring
the caller to add them to the form all form dependent configurations get
lost. (displaygroups, belongTo, ...) Wizards or parent forms can still
retrieve only input relevant fields by just calling createElements() and
getElements().

refs #5525
2014-09-03 12:21:31 +02:00
Alexander Klimov
1e06c20dcb FileWriter: implement getPath()
refs #7060
2014-09-03 12:09:38 +02:00
Alexander Klimov
6aeab59ead Logger: implement getWriter() and getInstance()
refs #7060
2014-09-03 12:02:11 +02:00
Alexander Klimov
70cf14f775 Logger: rename getWriter() -> createWriter()
refs #7060
2014-09-03 11:34:21 +02:00
Alexander Klimov
3ade6da44d FileReaderException: extend IcingaException 2014-09-03 11:14:22 +02:00
Johannes Meyer
c4d17a3509 Drop Zend_View_Helper_MonitoringProperties as it's not used anywhere 2014-09-03 10:27:24 +02:00
Johannes Meyer
06c7c4bd3e Fix that the MonitoringProperties view helper returns locale aware floats
refs #7063
2014-09-03 10:09:43 +02:00
Johannes Meyer
07151d0a5e Fix that the MonitoringProperties view helper returns locale aware floats
refs #7063
2014-09-03 10:01:20 +02:00
Johannes Meyer
3f9cb00b1f Fix DbBackendFormTest not creating a valid ResourceFactory mock object
refs #7063
2014-09-03 10:00:41 +02:00
Johannes Meyer
8e5deb8029 Fix TranslatorTest not expecting the default locale as being "available"
refs #7063
2014-09-03 10:00:04 +02:00
Thomas Gelf
ef847801f2 js/loader.js: preserve scrolling position...
...on autorefresh and reset it otherwise.

fixes #6285
fixes #6988
2014-09-02 20:11:37 +02:00
Thomas Gelf
3d352ba446 Filter: add FilterNotEqual and FilterMatch
fixes #6557
2014-09-02 19:51:56 +02:00
Thomas Gelf
f12a5741b8 js/loader: postpone redirection handling
Redirections should not be executed unless the original request has been
terminated and removed from pending requests.

fixes #6989
2014-09-02 19:05:49 +02:00
Eric Lippmann
dd3901e891 `FormNumber': Fix "The use statement with non-compound name..."
refs #5525
2014-09-02 17:08:54 +02:00
Johannes Meyer
5ce9bef689 Replace usages of the helptext' form element option with description'
refs #5525
2014-09-02 17:03:51 +02:00
Thomas Gelf
1734f01040 CommentdeletionhistoryQuery: 1970-01-01 -> -02
refs #7000
2014-09-02 17:02:58 +02:00
Eric Lippmann
c7a4098c04 lib: Respect the disabled attribute in `FormNumber'
refs #5525
2014-09-02 16:54:43 +02:00
Eric Lippmann
5485ca8a25 lib: Use Zend's Int' validator in the Number' form element
Further disabled default decorators since our form sets them.

refs #5525
2014-09-02 16:54:43 +02:00
Thomas Gelf
b60b811335 ApplicationBootstrap: list "core" translations
Just to make application fit module capabilities. We might find a better
place for both later on.

refs #7054
2014-09-02 16:51:17 +02:00
Johannes Meyer
95c839a8bd Remove remaining usages of the ElementWrapper- and HelpText-Decorator
refs #5525
2014-09-02 16:50:59 +02:00
Thomas Gelf
6faedf5733 ActionController: no benchmark for no renderer
Benchmarks should not be shown when the renderer is no longer available.
2014-09-02 16:49:28 +02:00
Thomas Gelf
8577940e1e StaticController: cache gravatar images
fixes #7061
2014-09-02 16:31:38 +02:00
Thomas Gelf
4cef333add Modules\Module: implement listLocales
fixes #7054
2014-09-02 16:28:27 +02:00
Thomas Gelf
e4687a60f9 Web\JavaScript: use Cache and ETags
refs #6927
2014-09-02 16:25:44 +02:00
Johannes Meyer
5464321a1b ConfigController: Remove obsolete functionality 2014-09-02 16:25:03 +02:00
Johannes Meyer
1ba3df310c Remove BaseConfigController, User\Message and Widget\AlertMesageBox
refs #6758
2014-09-02 16:25:03 +02:00
Johannes Meyer
2d86e6ba3b Rename ResourceForm and make it use handleRequest() & Co.
refs #5525
2014-09-02 16:25:03 +02:00
Johannes Meyer
5b14d8fed3 Fix that the force_creation checkbox disappears after another error
Once the user enters invalid data after he tried to save a backend without
success (because the backend was not successfully validated) the shown
checkbox disappeared in this case regardless of whether it was checked
or not.

refs #5525
2014-09-02 16:25:03 +02:00
Johannes Meyer
539ab91ffa Add the FormErrors decorator as default decorator for forms
This allows us to use Zend_Form::addError() to show error messages for
the entire form context.

refs #5525
2014-09-02 16:25:03 +02:00
Thomas Gelf
f0d6cf994e Web\StyleSheet: use Cache and ETags 2014-09-02 16:24:55 +02:00
Thomas Gelf
ff6483cec5 Web\FileCache: initial implementation
refs #6927
2014-09-02 16:22:48 +02:00
Johannes Meyer
338f549233 Add class ReadablePathValidator 2014-09-02 16:19:45 +02:00
Johannes Meyer
aedc8cc8b1 Fix spelling issue in german translation catalog 2014-09-02 16:19:45 +02:00
Johannes Meyer
39bb01b433 Rename Icinga\Web\Form::onShow() to onRequest()
onShow() is misleading because at the time this method is being called the
form is neither shown nor created.

refs #5525
2014-09-02 16:19:45 +02:00
Thomas Gelf
a58b2aac00 Ido\StatusQuery: join ALL latest comment
And it was soooo fast :p

refs #7057
2014-09-02 15:31:06 +02:00
Eric Lippmann
d4c4ab7b2c lib/form: Fix default element decorators but breaking noscript layout
Replaced `ElementWrapper' and `HelpText' with Zend's `HtmlTag' and `Label' respectively.

Instances of Zend_Form_Element returned by `Form::createElements()' now receive our desired default decorators.

refs #5525
2014-09-02 15:23:07 +02:00
Eric Lippmann
8478ef3fce lib: Remove `HelpText' form element decorator
Zend already has a `Description' decorator.

refs #5525
2014-09-02 15:05:47 +02:00
Eric Lippmann
7143837ae3 lib: Remove `ElementWrapper' form element decorator
Zend has a `Label' decorator already.

refs #5525
2014-09-02 15:04:23 +02:00
Thomas Gelf
d8e71d3790 monitoring/list: ignore post in applyFilter
refs #6644
2014-09-02 14:07:46 +02:00
Marius Hein
19136b548a StatusQuery: Separate last comment fields
fixes #7057
2014-09-02 13:57:43 +02:00
Thomas Gelf
8a5e274c8b monitoring/show: handle format=sql after pagination 2014-09-02 13:26:48 +02:00
Thomas Gelf
62c0f0be03 Web\Session: implement lazy loading
fixes #7055
2014-09-02 13:23:15 +02:00
Alexander Fuhr
26339b128a Add disabled property and implement the functionality
refs #6986
2014-09-02 13:16:21 +02:00
Thomas Gelf
e75de8cf60 monitoring/list: redirect when posting new order
refs #6644
2014-09-02 13:07:20 +02:00