Stephan Erb
fb12c17fb9
In obvious cased, don't compare boolean values to True or False.
2008-04-21 20:52:35 +00:00
Stephan Erb
92b596a698
Use startswith() instead of string slicing to check for prefixes or suffixes.
...
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Jean-Marie Traissard
68fdb002df
Use good message time
2008-04-21 16:35:39 +00:00
Jean-Marie Traissard
94580b3019
Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
...
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Yann Leboulanger
f2f0c7aba0
use tuple instead of dict in __name: dict are not hashable
2008-04-21 14:44:19 +00:00
Yann Leboulanger
dc48eeea96
fix static variable usage
2008-04-21 14:18:19 +00:00
Yann Leboulanger
f593c5c2ac
fix property definition
2008-04-21 14:16:20 +00:00
Yann Leboulanger
0527b7e0ea
move __name to static attribute of CacheItem class
2008-04-21 13:16:41 +00:00
Yann Leboulanger
67bd94dd55
fix property code in caps.py
2008-04-21 12:57:34 +00:00
Jean-Marie Traissard
30f1a15efb
Don't log room description at each gc connection
2008-04-21 00:00:52 +00:00
Yann Leboulanger
a3827fe5d0
new XEP-0115 implementation (version 1.5)
2008-04-20 22:58:47 +00:00
Jean-Marie Traissard
0ca9610680
[elghinn] Cleaner way to check if we have gpg
2008-04-20 18:40:59 +00:00
Jean-Marie Traissard
1846cfefc6
Remove global temp vars after use
2008-04-20 15:24:34 +00:00
Stephan Erb
4e6bd4ee8f
Port roster_window to gtk.TreeModelFilter.
...
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.
See #1201
2008-04-20 14:01:04 +00:00
Yann Leboulanger
54608822a3
always say we want to receive pep notifications even if server don't support it.
2008-04-19 22:08:40 +00:00
Yann Leboulanger
0158db6001
show better error message when sending message to a room where we are no more connected. fixes #3870
2008-04-18 18:35:53 +00:00
Yann Leboulanger
ef97e91a1d
put namespace name in protocol.py
2008-04-18 18:19:33 +00:00
Yann Leboulanger
041969309d
add many supported features to disco#info reply. fixes #3872
2008-04-18 18:10:12 +00:00
Jean-Marie Traissard
968b2acc4f
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
...
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
...
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00
Yann Leboulanger
fdf46e5430
one more typo
2008-04-16 19:52:47 +00:00
Yann Leboulanger
18c8500f9b
really fix SQL query
2008-04-16 19:41:36 +00:00
Yann Leboulanger
4bfd971415
fix sql query
2008-04-16 19:22:16 +00:00
Yann Leboulanger
158231493a
remove useless print
2008-04-16 14:52:43 +00:00
Jean-Marie Traissard
df257baef5
Added helpers to commit in logger.py
...
Trying to ignore line for #3865
2008-04-16 13:46:44 +00:00
Yann Leboulanger
3aefee4700
try all IPs of a given host in case first one fails. Fixes #2958
2008-04-16 11:02:01 +00:00
Yann Leboulanger
0568a4b32b
typo
2008-04-15 15:59:13 +00:00
Yann Leboulanger
1a2f60186a
Don't fail on windows if bonjour is not installed. fixes #3861
...
socket module doesn't have AI_ADDRCONFIG attribute under windows
2008-04-15 15:58:07 +00:00
Yann Leboulanger
5348c3a37f
add ACE option to configure interval between 2 idlness checks. default to 2 seconds. fixes #3004
2008-04-15 09:35:36 +00:00
Jean-Marie Traissard
2c4e901b8f
Fix table creation typo.
...
Btw thanks elghinn for idea of this table :)
2008-04-15 02:05:08 +00:00
Jean-Marie Traissard
8f84ff29f5
fix indent
2008-04-15 01:54:31 +00:00
Jean-Marie Traissard
f32901d243
Create a new small table in DB to remember rooms last_history_line at next
...
launch. This is necessary because with a big history get_last_date_that_has_logs
can take about 5 seconds on first launch.
Created new gajim subversion.
2008-04-15 01:52:11 +00:00
Yann Leboulanger
29dd9d2576
added ipython for SVN users only.
2008-04-14 15:19:09 +00:00
Yann Leboulanger
b04d6aea63
correctly detect vcard error from groupchat participants (with fake jid)
2008-04-09 21:30:12 +00:00
Stephan Erb
7e6431fcea
Small fixes for activity dialog.
2008-04-07 11:44:35 +00:00
Stephan Erb
855a72855d
Add get_uf_* functions to make mood and activity translatable.
2008-04-07 11:14:23 +00:00
Yann Leboulanger
da966efaa7
use getaddrinfo to know if we should use ipv4 or v6 for zeroconf
2008-04-06 21:33:40 +00:00
Yann Leboulanger
067d9dbf2b
make zeroconf work correctly on both ipv4 and ipv6. Bind on an ipv6 socket if possible.
2008-04-06 16:51:31 +00:00
Stephan Erb
b991b32886
Add missing tooltip and markup in vcard window. See #1069 . Make string a doc string.
2008-04-04 15:10:50 +00:00
Stephan Erb
e95a9fa5ef
Fix indentation.
2008-04-04 09:51:49 +00:00
Yann Leboulanger
f3665cd689
don't remove metacontact when we reconnect. fixes #3771
2008-04-01 23:13:10 +00:00
Jean-Marie Traissard
75983ff571
Some "jep" -> "xep"
2008-03-30 20:35:02 +00:00
Yann Leboulanger
a6e06b3bca
add autoconnect_as feature to autoconnect as away or invisible
2008-03-30 11:50:59 +00:00
Yann Leboulanger
849a235263
[Nico Gulden] typo in some strings
2008-03-24 21:59:39 +00:00
Jean-Marie Traissard
11e4945158
Use appropriate function to remove a line in unread_message table. See #3793 .
2008-03-24 00:45:53 +00:00
Yann Leboulanger
4e15d0f0d6
remove lines from unread_messages if messages are no more in logs table. Fixes #3793
2008-03-23 22:52:29 +00:00
Yann Leboulanger
45211c43f5
coding standards
2008-03-21 17:17:12 +00:00
Yann Leboulanger
92690da36b
fix zeroconf to be ablt to use IPv6. Fixes #3683
2008-03-21 16:55:39 +00:00
Jean-Marie Traissard
88db86bb99
Make jid_is_from_pm works with not-full jid
2008-03-19 23:14:58 +00:00
Jean-Marie Traissard
624a16034e
Fix small TBs about last changeset that could happen if some history were manually removed.
2008-03-19 22:01:21 +00:00