Commit Graph

8065 Commits

Author SHA1 Message Date
Yann Leboulanger da398aa418 coding standards 2009-09-29 16:31:36 +02:00
Yann Leboulanger 4cfd56a69b add a workarround for backward compatibility about esession. see #4396 2009-10-01 22:17:19 +02:00
Yann Leboulanger 678e3807e9 [Mattj & Florob] fix canonicalize function to prevent having twice xmlns in the attributes. Fixes #4396 2009-10-01 19:13:52 +02:00
Yann Leboulanger c5b60e8df5 don't allow to check "enable e2e encryption" when enable_esessions is False. Fixes #5295 2009-10-01 09:51:10 +02:00
Yann Leboulanger c31d3e526a stop sending chatstates when remote server doesn't respond anymore. Don't acknoledge error message receipes. Fixes #4064 2009-10-01 09:41:46 +02:00
Yann Leboulanger 3802e01bba [Florob] fix module name for sha256. Fixes #5297 2009-10-01 08:26:08 +02:00
Yann Leboulanger a3e80d2c76 [Florob] handle new error code in groupchat. Fixes #5285 2009-09-30 17:21:58 +02:00
Yann Leboulanger 3afea608e2 use python sha and hmac built-in modules rather than those in python-crypto. Fixes #5294 2009-09-30 17:02:51 +02:00
Yann Leboulanger a9c7731cbb don't use same var for different things in the same function! Fixes #5235 2009-09-29 14:52:25 +02:00
Yann Leboulanger c2e15ae9d2 prevent traceback when closing single message window. Fixes #5292 2009-09-29 13:51:20 +02:00
Yann Leboulanger 4d8454a242 request bookmarks via XML if server announce it supports pubsub but doesn't answer in the next 30 seconds. Fixes #5198 2009-09-29 11:08:42 +02:00
Thibaut GIRKA 10a6b0683c Second typo corrected... I need to sleep... 2009-09-28 22:31:28 +02:00
Thibaut GIRKA b4d2227662 Fixed a typo ; Prepared tie breaking and content-info handling 2009-09-28 22:23:48 +02:00
red-agent c5b63d948d Fixed a bug with a raw commands 2009-09-28 08:20:24 +03:00
Thibaut GIRKA 85195e99ad workaround for psi, little fixes... 2009-09-27 22:56:09 +02:00
Yann Leboulanger a8cd67706b merge bug 4212 branch 2009-09-27 11:52:51 +02:00
red-agent 4112dcd538 Fixed the duplication of input history 2009-09-27 12:32:57 +03:00
Thibaut GIRKA e141d7875a Don't send audio/video data before session acceptance. 2009-09-26 23:07:09 +02:00
Thibaut GIRKA 5a1a36e348 Fix somes issues with content-add/content-accept/session-accept, and other things. 2009-09-26 21:55:43 +02:00
Benjamin Richter 7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00
Thibaut GIRKA b5c7519740 A little fix with content acceptance ; modified a bit JINGLE_DISCONNECTED 2009-09-26 14:14:58 +02:00
Yann Leboulanger db4f73f058 fix indentation 2009-09-26 13:16:48 +02:00
red-agent 36a3db5e29 Tiny code style corrections 2009-09-26 13:44:08 +03:00
Thibaut GIRKA 08b7f18f50 Fix content reject 2009-09-26 12:31:56 +02:00
Thibaut GIRKA 62d6f408c2 Merge the commits I've made yesterday with asterik's ones 2009-09-26 12:25:36 +02:00
Thibaut GIRKA 193f2613a9 Rewritten contentAddCB in order to ask the user about new contents 2009-09-26 12:22:41 +02:00
Yann Leboulanger a8eedfc781 ability to accept contents and not only session 2009-09-26 10:29:08 +02:00
Thibaut GIRKA 011f4fe142 Auto-accept contents we have created (it would make no sense to refuse it...) 2009-09-25 23:52:39 +02:00
Thibaut GIRKA a8bccebfb7 Added approve_content and decline_content methods.
A content has now to be accepted (user-side) before {content,session}-accept
2009-09-25 23:05:14 +02:00
Yann Leboulanger 5f70d6b78e use a str instance instead of a xmpp.JID instance 2009-09-25 20:41:22 +02:00
Yann Leboulanger 20755acedc fix typo 2009-09-25 20:40:53 +02:00
Thibaut GIRKA 77541f3e7f support for content-{add,reject,accept}, new helpers, and other few things 2009-09-25 19:32:13 +02:00
Benjamin Richter 568e1edd1e Improved handling of RTL nicknames in roster. Fixes #4293
If the number of connected resources is appended in parentheses,
the appropriate ltr or rtl mark is inserted before, so that the
writing direction at the end of the nickname matches the writing
direction of the whole displayed string as determined by
http://www.unicode.org/reports/tr9/#The_Paragraph_Level
2009-09-25 17:11:38 +02:00
Yann Leboulanger a051d1ec95 initialize var before they are used 2009-09-25 15:47:43 +02:00
Yann Leboulanger a57448d083 fix some missing things in video GUI 2009-09-25 15:29:22 +02:00
Yann Leboulanger 32965a948e new GUI to start audio and video sessions. TODO: ability to add/remove audio/video content to an existing session 2009-09-25 13:52:44 +02:00
red-agent cca6cfe17b Keep the code consistent 2009-09-24 01:28:35 +03: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 cb1fccca7c fix /join command to use the same account as the one we're connected in the current room. 2009-09-23 21:35:27 +02:00
Yann Leboulanger 70e145a827 fix traceback preventing showing ALT text of an image. Fixes #5247 2009-09-23 19:07:58 +02:00
Yann Leboulanger 4db1d2738c process links and latex in HTML messages. Fixes #5053, #4539 2009-09-23 19:04:12 +02:00
Yann Leboulanger e8e2b219ba add a interface.run() function to really start Interface 2009-09-23 18:54:35 +02:00
Yann Leboulanger 17f17267ea call gtk.gdk.window.focus() with current timestamp rather than 0. This fixes some WM issues. 2009-09-23 17:35:42 +02:00
Yann Leboulanger abba30b439 Totem now uses MPRIS API. Fixes #4705 2009-09-23 16:43:31 +02:00
Thibaut GIRKA d7560ed764 My last commit was useless... now terminate the session if the connection fails 2009-09-22 22:33:00 +02:00
Yann Leboulanger 40160ecdc2 ignore when dropping file on a contact that doesn't support file transfer. Fixes #4058 2009-09-22 08:21:01 +02:00
Yann Leboulanger 80e4d0a36d disable Ubuntu indicator support. see #4942, Fixes #5271 2009-09-21 21:36:04 +02:00
Yann Leboulanger 086469a594 [g.livid] fix xfce4 notifd usage with git version of notifyd. Fixes #5280 2009-09-21 21:31:40 +02:00
Yann Leboulanger 6124a60b8f don't fail when we get chat / normal messages from a room_jid. Fixes #5276 2009-09-21 21:22:57 +02:00
Thibaut GIRKA a4e019ee7e Last time, I removed something I shouldn't have... 2009-09-20 22:41:17 +02:00
Yann Leboulanger 40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02:00
Yann Leboulanger d89abc9195 prevent traceback when enabling Tune. Fixes #5277 2009-09-20 20:19:31 +02:00
Thibaut GIRKA c162780a58 coding standards, and other few things 2009-09-19 17:24:59 +02:00
Thibaut GIRKA 6b99db8980 merge default branch to jingle 2009-09-19 16:35:47 +02:00
Thibaut GIRKA 5503c80e2a fix some erros from my last commit, fix conditions for session initating and acceptance 2009-09-18 20:17:35 +02:00
red-agent 89bfa782dc Gajim's build system is a little bit funky. Fixes 5274 2009-09-18 18:45:08 +03:00
red-agent 8ae6679fe8 Added the new command system to the build system 2009-09-18 17:32:27 +03:00
Thibaut GIRKA bd9d793ad8 send messages to the gui, wait for codecs, and other things
JingleSession now sends messages about errors or session terminating to the GUI.
Another thing is that it'll wait for all transports candidates and all codecs to be ready before
starting or accepting a session. This is required by video, which is only missing a GUI. :)
2009-09-17 23:36:26 +02:00
red-agent 030738db2d Merge the new command system in 2009-09-17 23:22:48 +03:00
Yann Leboulanger f5b1c2dca7 improve GUI for jnigle 2009-09-17 22:21:06 +02:00
red-agent e0e4dd6c31 A bunch of fixes for the command completion 2009-09-17 19:06:38 +03:00
Yann Leboulanger 12baddbdc3 start of GUI stuff for VOIP 2009-09-17 14:48:15 +02:00
Yann Leboulanger b6481d54ea [Jonathan Michalon] Make latex images theme aware. 2009-09-17 13:54:20 +02:00
red-agent 39eef45bca Command auto-completion along with some fixes 2009-09-17 13:25:25 +03:00
red-agent 90d378941b Fixed arguments check in raw commands 2009-09-17 11:36:47 +03:00
red-agent 91e28d0ed9 Removed the command that was accidently commited 2009-09-17 11:24:58 +03:00
red-agent 684662c15d Few fixes for the command system 2009-09-17 09:03:57 +03:00
red-agent 1a327414ca Moderate refactoring and parser/adapter enhancements 2009-09-17 04:38:39 +03:00
Thibaut GIRKA 163b01e113 New class for video sessions, added an end_session method, and minor changes 2009-09-16 22:35:11 +02:00
Thibaut GIRKA 8b4cd1b368 Fixed two more or less fatal mistakes from my last commit 2009-09-16 21:21:08 +02:00
Yann Leboulanger 11c7de6c34 coding standards 2009-09-16 20:41:12 +02:00
Yann Leboulanger 4e4a91dbe1 prevent traceback. Fixes #5269 2009-09-16 16:14:03 +02:00
Thibaut GIRKA af44ee0840 Moved things to JingleRTPContent, start pipeline earlier
Some methods of JingleVoIPContent have been moved to JingleRTPContent, in prevision of a video content class.

