refactorize: reflect recent changes in map_string_t

Related to abrt/libreport#147

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Signed-off-by: Martin Milata <mmilata@redhat.com>

Conflicts:

	src/daemon/abrt-action-save-package-data.c
	src/lib/abrt_conf.c
	src/plugins/abrt-action-analyze-xorg.c
add Autoreporting configuration options

- related to trac#763, trac#768

Signed-off-by: Jakub Filak <jfilak@redhat.com>
Load conf from /usr/share/abrt/conf.d and /etc/abrt

Related to #752

Signed-off-by: Jakub Filak <jfilak@redhat.com>

Conflicts:

	configure.ac
	src/daemon/Makefile.am
	src/daemon/abrt-action-save-package-data.c
	src/hooks/abrt_harvest_vmcore.py.in
	src/plugins/Makefile.am
	src/plugins/abrt-action-analyze-xorg.c
	src/python-problem/problem/common.h
	src/python-problem/problem/pyabrt.c
	src/python-problem/problem/pyabrtmodule.c
add augeas module for abrt configuration files

Uses the lens from the Libreport module since abrt uses libreport for
loading and saving configuration files.

The module only specifies the included files.

Related to abrt/libreport#205

Signed-off-by: Jakub Filak <jfilak@redhat.com>

mmilata: stop configure if augparse not found

Conflicts:

	configure.ac
spec: add abrt's augeas module

Related to abrt/libreport#205

Signed-off-by: Jakub Filak <jfilak@redhat.com>

mmilata: add BuildRequires augeas (needed by make check)

Conflicts:

	abrt.spec.in
spec: install conf to /usr/share/abrt/conf.d

Closes #752

Signed-off-by: Jakub Filak <jfilak@redhat.com>

Conflicts:

	abrt.spec.in
Make problem_api.c easier to comprehend

In my opinion this verison of the code is simpler.

Instead of having two kinds of callbacks, and *then* hardcoding the action
when they are successful (adding a directory name to the result list),
I combined all these actions into one callback.

This may allow simplification of count_problems_in_dir()
helper (we don't really need to build a list only to free it at once!),
but it's not that easy because we use get_problem_dirs_for_element_in_time()
which is a public function and I don't want to touch public API (yet?).

Version 2: language fix in the comments

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Michal Toman <mtoman@redhat.com>
abrt-cli list: implement --since and --until

Version 2: make --until without --since work.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Michal Toman <mtoman@redhat.com>

Conflicts:

	src/cli/list.c
abrt-action-notify

Signed-off-by: Jakub Filak <jfilak@redhat.com>
abrt-action-ureport
introduce abrt-auto-reporting utility

abrt-auto-reporting simplifies enabling and disabling of the
Auto-reporting feature.

This patch also adds a text suggesting to enable the auto-reporting into
abrt-cli list's output.

Related to rhbz#1044424

Signed-off-by: Jakub Filak <jfilak@redhat.com>

Conflicts:

	configure.ac
	doc/Makefile.am
	po/POTFILES.in
	src/cli/list.c
	src/daemon/Makefile.am
created python binding for configuration files
define report_uReport events
abrt-cli list: list all problems by default

The list of not-reported problems can be show by passing "-n" as an
command line argument.

Related to rhbz#1036585

Signed-off-by: Jakub Filak <jfilak@redhat.com>

Conflicts:

	doc/abrt-cli.txt
	src/cli/list.c