Commit Graph

491 Commits

Author SHA1 Message Date
Nikos Kouremenos 17034b654a remove a fixme; remove old and replace with that we really mean by old, so we do not get confused with date 2005-11-29 10:16:31 +00:00
Yann Leboulanger 258c0541e0 when we receive an empty vcard, we send an empty vcard to the interface so that it knows it arrived 2005-11-28 16:26:19 +00:00
Nikos Kouremenos 8862daa3fc typo 2005-11-27 22:28:33 +00:00
Nikos Kouremenos 75a2418fea add magnet: catching, and add a fixme for special treatment of uncatched xmpp: 2005-11-27 22:05:10 +00:00
Nikos Kouremenos 45cade3693 clear the regular expression cache when done with make_regexps 2005-11-27 21:57:41 +00:00
Nikos Kouremenos 8734c5f2cb SIGN_IN --> SIGNED_IN 2005-11-27 12:42:42 +00:00
Yann Leboulanger 21116c221e create a new SIGN_IN event that is emitted when we sign in 2005-11-27 12:29:30 +00:00
Yann Leboulanger 294831017f remove FIXME:
plz don't ask questions in the code
I put that here cause this function is called when we log in and never after
2005-11-27 09:57:56 +00:00
Yann Leboulanger 0ed25ede49 join bookmarked groupchat AFTER already opened ones so we don't open bookmarks twice 2005-11-27 09:41:48 +00:00
Nikos Kouremenos d958bcf521 typo 2005-11-23 19:21:46 +00:00
Nikos Kouremenos d9cc33cf26 log system rewrite to use sqlite database instead of plain ascii files. this allows us to scale better (be faster), provide search in history, and save logs for JIDs that are non-ASCII. PLEASE read http://trac.gajim.org/wiki/MigrateLogToDot9DB 2005-11-23 19:12:52 +00:00
Nikos Kouremenos 3e9b8d6bd2 enormous cleanup in untested code 2005-11-22 10:56:25 +00:00
Yann Leboulanger 8bc51f5360 80 chars width 2005-11-22 00:32:38 +00:00
Yann Leboulanger 508d176d5a contact.chatstate becomes contact.our_chatstate
contact.chatstate is now contact's chatstate
2005-11-22 00:28:36 +00:00
Nikos Kouremenos ce9982b04b prevent a tb with an ugly way. Dimitur Kirov where art thou? :( 2005-11-21 09:59:19 +00:00
Nikos Kouremenos ececa0dacf remove noused code (it is here from the time we tried to gajim-remote on/off on the fly. clean up! 2005-11-19 22:01:10 +00:00
Nikos Kouremenos a444fa63a9 use_dbus (too generic) to remote_control ACE and better desc, also fix method names 2005-11-19 21:45:34 +00:00
Yann Leboulanger 5fa3da5538 draw_contact doesn't draw the avatar anymore
new draw_avatar function that is called only when needed
2005-11-19 16:59:09 +00:00
Nikos Kouremenos df88db7209 optimize the code 2005-11-16 10:35:11 +00:00
Nikos Kouremenos 0901a6db53 do not autojoin bookmarks if you are invisible 2005-11-16 10:21:43 +00:00
Nikos Kouremenos b40b42b2e0 [michele] position emots popup under cursor with Alt+E 2005-11-15 14:31:27 +00:00
Nikos Kouremenos 2357e0ae96 gajim could not start if useeemoticons = False 2005-11-15 14:17:02 +00:00
Nikos Kouremenos 03684ad385 [Michele Campeotto] we now have an emoticon selector! 2005-11-15 11:52:40 +00:00
Norman Rasmussen 99d944dc90 make </p> http:// link right again 2005-11-14 21:26:20 +00:00
Norman Rasmussen f5139c288f fixed python 2.3 emoticon looping bug 2005-11-14 21:04:16 +00:00
Yann Leboulanger 647aef402e show avatar in roster when we recieve the vcard 2005-11-14 18:14:28 +00:00
Yann Leboulanger 290ca15a7c remove unused code 2005-11-14 09:38:35 +00:00
Travis Shirk c5dc70abd7 tabs instead of spaces 2005-11-13 21:50:54 +00:00
Travis Shirk f3976478c3 More fixes for formatting regex's 2005-11-13 21:46:04 +00:00
Travis Shirk fdb89e2ff8 Added a comment about the emoticon regex 2005-11-13 21:16:21 +00:00
Travis Shirk a433b2d58c Non alpha-numeric characters on the edges of an emoticon will still allow for icon expansion.
Thanks again, Norman!
2005-11-13 21:13:27 +00:00
Travis Shirk b816a7a46b Smarter parsing of emoticons (closes #954) and added a few common emoticons as well. 2005-11-13 20:47:15 +00:00
Nikos Kouremenos 1921c43a94 try to prevent circular imports 2005-11-13 20:25:04 +00:00
Nikos Kouremenos 3238b6ad94 various minor 2005-11-13 19:31:47 +00:00
Nikos Kouremenos 1f5b2acd9f nothing 2005-11-13 17:43:41 +00:00
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