New style of reporting automatically processes event chains. The default event chain for report-gtk and report-cli contains analyze_RetraceServer event. This event sends a core file somewhere to the Internet. In the current state, a user notices that a core file is uploaded somewhere after uploading process started. If a core file is tiny a user won't most likely notice this uploading because of automatic execution of next event from event chain.
This set of patches adds a new event configuration option named 'sending-sensitive-data'. If an event has configured this option to value 'yes' a reporter must ask for permission to run the event.
Jakub Filak (4): trac#660: add support for sendining-sensitive-data event option trac#660: report-gtk: introduce generic ask_yes_no() function for options trac#660: report-gtk asks for permission to send sensitive data trac#660: report-cli asks for premission to send sensitive data
src/cli/cli-report.c | 11 +++++++ src/gui-wizard-gtk/wizard.c | 79 ++++++++++++++++++++++++++++++++++----------- src/include/event_config.h | 1 + src/lib/event_xml_parser.c | 5 +++ 4 files changed, 77 insertions(+), 19 deletions(-)