Commit Graph

307 Commits

Author SHA1 Message Date
Yann Leboulanger 07be0727de [Florob] show in roster and message window geolocalisation of a contact. Fixes #5485 2009-12-07 18:32:42 +01:00
Yann Leboulanger a7ba440cab announce windows 7 in os info 2009-11-26 23:32:53 +01:00
Alexander Cherniuk 6bf2246de5 A big portion of doc-string refactoring 2009-11-26 13:58:12 +02:00
Stephan Erb 234a6520dd Removed unused code. 2009-11-15 00:15:31 +01:00
Stephan Erb a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Stephan Erb 99e8487db9 Move compute_caps_hash from helpers to caps module. 2009-10-30 23:55:03 +01:00
Thibaut GIRKA 1c33d42158 Merge default to jingle 2009-10-29 10:19:58 +01:00
Yann Leboulanger ad02f1636f prevent traceback 2009-10-18 10:56:23 +02:00
Thibaut GIRKA ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Stephan Erb 5cea6334ef Move and rename xmpp_stringprep.py
It is more consistent to have this code closer to the xmpp protocol handling.
2009-10-08 18:24:21 +02:00
red-agent 3ef8557a8e Tiny style fixes 2009-10-06 23:26:22 +03:00
Yann Leboulanger 416d2caf05 [waldteufel] stop generating zombies when playing sound. Fixes #5308 2009-10-06 21:35:48 +02:00
Thibaut GIRKA 01d7be2d61 merge default branch to jingle 2009-09-29 20:49:40 +02:00
Yann Leboulanger 245c3f12d4 don't remove a file before renaming under windows because os.remove('test') will remove 'TEST' under window. Fixes #5279 2009-09-23 22:27:52 +02:00
Yann Leboulanger 40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02:00
Jonathan Schleifer f7014072a7 Remove all OS X-specific code from the default branch.
OS X support is still maintained in the osx_newbuildsys branch - and
only there.
2009-06-15 21:34:38 +02:00
Yann Leboulanger 2327600745 import xmpp only when needed in helpers.py so decode_string is loaded before. see #4764 2009-06-15 09:12:32 +02:00
Yann Leboulanger fd01f7aa4d [brubru] better sound file managment, Fixes #5016 2009-05-10 19:32:57 +00:00
Yann Leboulanger 52be3170c7 reorder import in common helpers. Fixes #4764 2009-04-27 11:27:42 +00:00
Yann Leboulanger 4c754a00ea add activity / mood in change status dialog. Fixes #4419 2009-04-12 18:13:37 +00:00
Yann Leboulanger dccf065418 better way to add http://. see #4857 2009-03-11 19:12:56 +00:00
Yann Leboulanger 1dd6ee0390 [Florob] add http:// to URLs before giving them to gnome-open. Fixes #4857 2009-03-11 17:48:34 +00:00
Yann Leboulanger 5834a2ae82 ability to block all contacts (from privacy list editor). Fixes #4831 2009-02-20 10:15:16 +00:00
Yann Leboulanger 521239377b option to disable sound when we are busy. Fixes #2256 2009-02-13 21:14:50 +00:00
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
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
Yann Leboulanger f1a2f0966d use jabber iconset when no iconset exists for a transport. fixes #3604 2007-12-20 19:43:24 +00:00
James Newton f995b3268e native gtk on osx seems to like to send file uri's like
'file://localhost/usr/bin/foo'. rip out the host and check the uri's for valid
before asking the user to send the files.
2007-11-19 15:53:16 +00:00
James Newton f1d3f85037 Fixed a bug with forcing autodetection of browser/mail during startup when the
config file already existed and had a different option choosen. Added in an
'Always use OS/X default applications' option for when running on OS/X. Changed
the custom defaults to use OS/X native applications.
2007-11-17 15:03:02 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Yann Leboulanger 025ef4f3eb [shivan] show nothing in status combobox when status is not unified for all globaly sync'ed accounts. see #3489 2007-10-14 19:08:29 +00:00
Yann Leboulanger df13453388 revert bad commit from [8817]. fixes #3443 2007-09-16 21:27:11 +00:00
Yann Leboulanger 29cc2d0939 add key shortcut to open history and information window. fixes #3233 2007-09-15 10:11:46 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 2419bd509c ability to load transport iconsets from ~/.gajim/iconsets/transports. Fixes #3390 2007-08-22 22:46:31 +00:00
Yann Leboulanger e906a096c9 [blarz] ability to load iconsets from ~/.gajim/iconsets. fixes #3339 2007-08-05 22:57:04 +00:00
Stephan Erb 8bbc23dfd6 * Use same height for all banners. Fixes #2770
* Show only one status line in chatwindows, indicate when it is shortened
2007-07-30 12:17:04 +00:00