summaryrefslogtreecommitdiffstats
path: root/src/Daemon/CommLayerServerDBus.cpp
Commit message (Collapse)AuthorAgeFilesLines
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-211-3/+4
| | | | | | We were blindly trusting the values passed to us Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split load_crash_data_from_debug_dump from DebugDumpToCrashReportDenys Vlasenko2010-01-201-4/+3
| | | | | | We will need it elsewhere later Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use get_crash_data_item_content() more widely. -4k.Denys Vlasenko2010-01-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unify "crash data, "crash info" and "crash report" data types. they are the sameDenys Vlasenko2010-01-191-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Eliminate ATT file type - use TXT or BINDenys Vlasenko2010-01-191-6/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* GUI: make it so that even non-loaded plugins show up in "Plugins" dialogDenys Vlasenko2010-01-141-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: disable plugin loading/unloading through GUI. Document keyring a bitDenys Vlasenko2010-01-131-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "abrt-cli --delete randomuuid" report that deletion failed. closes bug 59Denys Vlasenko2009-12-101-13/+19
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* better wording to dbus error message (bug 106)Denys Vlasenko2009-12-091-1/+2
| | | | | | See https://fedorahosted.org/abrt/ticket/106 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dbus: stop returning bool from DeleteDebugDump call, it's not neededDenys Vlasenko2009-12-041-5/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename CreateReport -> StartJob, GetJobResult -> CreateReportDenys Vlasenko2009-12-031-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* continuing s/std::string&/char*/gDenys Vlasenko2009-11-161-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make exception handling lighterDenys Vlasenko2009-11-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass replace of const string& params by const char*Denys Vlasenko2009-11-061-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* InformAllUsers support. enabled by default for Kerneloops. Tested wuth CCpp.Denys Vlasenko2009-11-051-8/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix more warnings (these were harmless, but still...)Denys Vlasenko2009-11-031-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* s/CC_DBUS_/ABRTD_DBUS_/gDenys Vlasenko2009-11-021-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Hack to fix the problem with daemon remembering the last used settingsJiri Moskovcak2009-11-011-6/+9
|
* optimizationsDenys Vlasenko2009-10-221-14/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* removed JobStarted signal; fixed a small bug in build-id scanning codeDenys Vlasenko2009-10-091-12/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: add "force" param to CreateReport dbus call. If !0, regenerates backtraceDenys Vlasenko2009-10-091-2/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* removed unsecure reading/writting from ~HOME directoryJiri Moskovcak2009-10-051-4/+8
| | | | | | - daemon eunning under root can't read/write from ~HOME, so reading/writting config files have been moved to client (GUI) - uses gnome keyring to store the credentials
* set LIMIT_MESSAGE to 16k, typo fix and daemon now reads config information ↵Nikola Pajkovsky2009-09-291-6/+38
| | | | from dbus
* add 16k cap for comment and how to reproduceNikola Pajkovsky2009-09-251-0/+32
|
* abrtd: add an optional 2nd parameter to Report dbus callDenys Vlasenko2009-09-241-86/+59
| | | | | | Also, simplified dbus code a bit. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-applet: remove dbus-c++ glue. -50k of codeDenys Vlasenko2009-09-181-3/+4
| | | | | | | | | | text data bss dec hex filename 70529 2144 1528 74201 121d9 abrt.t0/UNPACKED/usr/bin/abrt-applet 22116 1688 376 24180 5e74 abrt.t1/UNPACKED/usr/bin/abrt-applet Also, we do not use dbus-c++ anymore, which is 200k of code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* factored out dbus init from CommLayerServerDBus.cpp to lib/Utils/abrt_dbus.cppDenys Vlasenko2009-09-171-181/+2
| | | | | | this will allow me to reuse this code for applet Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add dbus signalization when quota exceededNikola Pajkovsky2009-09-171-0/+10
|
* remove C++ dbus glue in src/CLI; fix a bug in --reportDenys Vlasenko2009-09-171-351/+28
| | | | | | | Several kb of code removed. The nly remaining use of C++ glue is desktop applet. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* call the new wrapper functions for register/unregister plugins in DBUS layerdnovotny2009-09-091-2/+4
|
* added polkit security check in SetSettingsdnovotny2009-09-091-1/+2
|
* remove unused Error() methods and dbus signals.Denys Vlasenko2009-09-081-10/+0
| | | | | | I guess it turned out Warning() works just fine. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make Warning, Error and Update send unicast dbus messagesDenys Vlasenko2009-09-081-34/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo correctedDenys Vlasenko2009-09-081-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: eliminate g_pending_jobs[] map and all corresponding TODOs :)Denys Vlasenko2009-09-081-40/+42
| | | | | | | | | | -6k: text data bss dec hexfilename 194741 2656 2384 199781 30c65abrt.t1/abrt-0.0.8.5/src/Daemon/.libs/abrtd 188316 2648 2320 193284 2f304abrt.t2/abrt-0.0.8.5/src/Daemon/.libs/abrtd Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: remove unused AnalyzeComplete dbus signalDenys Vlasenko2009-09-081-11/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory work for proper (i.e. unicast) server->client dbus communicationDenys Vlasenko2009-09-071-2/+11
| | | | | | | | + /* send unicast dbus signal */ + if (!dbus_message_set_destination(msg, pDest)) + die_out_of_memory(); Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* correct g_pending_jobs' type; eliminate redundant string passingDenys Vlasenko2009-09-071-14/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CommLayerServerDBus: wire up {Get,Set}Settings as dbus methodsDenys Vlasenko2009-09-031-13/+53
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CommLayerServerDBus: make it resilient (again) against malformed dbus callsDenys Vlasenko2009-09-021-124/+231
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix my mixup of int64/uint64 in dbusDenys Vlasenko2009-09-021-8/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix map_string_string_t typedef name to map_string_t; silly optimizationsDenys Vlasenko2009-09-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* optimize type signature string generation for dbusDenys Vlasenko2009-09-011-12/+19
| | | | | | | | | | -1.5k: text data bss dec hex filename 194731 2584 2320 199635 30bd3 abrt.z7/abrt-0.0.8/src/Daemon/.libs/abrt 193117 2592 2320 198029 3058d abrt.z8/abrt-0.0.8/src/Daemon/.libs/abrt Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move die_out_of_memory() to abrtlibDenys Vlasenko2009-09-011-6/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2009-09-011-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CommLayerServerDBus: rewrote to use dbus, not dbus-c++Denys Vlasenko2009-09-011-185/+777
| | | | | | | | | | | | | | | Expect some rough edges. On the plus side: (1) -15 kb in our own code: text data bss dec hex filename 209057 2664 2640 214361 34559 abrt.z5/abrt-0.0.8/src/Daemon/.libs/abrt 194958 2576 2320 199854 30cae abrt.z6/abrt-0.0.8/src/Daemon/.libs/abrt (2) this will allow us to stop using libdbus-c++-1.so.0 in the future (-200kb of code) (3) a lot of logging added (most on -vvv verbosity level) to help with debug Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* DBUS: return proper ErrorMessage if report failsJiri Moskovcak2009-09-011-1/+11
|
* daemon: log DBus calls with -v; log file creation only with -vvvDenys Vlasenko2009-08-281-7/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify error handling. CrashWatcher.cpp lost a few wrapper functionsDenys Vlasenko2009-08-271-10/+9
| | | | | | -4k of code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>