Commit Graph

4454 Commits

Author SHA1 Message Date
Nikos Kouremenos 49f1cd3bcf calling the module SRE is deprecated [in py25] in favor of RE. so use RE 2006-11-18 23:21:59 +00:00
Tomasz Melcer 03fdd6d3a6 Specified the root element of glade file in config.DataFormWindow, so that
it doesn't load new dataforms ui.
2006-11-18 22:01:02 +00:00
Tomasz Melcer 8744030d9c Removed some prints, iterTags->getTags. 2006-11-18 21:25:55 +00:00
Tomasz Melcer d9d5f5a841 Fixed last fix. 2006-11-18 21:04:24 +00:00
Tomasz Melcer 4b97eddee4 Comparing types: type(x)==type(self) => isinstance(x, self.__class__) 2006-11-18 21:01:41 +00:00
Tomasz Melcer 175a792cfe Merging changes from trunk (6774:7465) 2006-11-18 20:52:28 +00:00
Tomasz Melcer 755964c3f1 Invoking commands works... at least those from psi 0.11. 2006-11-18 20:10:37 +00:00
Tomasz Melcer 68703a1d5d 'Server' part switched to use new forms. 2006-11-18 18:39:02 +00:00
Tomasz Melcer fafc555b6b Some changes in new dataforms, they're almost usable now. 2006-11-10 13:17:59 +00:00
Tomasz Melcer 289928050c Reworked dataforms, not finished yet. 2006-11-06 12:23:39 +00:00
Tomasz Melcer 45cb666dfd Basic edition of multiple-records forms (removing/moving items). 2006-09-15 11:08:32 +00:00
Tomasz Melcer f91d9192e5 Initial support for multiple-records dataforms - displaying data. 2006-09-15 08:38:01 +00:00
Tomasz Melcer 9b29c4c8b8 Merging changes from trunk (6561:6774) 2006-09-13 16:47:58 +00:00
Tomasz Melcer 5824d3b873 Dataforms widget moved to another file, some ui tweaks. 2006-09-13 16:07:51 +00:00
Tomasz Melcer dcded1cb3b Forgotten file from last commit. 2006-08-21 14:14:24 +00:00
Tomasz Melcer 8f4b972a62 PubSub support: browse, subscribe and unsubscribe; posting atom entries to groups. 2006-08-20 10:18:20 +00:00
Yann Leboulanger 4682b5bed7 add ability to execute ad hoc commands on server 2006-08-07 16:18:01 +00:00
Tomasz Melcer 82739beea1 Browsing discussion groups, first version. 2006-08-04 20:12:00 +00:00
Tomasz Melcer 75227bb835 Small bug in common/dataforms.py. 2006-08-01 16:01:26 +00:00
Tomasz Melcer 3b08d054be Error handling when receiving commands. 2006-08-01 15:45:42 +00:00
Yann Leboulanger c1f211b2ca allow ad hoc commands on transports too 2006-08-01 12:56:16 +00:00
Tomasz Melcer fa6ae3b4be Simple support for pubsub.com notifications. 2006-07-21 13:52:36 +00:00
Yann Leboulanger fd5294bd21 fix some bugs with self contact row 2006-07-19 11:08:25 +00:00
Yann Leboulanger 1f93e36844 add a self contact row when another resource is connected. we can now use ad_hoc commands in gajim 2006-07-19 11:01:09 +00:00
Tomasz Melcer 585ab90e92 Merging changes from trunk (6496:6561) 2006-07-17 19:30:53 +00:00
Tomasz Melcer 5740d226e6 Commands work. 2006-07-17 17:52:37 +00:00
Tomasz Melcer de23ba2a15 Moved some code to ease maintenance. 2006-07-17 13:40:25 +00:00
Tomasz Melcer 477f33b6b9 Generic support for exposing commands (untested). 2006-07-15 13:27:57 +00:00
Tomasz Melcer 76c7831c49 jid-multi now works, thanks to #pygtk channel 2006-07-12 15:14:00 +00:00
Tomasz Melcer db089f103d Jid-multi almost works. 2006-07-12 14:19:58 +00:00
Tomasz Melcer aed92d21b7 Some fixes in common/dataforms, new field types...
Now only jid-multi isn't handled.
2006-07-09 17:55:56 +00:00
Tomasz Melcer c75bdcb63c Ad-Hoc commands window now uses new dataform wrapper. /me dances 2006-07-07 15:49:44 +00:00
Tomasz Melcer 8c9711d7ea New data forms wrapper. Not tested for now. 2006-07-05 16:35:22 +00:00
Tomasz Melcer ecc0403981 Invoking commands works. It will be a long way to finish it, though...
As long as the responder uses only text-single, list-single and
boolean fields, it is possible to invoke and complete a command.
Other field types are not implemented now in dataforms.py.
2006-06-25 17:03:59 +00:00
Tomasz Melcer ce9cbe6f21 Reporting errors and no-commands-exposed. 2006-06-23 18:13:35 +00:00
Tomasz Melcer 145cdbbf40 Fetching command list from entity now works.
If the entity has at least one command exposed, it will be displayed as
a radio button. Other changes: run python interpreter without optimalizations,
otherwise asserts doesn't work. Names of widgets in the glade file were
changed a bit.
2006-06-23 14:38:54 +00:00
Tomasz Melcer 23fa0bf8e6 First version of commands window.
Added: glade file for commands window, src/adhoc_commands.py with a class
to create/manage the window. For now, progressbar bounces :-).
2006-06-22 22:49:39 +00:00
Tomasz Melcer f1e9574401 dataforms.py and glade part for that - a Data Form widget
Introduced a widget that will present full data form as in JEP-0004, to make
things easier. Code will just have to create this widget with just-got
xmpp.DataForm form, show it to user, wait a bit and send the modified form
back.
2006-06-19 21:33:54 +00:00
Tomasz Melcer 8a959c846b "Execute command..." entry in roster in contact's popup menu, plus two fixes.
The fixes:
 * when received a single message from a contact that has one resource online,
   'start chat' entry in popup menu open only that message, not the chat
 * when contact has more resources online, 'rename item' entry in popup menu
   doesn't work
