31 Commits

Author SHA1 Message Date
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