The pipeline now starts in setupStream, and the stream's direction is changed when the stream is ready.
2009-09-16 13:55:54 +02:00
red-agent 4dae0bde44 Removed unused code 2009-09-15 23:40:29 +03:00
Yann Leboulanger 709dba715a global option alwaysauth become a per-account autoauth option. Fixes #5264 2009-09-15 22:26:42 +02:00
red-agent 6630d88c08 Fixed a bug in the nick command 2009-09-15 22:59:48 +03:00
red-agent 10a0867e59 Enhanced command arguments parser/adapter 2009-09-15 22:57:01 +03:00
Yann Leboulanger ebe93d25ff fix memory leak with gtkspell. Fixed #2025 2009-09-15 21:19:38 +02:00
Yann Leboulanger da29844342 [Dicson] fix typo. Fixes #5267 2009-09-15 19:49:56 +02:00
Yann Leboulanger 651e801334 correctly change the resource of a control. Fixes #5261 2009-09-15 17:41:47 +02:00
red-agent 8a72870a6d More code refactoring 2009-09-15 17:46:02 +03:00
red-agent c194b92136 Made command options refactoring along with some fixes 2009-09-15 03:33:02 +03:00
red-agent a264608b29 Slighlty changed command arguments parser/adapter internal logic
Made parser to preserve the order of options, so I can use it later to provide
some enhancments for the adapter.
2009-09-15 01:20:49 +03:00
red-agent 7bec311cfb Made some cosmetic API changes to the command system 2009-09-14 22:04:49 +03:00
red-agent 0a1ef72c0d Removed unused code from the Dispatcher 2009-09-13 22:11:40 +03:00
red-agent 620d102ac5 Fixed a typo 2009-09-13 21:19:10 +03:00
red-agent 6a20a33b70 Dropped in an implementation of standard commands 2009-09-13 17:43:44 +03:00
red-agent 880952b5c3 Few more fixes for the command system 2009-09-13 16:40:33 +03:00
Yann Leboulanger 949dbe6e38 better focus behavior when adding/removing a new proxy profile. Fixes #4017 2009-09-13 11:21:23 +02:00
Thibaut GIRKA 32ad59aa42 jingle: move from the old farsight to farsight2,
better compliance to the last version of XEP 0166, 0167 and 0176
2009-09-13 11:02:49 +02:00
red-agent cae86299e4 Rolled in a bunch of fixes for the command system 2009-09-13 00:22:17 +03:00
red-agent 981572f79d Improved error handling in the command system 2009-09-12 23:22:50 +03:00
red-agent ae0f32d922 Dropped in the brand new and shiny command system 2009-09-12 16:51:21 +03:00
red-agent c38e7050f5 Swept everything related to commands 2009-09-11 04:54:26 +03:00
Yann Leboulanger faf3a1fe6f add a reconnect menuitem in groupchat context menu when it's doconnected. Fixes #4004 2009-09-11 00:12:36 +02:00
Yann Leboulanger a7c3451e1d Show a confirmation dialog first time we block a contact. Fixes #3646 2009-09-11 00:01:56 +02:00
Yann Leboulanger 17e03edfd7 show confirmation dialog first time we send custom status. see #3646 2009-09-10 22:12:52 +02:00
Yann Leboulanger 0ea6544c26 show notification for bad GPG pass instead of an error dialog 2009-09-10 18:30:26 +02:00
Yann Leboulanger 7d7ca4d4ae always expand lines in disco window, increase default disco window width. Fixes #3877 2009-09-10 13:54:44 +02:00
Yann Leboulanger 8b528e512f move change_awn_icon_status from roster_window.py to gajim.py. see #3643 2009-09-09 13:51:33 +02:00
Yann Leboulanger 44e98585ed move music track listener things from roster_window.py to gajim.py. see #3643 2009-09-09 13:26:53 +02:00
Yann Leboulanger 377a777823 always reply to incoming resource. see #5227 2009-09-09 10:38:26 +02:00
Yann Leboulanger bad4297952 when unregistering an account, wait server answer before closing connection. 2009-09-09 10:13:03 +02:00
Yann Leboulanger 94f3db54ec merge fix from trunk 2009-09-08 21:45:18 +02:00
Yann Leboulanger ff49ce0f0d fix typo. Fixes #5259 2009-09-08 20:07:29 +02:00
Yann Leboulanger 1f7b19180d merge default branch to jingle 2009-09-08 12:01:09 +02:00
Yann Leboulanger e4d06f4035 [red-agent] don't reconnect to groupchat when we are disconnected. Fixes #5257 2009-09-08 07:13:49 +02:00
Benjamin Richter c3d5c8cca2 Make fuzzyclock code more concise.
Also use % formatting instead of string replace.
Translation files updated accordingly.
2009-09-07 20:23:35 +02:00
Yann Leboulanger 378cdaeaf0 [red-agent] autoreconnect to MUC automatically. Fixes #5257 2009-09-07 22:27:13 +02:00
Yann Leboulanger 815255d317 show Activated in ACE only for boolean options 2009-09-07 21:07:12 +02:00
Yann Leboulanger b8f0732de7 get correctly parent node when browsing pubsub. Fixes #3438 2009-09-06 20:59:42 +02:00
Yann Leboulanger 3f366db009 fix log in pubsub.py 2009-09-05 21:35:14 +02:00
Yann Leboulanger bb2637b95c prevent a traceback when upgrading 2009-09-05 18:19:19 +02:00
Yann Leboulanger 08fe28ce20 when changing hpaned position in a groupchat, move all hapned in all groupchats. see #5252 2009-09-04 22:34:35 +02:00
Yann Leboulanger bbb75bcdf1 clean spell languages list only once. Fixes #5228 2009-09-04 21:02:55 +02:00
Yann Leboulanger c5e447fab8 ability to set priority via gajim-remote. see #3345 2009-09-03 23:18:49 +02:00
Yann Leboulanger 91b7004dc9 BaseException.message has been deprecated as of Python 2.6 2009-09-03 22:38:40 +02:00
Yann Leboulanger 682d6f838a add account combobox to join groupchat dialog when we try to join a groupchat from another chat / groupchat. Fixes #3344 2009-09-02 23:45:16 +02:00
Yann Leboulanger a2ca911d80 when a JID is invalid in member / admin / ... list in MUC configuration, just ignore this JID and not all others. Fixes #5241 2009-08-31 23:04:54 +02:00
Yann Leboulanger 9345ddfad5 connect to server even if it doesn't support disco 2009-08-31 21:57:01 +02:00
Yann Leboulanger b3704d37c5 show list-multi in a treeview when there are too much options. Fixes #3046 2009-08-31 21:45:52 +02:00
Yann Leboulanger 3392e493ab reset shown unread message after database has been updated 2009-08-31 00:11:57 +02:00
Yann Leboulanger 6390fe9872 fix error when inserting unread message 2009-08-30 23:36:36 +02:00
Yann Leboulanger 893e6bcfd6 Don't show errors as status change in history viewer. Fixes #2881 2009-08-30 23:20:13 +02:00
Yann Leboulanger 23dbb00d2d show only once unread messages at startup when we have twice the same contact in 2 accounts. Fixes #2921 2009-08-30 22:48:45 +02:00
Yann Leboulanger 306fe18521 fix typo. fix #5233 2009-08-30 12:03:29 +02:00
Yann Leboulanger cac215909b disable RST generator only for GPG encrypted messages, not E2E 2009-08-30 11:58:41 +02:00
Yann Leboulanger da799bcb59 add ad hoc commands for zeroconf. Fixes #2819 2009-08-30 00:57:49 +02:00
Yann Leboulanger 1e76981322 prevent traceback when showing a warning before roster is built 2009-08-28 20:42:48 +02:00
Yann Leboulanger 3d6ac046f2 don't prevent removing a sevret key when none in available. Fixes #1210 2009-08-28 15:27:25 +02:00
Yann Leboulanger 56e5629877 always disable autoaway when we go offline. Fixes #5218 2009-08-28 15:06:35 +02:00
Yann Leboulanger abe9eb8b7d [Kanor] Fix typo. Fixes #5243 2009-08-28 13:44:03 +02:00
Yann Leboulanger 54fa89af23 correctly detect vcard support of server. Fixes #5233 2009-08-28 13:41:36 +02:00
Yann Leboulanger 3a09185cb9 [avm] limit the number of emoticons / latex formulas to 100 per message. Fixes #5129 2009-08-28 13:32:47 +02:00
Yann Leboulanger d0da7cb14e don't move selection when new text arrives and selection goes until the end of conversation textview. Fixes #5223 2009-08-28 13:23:12 +02:00
Yann Leboulanger f71335be9a correctly catch not working D-Bus. Fixes #4740 2009-08-28 12:09:18 +02:00
Yann Leboulanger de938ee841 fix various problems when changing our nick while we have encrypted pm. Fixes #5234 2009-08-28 11:08:51 +02:00
Yann Leboulanger 4438154eb0 prevent traceback when changing nick 2009-08-27 20:15:54 +02:00
Yann Leboulanger 88fe4f8e36 prevent traceback when there are unread message on startup 2009-08-27 20:09:57 +02:00
Yann Leboulanger 9ada82a3eb prevent GTK warning 2009-08-27 19:56:11 +02:00
Yann Leboulanger 91018930ee [avm] fix decode error in latex errors. Fixes #4744 2009-08-27 19:23:19 +02:00
Yann Leboulanger 982db9636c add 2 advanced option to configure how many log lines we want when entering a room. Fixes #5237 2009-08-27 18:08:14 +02:00
Yann Leboulanger 062add136e prevent traceback (fix missing import) 2009-08-26 21:57:54 +02:00
Yann Leboulanger 59384fa689 don't depend on GTK2.14. Fixes #5213 2009-08-07 23:43:19 +02:00
Yann Leboulanger 3c8e88b0b5 [Waldteufel] fix translation comment about fuzzyclock and fix translations 2009-08-07 22:26:55 +02:00
Yann Leboulanger 43a4ebc583 make atom pubsub widget translated 2009-08-06 19:20:06 +02:00
Yann Leboulanger 8536e99738 fix closing of AtomPubsub window. Fixes #5210 2009-08-06 19:17:31 +02:00
Yann Leboulanger b9d4611fda remove 3 duplicated lines 2009-08-06 18:35:52 +02:00
Yann Leboulanger ca0b16f62b don't take into account style of not realized widgets. Fixes #5211 2009-08-06 18:34:53 +02:00
Yann Leboulanger 1f760de1ff prevent traceback. Fixes #5202 2009-08-06 00:07:23 +02:00