Commit Graph

2884 Commits

Author SHA1 Message Date
Yann Leboulanger ff2a02269d request privacy rules and metacontacts only once at startup 2009-08-04 00:49:56 +02:00
Yann Leboulanger 1f32083334 fix XML -> PubSub transition for bookmarks when bookmarks node doesn't exist 2009-08-04 00:36:28 +02:00
Yann Leboulanger f501c2c4fe prevent traceback when a room is destroyed. Fixes #5194 2009-08-01 18:28:25 +02:00
Yann Leboulanger 2ffd6cbcb8 store bookmarks in both pubsub and xml, and copy those from xml to pubsub on startup 2009-07-31 17:11:55 +02:00
Yann Leboulanger 5b62a6fbbd add publish-options to bookmark storage if server supports it 2009-07-31 15:50:11 +02:00
Yann Leboulanger 4a0e5bc2b3 [Link Mauve & I] store bookmarks in pubsub if server supports that. 2009-07-31 14:52:01 +02:00
Yann Leboulanger 66254bc47f discover server feature in first when connecting 2009-07-31 13:47:47 +02:00
Yann Leboulanger ec71c7d7c2 do not add 127.* IPs when sending file 2009-07-31 10:57:48 +02:00
Yann Leboulanger e273fa4ab8 remove old FIXME, don't crash when we receive badly encoded char via zeroconf. Fixes #5178 2009-07-29 12:09:02 +02:00
Yann Leboulanger 1c7b265c9c better file transfer error handling. Fixes #5064 2009-07-28 23:13:34 +02:00
Yann Leboulanger 8622a3cca7 prevent traceback when we get an empty roster item exchange message 2009-07-22 10:48:28 +02:00
Yann Leboulanger 7966126c3b correct log for zeroconf_avahi.py 2009-07-22 09:49:56 +02:00
Yann Leboulanger 61bdb67859 coding standards 2009-07-22 09:30:24 +02:00
Yann Leboulanger d408610425 copy list before iterating on it in case we modify it. 2009-07-21 00:13:55 +02:00
Yann Leboulanger cd9eed6277 stupid me, calling .keys() on a dict ... 2009-07-20 23:51:17 +02:00
Yann Leboulanger e40a3b6272 prevent traceback when we remove contacts in iter_contacts() loop. 2009-07-20 23:47:59 +02:00
Anaël Verrier 6eba5f9946 * fixed a bug (when we try to remove a jid from roster window) 2009-07-20 20:09:39 +02:00
Yann Leboulanger 19e302b918 bosh port must now be included in bosh URI 2009-07-17 11:20:28 +02:00
Yann Leboulanger 235c4d9ab8 * ask only once at a time to change our nickname in a room in case of conflict
* add a checkbutton to use the entered nickname by default without asking anymore. Fixes #5141
2009-07-17 09:53:15 +02:00
Yann Leboulanger 5649552298 import things differently in xmpp so it works with python26. Fixes #5168 2009-07-16 17:44:45 +02:00
Yann Leboulanger a478cf863b prevent sending several times the same message in zeroconf. 2009-07-16 17:25:47 +02:00
Yann Leboulanger d51102112d fix sending message to zeroconf from XML console. Fixes #5050 2009-07-16 17:23:05 +02:00
Yann Leboulanger ba697a583f fix missing var in zeroconf 2009-07-16 17:22:34 +02:00
Yann Leboulanger 938593952d detect and send all our local IPs from local DNS. Fixes #4249 2009-07-16 15:29:07 +02:00
Yann Leboulanger 50cf012b75 don't remove occupant from room roster when we try to change our nick to the occupant's nick. Fixes #5120 2009-07-16 14:53:14 +02:00
Yann Leboulanger cc154c2bf2 prevent traceback when kwalletcli is not available. see #5153 2009-07-16 12:27:53 +02:00
Yann Leboulanger cfc0c2fe5c [mirabilos] save password in kwallet is available. Fixes #5153 2009-07-15 21:02:47 +02:00
Anaël Verrier 0497a1bedf * do not stock anymore groupchat presence into NonBlockingRoster. Fixes #5160 2009-07-14 18:48:24 +02:00
Yann Leboulanger b8e80c2245 fix error with bosh 2009-07-13 22:23:14 +02:00
Yann Leboulanger 4a469d2ae6 add another way to get errno from exception 2009-07-13 22:14:24 +02:00
Yann Leboulanger 53c31a53b6 session packet are not mendatory during login. Send it only when requested by server. Fixes #5088 2009-07-13 18:32:16 +02:00
Yann Leboulanger c4a720aa89 handle ZeroReturnError raised by PyOpenSSL 2009-07-13 17:47:20 +02:00
Yann Leboulanger 2bd1e1410d get errornum correctly in SSLWrapperError exceptions 2009-07-13 17:44:47 +02:00
Yann Leboulanger 711dfce03c better way to detect pyopenssl usage 2009-07-13 17:44:12 +02:00
Anaël Verrier 88065eb34f * fixed some problems with SQL escapement for roster versioning. For example when we have double quote or another character like this. Fixes #5159
* some code refactoring for roster versioning in common/logger.py
* added a docstring and some comments in common/logger.py
2009-07-13 15:21:35 +02:00
Yann Leboulanger 15b3ba35b1 restore metacontct correctly when we connect to server and we already have contacts in roster (stored locally). Fixes #5156 2009-07-12 13:33:29 +02:00
Yann Leboulanger 7bfcf169e4 fix zeroconf 2009-07-10 16:15:09 +02:00
Yann Leboulanger 72ed0a7339 fix merge error. Fixes #5154 2009-07-10 15:48:46 +02:00
Yann Leboulanger 278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Anaël Verrier 3b4b086bdf * the good version is not 0.12.1.6-hg but 0.12.3.1-dev 2009-07-09 14:34:51 +02:00
Anaël Verrier c66aee5b9d * better way to propagate roster at start 2009-07-09 14:33:18 +02:00
Yann Leboulanger 016ccb74b1 handle jid errors 2009-07-08 21:41:40 +02:00
Yann Leboulanger 676bda8281 get_full_jid_from_iq is in helpers. Fixes #5146 2009-07-07 19:17:28 +02:00
Yann Leboulanger c54194d844 parse_jid is in helpers 2009-07-07 16:56:04 +02:00
Yann Leboulanger e1890c3938 fix some bugs with non-normalized jids 2009-07-07 16:34:46 +02:00
Yann Leboulanger 0de2e8522d ability to send contacts via DnD to another contact. Fixes #378 2009-07-07 16:28:26 +02:00
Anaël Verrier 5e2d6efd0b * fixed a bug when we remove a contact from our contact list (before we did not remove contact from roster_group table) 2009-07-07 15:14:56 +02:00
Yann Leboulanger e42bb5823f don't traceback when we receive pep info from muc 2009-07-07 13:41:05 +02:00
Anaël Verrier 23394732c2 * fixed a bug when we have a groupchat minimized in the roster 2009-07-06 22:34:24 +02:00
Yann Leboulanger 765336b4fb when sending file, try to bind ipv6 first. see #1969 2009-07-05 11:57:12 +02:00
Anaël Verrier 6c56dd173b * now there is no more sparkling when we update the RosterWindow with the roster received from the server (when server does not handle roster versioning or when it resends the whole roster) 2009-06-30 17:06:17 +02:00
Anaël Verrier 4d10bdcf6f * In order to allow the viewing of the roster when we are offline (and some other cool stuffs), with and without roster versioning, now we load roster when RosterWindow is created (at gajim startup). Fixes #3190 2009-06-30 11:46:27 +02:00
Yann Leboulanger 77c5a8d36d finish previous commit, and change to a more generic name 2009-06-29 23:10:30 +02:00
Jonathan Schleifer 45fbcfaa01 Change the -svn suffix to -hg. 2009-06-29 23:02:03 +02:00
Anaël Verrier 5e4fb8fddb * in order to permit roster loading at gajim startup we need to save all roster pushs (even if it's not for versioning) 2009-06-29 15:49:46 +02:00
Yann Leboulanger c739465890 ignore <iq> without an ID. They are required by RFC. Fixes #5122 2009-06-29 07:57:10 +02:00
Anaël Verrier ff2be61483 * clean roster tables when we remove an account 2009-06-28 20:43:18 +02:00
Anaël Verrier b3fbd59866 * added 'ask' support
* fixed a bug (when a contact does not have a name)
2009-06-27 20:54:49 +02:00
Anaël Verrier d347b79c38 * added a method to load roster from DB
* now we load roster from DB when we receive an iq result for the roster without any query
* added a "force" argument to NonBlockingRoster.getRoster(), to force the return of the instance
2009-06-27 17:56:04 +02:00
Yann Leboulanger fda322706b [Spike411] Facebook iconset for Gajim. A great thanks to Jakub Szypulka for is iconset: http://cubestuff.wordpress.com/2008/05/21/facebook-goes-tango/ 2009-06-27 09:50:50 +02:00
Yann Leboulanger f2e214a033 use helper function 2009-06-23 22:24:39 +02:00
Anaël Verrier 0a3d26e5d4 * added another table to handle roster group
* we now handle roster push and roster reception
* changed version number in src/common/defs.py
2009-06-23 19:29:25 +02:00
Mateusz Biliński 38fa0be12a [roidelapluie] Added initial support for Roster Item Exchange (XEP-0144) based on ticket #378. Only handling NS_ROSTERX 'set' operations is supported and tested as of now. 2009-06-21 03:43:57 +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
Jonathan Schleifer 086d031374 Remove spaces at EOL. 2009-06-15 21:00:14 +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
Anaël Verrier 9133960fbc * added one table in logs.db to save roster
* added "roster_version" in configuration to save roster version for the account
* added "ver" attribute when gajim requests the roster
2009-06-02 22:48:32 +02:00
Yann Leboulanger 5a72c9b3ac fix disconnection of client_zeroconf. Fixes #5049 2009-05-29 08:59:08 +02:00
Yann Leboulanger 8a70c5a679 no need of IF NOT EXISTS when creating the database 2009-05-27 09:50:12 +02:00
Yann Leboulanger 05e63acc22 clean gpg call when we list keys. Fixes #5043 2009-05-22 19:44:43 +02:00
Yann Leboulanger 731c8f691f prevent traceback when receiving a disco info while we are disconnected. Fixes #5042 2009-05-21 21:12:11 +02:00
Yann Leboulanger ffd82a69a4 prevent traceback when we receive a presence but we are no more connected. Fixes #5028 2009-05-20 10:33:19 +02:00
Yann Leboulanger c48f4c409f prevent traceback when negociating E2E. see #5015 2009-05-17 17:59:00 +02:00
Yann Leboulanger 6672075683 prevent traceback when receiving wrong E2E negotiation stanza. Fixes #5015 2009-05-11 11:48:32 +00:00
Yann Leboulanger fd01f7aa4d [brubru] better sound file managment, Fixes #5016 2009-05-10 19:32:57 +00:00
Yann Leboulanger 23c6c708cd except: -> except Exception: 2009-05-07 11:30:46 +00:00
Yann Leboulanger d71e82921e fix an unhandled traceback under windows 2009-05-07 11:18:48 +00:00
Yann Leboulanger f8267ad047 missing commit. see #4643 2009-05-01 09:40:03 +00:00
Yann Leboulanger e6aea43665 When saving last_status_msg_*, save also pep info 2009-05-01 09:33:50 +00:00
Yann Leboulanger 8182363b76 missing options for ping alive. see #4643 2009-05-01 09:20:26 +00:00
Yann Leboulanger a7f0022bb4 Add a second timeout to differenciate keepalive and ping alive packets. We now wait 55s before sending a keepalive (whitespace packet) and 2 minutes before sendind a xmpp ping (and then we wait for 1min the answer before reconnecting) Fixes #4643 2009-05-01 09:18:21 +00:00
Yann Leboulanger 38b4e54011 ignore invalid presences 2009-04-30 15:20:37 +00:00
Yann Leboulanger e4029dddd6 prevent traceback when identifying stream error. Fixes #4946 2009-04-30 08:32:32 +00:00
Yann Leboulanger 1a8def3341 prevent traceback when we get a presence from an invalid JID 2009-04-29 17:34:27 +00:00
Yann Leboulanger 533e36c22c close filtransfers when we get an offline presence, but only for this resource. Fixes #4980 2009-04-29 07:46:24 +00:00
Yann Leboulanger 52be3170c7 reorder import in common helpers. Fixes #4764 2009-04-27 11:27:42 +00:00
Yann Leboulanger 665016ccc0 don't overwrite stanza ID in zeroconf so that we reply with correct ID to requests. Thanks Mattj 2009-04-25 16:29:49 +00:00
Yann Leboulanger 6ce94752d4 add a pubsub_supported variable in connection 2009-04-22 14:24:04 +00:00
Yann Leboulanger 8ccba78a15 [tpatnoe] don't add a to attribut to roster pushes if we don't get a from. Fixes #4978 2009-04-22 08:39:10 +00:00
Yann Leboulanger 44e0ec913a save pep things (activity and mood) in preset status messages. 2009-04-13 21:00:33 +00:00
Yann Leboulanger 84b65054b1 [premysl.vyhnal] optimize get_days_with_logs(). Fixes #4964 2009-04-13 09:05:22 +00:00
Yann Leboulanger 4c754a00ea add activity / mood in change status dialog. Fixes #4419 2009-04-12 18:13:37 +00:00
Yann Leboulanger f24b92cfc5 missing option to save if we want the warning when closing message windows with several tabs 2009-04-08 16:43:34 +00:00
Yann Leboulanger dc69e49db6 don't send NS_MUX <x> element when we change nickname in room 2009-04-08 16:38:28 +00:00
Yann Leboulanger d37d1e973f remove latest \n in bosh received messages (one is added when we send) 2009-04-07 17:12:35 +00:00
Yann Leboulanger 8514e51675 factorize send_file action in chat / groupchat / private chat. see #3948 2009-04-07 17:07:04 +00:00
Yann Leboulanger a6f62ac7c6 ignore port in bosh URL, it's entered separetly. Take into account proxy username when using bosh 2009-04-06 14:05:07 +00:00
Yann Leboulanger 1c336ede9f add advanced option to ask offline status on connection. Fixes #3597 2009-04-06 10:06:26 +00:00
Yann Leboulanger e0f0871ea6 [ken.vandine] add indicator support. Fixes #4942 2009-04-04 05:06:46 +00:00
Yann Leboulanger 9bc7c4aa95 add missing var to connection_zeroconf.py 2009-03-25 06:56:39 +00:00