Commit Graph

378 Commits

Author SHA1 Message Date
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 ae4f0d9aaf catch a tb 2005-10-30 21:41:52 +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 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 be16cc9535 no need of \ 2005-10-29 14:25:05 +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
Travis Shirk d1840ef508 Reverting a change that broke chatstates, expecially paused. 2005-10-24 02:18:51 +00:00
Yann Leboulanger cb1be7a818 typo 2005-10-20 17:04:07 +00:00
Yann Leboulanger 9a2fcf9ec1 don't send interface instance to PopupNotificationWindow 2005-10-20 11:40:29 +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 0b1bf176e9 reset chatstate when contact go offline or error 2005-10-20 10:21:51 +00:00
Yann Leboulanger a7300534f8 update contact's chatstate when we receive it 2005-10-20 09:35:00 +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
Nikos Kouremenos 5b1d6457d9 fix typo 2005-10-19 10:39:23 +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
Yann Leboulanger 4a824668e1 window pos and size must be catch before the destroy event 2005-10-17 15:57:03 +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 dc0fa61cd6 prevent a TB 2005-10-14 18:10:14 +00:00
Nikos Kouremenos 9498889fa0 catch correctly exception if user has problems with gconfd 2005-10-13 19:44:33 +00:00
Yann Leboulanger cbebcfc29e add comment 2005-10-12 20:10:42 +00:00
Yann Leboulanger 459acd9e11 get only the nick of MSN contacts (without %hotmail.com) 2005-10-12 20:00:59 +00:00
Nikos Kouremenos f5089a8c69 now sensitivity on/off for change status menuitem works ok 2005-10-10 22:46:28 +00:00
Nikos Kouremenos 94d88f92a0 comments 2005-10-10 13:15:32 +00:00
Nikos Kouremenos bac379679a boot faster when in Windows 2005-10-10 13:12:28 +00:00
Nikos Kouremenos 91bfdba9c8 catch a typeerror tb and fallback, because vanilla gnomepython 2.12 has bad patch in Mandriva. thx dakilla 2005-10-09 11:49:41 +00:00
Nikos Kouremenos f53d4750dc fix a typo 2005-10-07 14:09:40 +00:00
Yann Leboulanger bd941ea8bf catch the resource when we get a message from an unknown contact 2005-10-07 14:01:35 +00:00
Yann Leboulanger 68536513fd fix TB when we get a chatstate message of a not in the roster contact 2005-10-07 10:21:15 +00:00
Yann Leboulanger 011115ae80 little cleanup / indentation fix 2005-10-06 20:27:11 +00:00
Yann Leboulanger 61c64536c8 ServiceRegistrationWindow now support Data form 2005-10-05 10:13:31 +00:00
Yann Leboulanger c6b05312d9 add FIXME for MSN transport workaround 2005-10-04 12:26:09 +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
Nikos Kouremenos 83ffab141f fix a tb 2005-10-03 20:17:55 +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 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
Nikos Kouremenos 4220da24aa successfully (2 l) and say in sectext what vCard is about; also imporve a fixme (still fixme) 2005-10-02 21:56:38 +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 f07d4eba1a do not deprecatewarning if gp 2.12 2005-09-24 12:51:30 +00:00
Yann Leboulanger 8f93012465 groupchat_window now has an on_message function that can hold pm in queues so they are not printed (systray is not handled yet) 2005-09-23 21:01:42 +00:00
Nikos Kouremenos 091211434e say to the user what is wrong (if missing libglade) 2005-09-22 16:30:46 +00:00
Yann Leboulanger 6edd7ca43e import i18n before we use it 2005-09-21 14:42:29 +00:00
Travis Shirk 7c1679eae7 Fixed a bug whereby chatstates were disable incorrectly with the following scenario:
client #1: send client #2 a message (state is ask)
client #2: recv's message and set's chatstate active since the message used JEP 85
client #1: sends another message, but since client #2 has not responded yet it sends not chatstate
client #2: recv's message and set's chatstate to False because JEP 85 was not used
(Note, if client #2 would have responded after the first message chatstates would be in effect.
2005-09-20 02:24:25 +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
Dimitur Kirov 57de1dc5ac support font attributes (weight and style) 2005-09-17 08:31:29 +00:00
Yann Leboulanger 22a4f36ab7 fix a TB 2005-09-16 15:30:42 +00:00
Yann Leboulanger 973631a2c9 error messages are nowprinted as if they come from server 2005-09-15 17:33:02 +00:00
Alex Mauer 3836656737 whoops. ACTUALLY pass true to auto when going auto-away. 2005-09-14 00:02:32 +00:00
Nikos Kouremenos f200d994f5 backwards compat 2005-09-13 21:25:12 +00:00
Alex Mauer 4c990ccb1e Tooltip for account line in roster 2005-09-13 18:46:21 +00:00
Nikos Kouremenos 7e69565a0f remove a deprecated warning (it is fixed since gnome-python 2.10 which aligns with pygtk26 etc 2005-09-13 11:53:48 +00:00
Yann Leboulanger 596e9fe4fc no need to import winsound in gajim.py 2005-09-13 10:51:56 +00:00
Nikos Kouremenos ef21462543 threads_init only if py24+ 2005-09-12 11:23:38 +00:00
Nikos Kouremenos 43aef76dd9 [sef and me] now we also handle receiving invitations 2005-09-11 15:02:22 +00:00
Nikos Kouremenos bbf495c3b3 check and do not work if < 2.6 2005-09-11 14:20:20 +00:00
Nikos Kouremenos 788a4dc7a1 remove checks and code for < 2.6 2005-09-11 13:56:38 +00:00
Nikos Kouremenos 3428a8655e the way we do it now is perfect 2005-09-11 00:08:37 +00:00
Nikos Kouremenos e7345baf54 cleanup, coding style, and logic fixes in sleepy 2005-09-10 23:44:53 +00:00
Nikos Kouremenos 69f1e8758e [gjc] use gobject.threads_init() 2005-09-10 21:06:02 +00:00
Nikos Kouremenos 1ea2e1a03a hook after so .require() works for all 2005-09-10 20:08:47 +00:00
Yann Leboulanger d271c29a24 we are now informed when vcard publication faild / succeed 2005-09-10 09:25:06 +00:00
Nikos Kouremenos 2a0a91995f add hook by default 2005-09-09 17:43:39 +00:00
Nikos Kouremenos bfabd11f17 [gjc] add happy dialog to inform about tracebacks only if we have verbose on and user does not run from terminal or started X11 with startx 2005-09-09 17:09:04 +00:00
Nikos Kouremenos 14a49dcf25 fix logic 2005-09-09 14:09:37 +00:00
Dimitur Kirov ba4fadc5cc add estimated time and speed to FT 2005-09-08 22:12:14 +00:00
Yann Leboulanger c7c2b8bffc typo 2005-09-08 12:32:42 +00:00
Yann Leboulanger 3803327b68 [multani] emots are sorted by length so :qwe is tested before :q 2005-09-08 11:25:47 +00:00
Nikos Kouremenos 9eba3721be revert bad commit 2005-09-08 10:52:10 +00:00
Nikos Kouremenos a644ca6fa8 [multani] fix pattern for emoticon so we specify start and end 2005-09-08 10:31:19 +00:00
Nikos Kouremenos 7016af459f xmpp and xmpp:// is catched in GNOME now if gajim is running 2005-09-08 10:30:32 +00:00
Yann Leboulanger 5c0797ae71 emots MUST be upper, so we made them upper when we parse the config 2005-09-08 10:11:30 +00:00
Nikos Kouremenos 471edb28b5 add a space 2005-09-08 09:34:37 +00:00
Nikos Kouremenos 22f1026f3a print errors/warnings in sys.stderr 2005-09-08 08:54:59 +00:00
Travis Shirk 585a007c2a Not sure why this was removed (I added it in 3395, dkirov removed it in 3461) but it broke chatstates. Readded. 2005-09-08 02:05:46 +00:00
Nikos Kouremenos fecb712fbf remove prints 2005-09-07 23:09:28 +00:00
Nikos Kouremenos 914749b740 register xmpp:// gajim-remote handler in GNOME; various cleanup 2005-09-07 21:12:30 +00:00
Nikos Kouremenos 3f71cbb6c5 one line was missing 2005-09-07 19:47:01 +00:00
Nikos Kouremenos aa7dc3e31f [gjc] We register to session manager. so if we save session and Gajim was running, next time we see Gajim. ME: IT ALSO WORKS FOR SVN! 2005-09-07 19:46:09 +00:00
Nikos Kouremenos 10554dcc78 fix so it has only LF 2005-09-07 10:11:53 +00:00
Dimitur Kirov 5c306c9ba5 prevent TB on GC vcard info 2005-09-06 13:44:29 +00:00
Dimitur Kirov c99093c203 fixed show vcard info 2005-09-06 13:17:10 +00:00
Yann Leboulanger 72393ac068 autoreconnect of account is ready 2005-09-05 13:28:09 +00:00
Travis Shirk bb6c0d6a26 Chatstate notifications in tabs #672 2005-09-04 23:30:40 +00:00
Nikos Kouremenos a29c12a8b6 add a comment 2005-09-04 17:47:36 +00:00
Nikos Kouremenos 650bbdca39 catch all error codes for MUC JEP and issue translatable strings so non english user does not see english. 2005-09-03 17:18:07 +00:00
Yann Leboulanger 99f1bf40c5 correct invalid theme name in old config file 2005-09-02 14:03:00 +00:00
Nikos Kouremenos c28eaaa585 do not sign auto statuses 2005-08-30 21:38:59 +00:00
Nikos Kouremenos 7d2a698fc9 [Hawke patches Lukas patch :D] now Gajim can use gpg-agent 2005-08-30 21:10:14 +00:00
Nikos Kouremenos 165fb2006d remove a decode 2005-08-27 14:26:08 +00:00
Nikos Kouremenos 461041ae5b fix wrong replacement 2005-08-27 14:08:00 +00:00
Nikos Kouremenos eabc5e6ebc prevent a TB and add FIXMEs for Yann 2005-08-26 14:44:46 +00:00
Nikos Kouremenos cec336112d [Stéphan K.] make most strings we use unicode instacnes 2005-08-26 00:52:44 +00:00
Dimitur Kirov e4a28f6572 added send_file remote command 2005-08-23 23:41:23 +00:00
Nikos Kouremenos 08a7c45c08 notification area icon (trayicon) is back for windows! 2005-08-23 18:03:18 +00:00
Nikos Kouremenos 33d1536c25 fixes in strerror code 2005-08-23 09:32:44 +00:00