Commit Graph

784 Commits

Author SHA1 Message Date
Stephan Erb 06129f45ef Let contact instances know their corresponding account.
contact.account and gc_contact.account contains the account name of the owning account. There is still code around in many placed which tries to workaround this missing information. Such code has to be migrated on per-need basis.
2009-11-05 15:57:43 +01:00
Yann Leboulanger a75fba495b better error message 2009-11-01 12:40:29 +01:00
Yann Leboulanger 48c82ae7fa [Mattj] improve join groupchat behaviour. Fixes #5383 2009-10-31 19:35:46 +01:00
Yann Leboulanger 4ae64ff6e6 ability to configure out/inmsgtxt color in preference window. Fixes #5372 2009-10-31 19:03:03 +01:00
Yann Leboulanger fcafab60a7 merge jingle branch to default branche 2009-10-29 11:55:05 +01:00
Yann Leboulanger f550144530 switch from gtk.Tooltips to gtk.Tooltip. Fixes #3471 2009-10-29 11:35:22 +01:00
Thibaut GIRKA 1c33d42158 Merge default to jingle 2009-10-29 10:19:58 +01:00
Yann Leboulanger 0aa8856b6c new TimeoutDialog class: to be derivated for dialogs that need a timeout.
Resource conflict dialog has now a timeout. Fixes #4590
2009-10-20 11:20:11 +02:00
Stephan Erb 2ccaf5b2b4 Rename advanced.py to advanced_configuration_window.py 2009-10-17 20:28:38 +02:00
Thibaut GIRKA ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Yann Leboulanger f8654b95b4 stop countdown in change status dialog when we past something. Fixes #5324 2009-10-16 16:20:58 +02:00
Yann Leboulanger 2472a9556d support XEP-0016 (privacy lists) "block all" feature. Fixes #4552 2009-10-16 15:58:21 +02:00
Yann Leboulanger a6a9a647b2 add a checkbutton in join groupchat dialog to decide if we want to bookmark the room. Fixes #5245 2009-10-05 15:29:37 +02:00
Thibaut GIRKA b2b8ac4b76 Connect only if user accepts, move jingle detection to 'update_toolbar'
This allows jingle availability to be updated if contact sign in/out.
This patch will also wait for user acceptance before connecting.
This will, among other things, ensure that audio/video state won't be set to
JINGLE_STATE_CONNECTING while the connection is already up.
2009-10-03 22:40:12 +02:00
Yann Leboulanger 93e9d72dd5 don't show RIE dialog when we already have all proposed contacts. Fixes #5299 2009-10-02 17:05:04 +02:00
Thibaut GIRKA 01d7be2d61 merge default branch to jingle 2009-09-29 20:49:40 +02:00
Yann Leboulanger c2e15ae9d2 prevent traceback when closing single message window. Fixes #5292 2009-09-29 13:51:20 +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
Thibaut GIRKA 08b7f18f50 Fix content reject 2009-09-26 12:31:56 +02:00
Yann Leboulanger a8eedfc781 ability to accept contents and not only session 2009-09-26 10:29:08 +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
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 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
Yann Leboulanger 12baddbdc3 start of GUI stuff for VOIP 2009-09-17 14:48:15 +02:00
Yann Leboulanger 4e4a91dbe1 prevent traceback. Fixes #5269 2009-09-16 16:14:03 +02:00
Yann Leboulanger 1f7b19180d merge default branch to jingle 2009-09-08 12:01:09 +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 1e76981322 prevent traceback when showing a warning before roster is built 2009-08-28 20:42:48 +02:00
Yann Leboulanger a79efe5af0 strip JID in add contact dialog. Fixes #5200 2009-08-06 00:01:07 +02:00
Yann Leboulanger 23e0ea755f [mcepl] Fix typo. Fixes #5205 2009-08-05 17:35:27 +02:00
Anaël Verrier 59e25b92c8 * fixed a bug in item archiving preferences window (the notes in sections 2.2.2.2 and 2.2.3.3 in XEP-0136 say when we change OTR to 'require' we must change save value to 'false') 2009-08-02 22:29:19 +02:00
Anaël Verrier 690c5e82ed * second draft of message archiving preferences window 2009-07-31 19:16:03 +02:00
Yann Leboulanger 02e24ab120 don't show many accepted window when we add many contacts through RIE 2009-07-23 22:57:33 +02:00
Yann Leboulanger 58be783ba5 some coding standards 2009-07-22 10:58:49 +02:00
Yann Leboulanger f207b114a6 fix roster item exchange remove suggestion 2009-07-22 10:48:41 +02:00
Yann Leboulanger b7fa1a152f fix saving _last_SHOW activity / mood when we unset them. 2009-07-22 08:55:25 +02:00
Yann Leboulanger 779dcbd38b fix using change nick button in groupchats 2009-07-21 00:30:43 +02:00
Anaël Verrier 7922426464 * first draft of message archiving preferences window
* fixed a bug in ConnectionArchive.append_or_update_item prototype
2009-07-19 16:39:07 +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
Anaël Verrier ee59f1754b * added an entry in the roster menu to display archiving preferences window
* now we check service discovery features for message archiving
2009-07-15 20:44:34 +02:00
Mateusz Biliński 56fe27be26 Fixed glade file for Roster Item Exchange. Button have fixed sized and are aligned right. Instead of 'OK' label, currently proper text for each action is displayed ('Add', 'Modify', 'Delete') 2009-06-22 20:21:39 +02:00
Yann Leboulanger c6214c51b4 fix some coding standards 2009-06-21 21:27:51 +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
Yann Leboulanger 3b1f2833b3 [olivier] clean activity / mood buttons when changing status. Fixes #5104 2009-06-19 07:20:19 +02:00
Jonathan Schleifer 086d031374 Remove spaces at EOL. 2009-06-15 21:00:14 +02:00
Yann Leboulanger fd01f7aa4d [brubru] better sound file managment, Fixes #5016 2009-05-10 19:32:57 +00:00
Yann Leboulanger e6aea43665 When saving last_status_msg_*, save also pep info 2009-05-01 09:33:50 +00:00
Yann Leboulanger 9ea2a5c677 we now depend on GTK2.12. Remove test for older versions. Fixes #4996 2009-04-27 19:28:53 +00:00
Yann Leboulanger 27ea3d9f14 [tpatnoe] add In and Out comment in XML console. Fixes #4977 2009-04-22 08:43:04 +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 4c754a00ea add activity / mood in change status dialog. Fixes #4419 2009-04-12 18:13:37 +00:00
Yann Leboulanger 77714f15b4 remove useless line 2009-04-08 18:13:08 +00:00
Yann Leboulanger dbce8b36c7 request to add contact when it's in not in roster group and we get a subscription request 2009-04-08 16:49:09 +00:00
Yann Leboulanger 1e5d5ca9a8 fix typo 2009-04-05 18:35:59 +00:00
Yann Leboulanger b7493cf580 [steelman] position dialogs centered on parent. Fixes #4936 2009-04-05 18:31:22 +00:00
Yann Leboulanger 28f443dd21 copyright is until 2009 2009-03-14 12:36:02 +00:00
Yann Leboulanger 5301dcd4a0 check OSError from gtkspell.py. Fixes #4897 2009-03-11 09:17:23 +00:00
Yann Leboulanger 95d7e157da handle (un)subscription events as messages (don't force to popup a window) Fixes #2243 2009-02-13 19:35:30 +00:00
Yann Leboulanger 01bcfe2007 [thorstenp] use ctype to have gtkspell. No need to compile it from C. Fixes #4289 2009-02-12 22:15:18 +00:00
Yann Leboulanger eba3911dd7 set speller language correctly, and show correct error message. Fixes #4737 2009-01-28 13:16:02 +00:00
Yann Leboulanger be92286bed a contact can be in none group. Fixes #4627 2008-12-31 09:21:14 +00:00
Yann Leboulanger b317ffcdae merge BOSH branch to trunk 2008-12-15 21:06:08 +00:00
Yann Leboulanger d0c3b6fd44 prevent sending messages to invalid JIDs. Fixes #4577 2008-12-13 14:43:46 +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 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
js 5a5937d96d Really fix #4517. 2008-11-29 13:37:06 +00:00
Yann Leboulanger 27dfe571c4 [Florob] use new stop command in pep instead of retract when we temporary stop sending pep item. Fixes #4502 2008-11-20 12:57:29 +00:00
Yann Leboulanger 8babbb1de3 revert [10593]. see #4449 2008-11-12 20:04:25 +00:00
Yann Leboulanger 67d19a226d handle mood in messages, send mood in message if pep is not supported on server. Fixes #4449 2008-11-03 14:25:08 +00:00
js c3f82257e1 Forgot to also sort the activites in the variable after changing them
in the glade file.
2008-10-24 17:18:10 +00:00
Yann Leboulanger ee85e67da2 fix var name. Fixes #4430 2008-10-24 12:10:05 +00:00
js 72f30bd80b Complete activity icon set.
Special thanks to Rederick Asher!
Fixes #4140.
2008-10-22 14:21:57 +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 dc5d7bcf7c [thorstenp] fix undefined variables 2008-10-20 18:05:33 +00:00
Yann Leboulanger d37ca09fc0 better var name 2008-10-12 20:32:24 +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 ed748fdda3 [thorstenp] replace list with tuple in for and if 2008-10-11 09:42:59 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger 84e717c8df [thorstenp] use startswith and endswith instead of array indices on strings 2008-10-11 09:32:59 +00:00
Yann Leboulanger eef9cf2de9 don't allow to enable GPG encryption if no GPG key is assigned.
Better getInfoDialog when no key is assigned. Fixes #4330
2008-10-08 20:11:06 +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 392cd3a77a show GPG info dialog when we click on the shield icon in chat window. Fixes #4330 2008-10-02 20:20:15 +00:00
Brendan Taylor f640e7c860 add verified/not verified title text to the body of the esession dialog 2008-09-12 05:25:10 +00:00
Yann Leboulanger c8d97aaa17 coding standards 2008-09-03 11:25:27 +00:00
Yann Leboulanger 4bd35a715b improve SAS dialog. Fixes #3468 2008-09-01 14:11:28 +00:00
Yann Leboulanger 88103f03df fix missing self. 2008-08-29 07:37:55 +00:00
Julien Pivotto 1c2ce732b1 E2E dialogs
* String changes
* Improve SAS visibility
* Add ability to re-verify
* espace text and buttons
* Should fix #3468
2008-08-28 13:14:54 +00:00
Yann Leboulanger 1e8e0f6067 no need of GUI classes in connection_handlers.py, socks5.py and secrets.py 2008-08-27 07:53:12 +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
js 150d109434 Sort activities. 2008-08-14 14:49:03 +00:00
Yann Leboulanger 7082d66dfc send other sub activity when none is selected. Fixes #4019 2008-08-14 10:54:29 +00:00
Julien Pivotto 4b039ce4d6 hide verify button in E2E dialog if identity is alerady verified 2008-08-13 21:44:52 +00:00
Julien Pivotto ff96a236e0 add a title to E2E dialog 2008-08-13 21:30:18 +00:00
Julien Pivotto 3eb1b551e5 Nicer E2E dialog 2008-08-13 21:25:26 +00:00
Yann Leboulanger f36b1643ab better DubbleInputDialog 2008-08-11 08:47:06 +00:00
Yann Leboulanger f18d97b97a remove unused function 2008-08-11 08:41:44 +00:00
Yann Leboulanger 5fbea47130 warning dialogs when closing a chat window are non blocking 2008-08-08 15:19:08 +00:00
Yann Leboulanger e02beb9eee gpg key chooser dialog not blocker 2008-08-08 10:26:11 +00:00
Yann Leboulanger 9d48c69709 coding standards 2008-08-07 22:08:08 +00:00
Yann Leboulanger 90a4a348ca remove no more used function 2008-08-07 21:59:20 +00:00
Yann Leboulanger df895d4817 nearly no blocking dialogs 2008-08-07 21:57:19 +00:00
Yann Leboulanger 949f83d1db missing file 2008-08-07 13:27:36 +00:00
Yann Leboulanger 9329bcc4c1 less and less blocking dialogs 2008-08-07 13:25:25 +00:00
Yann Leboulanger 150979b3ab one less blocking dialog 2008-08-06 20:55:40 +00:00
Yann Leboulanger d5a8f75080 make EditGroups and ChangePassword dialogs asynchronous. see #4147 2008-08-06 20:34:36 +00:00
js ff129a19a0 Just a test if this is more user friendly. If not, revert. 2008-08-05 00:51:08 +00:00
Yann Leboulanger 1a3a795908 make ChangeStatusMessageDialog asychronous. see #4147 2008-08-04 13:34:29 +00:00
Yann Leboulanger fa2d983354 better transltion strings. see #4166 2008-08-01 09:30:36 +00:00
Yann Leboulanger f586c8dd55 block adding ourself in our roster. Fixes #4073 2008-07-31 08:08:54 +00:00
Yann Leboulanger a5584151c2 Use InvitationReceivedDialog asynchronously. see #4147 2008-07-31 06:23:03 +00:00
Yann Leboulanger 0c662cf2fd use PassphraseDialog only asynchronously. see #4147 2008-07-31 06:14:48 +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 993d0d8609 Revert r10064 and to it the right way™. 2008-07-29 19:42:31 +00:00
js a226760275 Make moods better translatable. 2008-07-29 19:02:57 +00:00
Yann Leboulanger e7b7e01b54 don't require python2.5 2008-07-29 06:59:14 +00:00
js c06c258b2f Show activity in conversation window. 2008-07-28 22:33:20 +00:00
js ebea2ef2b0 Actually, that didn't really fix it. But this does. 2008-07-28 21:43:41 +00:00
js 50406b13e6 Disable ok button if no activity is set, but enable is selected. 2008-07-28 21:36:11 +00:00
js f7d8631a5c New activity dialog. 2008-07-28 20:57:56 +00:00
js c5b7f356a9 Be compatible with pygtk 2.10.
I'm still for kicking compatibility for everything < 2.12.0 as with
2.12.0, there are a few new APIs that obsolete old, stupid APIs.
2008-07-23 16:27:06 +00:00
js 0f17f4dfec Update text to 'None' when disabling mood. 2008-07-23 02:16:09 +00:00
js 869d451aba Mood still wasn't translatable at some places. 2008-07-22 23:34:45 +00:00
js 1b675d0961 Replace _ in moods by space. 2008-07-22 23:11:30 +00:00
js 4178ec7fcb Better User Mood dialog. 2008-07-22 22:20:51 +00:00
js c5e679a078 Show mood in chat window. 2008-07-22 21:08:52 +00:00
Stephan Erb d83f9da555 Improved groupchat minimization:
* partly rewrote join_room because it was hard to read
 * Correctly handle invites from anonymous rooms. Fixes #4057
 * Use HIG dialog for invitation requests
 * Fix bug where minimized groupchats where hidden after a reconnect
 * Removed some duplicated code
2008-07-19 17:36:21 +00:00
Brendan Taylor ebcb659196 improved esession auth messages 2008-07-09 03:10:50 +00:00
Brendan Taylor 75027b6e0c change auth icon when SAS is verified 2008-07-09 02:11:42 +00:00
Stephan Erb c99048b02f Fix two caps related tracebacks:
Quick fix: What does not exist cannot support anything. Fixes #4031.
Fix variable referencing. Fixes #4076.
2008-07-08 19:15:54 +00:00
Yann Leboulanger 74c53da32a fix arguments order in contacts.py, some coding standards. should fix #4081 2008-07-05 19:04:27 +00:00
Brendan Taylor 3a94e595e5 missed a / in </b> 2008-06-29 16:25:10 +00:00
Brendan Taylor 908bf97fbc fix esession toggling 2008-06-29 15:57:07 +00:00
Brendan Taylor b490904454 make esession authentication warning less obtrusive 2008-06-29 04:39:29 +00:00
Stephan Erb 81dfec2b2a Close preset messages popup before closing the status window. Otherwise GTK will freeze when the window is closed after the inactivity timer has expired. Fixes #4052 2008-06-27 21:11:08 +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
Yann Leboulanger 6733ba484c show current mood / activity in the dialog for changing them. Fixes #3952 2008-05-30 22:39:01 +00:00
Julien Pivotto 9e8e34403c Correct some bugs with the name used to create a MUC from a 1-to-1 chat when the server can't send a unique key. See #2095. 2008-05-18 18:00:02 +00:00
js b0a7998934 Set type hint for notifications NOT using pynotify. 2008-05-18 13:03:40 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
Yann Leboulanger e31324f740 string prep nickname before joining. Fixes #3770 2008-05-07 10:23:29 +00:00
Yann Leboulanger 2560f844c1 [Florob] ability to retract pubsub events. fixes #3913 2008-05-05 07:48:13 +00:00
Jean-Marie Traissard f3fec5c791 oups, syntax error 2008-05-02 16:15:39 +00:00
Jean-Marie Traissard 7ce16668fb Remove 2 generalization in dialogs, we are not generalizing here. 2008-05-02 14:36:28 +00:00
Jean-Marie Traissard f0c4bef25d Wrap text in change subject dialog and use a bigger width. Subjects are usually long and on one line. 2008-04-28 18:19:25 +00:00