295 Commits

Author SHA1 Message Date
Johannes Meyer
23f0962da1 Adjust command forms and tests
Made those command forms using the DateTimePicker
element compatible with its new validation.

refs #4581
2013-09-03 09:27:02 +02:00
Johannes Meyer
24ecbb56d7 Fix incorrect checkresult type selection
When submitting a passive checkresult for hosts only their correct
result types are added to the selection.

refs #4600
2013-09-02 17:24:42 +02:00
Jannis Moßhammer
4527aaf57a Smaller fixes in phpdoc style
refs #4566
2013-08-28 14:42:31 +02:00
Johannes Meyer
13e4efa221 Make use of the helptext decorator if suitable
Refactored some uses of the form element Note so that
each one is properly attached to its input element.

refs #4566
2013-08-28 08:57:46 +02:00
Jannis Moßhammer
895976550c Fix templates, capitalization and icons in php files
refs #4550
refs #4584
2013-08-23 10:28:48 +02:00
Eric Lippmann
edb06ea8ea CS: Fix viloations for touched files in branch feature/backend-configuration-ui-3776
refs #3776
2013-08-21 14:22:31 +02:00
Eric Lippmann
585f69fe8f Monitoring/Configuration: Show ido, Ido as IDO
refs #3776
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
cd1fb2e4b5 Capitalization, smaleler codestyle fixes
refs #3776
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
83d053965f Implement monitoring instance and backend configuration forms
refs #3776
2013-08-21 14:22:30 +02:00
Jannis Moßhammer
f081531585 Phpdoc and small text fixes
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
5e85dd1c06 Monitoring/Commands: Fix reschedule next check form tests
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
9f1da2db1a Monitoring/Commands: Add help messages to the submit passive check result form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
b46df485ae Monitoring/Commands: Add help messages to the schedule downtime form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
48a393894c Monitoring/Commands: Add help messages to the reschedule next check form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
bcdda6c0c6 Monitoring/Commands: Add help messages to the delay notification form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
329d63839b Monitoring/Commands: Fix tests
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
3d3fbb123d Monitoring/Commands: Add help messages to the custom notification form
refs #4524
2013-08-16 17:38:50 +02:00
Eric Lippmann
9c047f5b72 Monitoring/Commands: Fix typos in forms
refs #4524
2013-08-16 17:38:49 +02:00
Eric Lippmann
0af63ea751 Monitoring/Commands: Add help messages to the add comment form
refs #4524
2013-08-16 17:38:49 +02:00
Eric Lippmann
fb71ecc5ca Monitoring/Commands: Add help messages to the problem acknowledgement form
refs #4524
2013-08-16 17:38:49 +02:00
Eric Lippmann
bd140f2828 CC: Fix phpcs errors of files changed in feature/datetime-element-4440
refs #4440
2013-08-12 16:43:10 +02:00
Eric Lippmann
7dea7fcad0 Monitoring/Forms: Replace PHP DateTime usage with DateTimeFactory
refs #4440
2013-08-12 16:43:10 +02:00
Eric Lippmann
4d98b64a1b Monitoring/Forms: Fix docstrings
refs #4440
2013-08-12 16:43:09 +02:00
Eric Lippmann
1a2ea656fd Monitoring/Forms: Don't use DateTime as PhpDateTime
refs #4440
2013-08-12 16:43:08 +02:00
Eric Lippmann
1f10cb3124 Framework: Rename DateTime form element to DateTimePicker
refs #4440
2013-08-12 16:43:08 +02:00
Johannes Meyer
66592ecabf Enable dynamic form elements
Expire time of the AcknowledgeForm and hours as well as
minutes of the ScheduleDowntimeForm are now dynamic.

refs #4439
2013-08-06 15:06:20 +02:00
Johannes Meyer
d78a5338df Rename ConfirmationForm and ConfirmationWithIdentifierForm
Rename ConfirmationForm to CommandForm and
ConfirmationWithIdentifierForm to CommandWithIdentifierForm.

refs #4439
2013-08-06 11:14:56 +02:00
Johannes Meyer
5533b632ed Fix code style and make form name non mandatory
refs #4439
2013-08-06 11:11:29 +02:00
Johannes Meyer
8efbe6f613 Move submit and cancel handling
Move submit and cancel handling from ConfirmationForm to Form.

refs #4439
2013-08-06 11:11:28 +02:00
Johannes Meyer
fa7379adc7 Enable dynamic form elements
Expire time of the AcknowledgeForm and hours as well as
minutes of the ScheduleDowntimeForm are now dynamic.

refs #4439
2013-08-06 11:09:42 +02:00
Johannes Meyer
98e7ab02db Implement dynamic form elements
Rename "isPostAndValid" to "isSubmittedAndValid" and refactor it.
Add possibility for specific form elements to auto-submit their form.

refs #4439
2013-08-06 11:09:42 +02:00
Marius Hein
c9c5e6ef3c Send commands: Review fixes
refs #4441
2013-08-06 09:32:27 +02:00
Jannis Moßhammer
c2781f4969 Fix test cases for Confirmation forms
refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
b44de95caa Call commandhandler from commandcontroller actions
The CommandController now implements the calls to the specific
command methods and sends commands to the icinga process

refs #4441
2013-08-06 09:27:37 +02:00
Jannis Moßhammer
2091f63c3b Implement first commands, fix obsessing state
refs #4441
2013-08-06 09:27:37 +02:00
Marius Hein
2b3bef457d Command masks: Small PSR fix, drop unused core, fix lazy render
refs #4355
2013-07-24 12:43:26 +02:00
Jannis Moßhammer
ddfbf915ed Implement isPostAndValid, fix CSRF in forms, update tests
Form provides isPostAndValid for validation, using the
request for fetching POST data.
The tests are now updated to use the CSRF protection and
are cleaner now

refs #4355
2013-07-24 10:56:41 +02:00
Marius Hein
849eee2cf2 Command masks: Review changes [WIP]
refs #4355
2013-07-23 17:09:06 +02:00
Marius Hein
6e3e3c358b Command masks: Add test
refs #4355
2013-07-23 14:47:40 +02:00
Marius Hein
3676c95afc Command masks: Fix doc issues 2013-07-23 14:47:40 +02:00
Marius Hein
89e7fa6b2d Command masks: Add validator and change validation flow
refs #4355
2013-07-23 14:47:40 +02:00
Marius Hein
03f4a8eceb Command masks: Implement missing forms [WIP]
Fixes phpcs issues, missing features, fix controller using
new config interface.

refs #4355
2013-07-23 14:47:40 +02:00
Marius Hein
0de38c25eb Command masks: Refactor and implement masks
refs #4355
2013-07-23 14:47:40 +02:00
Marius Hein
5489c2fa2e Update license header
refs #4407
2013-07-15 12:26:10 +02:00
Marius Hein
316893ad2c Add new autoloader implementation
New namespace implementation created to load application code
like forms with this autoloader. Consumpting services can register
their own, multiple namespaces. Overlapping namespaces matched
by closest name.

refs #4407
2013-07-12 16:11:03 +02:00