classic-ui: Changed field size for hours to 4 when setting flexible downtime #3484

refs: #3484

Changed size to four. Flexible downtime can now last for more then a year!
classic-ui: Added process status to JSON response #3172

refs: #3172

This will be added to every json response and gives the client
the possibility to warn the user if there is anything odd.

{ "cgi_json_version": "1.9.0",
"icinga_status": {
"status_data_age": 4,
"process_state_ok": true,
"reading_status_data_ok": true,
"program_version": "1.9.0dev",
"icinga_pid": 22883,
"timezone": "CET",
"program_start": 1354918801,
"total_running_time": "0d 0h 32m 44s",
"last_external_command_check": 1354920760,
"last_log_file_rotation": 0,
"notifications_enabled": true,
"disable_notifications_expire_time": 0,
"service_checks_being_executed": true,
"passive_service_checks_being_accepted": true,
"host_checks_being_executed": true,
"passive_host_checks_being_accepted": true,
"obsessing_over_services": true,
"obsessing_over_hosts": true,
"check_service_freshness": true,
"check_host_freshness": false,
"event_handlers_enabled": true,
"flap_detection_enabled": true,
"performance_data_being_processed": true
},
classic ui: Implement #3476, "set_expire_ack_by_default"

refs: #3476

This commit implements proposed feature #3476, with input from
Ricardo (and with thanks), in cgi.cfg which automatically ticks the
"Use Expire Time:" check-box in cmd.cgi.  The default behaviour is
to *NOT* tick the checkbox thereby preserving well-established bevaviour.

The intent of the change is in response to observed administrator behaviour
in large organisations where problems get acknowledged and then never fixed
leading to later system failure.  Expiring acknowledgments will assist in
reminding staff in disparate departments and locations that a problem has
not been fixed in a reasonable amount of time specified by the cgi.cfg
setting "default_expiring_acknowledgement_duration" or a different value
given in the "acknowledge problem" dialog.
classic ui: Implement #3467, "set_ack_notifications"

refs: #3467

This commit implements proposed feature #3467 from "TheCry" to tick
or untick the "Send Notification" checkbox in the Acknowledge Problem
dialog.  The default behaviour is set to leave the checkbox ticked
thereby sending notifications when a problem is acknowledged and
preserving the original behaviour.

Thanks to Ricardo for the suggestion of using "set_{option}" as
syntax.
Fix changelog omission from #3476

refs: #3476

This corrects an omission in Changelog for feature #3476. See
commit 6139cf55be7defce633739efcfd8cb579adba756 for details of
the change.
Merge remote-tracking branch 'origin/cfriend/cgi' into rbartels/cgi
classic-ui: changed "set_ack_notifications" to "send_ack_notifications" #3467

refs: #3467

Changed var name to "send_ack_notifications" and removed code which
isn't needed anymore.
classic-ui: Restructured cgi.cfg.in #3506

refs: #3506

Created new sections. Hope now it is easier to find a config option.
classic-ui: fixed Warning and Unknown States are mixed up in Alert Summary Report #3488

refs: #3488

States got mixed up when reading log data. should be fixed now.
Merge branch 'test/cgis' into next