Commit Graph

1147 Commits

Author SHA1 Message Date
Yann Leboulanger bc5fa8f80e TrackMusickListener (so is PublishTune) is available only if dbus id supported. Fixes #4153 2008-07-30 16:08:38 +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
Yann Leboulanger 676b91731d restore autoconnect_as option. Correctly use 80 char width 2008-07-29 06:42:34 +00:00
Yann Leboulanger e21b1dcb37 remove publish_mood, publish_activity and publish_nick options. 2008-07-29 06:15:41 +00:00
js c078f11fe0 Show activity in roster. 2008-07-29 02:32:57 +00:00
js 6dfa9c7e35 * Fix a TB with unknown moods
* Add the 'thoughtful' mood in the Gajim namespace (trying to get it in
  the XEP!)
2008-07-29 00:11:44 +00:00
Jean-Marie Traissard aa749cb77b Remove useless function and check. Make avatar in notification works with jpeg too. See #4060. 2008-07-27 10:21:51 +00:00
Brendan Taylor 2bb2c452c6 update resource-specific chat controls when that resource comes back online 2008-07-26 18:44:47 +00:00
js 11b5ce1d04 Fix restoring of multiline status messages on reconnect. 2008-07-26 01:58:30 +00:00
js d8bd70c93b Show tunes in roster. 2008-07-25 14:11:14 +00:00
js 0653680203 Only show mood in account row when show_mood_in_roster_is active. 2008-07-25 01:16:30 +00:00
js 5958bb8771 D'oh!! Killed that ) just before comitting :-( 2008-07-25 01:11:38 +00:00
js d694b8a6df Show own mood in account row. 2008-07-25 01:10:14 +00:00
js 0d6394b0ca * Better rendering of mood in roster.
(Only takes space if needed now)
* Possibility to disable display of mood in roster from preferences.
  (Also works on the fly with the new rendering method)
* Minor improvements in the translation of the moods to German.
2008-07-25 00:43:01 +00:00
js aec24f6e21 Show mood in roster & coding style. 2008-07-24 23:53:56 +00:00
Stephan Erb 9ecf0e5fa9 Some small tweaks to the roster visible_func
* Do not show transports when the account is disconnected. Fixes #4124
 * Hide contacts with unconfirmed subscription when we only want to see online contacts. Fixes #4118
2008-07-22 20:29:31 +00:00
Stephan Erb 1b2e12057c Some cleanups and an attempt to fix the MUC highlight problem. 2008-07-21 21:44:40 +00:00
Brendan Taylor 913c434c80 update status in resource-specific chat windows 2008-07-19 18:31:45 +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
js 1fabaa8844 Keep last status on autoconnect. 2008-07-16 15:50:51 +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
Stephan Erb 40c2b97c99 Redraw family after readding. See r9894 2008-07-06 22:55:42 +00:00
Stephan Erb 0bb1f1d656 Correctly readd a metacontact family after removing a single brother.
* Coding standards
* remove useless key-list creation
2008-07-06 22:24:58 +00:00
Stephan Erb eda061e15d Don't crash when we receive contacts that have a group tag assigned multiple times.
Remove some usage of has_key() in the contacts module. It is a bit slower (method overhead) and will be deprecated soon.
In roster_window. make a small if-clause more pythonic.
2008-07-06 21:35:19 +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
Stephan Erb 0671e6c865 Correctly count metacontacts in non merged accounts mode if we have metacontacts over several accounts. 2008-07-05 06:33:49 +00:00
Stephan Erb 215fdc964a Count metacontacts only once.
Remove timing information for roster drawing.
2008-07-04 21:29:46 +00:00
Yann Leboulanger 26785a25f1 fix traceback when unblocking a group. fixes #4074 2008-07-02 10:57:31 +00:00
js 0405981b15 Added a function to check for specific features. This makes
implementing a later coming fallback to disco rather easy.
2008-07-02 09:20:49 +00:00
js 38760989d1 Typo. 2008-07-02 08:47:01 +00:00
js 62fe1c72e3 Use caps to determine remote clients' support for specific features.
Caps is now used for: File Transfers, MUC Invites, Ad-Hoc Commands.

TODO:
 * Also handle it this way for typing notifications
   (This might give some trouble / compatibility issues)
 * Fall back to service discovery if no caps are available. Otherwise,
   we break compatibility with a lot of clients. (Asterix?)
