aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sa-junk-plugin
Commit message (Collapse)AuthorAgeFilesLines
* Convert junk filtering EPlugins to EExtensions.Matthew Barnes2011-07-143-1021/+0
| | | | | | | | | | | | | | | | | We now have a proper junk mail filtering API. All junk filtering extensions must subclass EMailJunkFilter for user preferences and availability testing, and implement the CamelJunkFilter interface for the actual junk filtering and learning operations. The bogofilter module should be feature-equivalent to its former EPlugin. The spamassassin module is far more complex. It's nearly feature-equivalent to its former EPlugin, but I ditched the spamd respawning code since it seemed unnecessary for a mail client to have to deal with. If there's a huge outcry from users about it I'll reluctantly put it back, but I don't expect one. This gets us a step closer to killing off EConfig, and eventually the EPlugin framework itself.
* Coding style cleanups.Matthew Barnes2011-05-091-1/+1
|
* Bug 641756 - Fix warnings from GCC 4.6Kjartan Maraas2011-02-091-3/+0
| | | | GCC learned how to find dead assignments.
* More whitespace cleanup.Matthew Barnes2011-01-311-1/+1
|
* Bug 640025 - Silence debug output in spamassassin pluginMatthew Barnes2011-01-221-1/+0
|
* Adapt to Camel API changes.Matthew Barnes2010-09-281-23/+36
|
* Coding style cleanups.Matthew Barnes2010-09-131-9/+9
|
* Coding style and whitespace cleanups.Matthew Barnes2010-09-121-28/+28
|
* Coding style and whitespace cleanup.Matthew Barnes2010-07-121-6/+6
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-5/+6
|
* Fix linking issue in sa-junk-plugin.Matthew Barnes2010-05-271-0/+1
|
* Merge branch 'express2'Matthew Barnes2010-05-271-2/+10
|\
| * Hide the junk plugin options in Express modeFederico Mena Quintero2010-04-141-2/+10
| | | | | | | | Signed-off-by: Federico Mena Quintero <federico@novell.com>
* | Coding style and whitespace cleanup.Matthew Barnes2010-05-021-3/+3
| |
* | Camel is now GObject-based.Matthew Barnes2010-04-241-2/+2
| |
* | Use accessor functions instead direct access (GSEAL work)Javier Jardón2010-04-131-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Still remaining: GtkAccessible::widget GtkAssistant::forward GtkAssistant::back GtkObject::flags GtkTreeStore::stamp The GtkAssistant fields are related to bug #596428. We don't need accessor functions so much as the enhancement described there implemented. https://bugzilla.gnome.org/show_bug.cgi?id=615613
* | Generate ChangeLog files for tarball releases.Matthew Barnes2010-04-031-154/+0
| | | | | | | | Remove old ChangeLog files that predate our switch to git.
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-6/+0
| |
* | camel/camel-i18n.h gone, adapt to it properlyMilan Crha2010-04-011-1/+1
|/
* Compiler and linker flag cleanups.Matthew Barnes2009-12-281-2/+2
|
* Bug #552727 - Flooded by spam checking errors if bogofilter not installedMilan Crha2009-10-281-7/+32
|
* Prefer GLib mutexes over pthread mutexes.Matthew Barnes2009-10-271-31/+30
|
* Bug 596848 - Use per-target CPPFLAGS in automake filesH.Habighorst2009-10-011-10/+10
|
* Goodbye libgnome and libgnomeui!!Matthew Barnes2009-09-191-2/+3
|
* Simplify EPlugin loading at startup.Matthew Barnes2009-08-302-18/+16
| | | | | | | | | | | | | - Require all EPlugin and EPluginHook subtypes be registered before loading plugins. This drastically simplifies the EPlugin/EPluginHook negotiation. - Turn most EPluginHook subtypes into GTypeModules and register their types from an e_module_load() function (does not include shell hooks). - Convert EPluginLib and the Mono and Python bindings to GTypeModules and register their types from an e_module_load() function, and kill EPluginTypeHook.
* More whitespace cleanup.Matthew Barnes2009-07-191-7/+7
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-5/+0
|
* Fix "make distcheck" errors and other build cleanups.Matthew Barnes2009-07-011-1/+1
|
* Radically reorganize source code.Matthew Barnes2009-06-251-3/+3
| | | | | | | | | | | | | | | | | | | - Collect all shell modules into a new top-level 'modules' directory: $(top_srcdir)/modules/addressbook $(top_srcdir)/modules/calendar $(top_srcdir)/modules/mail Nothing is allowed to link to these, not plugins nor other modules. THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X. - Mimic the libevolution-mail-shared library from master (except drop the "shared" suffix) and have libevolution-mail-importers and all mail-related plugins link to it. - Discard the a11y subdirectories and have the files live alongside their counterpart widgets.
* Fix "make distcheck" errors.Matthew Barnes2009-06-201-0/+1
|
* More code cleanup.Matthew Barnes2009-06-021-3/+3
|
* Whitespace cleanup.Matthew Barnes2009-05-291-4/+4
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-38/+38
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-31/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-6/+6
| |
| * Fix compiler warnings in plugins.Matthew Barnes2009-05-271-25/+31
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-221-2/+2
|\| | | | | | | | | | | | | | | | | Conflicts: plugins/audio-inline/org-gnome-audio-inline.eplug.xml plugins/mail-account-disable/org-gnome-mail-account-disable.eplug.xml plugins/mark-all-read/org-gnome-mark-all-read.eplug.xml plugins/plugin-manager/org-gnome-plugin-manager.eplug.xml plugins/select-one-source/org-gnome-select-one-source.eplug.xml
| * Bug 523216 – User-oriented plugin descriptionsMatthew Barnes2009-05-221-2/+2
| |
| * Fix compiler warnings.Matthew Barnes2009-05-171-4/+4
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-9/+0
| |
| * Bug 572977 – Use g_strerror() instead of strerror()Matthew Barnes2009-05-031-5/+5
| |
| * Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-021-0/+2
| |
| * BUGFIX: bug #579774 Use spamc to learn junk if availableDavid Ronis2009-04-301-8/+57
| |
| * ** Fixes bug #560420 (patch by hp@syntomax.com)Matthew Barnes2008-12-042-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-03 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #560420 (patch by hp@syntomax.com) * plugins/sa-junk-plugin/em-junk-filter.c (pipe_to_sa_full): spamc and spamassassin use error codes >= 64 to denote execution errors. Positive error codes < 64 means the message was identified as spam. svn path=/trunk/; revision=36828
| * License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-292-15/+20
| | | | | | | | svn path=/trunk/; revision=36465
| * ** Fix for bug #551121Philip Withnall2008-09-263-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-25 Philip Withnall <philip@tecnocode.co.uk> ** Fix for bug #551121 * em-junk-filter.c (pipe_to_sa_full), (em_junk_sa_respawn_spamd): * org-gnome-sa-junk-plugin.eplug.xml: Standardise use of "SpamAssassin" vs. "spamassassin" or "Spamassassin". svn path=/trunk/; revision=36452
| * Milan Crha <mcrha@redhat.com> ** Fix for bug #505016 (Check for NULL to ↵Suman Manjunath2008-09-142-1/+8
| | | | | | | | | | | | prevent crash when error occurred). svn path=/trunk/; revision=36327
* | Fix compiler warnings.Matthew Barnes2009-05-211-4/+4
| |
* | Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-211-9/+0
| |
* | Use -no-undefined on Linux tooMilan Crha2009-05-201-0/+5
| | | | | | | | | | There still left two things opened, search for KILL-BONOBO to find them. One is in calendar's Makefile.am, one in composer.
* | Bug 572977 – Use g_strerror() instead of strerror()Matthew Barnes2009-05-041-5/+5
| |
* | Use Behdad's brilliant git.mk to generate .gitignore files.Matthew Barnes2009-05-041-0/+2
| |
* | BUGFIX: bug #579774 Use spamc to learn junk if availableDavid Ronis2009-05-011-8/+57
| |
* | Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-112-1/+10
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36867
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-023-21/+41
|/ | | | svn path=/branches/kill-bonobo/; revision=36534
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* ** Fix for bug #273041Milan Crha2008-04-252-26/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-25 Milan Crha <mcrha@redhat.com> ** Fix for bug #273041 * mail/mail.error.xml: (junk-check-error), (junk-report-error), (junk-not-report-error): New error messages added. * mail/em-junk-hook.h: (struct _EMJunkHookTarget), (em_junk_error_quark): * mail/em-junk-hook.c: (manage_error), (em_junk_check_junk), (em_junk_report_junk), (em_junk_report_non_junk): Allow propagation of the error from the plugin in the hook target. * plugins/bogo-junk-plugin/bf-junk-filter.c: (pipe_to_bogofilter), (em_junk_bf_check_junk), (em_junk_bf_report_junk), (em_junk_bf_report_non_junk): Propagate possible errors to the UI. * sa-junk-plugin/em-junk-filter.c: (em_junk_sa_commit_reports), (em_junk_sa_validate_binary): Fix function prototype. * sa-junk-plugin/em-junk-filter.c: (pipe_to_sa_full), (em_junk_sa_test_spamd_running), (em_junk_sa_test_spamassassin), (pipe_to_sa), (em_junk_sa_run_spamd), (em_junk_sa_test_spamd), (em_junk_sa_is_available), (em_junk_sa_check_junk), (get_spamassassin_version), (em_junk_sa_report_junk), (em_junk_sa_report_non_junk): Propagate possible errors to the UI. svn path=/trunk/; revision=35415
* ** Fix for bug #515786Milan Crha2008-03-133-2/+10
| | | | | | | | | | | | | | 2008-03-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #515786 * plugins/sa-junk-plugin/org-gnome-sa-junk-plugin.eplug.xml: * plugins/sa-junk-plugin/em-junk-filter.c: (org_gnome_sa_use_remote_tests): * mail/em-migrate.c: (em_migrate), (em_update_sa_junk_setting_2_23): Fix misspelled SpamAssassin word. svn path=/trunk/; revision=35183
* ** Fixes bug #499644Matthew Barnes2007-11-262-2/+11
| | | | | | | | | | | | | | 2007-11-26 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #499644 * em-junk-filter.c (user_remote_tests_cb), (org_gnome_sa_use_remote_tests): The behavior of the "Include remote tests" check button was swapped with respect to its state. Probably why SpamAssassin seemed slow. svn path=/trunk/; revision=34586
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-50/+50
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-072-3/+10
| | | | svn path=/trunk/; revision=34192
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fix for bug #468303Srinivasa Ragavan2007-08-222-1/+7
| | | | svn path=/trunk/; revision=34054
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-3/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* Fix errno reset issueJules Colding2007-05-121-2/+2
| | | | svn path=/trunk/; revision=33516
* Fix file descriptor leaks (#437664)Jules Colding2007-05-112-0/+11
| | | | svn path=/trunk/; revision=33512
* Bug 437584 – Compilation warning in evolution's plugins folderSankarasivasubramanian Pasupathilingam2007-05-112-6/+13
| | | | svn path=/trunk/; revision=33507
* Committing reworked SA with options in the plugin.Srinivasa Ragavan2007-04-033-3/+65
| | | | svn path=/trunk/; revision=33366
* Correctly capitalize SpamAssassin. (#375577) Patch from Priit Laes.Matthew Barnes2007-04-033-4/+11
| | | | | | | | | | | | | 2007-04-03 Matthew Barnes <mbarnes@redhat.com> * mail/evolution-mail.schemas.in.in: * plugins/sa-junk-plugin/em-junk-filter.c (em_junk_sa_get_name): * plugins/sa-junk-plugin/org-gnome-sa-junk-plugin.eplug.xml: Correctly capitalize SpamAssassin. (#375577) Patch from Priit Laes. svn path=/trunk/; revision=33363
* #if 0 out unused function and plug a leak.Kjartan Maraas2006-08-222-1/+8
| | | | | | | | | 2006-08-22 Kjartan Maraas <kmaraas@gnome.org> * em-junk-filter.c: (em_junk_sa_init): #if 0 out unused function and plug a leak. svn path=/trunk/; revision=32628
* Make this place a bit more quietKjartan Maraas2006-01-283-1/+7
| | | | svn path=/trunk/; revision=31328
* Changing strings to be more precise. Fixes bug 325132.Andre Klapper2006-01-112-2/+6
| | | | | | | | 2006-01-11 Andre Klapper <a9016009@gmx.de> * org-gnome-sa-junk-plugin.eplug.xml: Changing strings to be more precise. Fixes bug 325132. svn path=/trunk/; revision=31136
* See bug ** 325210Shi Pu2006-01-042-3/+58
| | | | | | | | | | | | | | 2005-01-04 Shi Pu <shi.pu@sun.com> See bug ** 325210 * em-junk-filter.c: (get_spamassassin_version): gets the spamassassin version which evolution used (em_junk_sa_report_junk), (em_junk_sa_report_non_junk), (em_junk_sa_commit_reports): judge spamassassin version to decide which sync option should be used svn path=/trunk/; revision=31050
* ** See Bug #268852 allow max one chid to be spawned for spamd.Vivek Jain2005-10-062-2/+11
| | | | | | | | | | | 2005-10-06 Vivek Jain <jvivek@novell.com> ** See Bug #268852 * em-junk-filter.c : (em_junk_sa_run_spamd) allow max one chid to be spawned for spamd. svn path=/trunk/; revision=30496
* added (e_plugin_lib_enable) calls init here to initialize all settingsVivek Jain2005-10-032-0/+17
| | | | | | | | | | | 2005-10-03 Vivek Jain <jvivek@novell.com> * em-junk-filter.c: added (e_plugin_lib_enable) calls init here to initialize all settings **Fixes #317792 unref GConfClient in finalize svn path=/trunk/; revision=30468
* pre-define.Not Zed2005-08-242-1/+6
| | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * em-junk-filter.c (em_junk_sa_report_non_junk): pre-define. svn path=/trunk/; revision=30226
* fixed a typo: s/occured/occurred/gJens Seidel2005-08-221-1/+1
| | | | svn path=/trunk/; revision=30180
* *** empty log message ***Jain Vivek2005-08-061-1/+0
| | | | svn path=/trunk/; revision=30012
* Use NO_UNDEFINED. Link with more libraries.Vivek Jain2005-07-062-1/+5
| | | | | | | | 2005-07-06 Vivek Jain <jvivek@novell.com> * Makefile.am: Use NO_UNDEFINED. Link with more libraries. svn path=/trunk/; revision=29646
* sa-junk-plugin : plugin that uses spam assasin for junk mail handlingVivek Jain2005-07-064-0/+807
2005-07-06 Vivek Jain <jvivek@novell.com> sa-junk-plugin : plugin that uses spam assasin for junk mail handling moved em-junk-filter.c from mail/ to here and modified it to listen to the callbacks from the plugin. svn path=/trunk/; revision=29645