Commit Graph

806 Commits

Author SHA1 Message Date
Nikos Kouremenos f262486352 fix syntax error 2005-11-04 15:36:25 +00:00
Yann Leboulanger c0261e481a add some debug info 2005-11-04 14:42:56 +00:00
Yann Leboulanger e8069e56ad SRV records are now properly supported (swich to another SRV record when first one is not available) 2005-11-04 08:19:15 +00:00
Nikos Kouremenos 0696e75358 history order change: history is ordered as everything else latest is in the bottom 2005-11-03 21:31:04 +00:00
Nikos Kouremenos b9d4b51e1d fix invalid arguments call 2005-11-03 20:52:04 +00:00
Nikos Kouremenos 8b90191f60 fix untested code 2005-11-03 20:50:52 +00:00
Nikos Kouremenos 819bf2e7e3 do not traceback when contact has left and we ask bigger avatar (which calls this func) 2005-11-03 20:48:27 +00:00
Nikos Kouremenos de7f987211 fix typo 2005-11-03 20:41:35 +00:00
Yann Leboulanger 97ed14b16b remove our jid before we stringprep 2005-11-03 19:00:22 +00:00
Yann Leboulanger f130ce29c0 we now stringprep jid and resource everywhere:
when we recieve a jid from server
when we enter a jid or resource in GUI
2005-11-03 14:46:56 +00:00
Yann Leboulanger ff2eaa4a55 Gajim and gajim are not the same resource 2005-11-03 12:09:38 +00:00
Yann Leboulanger 66a7f4b07c resources are now checked case insensitive in connection.py with the one we already have 2005-11-03 09:21:12 +00:00
Yann Leboulanger 2e9d0fbeba we now save/read log to ~/.gajim/logs/jid.lower() 2005-11-03 08:50:35 +00:00
Yann Leboulanger 06ad619a58 when we get an iq, we check if we already have with another case 2005-11-02 22:08:31 +00:00
Yann Leboulanger b35f340018 fix WRONG comment 2005-11-02 11:13:05 +00:00
Nikos Kouremenos 6127f23774 comment get_real_jid_from_fjid to assure future protection from refactoring and add docstring to get return values without reading the code. Both are importnat for such api funcs 2005-11-02 11:06:51 +00:00
Yann Leboulanger 2720f1ce7c move function to get real_jid to gajim.py 2005-11-02 08:12:54 +00:00
Yann Leboulanger ce247d053f coding standards
self.node_to_dict always return a dict
2005-11-01 14:43:00 +00:00
Nikos Kouremenos 4466a7f6b2 isinstance(a, foo) is faster that type(a) == foo 2005-11-01 13:10:38 +00:00
Nikos Kouremenos 63bcfc3054 fix tbs 2005-11-01 13:05:51 +00:00
Nikos Kouremenos b89c217e68 logic fix 2005-10-31 20:54:05 +00:00
Yann Leboulanger 9ea8a2d8e8 at startup use our cached vcard to get the sha
then ask the vcard, and resend a new presence only if avatar has changed
2005-10-31 20:51:45 +00:00
Yann Leboulanger a8cb9d69ff we now save sha in stored vcard
we save the current sha in memory and we update it when we receive the vcard
we re-ask the vcard when we receive a presence with a new sha
2005-10-31 17:31:30 +00:00
Nikos Kouremenos 20ba733622 cyan ist tot (is dead) 2005-10-31 16:41:30 +00:00
Nikos Kouremenos 22e1d66d98 new gajim theme (delete all lines in your config starting with themes. to see it) and theme names are now translatable 2005-10-31 16:19:12 +00:00
Yann Leboulanger 17f67e6a90 remove unneeded BeautifulSoup class
refactor the code so that it's not dup (vcard.get_avatar_pixbuf)
2005-10-31 10:23:33 +00:00
Nikos Kouremenos ee46edcfb8 if we have avatar in HD, we get it from there now 2005-10-30 21:39:09 +00:00
Yann Leboulanger 89d00ada0d we send our username, not our nick when we change password 2005-10-30 16:50:05 +00:00
Yann Leboulanger 60d8a8e9b3 save vcard when we get it 2005-10-30 16:46:50 +00:00
shteef 258e13c625 Fixed highlighting nicks with spaces.
muc_highlight_words config option is now semicolon separated.
2005-10-30 15:01:57 +00:00
Yann Leboulanger b4d9a6aab0 new helpers.check_paths() function that creates LOGPATH and VCARDPATH 2005-10-30 11:20:24 +00:00
shteef b69bc501ae New Service Discovery, couple of quick notes about this commit:
* src/disco.py contains all the disco stuff
 * registration remains in src/config.py
 * data/pixmaps/agents contains the icons used in the toplevel server browser
   and the banner. They're referenced at the top of src/disco.py.
