4687 Commits

Author SHA1 Message Date
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
0b1d2bf685 Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593 2014-09-02 17:09:36 +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
Alexander Klimov
4d32685316 Module (profile) 'icinga2_dev': add documentation
refs #6842
2014-09-02 16:41:16 +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
Alexander Klimov
7b45e5cc8e Module 'pgsql': add documentation
refs #6842
2014-09-02 16:19:33 +02:00
Alexander Klimov
65f305159d Module 'mysql': add documentation
refs #6842
2014-09-02 16:18:06 +02:00
Alexander Klimov
96e98c8c53 Module 'icinga_packages': add documentation
refs #6842
2014-09-02 15:51:30 +02:00
Alexander Klimov
d3d64e3efe Module 'icinga2_mysql': add documentation
refs #6842
2014-09-02 15:47:18 +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
9bcd861b1c Merge branch 'bugfix/rebuild-form-builder-5525' into bugfix/commands-6593 2014-09-02 15:27:27 +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
Alexander Klimov
2de3af2505 Module 'icinga2': add documentation
refs #6842
2014-09-02 15:08:21 +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
Alexander Klimov
d602f82db8 Puppet style guide: modified MySQL and PgSQL database creation and population resources to fit autoload module layout
refs #6842
2014-09-02 13:29: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