Commit Graph

456 Commits

Author SHA1 Message Date
Yann Leboulanger cdde62ac88 reconnect to all gc when connection comes back 2005-11-13 17:24:08 +00:00
Nikos Kouremenos 082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos 287b40bde6 do not load at startup manage emoticons window [respect the RAM of user] 2005-11-13 14:55:52 +00:00
Travis Shirk 96fbd0ae4f JEP 0070 Last Call updates; transaction IDs are a MUST, so we should display them to the user.
Closes #1088
2005-11-13 01:48:48 +00:00
Nikos Kouremenos 33e7b103c0 gtkexcepthook only for those that run svn versions; release user should not be bugged with TBs as they should be minor to overall functionality and he should not care. if he is advanced he knows how to find out what is wrong (how to get to see a traceback etc); also moving get_avatar_pixbuf_from_cache to gtkgui_helpers (all in one commit because of import issues) 2005-11-12 21:24:54 +00:00
Nikos Kouremenos 67844ff1dc him --> him or her 2005-11-12 14:20:20 +00:00
Nikos Kouremenos 2a770a1ebf he --> he or she 2005-11-12 14:17:27 +00:00
Nikos Kouremenos a38263dcdb his --> his or her 2005-11-12 14:15:32 +00:00
Nikos Kouremenos 3556d134bd [lorien420] popup notifications now use notification-daemon if there so they look nicer thanks to Andrew Sayman. I go play some Crack Attack! in return 2005-11-11 19:06:48 +00:00
Nikos Kouremenos df80ad23cd update win tools to .9 2005-11-10 15:14:17 +00:00
Yann Leboulanger c2042e8689 call register_handlers only once at startup, it's not account specific 2005-11-10 10:16:25 +00:00
Nikos Kouremenos 14bccbc2a6 fix a tb 2005-11-08 16:53:33 +00:00
Yann Leboulanger 02d88c5915 add a "Set an avatar when I connect" checkbutton in wizard, so that when we connect it open the vcard in the about tab and opens the filechooser 2005-11-07 15:43:47 +00:00
Yann Leboulanger febe8d4a1a correctly show the result of an account creation (success / fail) 2005-11-04 21:27:14 +00:00
Yann Leboulanger dd6a9ced49 accountModificationWindow is never used to create an account, just modify it
add an advanced button to AccountCreationWizard that open the accountModificationWindow
2005-11-03 10:32:26 +00:00
Nikos Kouremenos 48dd04a228 typo 2005-11-01 17:14:15 +00:00
Nikos Kouremenos 8d353c8e24 typo 2005-11-01 17:12:40 +00:00
Nikos Kouremenos f048ff494f remove duplication of logic (twice reseting chatstate [one was wrong I think..] 2005-11-01 15:28:19 +00:00
Yann Leboulanger 370b6870f5 don't show popup or systray event when FT is completed if we don't want to be notified 2005-11-01 11:25:01 +00:00
Nikos Kouremenos ca345fee0d coding standards 2005-11-01 00:02:31 +00:00
Nikos Kouremenos 0618afa787 improve readability 2005-10-31 23:59:26 +00:00
Nikos Kouremenos aba99dc208 fix typos 2005-10-31 23:48:36 +00:00
Nikos Kouremenos 6812e423d7 remove fixme 2005-10-31 23:33:33 +00:00
Nikos Kouremenos 422ae02f57 cleaner regexp pattern for links 2005-10-31 23:31:18 +00:00
Nikos Kouremenos da23873805 coding standards fixes 2005-10-31 20:54:40 +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 7e283c5dfb typo 2005-10-31 11:14:11 +00:00
Nikos Kouremenos a3227aacb4 cleaner 2005-10-31 11:09:18 +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 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
Yann Leboulanger 472c35e030 fix a TB 2005-08-18 22:34:03 +00:00
Nikos Kouremenos e9945b9c4b disable trayicon if in windows (fixes the resize problem) apparently 2005-08-18 22:08:19 +00:00
Nikos Kouremenos bd0a5230d9 xs:boolean is '0', '1', 'true', 'false'. so update bookmark to handle the last two 2005-08-18 19:06:24 +00:00
Yann Leboulanger 6cb304610b create xml console window when we create a new account 2005-08-18 08:32:35 +00:00
Nikos Kouremenos 2fd8b49fc6 fix a tb (thanks aldafu) 2005-08-17 09:59:59 +00:00
Yann Leboulanger 383154becf we always show ft request window in 0.8 release 2005-08-16 15:24:50 +00:00
Nikos Kouremenos c3be096bc3 fix pygtk.require() to work ok in GNU 2005-08-16 11:55:29 +00:00
Nikos Kouremenos 5acee3847a pygtk.require() only if not windows (py2exe fails) 2005-08-15 19:53:37 +00:00
Nikos Kouremenos a946e92a95 trayicon menuitems now work ok. for images to change we need them in ico format. I had ideas on that.. :D 2005-08-15 19:51:49 +00:00
Nikos Kouremenos 18106eaa96 get default font from KDE too. thanks IceRAM 2005-08-14 21:43:16 +00:00
Yann Leboulanger 93293dfdc5 InformationDialog doesn't use run() anymore 2005-08-14 16:12:36 +00:00
Dimitur Kirov 8eb530b91c send error to stderr if another instance of
gajim is running on the same ft port
2005-08-12 19:09:20 +00:00
Dimitur Kirov 32bb3c5024 open containing folder in file transfer ok
response
2005-08-12 02:12:12 +00:00
Dimitur Kirov a2cccb8d25 set default application font (if any) to
themes, instead of 'Sans 10'
2005-08-12 00:08:04 +00:00
Dimitur Kirov 0d68d8152a handle file request/send errors 2005-08-11 20:31:44 +00:00
Nikos Kouremenos b4ae315349 inital code for systray in windows is commited. it is disabled for 0.8 atm because it needs more love. I commit because I hope to fix soon (or else 0.8 will not load it so it is ok) 2005-08-11 13:20:46 +00:00
Dimitur Kirov d220cde8cd removed useless code 2005-08-10 16:01:40 +00:00
Yann Leboulanger 8393d9e5fd we can now create a new account 2005-08-10 11:52:37 +00:00
Nikos Kouremenos 99bf5ba99f moving play_sound and launch_browser_mailer to common/helpers.py 2005-08-09 22:46:13 +00:00
Yann Leboulanger c1ba76286e we can now retrieve our vcard 2005-08-09 20:33:21 +00:00
Yann Leboulanger c61c33765f here is a mutex for events_for_ui:
threads and main thread won't conflict
2005-08-09 18:45:16 +00:00
Yann Leboulanger d0eb029f74 connection.pt doesn't send events to ui: it just put it in gajim.events_for_ui[account]
gui read this queue
(mutex will come)
2005-08-09 17:21:35 +00:00