Commit graph

270 commits

Author SHA1 Message Date
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
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
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
Stephan Erb
e95a9fa5ef Fix indentation. 2008-04-04 09:51:49 +00:00
Yann Leboulanger
1fd13ae4fa fix call to Popen() 2008-03-10 22:11:43 +00:00
Yann Leboulanger
7f639f145d Use subprocess instead of Popen2. fixes #3369 2008-03-10 13:27:31 +00:00
Yann Leboulanger
19e594f919 [Merwok] use os.pathsep to know the PATH environment separator 2008-02-17 16:01:44 +00:00
Yann Leboulanger
e93d287c5b [TuX] better uname call 2008-01-30 21:31:19 +00:00
Yann Leboulanger
58210daf44 arch linux file /etc/arch-release doesn't contain version number 2008-01-30 21:29:55 +00:00
Stephan Erb
30ad68a26c Backport some fixes to zeroconf: don't fail on special characters, don't allow gpg usage when it is not secure or even possible
Be more verbose when there is a key missmatch.

Mind that presence in zeroconf are not signed, gpg keys have to be assigned manually therefore.
2007-12-31 01:19:08 +00:00
Stephan Erb
6fdd7c0f88 Rework GPG behaviour:
Only encrypt when the receiver is trusted. You have to sign its key or it has to be signed by someone you trust. Fixes #109

Make checkbox insensitive when GPG is disabled on an account (or no passphrase given).

Auto assign trusted keys on received presence. Deny encryption on missmatch of assigned key and signing key. Fixes #3376

Do not disable encrypted when receiving an unencrypted message. Print whether a received message was encrypted or not.

TODO: Remove togglebutton, its useless now
2007-12-29 23:28:27 +00:00
Jean-Marie Traissard
314a52708e CodingStandards : No space in indentation 2007-12-27 18:58:07 +00:00