Commit Graph

337 Commits

Author SHA1 Message Date
Yann Leboulanger 8787adf725 add a global proxy option that will apply to all account that don't have a proxy configured. Fixes #7023 2011-11-10 20:37:48 +01:00
Yann Leboulanger 4c66686f53 execute commands without use_shell=True to prevent remote code execution, except for commands configured in triggers plugin (configured by user itself). Fixes #7031 2011-11-08 22:41:07 +01:00
Jefry Lagrange d5ffbf8834 include ibb and bytestream, jingle transports in feature disco 2011-07-27 16:47:55 -04:00
Yann Leboulanger b47248f09d merge from trunk 2011-06-20 23:03:06 +02:00
Yann Leboulanger d598cbb041 remove old way of doing advanced notification. 2011-06-13 23:06:43 +02:00
Yann Leboulanger 225f74f0b8 run xdg-open instead of webbrowser when opening files. Fixes #5751 2011-05-24 22:43:42 +02:00
Yann Leboulanger 7af87739bc use webbrowser module to open uri instead of using popen. Fixes #5751 2011-04-19 14:36:22 +02:00
Yann Leboulanger 26c9da414e [Zhihao Yuan] Fallback to OSS when no soundplayer found 2011-04-12 16:36:49 +02:00
Yann Leboulanger c79528f646 [kepi] ability to use subkeys. Fixes #6051 2011-03-26 22:35:13 +01:00
Yann Leboulanger 75f32f538b fix initializing a variable 2011-01-09 22:11:08 +01:00
Denis Fomin bd3d4f60a0 coding style 2011-01-03 23:08:13 +03:00
Denis Fomin a8fe65ab95 Added AgiliaLinux to known distributions. Fix #6033 2010-11-16 17:12:47 +03:00
Yann Leboulanger 1048db503e handle captcha images when registering an account 2010-10-26 00:10:25 +02:00
Yann Leboulanger 3e2bfd67a3 use xdg-open if available. Thanks to polymorphm forthe initial patch. Fixes #5874 2010-09-08 15:25:36 +02:00
Yann Leboulanger a3863703f0 merge from trunk 2010-08-16 17:32:23 +02:00
Yann Leboulanger effa7cedfb correctly prep JID: "@server" is not a valid JID 2010-08-10 16:06:41 +02:00
Zhenchao Li 4583482246 add namespace for XTLS 2010-07-19 14:21:01 +08:00
Zhenchao Li 01c1465dfb add namespace for jingle file transfer
add jingle FT to gajim.gajim_optional_features
2010-06-01 15:09:42 +08:00
Alexander Cherniuk d359879c2c Reflect recent changes in translation 2010-04-03 20:49:31 +03:00
Alexander Cherniuk 918b8d5c32 Disambiguation of some words to translate. Thanks to mako. Fixes #5686 2010-04-03 14:38:12 +03:00
Yann Leboulanger 50f1567bc8 check we have a cached vcard before looking in it. Fixes #5670 2010-04-01 11:28:21 +02:00
Yann Leboulanger 2be53c4aac update my copyright to 2010 2010-03-11 16:52:36 +01:00
Alexander Cherniuk c558a6751c Fixed the missing import 2010-03-09 14:15:54 +02:00
Yann Leboulanger 708d94a310 fix adding a new contact. Fixes #5602 2010-02-11 18:50:56 +01:00
Éric Araujo fedd7dc8e2 convert tabs to spaces in source code thanks to reindent.py
holy diff batman!
2010-02-08 15:08:40 +01:00
Yann Leboulanger 3e777ea8f1 use and create files in folders using XDG standards. Fixes #2149 2010-02-04 20:08:30 +01:00
Yann Leboulanger ebf9407c5d improve subscription request message, ability to save it. Fixes #2176 2010-01-27 17:23:37 +01:00
Stephan Erb f52532f6f0 Merge local changes. 2009-12-10 20:08:09 +01:00
Stephan Erb e9caf06992 Split common/caps.py. We now have common/protocol/ to contain XMPP connection related classes.
Plan is to move our ConnectionX classess to the protocol package one by one. Each move should be more than a simple copy paste. It should be preceeded by cleanups and the like.
2009-12-10 20:06:46 +01:00
Yann Leboulanger 2a944e5404 ability to get address / location from geoclue and send it via PEP 2009-12-07 23:16:30 +01:00
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