Denis Fomin
3694c8682a
banner_tweaks plugin. Fixed again
2011-05-21 23:34:31 +04:00
Denis Fomin
d638922384
banner_tweaks plugin. prevent Tb in the gc if 'show_banner_image' is disabled
2011-05-21 23:17:17 +04:00
Yann Leboulanger
857ba5f707
new way to handle incominf messages, new notification event.
2011-05-01 22:09:50 +02:00
Yann Leboulanger
6facbfa5cb
prevent traceback. Fixes #5978
2011-01-06 17:06:02 +01:00
Denis Fomin
a7ddfd18e2
split long lines
2010-12-14 23:54:19 +03:00
Yann Leboulanger
ddb8238f73
[Éric Araujo] fix typo un plugins window
2010-12-13 14:24:01 +01:00
Denis Fomin
4a7d1933a0
coding style
2010-12-06 17:52:32 +03:00
Yann Leboulanger
e870ebb3d4
include all example plugins in tarballs, but install only some
2010-11-05 22:08:42 +01:00
Denis Fomin
2c5cfd0673
plugins_window.ui - removed unused hbox
...
ftp_manager - small gui changes
2010-11-05 18:37:50 +03:00
Denis Fomin
b73124c40d
ftp manager plugin added to the main repository
2010-11-05 16:39:09 +03:00
Yann Leboulanger
d957a590f7
whiteboard plugin: print disconnection reason in chat control
2010-11-05 11:09:33 +01:00
Denis Fomin
e7cfc9f2f7
prevent traceback when a whiteboard closes
2010-11-04 14:49:58 +03:00
Yann Leboulanger
96c02c67b4
whiteboard plugin: minor tooltip improvments
2010-11-04 11:03:52 +01:00
Denis Fomin
26cb461f4f
whiteboard plugin. added border to the main container
2010-11-03 23:09:24 +03:00
Denis Fomin
e036cf91d3
whiteboard plugin. small optimization
2010-11-03 22:15:17 +03:00
Denis Fomin
08e00fffc2
whiteboard plugin. remove the lebels with the buttons and add tooltips
2010-11-03 21:10:20 +03:00
Yann Leboulanger
1e39863edf
rename some var
2010-11-02 18:54:32 +01:00
Denis Fomin
045a74c7b4
whiteboard plugin. Ability to save images
2010-11-02 15:36:29 +03:00
Yann Leboulanger
ea0f12b2f5
[whiteboard plugin] raise error when python-pygoocanvas is not installed
2010-11-01 17:32:27 +01:00
Yann Leboulanger
a40bacaced
plugin to add whiteboard feature. Fixes #2970
2010-11-01 14:30:23 +01:00
Yann Leboulanger
b1675bf233
rename variables in plugins. Fixes #5994
2010-10-25 09:57:40 +02:00
Yann Leboulanger
e4ff7c6ced
use NEC to handle messages / gc_messages
2010-10-18 22:05:41 +02:00
Yann Leboulanger
155595557d
[Dicson] install manifest.ini files. Fixes #5927
2010-09-20 11:14:08 +02:00
Yann Leboulanger
0b448cfb10
[Dicson] use manifest.ini files in plugins to have a separate file for plugin's information. Fixes #5920
2010-09-18 23:00:43 +02:00
Yann Leboulanger
0899ab13db
[Dicson] Fix building Gajim. Fixes #5916
2010-09-17 21:14:52 +02:00
Yann Leboulanger
0a1fe76172
move acronyms expander plugin. see #5906
2010-09-17 14:13:48 +02:00
Yann Leboulanger
896fe73945
[Dicson] Handle non-Latin text and errors in google translate plugin. Fixes #5904
2010-09-12 17:14:44 +02:00
Yann Leboulanger
59534e95e1
add missing plugins/Makefile.am
2010-07-29 12:50:54 +02:00
Éric Araujo
9b5ee1e13b
convert tabs to spaces in source code thanks to reindent.py
...
Also use sed to remove now unneeded Vim lines, 2to3 -f ws_comma to fix
some whitespace, and fix some other madness manually.
2010-04-08 01:20:17 +02:00
Yann Leboulanger
73a4c4e1b9
fix acronyms expander plugin
2010-02-12 20:41:21 +01:00
Yann Leboulanger
ad8c7a0f41
add adjustment to spinbutton in length notifier plugin
2010-02-12 09:14:47 +01:00
Yann Leboulanger
fa05d88b2b
merge from default branch
2010-02-08 22:25:41 +01:00
Mateusz Biliński
e8c3ba51b2
Fixed bug related to account name in NewEventsExample name. Modified way to acquire message type.
2009-06-21 23:12:30 +02:00
Mateusz Biliński
6fecd84b16
Fixed log_calls decorator arguments in a few plugins. Fixed Acronyms Expander plugin (not working due to bad auto-merge). Added few comments.
2009-06-15 07:56:08 +02:00
Mateusz Biliński
018bda5a5f
Merged default branch with plugin-system branch. Not all elements are fully
...
functional. This should be considered as sync commit.
2009-06-07 00:00:03 +02:00
Mateusz Biliński
e8d704e96b
Moved DBUS interface related variables.
2009-06-02 19:59:33 +02:00
Mateusz Biliński
369ea5544b
Moved DBus type related instructions to scope which is executed only when there's a DBus support. No NameError exceptions are thrown anymore.
...
Makes debugging of plugins easier under WingIDE (which does not remember - at least it looks like that - the "ignore exception at this location" option when module is imported 'manually').
This could also be applied to src/remote_control.py .
2009-04-16 08:37:16 +00:00
Mateusz Biliński
8c75ed38b1
Google Translation plugin added (proof-of-concept) that translates incoming chat messages from English to French using Google Translate service.
...
Plugin object that registered new event is accessible in that event now, through self.plugin.
2008-08-25 17:20:16 +00:00
Mateusz Biliński
c0a26be684
Three core (raw) events (iq, message, presence) go also through Network Events Controller (layer between network library and Global Events Dispatcher, newly added) and from there they are dispatched through Global Events Dispatcher.
...
Ability to register new incoming network events (based on exisiting one) added. Modify-only network events are possible (eg. add some text each message, but don't create any new global event). Events creation can be chained.
Examples of new network events classes are in New Events Example plugin.
Events from src/gajim.py now all go through Global Events Dispatcher and only through it (easy to modify, in chain, data passed with them).
2008-08-18 16:35:14 +00:00
Mateusz Biliński
ff8eaddf51
Removed exit() from PySnarl so it doesn't terminate Gajim on non-Windows platforms.
2008-08-16 20:53:10 +00:00
Mateusz Biliński
94f27ecffc
Snarl Notifications plugin initial version added. New events (from current core) go also through GED.
2008-08-16 20:30:37 +00:00
Mateusz Biliński
2ee4c7ee5e
Changed log_calls parameter to EventsDumpPlugin in that class.
2008-08-11 15:38:07 +00:00
Mateusz Biliński
8ec03d822e
Added Events Dump plugin, that prints out to console info about selected events when they occur.
2008-08-11 15:22:56 +00:00
Mateusz Biliński
06aee9d2d0
Initial version of Global Events Dispatcher.
...
Events previously generated for D-Bus support in remote_control.py go through Global Events Dispatcher now - this means any plugin can subscribe to them.
Implemented D-Bus support plugin based on remote_control.py.
2008-08-10 13:40:49 +00:00
Mateusz Biliński
16ac65e58b
Improvements to GUI extension points handling - added method to remove these from PluginManager (memory optimization).
...
Removed logging from most of the code.
2008-08-03 13:29:11 +00:00
Mateusz Biliński
5cce0a8ca9
Banner Tweaks plugin has all (four) options implemented.
2008-08-02 17:29:32 +00:00
Mateusz Biliński
96cfc42060
Added files with Banner Tweaks plugin (initial version).
...
Few changes to PluginManager.
Added new GUI extension point related to draw_banner in ChatControlBase.
2008-07-31 15:30:20 +00:00
Mateusz Biliński
8aa9cad2e0
Plugin's configuration is now saved to disk (currently: using UserDict and shelve modules).
...
Length Notifier Plugin has configuration dialog (added entry with JIDs to be included when plugin is working) - fully usable.
Default values of configuration key has been added to GajimPlugin.
Some other minor changes/fixes.
2008-07-29 19:09:28 +00:00
Mateusz Biliński
aaf5b30129
Added GajimPluginConfigDialog class - dialog that plugins should use to present configuration to user.
...
Now, 'Configure' button is invoked only for plug-ins that have config_dialog.
2008-06-19 12:56:45 +00:00
Mateusz Biliński
8581b862e1
Added new 'init' method to Plugin class that plugins can implement to make actions that need to be done only once - when plugin is added (not activated) to Gajim. In this method plugins should declare handlers for GUI extension points. This was created so that __init__ method doesn't have to be reimplemented in specific way (create config, load config) - it is all done by __init__ in Plugin class. If __init__ is reimplemented, it must call Plugin __init__ (eg. using super() ) to plugin work properly.
...
Example plug-ins were modified to use init() instead of __init__().
Added new category in configuration - 'plugins'. It only holds one option for each plugin - 'active', which determines whether plugin should be activated on startup.
Now, Gajim remembers which plugins are active on exit, and activates them on next startup.
2008-06-18 20:45:22 +00:00