Commit Graph

125 Commits

Author SHA1 Message Date
Yann Leboulanger eaf9f1c3bc don't translate empty string. fixes #4170 2008-08-01 12:05:01 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +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
Jean-Marie Traissard 7d21a1a624 Fix account parameter for gajim-remote handle_uri with a groupchat. Fixes #3344. 2008-05-27 16:47:33 +00:00
Yann Leboulanger 29dd9d2576 added ipython for SVN users only. 2008-04-14 15:19:09 +00:00
Yann Leboulanger 0ac8ce3c6e Prevent traceback when gajim-remote is used while gajim is not running. Add a check_gajim_running command to gajim-remote 2008-02-05 22:13:16 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Julien Pivotto c09b4aaa6c Add send_groupchat_message to gajim-remote. Fix #2447. 2007-07-18 12:07:21 +00:00
Yann Leboulanger 5f7ad6fea1 always give the same number of arguments to dbus methods, use signatures. fixes #2784
simon, could you have a look to this patch ? does it seems correct ?
2007-01-11 17:58:44 +00:00
Yann Leboulanger 47f9461584 [Jeff Bailes] improved english strings 2007-01-02 13:36:54 +00:00
Yann Leboulanger 53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger cafef3c1c5 [misc] handle uri like room_jid?join. see #2133 2007-01-02 02:45:43 +00:00
junglecow 62350adb36 - PyOpenSSL branch merged to trunk
Welcome to the world of PyOpenSSL! Please install PyOpenSSL, thanks!

