summaryrefslogtreecommitdiffstats
path: root/src/Daemon/MiddleWare.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove autoreport hack, re-enable proper code for itDenys Vlasenko2010-02-081-5/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove binary files from report if client did not include themDenys Vlasenko2010-02-081-0/+19
| | | | | | | This is not used at the moment, but will be needed when GUI will reinstate "Attachments" checkboxes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove all usages of C++ streams (-10k in code size)Denys Vlasenko2010-02-071-2/+1
| | | | | | Also add copyright banners to all files which were missing them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix handling of dupes (weren't deleting dup's directory); better loggingDenys Vlasenko2010-02-051-11/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: handle "perl -w /usr/bin/script" tooDenys Vlasenko2010-02-041-2/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Kerneloops: fix BZ reporting of oopsesDenys Vlasenko2010-01-291-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bug 559881 (kerneloops not shown in "new" GUI)Denys Vlasenko2010-01-291-1/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* reenabled gpg checkJiri Moskovcak2010-01-281-0/+7
| | | | | | - we still just check only the signature of the package, which doesn't tell us if the files on the disk weren't changed, but will at least filter not official packages
* abrtd: set "Reported" status only if at least one reporter succeededDenys Vlasenko2010-01-271-6/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport: make it avoid double runs; add forced regeneration; upd PLUGINS-HOWTODenys Vlasenko2010-01-261-7/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* attribute SEGVs in perl to script's package, like we already do for pythonDenys Vlasenko2010-01-251-4/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix previous commitDenys Vlasenko2010-01-221-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused getuidbynameDenys Vlasenko2010-01-221-7/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* restore saving of backtrace broken by client->server security fixDenys Vlasenko2010-01-211-45/+36
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-211-137/+94
| | | | | | We were blindly trusting the values passed to us Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use get_crash_data_item_content() accessor more widelyDenys Vlasenko2010-01-201-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split load_crash_data_from_debug_dump from DebugDumpToCrashReportDenys Vlasenko2010-01-201-24/+29
| | | | | | 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-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-191-2/+2
| | | | 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-67/+71
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Eliminate ATT file type - use TXT or BINDenys Vlasenko2010-01-191-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: disable plugin loading/unloading through GUI. Document keyring a bitDenys Vlasenko2010-01-131-1/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: assorted fixes prompted by security analysis; more to comeDenys Vlasenko2010-01-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* replace plugin enabling via EnabledPlugins by par-plugin Enabled = yes/noDenys Vlasenko2010-01-101-9/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: preparatory patch for per-plugin "Enable" codeDenys Vlasenko2010-01-081-28/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* change "python /path/to/script" code a bit: doesnt log false failures nowDenys Vlasenko2009-12-161-53/+67
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix all instances of atoi() usageDenys Vlasenko2009-12-151-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move misplaced commentDenys Vlasenko2009-12-151-9/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* don't blame python for every crash in /usr/bin/python rhbz#533521 trac#109Jiri Moskovcak2009-12-151-1/+49
| | | | | | - when there is a bug in 3rd party python extension, the python binary creates the coredump, so ABRT always blames the python package, but we want to blame the app that uses the extension instead
* better logging of package and hash checksDenys Vlasenko2009-12-141-11/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* temporarily convert hyperlink-laden label to normal one (HL doesn't work)Denys Vlasenko2009-12-111-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-111-4/+4
| | | | | | See https://fedorahosted.org/abrt/ticket/71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove one case when we write data needlessly; remove 2 unused funcsDenys Vlasenko2009-12-101-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify code which deletes corrupted debug dumps; kill unused EXCEP_FATALDenys Vlasenko2009-12-041-24/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SQLite3: string& -> char*, -8k in code sizeDenys Vlasenko2009-12-031-1/+1
| | | | | | Run tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hopefully fix rhbz#541854: when we trim the dir, we must delete it from DB tooDenys Vlasenko2009-12-031-25/+38
| | | | | | Also added a more robust code to resis SEGVing if directory doesn't exist. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixes on top of AutoReportUIDs change. run testedDenys Vlasenko2009-11-301-6/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* a few fixes in automatic reporterNikola Pajkovsky2009-11-301-5/+7
|
* Kerneloops are reported automaticky now when AutoReportUIDs = root is in ↵Nikola Pajkovsky2009-11-261-0/+49
| | | | | | Kerneloops.conf Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* hookCCpp: check total dump dir size and delete the largest/oldest oneDenys Vlasenko2009-11-261-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix small bug where we use value first and *then* check for its validityDenys Vlasenko2009-11-191-1/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make BZ insert small text attachments inline; move text file detection codeDenys Vlasenko2009-11-191-46/+107
| | | | | | Run-tested Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* continuing s/std::string&/char*/gDenys Vlasenko2009-11-161-15/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add experimental saving of /var/log/Xorg*.log for X crashesDenys Vlasenko2009-11-161-7/+16
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused version of SaveDebugDump()Denys Vlasenko2009-11-091-7/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "InformAllUsers" crashes be recorded with UID=-1 in dbDenys Vlasenko2009-11-091-23/+33
| | | | | | this makes them show up in GUI again Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simplify logging a bit. warn_client() is gone, reuse error_msg() for it.Denys Vlasenko2009-11-061-11/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make exception handling lighterDenys Vlasenko2009-11-061-14/+12
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mass replace of const string& params by const char*Denys Vlasenko2009-11-061-83/+84
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>