2005-10-30 09:58:13 +00:00
Nikos Kouremenos b975b9380a fallback to green (or should it be human?) theme. afterall what dkirov called GTK+ was not GTK. renaming that to plain 2005-10-29 16:56:33 +00:00
Nikos Kouremenos bf4a1b28ac xrange and tupple instead of range and list in common/ 2005-10-27 13:22:42 +00:00
Nikos Kouremenos 69fc11d949 optimize 2005-10-26 17:30:52 +00:00
Nikos Kouremenos f430c3581f ask uname as our last chance to detect OS [thanks kael for command] 2005-10-25 08:39:41 +00:00
Nikos Kouremenos 0109d921ac logic fixes 2005-10-24 14:32:13 +00:00
Nikos Kouremenos f590da078a [xmpppy]it is standarD not with T; thanks dkm 2005-10-21 21:30:54 +00:00
Nikos Kouremenos 2abc302ce9 do not fail if user runs vista 2005-10-21 17:00:37 +00:00
Nikos Kouremenos f79a90a3ca make gajim boot in windows 2003 2005-10-21 16:46:27 +00:00
Nikos Kouremenos 8a1326a810 sys.getfilesystemencoding() can return None to some systems (eg. OpenBSD). Thanks Jolan for patches 2005-10-21 13:21:31 +00:00
Yann Leboulanger 726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Yann Leboulanger 9d42d10853 file-stopped and file-completed can be saved in awiting_events queue 2005-10-19 21:14:51 +00:00
Yann Leboulanger af7fef5ec1 file-send-error can now be added to the awaiting queue 2005-10-19 20:16:22 +00:00
Yann Leboulanger 443b32a846 typo 2005-10-19 11:14:15 +00:00
Yann Leboulanger 314fd4a8bf file-request-error can now be saved in the awaiting_events queue
better code to handle all these events
2005-10-18 20:30:26 +00:00
Yann Leboulanger 63c1d3d3f0 file transfer request can now be stored in awaiting_events queue and recalled from roster / filetransfer / popup notification 2005-10-18 09:07:52 +00:00
Nikos Kouremenos 1ffb867355 better varname 2005-10-17 12:45:55 +00:00
Yann Leboulanger 4e7f9f5820 connect always return a sequence 2005-10-17 11:18:42 +00:00
Yann Leboulanger c1d334c25d save single chat size/position 2005-10-16 22:08:42 +00:00
Yann Leboulanger 77cb852057 single messages are well handled: they are saved in awaiting_events if needed and are printed when we dubble click a contact row, or systray or popup window 2005-10-16 13:18:34 +00:00
Yann Leboulanger 966afbb031 awaiting_messages is now named awaiting events
it now contains subject of messages
2005-10-15 20:49:08 +00:00
Yann Leboulanger f92a137158 name is login, not account name 2005-10-14 19:37:08 +00:00
Yann Leboulanger 27ee476990 refactor connect so that new_account can use it (SSL and SRV now works when we create a new account) 2005-10-14 18:55:48 +00:00
Yann Leboulanger d8e4c0b0e1 the time we look at what is sent by the ROSTER event, xmpp added a new entry, we don't want it: this entry is in 'Not in roster' group 2005-10-11 15:39:51 +00:00
Nikos Kouremenos 5c6562860a [xmpppy-cvs:features.py] The setPrivacyList function used a nonexistent payload variable where it should be the list param 2005-10-11 12:31:27 +00:00
Nikos Kouremenos ce2b7cad6a [xmpppy-cvs] non-fatal patch. thanks norman 2005-10-11 12:27:27 +00:00
Nikos Kouremenos 6d07ec5a0a try to have OpenPGP working in Windoz 2005-10-09 17:22:03 +00:00
Nikos Kouremenos cf18d99555 add comment 2005-10-09 16:45:21 +00:00
Nikos Kouremenos c5f90e9bc6 get_uf_show can return strings with mnemonics 2005-10-09 16:08:18 +00:00
Yann Leboulanger 8f3dafa920 account context menu and systary context menu now contain a change status message item
TODO:
global status combobox need it
2005-10-09 14:49:14 +00:00
Yann Leboulanger b4cdd59c84 typo 2005-10-09 10:43:14 +00:00
Yann Leboulanger bbd43431ee check one more INTR 2005-10-09 10:25:02 +00:00
Yann Leboulanger 2da08cf0e9 typo 2005-10-09 10:24:06 +00:00
Yann Leboulanger 6ff2bf8c53 [Norman] subnodes are correctly browsed now 2005-10-09 10:11:24 +00:00
Yann Leboulanger f0deb4bc32 update browser.py and commands.py from cvs 2005-10-09 10:04:17 +00:00
Nikos Kouremenos 6e50f0bbc0 update commands.py from xmpppy cvs 2005-10-07 14:53:46 +00:00
Nikos Kouremenos 7ee643c02e comments to help code not become a beast; clean and adhere to coding style 2005-10-07 14:46:10 +00:00
Yann Leboulanger fe19a1c645 prevent TB when jid has no resource 2005-10-07 13:45:58 +00:00
Dimitur Kirov ecda168634 call disconnect_transfer to prevent duplicating
code
2005-10-07 11:57:04 +00:00
Nikos Kouremenos 4e99f9563b avatars in MUC presences are back. stpeter aproved :) [he also plans to make it more clean in JEP] 2005-10-07 10:54:45 +00:00
Yann Leboulanger 3e7627aa6d fix var name 2005-10-07 10:32:42 +00:00
Yann Leboulanger 2b1d4c93b5 while we connect, after connect and after auth, we check if user hasen't changed his mind and choose to go offline 2005-10-07 09:55:29 +00:00
Yann Leboulanger 011115ae80 little cleanup / indentation fix 2005-10-06 20:27:11 +00:00
Yann Leboulanger cd59e29778 SIGPIPE pb is only for unix 2005-10-05 11:05:51 +00:00
Yann Leboulanger 61c64536c8 ServiceRegistrationWindow now support Data form 2005-10-05 10:13:31 +00:00
Yann Leboulanger 07ce973e32 fix SIGPIPE pb (see http://mail.python.org/pipermail/python-list/2004-June/227039.html for details) 2005-10-04 18:22:25 +00:00
Nikos Kouremenos 80b8881d67 fix comment to be more accurate 2005-10-04 13:31:55 +00:00
Nikos Kouremenos 46facfd1c5 fix english in strings and use gc_message and not gcmessage to be more readable 2005-10-04 12:43:32 +00:00
Yann Leboulanger c6b05312d9 add FIXME for MSN transport workaround 2005-10-04 12:26:09 +00:00
Yann Leboulanger f1dd5657f5 [fishface] we can set a list of word that cause the message to be highlighted
we have sound in gc (for the moment it's the same than in normal chat until I find/make others)
2005-10-04 12:19:18 +00:00
Yann Leboulanger 4f30b67d9e add a NS in xmpp 2005-10-04 11:51:54 +00:00
Yann Leboulanger 4d8fd1dfc3 we now support MSN conferences 2005-10-04 11:33:57 +00:00
Yann Leboulanger 59b2bf1d31 xmpp code in connection.py instead of gajim.py 2005-10-04 10:59:11 +00:00
Yann Leboulanger c4e9be83cd refactor a var 2005-10-04 10:49:58 +00:00
Nikos Kouremenos f6470778a6 we now show a happy dialog on nick conflict asking (and even proposing new nick); also refactor code and add a new gtkgui helper 2005-10-03 18:19:31 +00:00
Nikos Kouremenos 11d3316af2 remove duplicate line 2005-10-03 17:34:03 +00:00
Nikos Kouremenos 6899985d5c we now cache avatar, so we only ask once. TODO: ask, store and show in roster; TODO2: on new sha reask vcard to get new avatar 2005-10-03 16:14:41 +00:00
Yann Leboulanger c0ccc81252 detect gc presences in a batter way 2005-09-28 15:24:26 +00:00
Yann Leboulanger a8117faf2d [gjc] "interrupt system call" are now handled and cause the function to be retried 2005-09-28 15:00:01 +00:00
Yann Leboulanger 42ffc5d810 remove the contact_mutual_removal advanced option and add a checkbutton in remove_contact dialog to ask if we want to remove both subscriptions 2005-09-28 14:35:06 +00:00
Yann Leboulanger 1942ac9e73 get var before using it 2005-09-27 11:14:39 +00:00
Nikos Kouremenos 1fff71ad87 refactor to allow changing our nick after nick conflict but first #967 needs to be fixed so I can test 2005-09-26 22:29:52 +00:00
Nikos Kouremenos 89d170c8b4 make keys strings unicode instance strings 2005-09-23 18:49:51 +00:00
Yann Leboulanger bc25dbef03 split NOTIFY event into NOTIFY and GC_NOTIFY 2005-09-20 18:36:28 +00:00
Travis Shirk 075c5bfc48 Per JEP-0085 updates, losing focus does not immediately result in inactive
http://article.gmane.org/gmane.network.jabber.standards-jig/8924
2005-09-20 01:57:54 +00:00
Yann Leboulanger 7ea237d8ea typo 2005-09-19 16:27:10 +00:00
Yann Leboulanger 97b75de35b split NOTIFY event into NOTIFY and GC_NOTIFY 2005-09-19 16:13:45 +00:00
Dimitur Kirov 95d771b138 added GTK+ theme as default theme.
faster roster repaint method (change_roster_style)
fixes on themes list logic.
2005-09-19 15:23:18 +00:00
Yann Leboulanger 6d0bf25adc SRV lookup moved from xmpp to connection.py 2005-09-18 19:52:06 +00:00