2008-07-01 10:26:50 +00:00
Stephan Erb a836c7eca9 Fix really bad modelfilter bug that may have caused segfaults.
This also fixes the problem of showing the wrong icon when expanding metacontacts.

Example:
We have the groups A, B, C in our child model
But only A and C are visible (and therefore in modelfilter)

Imagine we have a childIter_G pointing to group B
Getting its path in the childmodel, will give us (lets say) 2
2 means now the second group/row in the CHILD model
We now pass this to the tree and tell him "Expand row 2"
The tree itself is looking at the 2nd row of modelfilter: "Hey modelfilter, expand row number 2"

For modelfilter row number 2 is C and NOT B
2008-06-30 22:23:07 +00:00
Stephan Erb a1f595b78f Commit two new assert statements in roster window.
We are not absolutely sure why some things are happening. Maybe that will help tracing the strange bugs.
2008-06-30 21:27:04 +00:00
Yann Leboulanger 2f14a995ee don't send our presence when we unblock a contact and we are invisible. Fixes #4001 2008-06-27 16:48:05 +00:00
Brendan Taylor b21a1e2489 win.get_controls() isn't needed anymore 2008-06-26 23:37:12 +00:00
Brendan Taylor e3613be1fa first pass at stripping out the one-tab-per-session code 2008-06-26 23:36:58 +00:00
Stephan Erb 2cd24aa8ae Do not update metacontacts when nothing has changed. Fixes sending metacontact info to server when we expand a groupchat. 2008-06-26 14:09:27 +00:00
Stephan Erb 2c83acb614 Various roster_window and modelfilter fixes.
* Do not double escape group names
 * Try to remove SelfContact on disconnect only once
 * Do not show minimized groupchats which were minimized after disconnect
 * Always reset group expand state after adding a contact to roster.
2008-06-25 13:15:05 +00:00
Yann Leboulanger 9457c28a63 don't try the old (XEP-018) way to go invisible. It's not XMPP complient. That prevent to show the we are invisible but we are not. Fixes #4012 2008-06-25 09:25:43 +00:00
Stephan Erb e17cbf0da0 Remove unused function. Make remove_groupchat more solid. 2008-06-24 22:15:10 +00:00
Yann Leboulanger 9512a941ad mood and activity menuitem changes to Checkmenuitem 2008-06-23 19:42:40 +00:00
Yann Leboulanger bed750410e ability to ignore a transport contact. see #3984 2008-06-23 16:21:21 +00:00
Stephan Erb 473e2cdbd8 Handle remote roster changes.
* Don't traceback when another resource of us is moving contacts to new/different groups.
 * Always refilter all involved groups.
 * It is now possible to not update contacts severside when using add/remove_from_groups
2008-06-17 19:25:17 +00:00
Jean-Marie Traissard 1712fee325 [sgala] Prevent TB 2008-06-16 09:51:03 +00:00
Yann Leboulanger c967351d36 don't allow to block a transport contact. Fixes #3984 2008-06-16 07:31:26 +00:00
Stephan Erb df1be596e4 Correctly update metacontact icon on expand when a child has pending events. 2008-06-16 00:00:52 +00:00
Stephan Erb 0d27f521d4 Do not hide big brother contacts when a child has pending events. Fixes #3921 2008-06-15 23:51:40 +00:00
Stephan Erb c5f7922e29 Two roster sort fixes.
* Change metacontact ordering. Fallback to priority only if two contacts have the same show, not the other way round.
 * Move contacts that just signed out to the bottom of the group, not to the top.
2008-06-15 23:03:51 +00:00
Jean-Marie Traissard ca457a7ac2 groups :
-Use a method to get_shown_groups (possibly more work to do (special group attribute))
-Show contact only if contact.ask, not according to modified xep 0162 logic. (I don't get neither the xep
meaning, neither this modified logic, can you explain steve-e ?)
-Remove contact before we modify it req_sub(). Else we can't remove it because iter is not found.
-When removing a contact and we let him in see us (observer), manually set show to offline, so he is not set as
visible.
-Remove observer from observer group if we asked him auth (I mean before he answer). Xep 0162 say he is not an
observer then. Fix contact staying in observer group when we get auth later.
-Renaming groups seems fixed (it's an accident :p )

More work on group to follow
2008-06-15 21:48:13 +00:00
Stephan Erb 5ddb2829f3 Do not instantly recalibrate metacontacts when the last online brother signs out. Fixes #3880. 2008-06-13 22:54:36 +00:00