summaryrefslogtreecommitdiffstats
path: root/lib/Utils
Commit message (Collapse)AuthorAgeFilesLines
* Emacs project-wide code-style settingsKarel Klic2010-04-092-2/+2
|
* whitespace cleanup, no code changesDenys Vlasenko2010-04-011-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fixed some compilation problems on F13Jiri Moskovcak2010-03-311-3/+4
| | | | | - see http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for the details
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2010-03-312-2/+15
|\
| * trivial: better HTTP/curl error reportingDenys Vlasenko2010-03-302-2/+15
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Removed trailing whitespaces.Karel Klic2010-03-314-227/+227
| |
* | Move backtrace parser from src/Backtrace to lib/Utils.Karel Klic2010-03-268-6/+1975
|/ | | | | | | | | | | | | | | Move abrt-backtrace app from src/Backtrace/main.c to src/utils/abrt-backtrace. Move backtrace preprocessign code from abrt-backtrace to the parser. Implemented new backtrace rating algorithm. Added old bt rating algorithm to backtrace.c Move strbuf to lib/Utils, and updated it to use xfuncs. Created separate header for xfuncs. Some functions in xfuncs marked as extern "c", so they can be used in C code. Merged backtrace fallback (independent_backtrace) "parser" into backtrace.{h/c}. Added option --rate to abrt-backtrace, to be able to use the new backtrace rating algorithm in scripts.
* add one-liner which somehow fell off last commitDenys Vlasenko2010-03-251-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rhfastcheck: a new reporter plugin based on Gavin's workDenys Vlasenko2010-03-254-3/+302
| | | | | | Plugin quickly checks RH support DB for known solutions. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rhticket: factor out HTTP POST code into abrt_curl.{h,cpp}Denys Vlasenko2010-03-255-11/+239
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove socket code, it is deadDenys Vlasenko2010-03-232-184/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Move dbus code to libABRTUtils. It makes libABRTUtils depend on four more libs,Denys Vlasenko2010-03-191-4/+7
| | | | | | | but allows abrt-applet to not depend on libABRTdUtils, thus going down from 78 to 48 dep libs Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unnecessary DL_LIBSDenys Vlasenko2010-03-191-8/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use FILENAME_BACKTRACE for oops text tooDenys Vlasenko2010-03-051-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add ProcessUnpackaged option to abrt.confDenys Vlasenko2010-03-052-19/+17
| | | | | | Based on patch by Pekka Pietikainen <pp@ee.oulu.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: UID:UUID -> crash_id conversionDenys Vlasenko2010-03-046-19/+18
| | | | | | | | | | | | | | | | | | | This fixes at least three instances where we did not check whether user is even allowed to report or delete a crash. Also fixes a few cases when root might inadvertently act on (e.g. delete) mote than one crash. Renamed FILENAME_UID to CD_UID - makes more sense this way. Added COL_INFORMALL and CD_INFORMALL. Nuked UID == -1 hacks. Renamed getReport() to start_job on Python side. Dropped a few unused parameters from server -> client dbus signals. Fixed CLI's way of reverencing crashes (see updated help text). Run-tested (GUI and CLI). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Acked-by: Nikola Pajkovsky <npajkovs@redhat.com>
* save reporters' results to abrt_vNN_reportresult table tooDenys Vlasenko2010-03-021-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix format security errorFrederic Crozat2010-03-021-2/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* cli: add support for "--report @N" and "--report PARTIAL_UUID"Denys Vlasenko2010-02-231-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix my goof in cmdline escapingDenys Vlasenko2010-02-171-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lib/Utils/abrt_dbus: utf8-sanitize all strings in dbus messages (fixes #565876)Denys Vlasenko2010-02-171-1/+97
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* license fixNikola Pajkovsky2010-02-163-3/+60
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Merge branch 'master' into bugzillaNikola Pajkovsky2010-02-154-3/+87
|\
| * Better comment for LoadPluginSettingsKarel Klic2010-02-121-1/+3
| |
| * Move LoadPluginSettings to the shared utils library. Add parameter ↵Karel Klic2010-02-122-1/+84
| | | | | | | | skipKeysWithoutValue.
| * get_home_dir uses uid_t for the uidKarel Klic2010-02-121-1/+1
| |
| * remove FILENAME_UUIDDenys Vlasenko2010-02-081-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | remove debug messageNikola Pajkovsky2010-02-091-1/+0
| | | | | | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* | new bugzilla insides, add comment and reproduce when it's filled and not ↵Nikola Pajkovsky2010-02-083-1/+35
|/ | | | CLOSED, hopping when bug is CLOSED as DUPLICATE
* stupid whitespace fixDenys Vlasenko2010-02-072-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* forgot to add lib/Utils/numtoa.cppDenys Vlasenko2010-02-071-0/+34
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove all usages of C++ streams (-10k in code size)Denys Vlasenko2010-02-0724-32/+214
| | | | | | Also add copyright banners to all files which were missing them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cli: fix the problem of not showing oops text in editorDenys Vlasenko2010-02-031-0/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Bugzilla,Catcut: fix or remove incomprehensible comments; fix error msgDenys Vlasenko2010-01-282-8/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: proper fix to autostart problemDenys Vlasenko2010-01-271-5/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* SOSreport: make it avoid double runs; add forced regeneration; upd PLUGINS-HOWTODenys Vlasenko2010-01-261-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove unused getuidbynameDenys Vlasenko2010-01-221-9/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix bz description text disrupted by recent dbus security fixDenys Vlasenko2010-01-211-30/+65
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* TicketUploader and FileTransfer plugins: fixes after a round of testingDenys Vlasenko2010-01-211-1/+1
| | | | | | | for one, FileTransfer now would not use current dir as a storage for temp files. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* restore saving of backtrace broken by client->server security fixDenys Vlasenko2010-01-211-12/+35
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-213-14/+62
| | | | | | We were blindly trusting the values passed to us Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-192-20/+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-197-28/+90
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Eliminate ATT file type - use TXT or BINDenys Vlasenko2010-01-191-36/+32
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CCpp analyzer: display __abort_msg in backtrace. closes rhbz#549735Denys Vlasenko2010-01-181-16/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'bugzilla'Nikola Pajkovsky2010-01-132-3/+15
|\
| * fix memory leaks in bugzillaNikola Pajkovsky2010-01-132-3/+15
| |
* | remeove timeout when authorization is doneJiri Moskovcak2010-01-131-2/+2
|/
* Fixing /var/cache/abrt/ permissions by allowing users to read, but not to ↵Karel Klic2010-01-121-20/+31
| | | | change their crash data. Adds abrt user, changes abrt-hook-python to use suid instead of sgid bit (uid=abrt), sets /var/cache/abrt and every dump subdirectory to be owned by abrt user. Read access for users and their own crashes is provided by group (/var/cache/abrt/ccpp-xxxx-xx has user's group).
* DebugDump: more consistent logic in setting mode and uid:gid on dump dirDenys Vlasenko2010-01-113-18/+69
| | | | | | | | With comments! yay. Before it, too restrictive mode was preventing python craches to be handled. Signed-off-by: Karel Klic <kklic@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>