2006-06-19 21:30:58 +00:00
Jean-Marie Traissard e66a8a3430 Fix beep for event notification 2006-06-19 14:58:41 +00:00
Yann Leboulanger 2c534b32d6 [Sergey Khlutchin] show translated subscription in tooltip. Fixes #2077 2006-06-19 11:43:53 +00:00
Jean-Marie Traissard 6047a41efd Fixes #2083 TB 2006-06-18 23:38:02 +00:00
Jean-Marie Traissard 17f891a22f Do nou use gtkspell on RECEIVED single messages. Fixes #2065. 2006-06-16 17:47:47 +00:00
Jean-Marie Traissard 9ec77f1dd9 Merge duplicate code 2006-06-16 17:01:36 +00:00
Jean-Marie Traissard 42d74e39fa [maciekp] Send single message with gajim-remote, fixes #2026. 2006-06-16 16:09:46 +00:00
Jean-Marie Traissard f757025e85 [nk] some visual fixes 2006-06-16 13:18:04 +00:00
Dimitur Kirov 8e4131fc93 create .gajim dir if it doesn't exist 2006-06-15 09:49:44 +00:00
Dimitur Kirov fff37fe869 check if pid file is already removed 2006-06-15 09:43:08 +00:00
Yann Leboulanger a4b4323e38 fix wrong var name. Fixes #2073 2006-06-15 08:36:19 +00:00
Yann Leboulanger b28f22ac05 fix header in fuzzyclock.py 2006-06-15 07:18:55 +00:00
Yann Leboulanger 7ec7acbb27 [delmonico] fuzzyclock 2006-06-15 07:14:39 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Yann Leboulanger 4ae020946c destroy bigger_avatar_window when we close a tab. Fixes #2034 2006-06-14 14:54:23 +00:00
Yann Leboulanger 0e03f023ea show_ascii_formatting_chars is now True by default 2006-06-14 08:54:41 +00:00
Dimitur Kirov 0b0e32ca32 [Anton Shmigirilov] Confirmation dialog,
instead of Error dialog for pid file
2006-06-14 08:45:30 +00:00
Dimitur Kirov 900d6d01b1 var name is 'account' 2006-06-13 06:41:33 +00:00
Jean-Marie Traissard 576f4eef56 Delete now unused sync param 2006-06-12 17:34:08 +00:00
Yann Leboulanger d10d8f7815 don't show signed in/out popup notification for 30 seconds for transport contacts when we log in/out this transport. Fixes #2041 2006-06-12 15:24:58 +00:00
Yann Leboulanger 600cae12f5 ctrl+C now removes pid file 2006-06-12 08:16:15 +00:00
Dimitur Kirov 97f66424bd quit after unavalable oresence stanza is sent
(#1937)
2006-06-12 07:38:07 +00:00
Dimitur Kirov 668b98e403 prevent TB for missing option 2006-06-12 07:37:17 +00:00
Jean-Marie Traissard 3a71c72244 Do not fail with keyError in some cases due to 0.10.0.1 version change to 0.10.1.1 (failed from 0.10.1 to
svn)
2006-06-11 13:01:54 +00:00
Jean-Marie Traissard 25caac724c Sort preset messages by title in prefs too 2006-06-10 20:35:57 +00:00
Jean-Marie Traissard 28691db92b Relate to changeset 2006-06-10 18:23:19 +00:00
Jean-Marie Traissard cfceab7d44 Really use translated word for 'Disabled', about emoticones
Updated version to 0.10.1.2 for optparser because all non-english users have 'Disabled' instead of '' for
their emot
2006-06-10 18:18:46 +00:00
Jean-Marie Traissard 4e1e46a8ac 19:26:12 Jim++: is space before AND after ":" mandatory (in french it is) ?
19:26:17 Hawke: No
19:26:22 Hawke: Only after

Let translator decide
2006-06-10 17:31:43 +00:00
Jean-Marie Traissard 5252ec2d3f Set all strings translatable in about dialog, use AUTHORS file
logger->Typo
2006-06-10 17:23:58 +00:00
Dimitur Kirov 5b019e9341 save avatar from our own vcard 2006-06-09 14:42:20 +00:00
Dimitur Kirov 22e2341ba9 add translator comment 2006-06-09 13:42:33 +00:00
Dimitur Kirov bfe397a27d show avatars in roster, if there is no 'TYPE'
attribute in vcard
2006-06-09 13:41:31 +00:00
Dimitur Kirov 99de39fcaf don't keep dialog references in self.
(problem when we open several FT choosers, or
info dialogs)
2006-06-09 08:29:42 +00:00
Dimitur Kirov 64e66817e5 print the rest of the names 2006-06-08 13:49:52 +00:00
Dimitur Kirov 664e00c43c [avb] add /names command for GC
Fix /query [TAB] bug
2006-06-08 10:09:15 +00:00
Dimitur Kirov d3338ad9c4 prevent TB 2006-06-05 21:02:19 +00:00
Jean-Marie Traissard 9ed43cf6d1 Show a real error box when unable to bind to port
Fixes #1941.
2006-06-05 17:07:48 +00:00
Jean-Marie Traissard 936b99cc3e Don't try to disconnect signal that has been disconnected before. Fixes #2030. 2006-06-05 15:11:27 +00:00
Jean-Marie Traissard e2f7a09778 Use unified way to ask our own vcard so it is auto retrieved 2006-06-05 12:01:17 +00:00
Yann Leboulanger 65f3129997 JEP-0172: send our nick when we talk for the first time to an unknown contact 2006-06-05 10:54:26 +00:00
Yann Leboulanger 226b923a17 always set version to latest even there is no update func for config file 2006-06-05 10:52:35 +00:00
Jean-Marie Traissard eba425d73a Don't allow to change nick to actual nick, it breaks presence 2006-06-05 09:16:44 +00:00
Dimitur Kirov 6dcb8f7f20 update template with current strings, added tr
comment for one_message_window ACE option
2006-06-05 09:03:44 +00:00
Jean-Marie Traissard 739aaf22c2 [roger]add missing () 2006-06-04 18:10:23 +00:00
Jean-Marie Traissard efd73e04bf Also merge metacontacts logs in restore_lines() 2006-06-04 17:21:14 +00:00
Jean-Marie Traissard 4b604a6485 Enhancement to ctrl+tab behaviour :
If no awaiting events, switch to composing contacts'tabs if any
2006-06-04 17:10:20 +00:00
Jean-Marie Traissard 21105add82 Modified default width for gc, fixes #1992. 2006-06-04 11:02:25 +00:00
Jean-Marie Traissard 001b1c0f20 [roger]Merge metacontacts logs on the fly, fix #1891
[jim]Clean patch, move duplicate code.
Added condition missing in [5779], can you confirm Yann ?
2006-06-04 09:54:11 +00:00
Jean-Marie Traissard 5a78e29465 Also save width and height separetly for chats and gc when ONE_MSG_WINDOW_NEVER 2006-06-02 21:49:13 +00:00
Yann Leboulanger 8ed37983e6 print_status_in_muc changement won't be in 0.10.1 2006-06-02 11:21:05 +00:00
Yann Leboulanger 59c3b7b3c8 JEP 172 support (user nickname) Fixes #464 and #884 2006-06-01 15:23:38 +00:00
Dimitur Kirov 25e6d9f4aa send our real show, when we connect to a
transport
2006-05-31 21:12:03 +00:00
Dimitur Kirov 4aa6c95398 don't drop contact in the same group if
destination jid belongs to other account
2006-05-31 11:45:04 +00:00
Dimitur Kirov 01c37775bf reverse as a separate statement 2006-05-31 06:36:49 +00:00
Yann Leboulanger 97430552cb rename vcard / avatar files when a gc contact changes his nick. Fixes #1914 2006-05-30 11:41:58 +00:00
Dimitur Kirov adb54d0eb7 prevent TB on window destroy 2006-05-29 18:23:12 +00:00
Dimitur Kirov b51ba152ea nkour: fix slack version 2006-05-29 14:19:18 +00:00
Dimitur Kirov d4b6cb7aa6 set wrap WORD_CHAR and skip horizontal scrlbar 2006-05-27 09:18:30 +00:00
Dimitur Kirov 880253f9d3 say where is the pid file, which must be
deleted
2006-05-27 07:46:06 +00:00
Dimitur Kirov 5de6896433 sort resources by priority 2006-05-26 20:41:03 +00:00
Dimitur Kirov 01ba1a5c24 check if we have perms to store the file 2006-05-26 14:21:00 +00:00
Yann Leboulanger fe7f50cab3 gajim now create a pid file (~/.gajim/gajim[.profile].pid so that one profile cannot be launched twice) Fixes #1480 2006-05-26 13:32:52 +00:00
Yann Leboulanger 4d024667fd always use excepthook.py under win (isatty() is not supported) 2006-05-26 13:26:53 +00:00
Yann Leboulanger d848e71d3b menu are now shown before popup so that they are correctly placed. 2006-05-26 13:25:31 +00:00
Yann Leboulanger 3e1dd88ee0 we can now save avatars on HD where we want (right click on image). Fixes #1817 2006-05-26 13:19:52 +00:00
Jean-Marie Traissard a0df4ece76 oups, fix reference problem 2006-05-25 10:40:07 +00:00
Jean-Marie Traissard aec02d72db Comment and clarify roster_window.on_message() 2006-05-25 10:26:55 +00:00
Dimitur Kirov 6953685979 prevent loop when adding metacontact to roster
(fixes #1953 and maybe #1991)
2006-05-24 18:17:51 +00:00
Jean-Marie Traissard d440bdddab Do not highlight in gc in case we are sure our nick is beginning of a real word (nick after = A->Z or a->z) 2006-05-24 16:15:49 +00:00
Jean-Marie Traissard e96724224d #1005 preparation : move popups and sound code for incomming new messages to notify.py 2006-05-22 20:14:54 +00:00
Jean-Marie Traissard 1a7fbe727f make muc-actions -> "bookmark this room" work with print_status 2006-05-22 14:38:20 +00:00
Jean-Marie Traissard 6a05b5d529 Rename gtkgui.glade to manage_accounts_window.glade. (contain only manage_accounts_window) 2006-05-21 20:50:48 +00:00
Jean-Marie Traissard 93fec9d9e1 Set gajim icon for history manager window too. Fixes #1986. 2006-05-21 20:42:26 +00:00
Jean-Marie Traissard 6d0e6b5289 Do not play incoming message sound when message from unknown contact and ignore_unknown_contacts
Fixes #1970.
2006-05-21 19:46:36 +00:00
Jean-Marie Traissard c462cbba16 when clicking on a contact in roster : remove duplicate code, also open awaiting events when middle clicking
instead of always open chat
2006-05-21 19:35:33 +00:00
Dimitur Kirov d0bb4b3f53 prevent TB 2006-05-20 19:06:16 +00:00
Dimitur Kirov 7e467e04f8 shrink account and protocol comboboxes 2006-05-19 22:30:23 +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
Jean-Marie Traissard d7c5230573 Do not try to remove item from roster if contact is not in roster. Fixes #1967. 2006-05-19 02:42:54 +00:00
Alex Mauer d4c11be06d * Add/move the last read line even if the window is focused, if we're on
a different tab.
2006-05-18 21:45:59 +00:00
Jean-Marie Traissard 30f83fc2cb Typo + Really delete unused make_groups_submenus_for_chat_with() + redraw pm tab AFTER muc contact
disconnected + fix reference before assignement TB
2006-05-18 18:07:53 +00:00
Travis Shirk 14187e6eee A friend running OpenBox on Debian had an undefined trayicons_functions symbol which prevented the trayicon from loading. This patch fixes that. 2006-05-18 00:11:58 +00:00
Jean-Marie Traissard 7cd0b8d603 Don't print "new_nick has joined the room" after "old_nick is now known as new_nick". Add new_nick to roster
when we receive /nick stanza.
2006-05-17 17:56:33 +00:00
Alex Mauer b82a36083e * If the room bookmark has no print_status defined, then default to
configured print_status_in_muc
2006-05-16 22:30:55 +00:00
Jean-Marie Traissard e58130611d Deal with non utf8 status messages in change status message dialog 2006-05-16 18:49:34 +00:00
Dimitur Kirov c4d7ec992a added eggtrayicon from mail-notification.
This should make tray icon transparent for non-
gnome desktops.
2006-05-16 08:51:48 +00:00
Yann Leboulanger 956ae9c34b [francois] notifies dbus when a new gmail message arrives. Fixes #1961 2006-05-15 17:27:48 +00:00
Jean-Marie Traissard a5b7301cd8 [nicfit] Better description of option tabs_border. 2006-05-15 16:35:49 +00:00
Jean-Marie Traissard 7d4cebf970 Fix TB when bookmark['print_status'] is not stored on server 2006-05-14 21:34:25 +00:00
Jean-Marie Traissard d39055fe3c Sorted merged account line right click -> account_list 2006-05-14 16:28:09 +00:00
Jean-Marie Traissard 8decfc44a2 Sort groups in edit group dialog, even when adding one. Note that it doesn't lower groupname before sort.
Make edit group window longer but with no vscroolbar if necessary.
2006-05-14 16:19:04 +00:00
Jean-Marie Traissard 1dfd15631b When in merged account mode, if we drag and drop contacts from one account to another, show drop menu,
allow to change group, inform user why creation of metacontact is not possible. Fixes #1383.
2006-05-14 15:12:17 +00:00
Jean-Marie Traissard de3af10b75 For GC, draw banner AFTER we change status of control 2006-05-11 21:46:55 +00:00
Dimitur Kirov 7db9216442 make sure we are disconnected after connection
is lost ??? #1955 by j@bootlab.org
2006-05-11 20:51:39 +00:00
Dimitur Kirov 59a51d8b0d add checkbutton for default chat font 2006-05-11 18:28:05 +00:00
Jean-Marie Traissard 00669c06a0 Missing upcase letter 2006-05-10 20:29:17 +00:00
Jean-Marie Traissard af3500a225 #1005 preparation : Begin to move notifications to notify.py :
-moved popup and sound for contact in/out
-added popup for status change (always disable for the moment, will be advanced only)
Note : removed "if not gajim.awaiting_events[account].has_key(jid)" from condition for an in/out popup to be showed
2006-05-10 20:25:51 +00:00
Yann Leboulanger d7d0e25d25 print_status_in_muc is not a string which can be 'all', 'none' or 'in_and_out'(default one). version is 0.10.0.1 to update this variable.
show_status becomes print_status in server (show_status is still read for transition)
2006-05-10 16:25:57 +00:00
Dimitur Kirov d008b51b64 updated connect error checks 2006-05-10 11:22:47 +00:00
Dimitur Kirov 0291b50fec added command start_chat (Geobert QUACH patch) 2006-05-09 22:13:46 +00:00
Dimitur Kirov d8bf9f69a8 add two more possible statuses - #1945 2006-05-09 19:56:29 +00:00
Jean-Marie Traissard a898cf4544 #1005 :
-Added events about FT, event status change
-Merge events first/next message reveived and add a condition about chat actually open with that contact for all events
-Added action about roster notification (animated icon for contact)
-Added glade file to translatable ones
2006-05-09 17:59:24 +00:00
Dimitur Kirov 6db39b590d sort texts in completion list 2006-05-09 13:07:33 +00:00
Dimitur Kirov 1db4aa142b redraw tabs from current window only
(fixes TB)
2006-05-09 13:03:52 +00:00
Jean-Marie Traissard a106d402b8 #1005 : Advanced Notifications Control : First part : Preferences GUI. 2006-05-09 00:05:15 +00:00
Dimitur Kirov b145e59b41 moved completion dict creation in helpers.py 2006-05-08 22:44:47 +00:00
Dimitur Kirov a727700780 show Start Chat dialog, instead of contacts
list  in systray context menu
2006-05-08 22:22:40 +00:00
Dimitur Kirov afdfdc05ce add completion for single message dialog 2006-05-08 22:06:42 +00:00
Yann Leboulanger c159894cc4 prevent TB 2006-05-08 22:00:02 +00:00
Dimitur Kirov 8f239a4be0 moved completion definition in a function
get_completion_liststore in gtkgui_helpers
2006-05-08 21:59:09 +00:00
Dimitur Kirov 37a65bd72e Start Chat text 2006-05-08 21:34:57 +00:00
Jean-Marie Traissard 0fd1fd485e Make 'None' translatable for proxy(connection proxy). 2006-05-08 21:25:41 +00:00