svn merge -r 7426:HEAD svn://svn.gajim.org/gajim/branches/pyopenssl
2006-12-20 21:52:40 +00:00
Jean-Marie Traissard 8f9643b3bc Update gajim-remote new command name, delete unused local var 2006-11-22 17:19:50 +00:00
Yann Leboulanger 568b1a7193 typo in gajim-remote.py, command is send_chat_message. fixes #2692 2006-11-21 21:04:28 +00:00
junglecow 4617618463 Removing all calls to sys.exc_clear(). This is only necessary in very rare circumstances, and if there is such a circumstance, it should be clearly documented in code. 2006-11-13 15:07:47 +00:00
Nikos Kouremenos 946d180054 some events are not readable. thus unread event does not make sense. Pending Events is what we wanna say 2006-10-20 09:37:24 +00:00
Jean-Marie Traissard bffc81eec1 Better description 2006-10-20 00:52:34 +00:00
Yann Leboulanger ff8ba1f56e print error message instead of raising a TB when Dbus is not present and we try to use gajim-remote. Fixes #2539 2006-10-10 18:20:09 +00:00
Nikos Kouremenos 9002b3d293 put my email (and jid), not one of my JIDs 2006-09-28 11:31:25 +00:00
Nikos Kouremenos d63f5ec15c do not use shell wrapper for gajim-remote 2006-09-28 11:29:05 +00:00
Nikos Kouremenos d356ddd92d kill more version checking for dbus 2006-09-25 12:38:42 +00:00
Nikos Kouremenos c18df68b21 fix even more the string 2006-09-10 13:19:42 +00:00
Nikos Kouremenos b0c31574a2 fix strings 2006-09-10 13:14:13 +00:00
Yann Leboulanger 282c8d3f33 [roidelapluie] gajim-remove send_xml. Fixes #2081 2006-09-09 18:25:49 +00:00
Yann Leboulanger 274d5270d1 blank line is really blank (no \t) 2006-08-03 10:47:14 +00:00
Jean-Marie Traissard 42d74e39fa [maciekp] Send single message with gajim-remote, fixes #2026. 2006-06-16 16:09:46 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 22e2341ba9 add translator comment 2006-06-09 13:42:33 +00:00
Dimitur Kirov 226e5372e4 new arguments for gajim-remote add_contact
(<jid> [account]). If account is not specified,
show a combobox with active accounts
2006-05-19 21:13:45 +00:00
Dimitur Kirov 0291b50fec added command start_chat (Geobert QUACH patch) 2006-05-09 22:13:46 +00:00
Travis Shirk 39b2c854d4 Since gajim-remote is a user script and the output of which is often parsed I think
it unwise to include the "inconsistent use of tabs and spaces in indentation" warning.
Filtering stderr works, but may also filter out useful info.
2006-04-01 05:01:42 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Dimitur Kirov def6fbe56d always decode input strings to unicode
assume that encoding is UTF-8 if getpreferred-
encoding failed
2006-03-13 18:20:08 +00:00
Dimitur Kirov 65ca70d29f encode, only when result is unicode 2006-02-27 18:07:38 +00:00
Dimitur Kirov 89fabab718 a typo 2006-02-27 17:54:20 +00:00
Dimitur Kirov 1dca69469c print all of the results in PREFERRED_ENCODING 2006-02-27 17:14:41 +00:00
Yann Leboulanger 2890da56dd [dimorph] get_unread_msgs_number function in gajim-remote 2006-02-20 17:25:26 +00:00
Dimitur Kirov 952692098f gajim-remote suport for dbus 33 ~ 50 2006-02-18 16:34:38 +00:00
Dimitur Kirov a13945e062 refacter gajim-remote code, don't use unrepr
(0.23 is not supported)
get cached vcards, instead of signaling server
2006-02-18 08:59:32 +00:00
Dimitur Kirov 047f7ce21e getpreferredencoding instead of utf-8 2006-02-14 18:44:51 +00:00
Dimitur Kirov 70191a1959 added command account_info 2006-02-12 19:07:38 +00:00
Dimitur Kirov d19ce874ee fix some unicode errors in unrepr, show help
message when there are no command arguments
2006-02-12 16:04:45 +00:00
Nikos Kouremenos 02124ea2e8 fix typo of isinstance. fixes #1552 2006-02-12 15:33:45 +00:00
Nikos Kouremenos f0f7d74a90 isinstance is faster than type and on key bindings that call gajim-remote some ms surely matter 2006-02-09 00:00:17 +00:00
Nikos Kouremenos 07b2d4c16b use locale.getpreferredencoding() and go to sleep 2006-02-08 23:51:46 +00:00
Nikos Kouremenos 01e5bdd7e2 force printing utf8 [afterall it is what i18n will return] else we were tb on could not decode using ascii 2006-02-08 23:35:04 +00:00
Nikos Kouremenos 861a52c3ed redirect to sderr with print 2006-02-08 23:30:20 +00:00
Nikos Kouremenos 98521fa2c3 [misc@zarb] gajim-remote can run without X now. fixes #1467 2006-02-07 12:04:17 +00:00
Travis Shirk a52596266c Merged trunk 2005-12-30 21:37:36 +00:00
Yann Leboulanger 4fc1cf802f fix TB (missing self.) 2005-12-20 14:43:22 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 54e47436e3 add an exceptions file that contain our custom exceptions 2005-12-01 17:16:53 +00:00
Nikos Kouremenos 40f3316bbb commit sth to assist testing 2005-11-30 17:13:35 +00:00
Nikos Kouremenos 1095357c90 try to make get_status work 2005-11-30 16:17:06 +00:00
Nikos Kouremenos b854555e58 fix strings to be more readable; add get_status (did not test yet); raise allover 2005-11-30 15:26:08 +00:00
Nikos Kouremenos 7d357dfe5a fix names of exception, fix docstring, fix strings 2005-11-30 14:48:58 +00:00
Nikos Kouremenos 9cf5a80655 typo 2005-11-30 14:43:50 +00:00
Nikos Kouremenos 76d97e25ed raise exceptions and there spit translated text. this allows ppl that use gajim-remote to now catch those exceptions instead of impossibly guessing which locale user has and how that is translated 2005-11-30 14:42:23 +00:00
Yann Leboulanger 96989ac7ee fix wrong comment 2005-11-21 14:13:55 +00:00
Nikos Kouremenos d834d033f9 gajim-remote.py: also print details about the exception 2005-11-19 18:07:17 +00:00
Nikos Kouremenos ca60bacdb5 code optimization: tupples not lists in stuff like: 'if foo in [abc]' etc 2005-10-27 13:15:03 +00:00
Nikos Kouremenos 1f1d87019f optimize: xrange instead of range 2005-10-27 12:47:54 +00:00
Nikos Kouremenos ae1e9a0cbf remove problematic on_command and make it command 2005-09-17 12:18:47 +00:00
Dimitur Kirov be43c2c850 added add_contact and remove_contact methods 2005-09-09 22:22:05 +00:00
Dimitur Kirov fec78f8781 fix exception in unrepr on empty dict/tuple 2005-09-09 21:01:25 +00:00
Dimitur Kirov 37780f6b72 added prefs_list and prefs_store commands
(prefs_del, prefs_put are not implemented yet)
2005-09-09 15:29:32 +00:00
Nikos Kouremenos 914749b740 register xmpp:// gajim-remote handler in GNOME; various cleanup 2005-09-07 21:12:30 +00:00
Dimitur Kirov e3236bdfa8 handle utf-8 in unrepr 2005-09-07 12:49:10 +00:00
Dimitur Kirov c99093c203 fixed show vcard info 2005-09-06 13:17:10 +00:00
Nikos Kouremenos fa5f7c85c3 move the file 2005-09-04 11:33:41 +00:00
Renamed from scripts/gajim-remote.py (Browse further)