summaryrefslogtreecommitdiffstats
path: root/src/CLI
Commit message (Collapse)AuthorAgeFilesLines
* Removed trailing whitespaces.Karel Klic2010-03-311-1/+1
|
* remove socket code, it is deadDenys Vlasenko2010-03-233-203/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Allow user to select which reporter he wants to use to report a crash using CLI.Karel Klic2010-03-183-47/+189
| | | | | | | The daemon skips reporters which are not in the list of reporters provided via Report() dbus call. Reviewed by: Jiri Moskovcak <jmoskovc@redhat.com> Reviewed by: Denys Vlasenko <vda.linux@googlemail.com>
* cli: make --report UUIDprefix match only unique prfixDenys Vlasenko2010-03-091-5/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use FILENAME_BACKTRACE for oops text tooDenys Vlasenko2010-03-051-4/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cli: pass reporters param in call_Report(); handle error returnsDenys Vlasenko2010-03-041-6/+29
| | | | | | | | | | | ... Do you want to send the report? [y/N]: y >! string expected in dbus message, but not found ('e') >! dbus call Report: parameter type mismatch Dbus call returned error: 'org.freedesktop.DBus.Error.Failed' Acked-by: Nikola Pajkovsky <npajkovs@redhat.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: UID:UUID -> crash_id conversionDenys Vlasenko2010-03-044-47/+70
| | | | | | | | | | | | | | | | | | | 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>
* fix format security errorFrederic Crozat2010-03-021-1/+1
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* cli: add support for "--report @N" and "--report PARTIAL_UUID"Denys Vlasenko2010-02-233-23/+54
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Load plugin settings also from ~/.abrt/*.confKarel Klic2010-02-121-82/+114
|
* Remove newline from user input, separate run_report_editor from the reportKarel Klic2010-02-121-61/+122
|
* cli: fix trivial error counter bugDenys Vlasenko2010-02-091-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove all usages of C++ streams (-10k in code size)Denys Vlasenko2010-02-072-0/+36
| | | | | | Also add copyright banners to all files which were missing them Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Ask for login and password if missing from reporter plugin.Karel Klic2010-02-053-7/+90
|
* cli: fix the problem of not showing oops text in editorDenys Vlasenko2010-02-031-7/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-212-10/+10
| | | | | | 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-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move all FILENAME_xxx defines to inc/CrashTypes.hDenys Vlasenko2010-01-191-7/+8
| | | | 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-196-24/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory patch with trivial cleanupsDenys Vlasenko2010-01-191-1/+1
| | | | 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-142-4/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* prevent destructors from throwing exceptions; check curl_easy_init errorsDenys Vlasenko2009-12-161-1/+11
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-115-83/+100
| | | | | | See https://fedorahosted.org/abrt/ticket/71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "abrt-cli --delete randomuuid" report that deletion failed. closes bug 59Denys Vlasenko2009-12-104-25/+46
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesDenys Vlasenko2009-12-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove most of remaining const string& paramsDenys Vlasenko2009-12-071-4/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* small fix on top of DeleteDebugDump changeDenys Vlasenko2009-12-041-2/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* rename CreateReport -> StartJob, GetJobResult -> CreateReportDenys Vlasenko2009-12-031-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* split libABRTdUtils from libABRTUtils. This makes hooks _much_ smaller.Denys Vlasenko2009-11-251-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Merge branch 'master' of ssh://git.fedorahosted.org/git/abrtKarel Klic2009-11-192-16/+10
|\
| * include abrt version in bug descriptionsDenys Vlasenko2009-11-181-7/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * build fixesJiri Moskovcak2009-11-121-1/+0
| |
| * disable compilation of the rest of socket codeDenys Vlasenko2009-11-121-8/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | CommentKarel Klic2009-11-111-2/+3
| |
* | mergeKarel Klic2009-11-095-137/+174
|\|
| * s/CC_DBUS_/ABRTD_DBUS_/gDenys Vlasenko2009-11-021-4/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * src/CLI/*: fix an unterminated argv + simplificationsDenys Vlasenko2009-10-315-187/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix is: - const char *args[6]; - args[0] = editor; - args[1] = path; + char *args[3]; + args[0] = (char*)editor; + args[1] = (char*)path; + args[2] = NULL; run_command(args); Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Receive and print Warning and Update messages during remode procedure callsKarel Klic2009-10-301-10/+66
| |
* | GetPluginsInfo implementationKarel Klic2009-11-092-1/+26
|/
* Fixed make rpmKarel Klic2009-10-221-1/+1
|
* fix warning and whitespace damageDenys Vlasenko2009-10-216-59/+58
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Use defines instead of strings where possible.Karel Klic2009-10-211-22/+24
|
* Tell user about sending the report.Karel Klic2009-10-201-0/+6
|
* Inform whether some changes were detected in the crash report.Karel Klic2009-10-201-24/+84
|
* More comments.Karel Klic2009-10-201-4/+10
|
* new_call_msg and send_get_reply_and_unref made staticKarel Klic2009-10-202-4/+2
|
* Print error on unlink failure.Karel Klic2009-10-201-1/+2
|
* Code comments. Better UI texts.Karel Klic2009-10-201-27/+31
|
* Manpage documents environment variable usage.Karel Klic2009-10-201-3/+9
|
* Initial implementation of crash report editor. Splitted CLI.cpp into ↵Karel Klic2009-10-208-220/+657
| | | | multiple files for clarity.