Yann Leboulanger
e49c64a452
reorder functions in common/helpers.py. Fixes #4764 . Thanks Vardo!
2009-02-08 13:47:28 +00:00
Stephan Erb
e00f871b26
Use hashlib module in favor of sha and md5.
2009-01-08 16:51:26 +00:00
Yann Leboulanger
507bd7b8c6
cache os information so it's requested to system only once
2008-12-24 15:00:38 +00:00
Yann Leboulanger
0830a5fe73
[thorstenp] use sorted() and list comprehension
2008-12-03 22:07:44 +00:00
Yann Leboulanger
e389e0b16b
[thorstenp] remove whitespace at eol
2008-12-03 21:56:12 +00:00
Yann Leboulanger
088378a9b7
[thorstenp] fix reimported modules
2008-12-03 21:23:04 +00:00
Yann Leboulanger
60ba33eb31
[thorstenp] fix possible undefined loop variables
2008-12-03 17:38:16 +00:00
Yann Leboulanger
31dc32eeb9
[thorstenp] fix redefined builtins
2008-12-03 17:16:04 +00:00
Yann Leboulanger
c163e90b10
[thorstenp] fix unused variables
2008-12-02 15:53:23 +00:00
Yann Leboulanger
f059f3948f
[Florob] handle xmpp: and mailto: in a nicer way in conversations. Fixes #4245
2008-11-21 11:05:11 +00:00
Yann Leboulanger
0b93973c46
[shutnik] improved os info under posix. Fixes #4506
2008-11-20 14:37:38 +00:00
Jean-Marie Traissard
e76817e77e
If an avatar or vcard filename is > 48, use its hash for filename instead. I used the md5
...
method already in the same file. Fixes #4273 .
2008-11-11 15:00:18 +00:00
Yann Leboulanger
aaa82b8202
[thorstenp] import idna only when needed. see #4457
2008-11-05 19:48:58 +00:00
Yann Leboulanger
06ab4a7b6d
revert thorstenp patches for now. They introduce bugs.
2008-10-20 21:38:06 +00:00
Yann Leboulanger
f801a50260
[thorstenp] fix unused variables
2008-10-20 21:17:48 +00:00
Yann Leboulanger
158538b81c
[thorstenp] rename some var to not hide builts-in functions (list -> list_, ...)
2008-10-11 10:22:04 +00:00
Yann Leboulanger
196dd7e30a
[thorstenp] use isinstance rather than type(x) == y. use sorted()
2008-10-11 09:59:52 +00:00
Yann Leboulanger
2ffad66473
[thorstenp] replace reduce instances
2008-10-11 09:49:30 +00:00
Yann Leboulanger
567f1e17c1
[thorstenp] di not use emtpy except clauses
2008-10-11 09:37:13 +00:00
Yann Leboulanger
6cc8204319
[thorstenp] replace if statement with dict.get()
2008-10-11 09:31:48 +00:00
Yann Leboulanger
9d7c80d522
[thorstenp] replace has_key by key in dict. Fixes #4392
2008-10-07 20:41:59 +00:00
Yann Leboulanger
b5b27227ea
fix parsing SRV result with idna names. Fixes #4194
2008-08-30 18:24:07 +00:00
Julien Pivotto
de4a23e751
See #4200 .
...
* remove js from some headers
* set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto
8bc9bc29ae
* Big headers review
...
* Remove some licencing problems
* To do: same for images
* See #4200
2008-08-15 03:20:23 +00:00
Yann Leboulanger
c619f59b84
show status of not in roster contacts in roster. Fixes #4144
2008-08-12 06:31:32 +00:00
Yann Leboulanger
d030cd8b03
prevent sending invalid XML chars in chat / groupchat and status. Fixes #3296
2008-07-30 12:21:47 +00:00
js
8605cd3f38
For historical reasons, we have a tab width of 3. This is strange, but
...
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
js
981dca2b6b
Remove get_uf_{mood,activity} as nobody used them.
...
Didn't notice them and implemented something like that myself.
2008-07-29 19:27:16 +00:00
Yann Leboulanger
e21b1dcb37
remove publish_mood, publish_activity and publish_nick options.
2008-07-29 06:15:41 +00:00
js
f7d8631a5c
New activity dialog.
2008-07-28 20:57:56 +00:00
js
87d5904384
Possibility to disable ESessions (not only autonegotiation) per account
2008-07-24 22:13:59 +00:00
js
c5e679a078
Show mood in chat window.
2008-07-22 21:08:52 +00:00
Brendan Taylor
758adfbaf3
fix esession caps condition
2008-07-21 19:55:16 +00:00
js
2cf1171124
Remove \n from distribution name.
2008-07-21 17:29:49 +00:00
Brendan Taylor
c9b2556c41
make esessions an optional caps feature
2008-07-20 15:54:05 +00:00
Brendan Taylor
e3613be1fa
first pass at stripping out the one-tab-per-session code
2008-06-26 23:36:58 +00:00
js
9634f98250
* Implemented XEP-0184 section 5.
...
* Added NS_RECEIPTS to protocol namespace list.
* Show our support of XEP-0184 in caps.
* Added a big, fat warning to get_contact as this does not work as
expected.
* There was some strangeness in our XEP-0022, it added an id tag to
the x tag, which isn't mentioned anywhere in the XEP. And for some
strange reason, that id even was the same all the time.
* Fixed a typo.
2008-06-17 16:03:21 +00:00
Yann Leboulanger
18d8f98f3c
add "other" to all sub-activities and fix "Having an appointment" activity. Fixes #4019 , #3981
2008-06-15 18:13:03 +00:00
Brendan Taylor
964cb10163
hopefully fix the last of the get_control calls ( fixes #4018 )
2008-06-14 08:43:20 +00:00
Yann Leboulanger
e807c056d3
remove Z char (meaning UTC) in received timestamp. fixes #3796
2008-06-13 15:34:55 +00:00
js
03d68c0d26
Be more specific on excepts.
2008-06-08 10:19:26 +00:00
js
8def8de5c7
Make Gajim work on OS X again.
...
Someone completely broke it by trying to port it to native GTK.
However, that person didn't only break it with X11 GTK, with
native GTK it wasn't working correctly either.
Fixed it by adding lots of try/except blocks. Someone definitely
deserves to be slaughtered for completely breaking it on OS X…
2008-06-07 20:42:15 +00:00
Yann Leboulanger
c127493e58
remove pep options from pref window, store them per account, store caps_hash per account. see #3954
2008-05-27 10:24:29 +00:00
Stephan Erb
d41f245370
Remove debug print.
2008-05-14 18:45:06 +00:00
Yann Leboulanger
44fc7ddd0c
fix caps hash computaion according to XEP-0115. fixes #3925
2008-05-14 18:30:39 +00:00
js
91211e189d
Fix DnD FT on Windows:
...
* Fix helpers.py so URL is decoded correctly.
* Fix code in roster_window.py so the \0 that's alway the last file
on win32 is ignored.
This also fixes and closes #2398 .
2008-05-10 23:21:28 +00:00
Yann Leboulanger
3193a8e8cf
[Florob] Send and handle nicknames reveices through PEP. Fixes #3651
2008-05-05 21:55:59 +00:00
Jean-Marie Traissard
bd812b8f26
[elghinn] Specify exception we want to catch so we see if there are others
...
problems.
2008-05-03 01:30:05 +00:00
Yann Leboulanger
96a50f6c07
don't depend on python2.5 Fixes #3888
2008-04-27 18:11:34 +00:00
Yann Leboulanger
a3827fe5d0
new XEP-0115 implementation (version 1.5)
2008-04-20 22:58:47 +00:00