Commit Graph

108 Commits (8f892d0f36fda170a5cecf0aea89887d6d0e45ef)

Author SHA1 Message Date
Mike Antipov 53fcb09275 EXT-7235 FIXED now mute state (according to the "Moderator muted voice" property) is updated for participants when list is updated
Reason: in both cases the same - moderated mode is not checked when session participant list is filled with participants already in channel
 (when IM or VCP is created)

Fix:
 added updating of participants' speaker indicator mute state when list is refreshed.

Reviewed by Aimee Walton at https://codereview.productengine.com/secondlife/r/476/

--HG--
branch : product-engine
2010-06-11 10:47:35 +03:00
Richard Linden f968b6078b merge 2010-06-03 15:00:59 -07:00
Alexei Arabadji 508923ac00 EXT-7402 FIXED Made 'Ok'('mute all') as default action.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/484/

--HG--
branch : product-engine
2010-06-02 15:55:25 +03:00
Aimee Linden 24a867a646 Merged from ssh://hg.lindenlab.com/dessie/viewer-private 2010-05-28 17:19:20 +01:00
Mike Antipov cf2268635c EXT-6937 FIXED Implemented initializing of moderate_mode on first join voice chat.
This is a workaround until a way to request the current voice channel moderation mode is implemented in the viewer.

Details:
* Added method to initialize Speaker manager's Voice moderate_mode once Agent's participant state is known.
* Once agent's voice participant is updated this method is called.
* This method initializes Voice moderate_mode  only once.

This is necessary to process "Mute everyone" menu item calls properly.

Also renamed moderateVoiceOtherParticipants methods with moderateVoiceAllParticipants and related staff.

Reviewed by Aimee Walton at https://codereview.productengine.com/secondlife/r/448/

--HG--
branch : product-engine
2010-05-27 17:36:34 +03:00
Aimee Linden 7ab53a6eec Automated merge with ssh://hg.lindenlab.com/dessie/viewer-public 2010-05-26 14:43:48 +01:00
Vadim Savchuk d634239bac EXT-6726 WIP Added stubs for most of Appearance SP context/gear menus.
Shared code with avatar lists context menus.

Reviewed by Mike Antipov and Nyx at https://codereview.productengine.com/secondlife/r/415/

--HG--
branch : product-engine
2010-05-20 14:54:34 +03:00
Aimee Linden eac888727a Automated merge with ssh://hg.lindenlab.com/dessie/viewer-public 2010-05-18 14:17:32 +01:00
Alexei Arabadji 3d4cb72f32 EXT-7085 FIXED Corrected visibility of "Moderator Options Separator"
reviewed by Mike Antipov

--HG--
branch : product-engine
2010-05-17 12:04:22 +03:00
Alexei Arabadji 966a6efe85 EXT-7096 FIXED Added confirmation about muting all participants in a group call.
reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/375/

--HG--
branch : product-engine
2010-05-13 18:22:15 +03:00
Aimee Linden 9cec4bdd69 EXT-7138 WIP Merged Voice fonts work into the newly modularized LLVoiceClient.
Created LLVoiceEffectInterface as an optional interface to be implemented by voice modules that support voice effects.
2010-05-13 13:30:28 +01:00
Roxie Linden cd7ca56352 automated merge 2010-05-11 10:39:46 -07:00
Roxie Linden 2fd59393fc Automated Merge 2010-05-10 15:25:49 -07:00
Aimee Linden 1cb1e3d16f Automated merge with ssh://hg.lindenlab.com/dessie/viewer-public 2010-05-10 12:51:40 +01:00
Mike Antipov 9027f4430d EXT-7095 FIXED Replaced voice moderation menu items and updated related actions.
* Replaced "Un/Mute everyone else" menu items with requested ones. They are enabled only on participants in Voice session (are shown for moderators)
* Actions implemented via existent "Un/Mute everyone else" functionality where "else" is NULL item.

Known issues:
 * It is impossible to perform the same "Un/Mute everyone" action is session is already in requested state:  EXT-6937
 * If voice is disabled in a group session not all muted participants have appropriate indicator in VCP if resident joins to the session.
    Due to this is the same behavior as before current patch is provided, a separate EXT-7235 bug is filed for this.

--HG--
branch : product-engine
2010-05-10 10:45:43 +03:00
Mike Antipov 50433c36dc Fixed normal bug EXT-6865 (Voice isn't blocked for Avaline callers connected via PSTN bridge)
Current patch fixes displaing of Avaline callers in Block List:
 * Now it shows as Avaline Caller 1, etc.

Implemented via using name from AvatarListItem to create LLMute object.

Reviewed by Aimee Walton at https://codereview.productengine.com/secondlife/r/340/

--HG--
branch : product-engine
2010-05-05 11:39:52 +03:00
Roxie Linden a11ec0c89f Automated merge 2010-05-04 16:09:14 -07:00
Mike Antipov 78eed3fc07 WIP: normal bug EXT-6865 (Voice isn't blocked for Avaline callers connected via PSTN bridge)
Applyied Aimee's patch to enable blocking of avaline caller:
 added an "External" mute type which isn't sent to the SL servers or stored in the cache across sessions.
 The caller's ID will change each time so there's no point cluttering up the mute list by persisting them.

Known issue: Right now the mute is added with the caller's phone number as the name shown in the block list,
 so that will need changing to "Avaline Caller 1" etc

--HG--
branch : product-engine
2010-04-30 13:25:48 +03:00
Aimee Linden cacfa18643 Persist Voice Font selection.
Added 'VoiceFontDefault' saved setting.
Implemented LLVoiceClientFontsObserver to update the UI when the voice font list is received.
Renamed LLVoiceClientParticipantObserver::onChange() to onParticipantsChanged to avoid ambiguity and make the code more readable.
Made the Voice Font combo in the VCP auto resize to make best use of the available space when the 'Leave Call button is not visible.
2010-04-28 03:33:15 +01:00
Roxie Linden 270d133882 Automated merge 2010-04-21 11:43:43 -07:00
Mike Antipov a16195fb81 Fixed normal bug EXT-6864 (Resident-related menu items are enabled/displayed for PSTN bridge callers)
* Disabled all currently processed menu items related to interaction with a resident for Avaline callers.
* Added enable callback for View Profile menu item to disable it for Avaline callers.
* Disabled menu items related to text chat.
Full list is:
 - View Profile
 - Add Friend
 - IM
 - Call
 - Share
 - Pay
 - Block Text
 - Moderate Options:
  -- Allow Text chat

DEV notes: To process moderation options separate "on_enable handler" was created for group moderate actions.

Reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/261/

--HG--
branch : product-engine
2010-04-19 15:50:45 +03:00
Roxie Linden 8d8f167a4e automated merge with trunk 2010-04-19 16:24:05 -07:00
Mike Antipov 5e34a91ce6 Fixed normal bug EXT-4301 (PDD: Dial-in to a PSTN bridge shows "(???) (???)" for the name.)
* Implementation notes:
** special item is cloned from VCP to be used in LLAvatarList to reflect an Avaline caller.
** LLAvatarList extended to create instances of Avaline Caller
** Participant list now determines type of adding session participant (Avatar/Avaline Caller) and selects a way item will be created in avatar list

* Implementation behavior:
** The problem is when Avaline caller ends a call it is removed from Voice Client session but
   still exists in LLSpeakerMgr. Server does not send such information.
   HUCK was implemented to notify subscribers that Avaline callers are not anymore in the voice call.
** For now Avaline Caller is removed from the LLSpeakerMgr List when it is removed from the Voice Client session.
   This happens in two cases: if Avaline Caller ends call itself or if Resident ends group call.

** If Resident joins group call where Avaline caller already exists that caller will appear in Resident's viewer (VCP & Group IM window)
** The callers are displayed as "AvaLine Caller 1", "AvaLine Caller 2" etc.

* Known issues:
** LLNonAvatarCaller should be removed from VCP (for avaline p2p calls). Updated Avatar & Participant Lists can be used instead of it.
    Separate ticket will be opened to refactor this code.

--HG--
branch : product-engine
2010-04-14 12:17:47 +03:00
Eugene Mutavchi ab246784b0 Fixed normal bug EXT-6034 (Need "View People Icons" option for group IM window) - added new menu item to participant list menu for group and ad-hoc chats.
Reviewed by Mike Antipov at https://codereview.productengine.com/secondlife/r/225/.

--HG--
branch : product-engine
2010-04-13 13:32:39 +03:00
Mike Antipov a45eefaf26 Replace gVoiceClient with LLVoiceClient::getInstance() due to gVoiceClient is being removed soon.
Trivial changes, not reviewed.

--HG--
branch : product-engine
2010-04-09 15:11:58 +03:00
Roxie Linden 8ba5517a08 Automated merge 2010-04-07 13:20:33 -07:00
Roxie Linden 658ccc3e85 Re-insert backed out SLE checkin so we can fix it 2010-04-07 11:08:04 -07:00
Tofu Linden 8da371b0f0 merge 2010-04-07 12:16:36 +01:00
Tofu Linden 0bb3f144c0 Backed out changeset 63b699f90efd 2010-04-07 10:37:07 +01:00
Loren Shih 568d6ed229 EXT-5940 : INFRASTRUCTURE: Typedef all vector<LLUUID>'s
Fixed some more typedefs that I missed in first checkin.
2010-04-02 15:19:44 -04:00
Roxie Linden aa0a129b67 Automated Merge 2010-04-01 21:47:22 -07:00
Loren Shih 114e5ca083 EXT-5940 : Typedef all vector<LLUUID>'s
Superficial cleanup to change all typedef std::vector<LLUUID> to use a common typedef uuid_vec_t instead.
2010-03-29 16:33:35 -04:00
Mike Antipov 022c433d53 Work on major bug EXT-5562 (Misleading Active Voice Indicators in Group Chat Window, when Speakers are in Spatial Chat Only)
- implemented passing of target session UUID for which registered indicator should be shown only.

--HG--
branch : product-engine
2010-02-24 10:59:52 +02:00
Alexei Arabadji 78200e2c1c fixed EXT-4893 “'Add friend' available for friends in group/conference sessions”,
corrected condition for enable 'add friend' menu item;

--HG--
branch : product-engine
2010-02-04 19:10:24 +02:00
Igor Borovkov 250680a078 fixed EXT-4755 Own context menu in voice chat participants list has 'Add Friend' and 'Pay' enabled
--HG--
branch : product-engine
2010-02-02 17:58:29 +02:00
Mike Antipov 684cfb722e Work on critical bug EXT-4725 (Viewer crashes if try to call from 'Nearby voice' floater)
- reverted workaround implemented in the d1e9333a6203 changeset. Bug will be fixed in the correct way.

--HG--
branch : product-engine
2010-01-27 14:06:44 +02:00
Andrew Dyukov 88a6cbdaec Workaround for EXT-4725(Viewer crashes if try to call from 'Nearby voice' floater).
- Enabling/disabling 'Call'menu item is moved to createMenu(). Some way to properly enable/disable it in
 enableContextMenuItem() should be found.

--HG--
branch : product-engine
2010-01-26 22:29:17 +02:00
Andrew Dyukov 2128a929c3 Fixed reopened normal bug EXT-4450([BSI] call buttons enabled when voice is disabled).
- Added check for call availability in miniinspector's context menu
- Removed ability to call yourself in group chat context menu
- Added check for call availability for context menu which appears on right mouse click on avatar in game area

--HG--
branch : product-engine
2010-01-25 20:53:43 +02:00
Andrew Dyukov ab0c9c6754 Fixed normal bugs EXT-4450 ([BSI] call buttons enabled when voice is disabled) and EXT-4313
(Should not be able to start a call when voice is disabled). Call buttons state now reacts on
voice changes in time.

- Added voiceWorking() method to LLVoiceClient to determine real availability of voice, because voiceEnabled()
doesn't take into account possible errors. Perhaps there is no need in two methods- some investigation will be
made and depending on its results they may become one non-static method. voiceWorking() uses state of voice
client(mState) to determine voice availability. Also some states which are not currently counted by voiceWorking()
as valid may be added if testing reveals problems.

- To enable/disable call buttons in time, LLVoiceClientStatusObserver is used. Its trigger uses states from its
enum only to skip updating button in some states(to avoid button blinking), but to determine button state
LLVoiceClient's voiceWorking() is used.

--HG--
branch : product-engine
2010-01-22 22:16:57 +02:00
Eugene Mutavchi 2a974d4e1c Fixed normal bug EXT-4611 (Crash on call VCP context menu)
--HG--
branch : product-engine
2010-01-21 21:26:51 +02:00
Eugene Mutavchi 90cdbe4ba2 Fixed low bug EXT-4378(Context menu for avatar from Nearby voice appears in wrong place for a moment)
--HG--
branch : product-engine
2010-01-21 21:26:51 +02:00
Denis Serdjuk 1d9237e299 fixed bug EXT-4445 [BSI] Can start an IM session with myself and offer items via context menu in group chat participants list
--HG--
branch : product-engine
2010-01-19 19:49:39 +02:00
Dmitry Zaporozhan 84f6c7bc04 Fixed low bug EXT-4181 - IM window appears after double click on arrow button from Voice Control Panel.
--HG--
branch : product-engine
2010-01-14 18:29:56 +02:00
Mike Antipov 66f8c49bd6 Work on low task EXT-3456 (Code Improvements: Improve LLAvatarListItem to show/hide its buttons properly)
Code improved:
 * removed disabled method LLAvatarListItem::reshapeAvatarName
 * added refreshing chat participant list immediately after moderator rights are changed (for EXT-2364)

--HG--
branch : product-engine
2010-01-11 19:34:32 +02:00
Mike Antipov fc785febb3 Fixed normal bug EXT-3944 ('Error while moderating' dialog after disabling voice for non-connected participant avatar from miniinspector)
- improved condition to check if avatar can be moderated.
- if not moderation panel (with "Disable Voice" button) is not shown at all.

--HG--
branch : product-engine
2010-01-06 17:13:12 +02:00
Mike Antipov d9a21cbff2 Fixed low bug EXT-3677 (Resident doesn't appear in the nearby voice list after enabling voice)
-- fixed incorrect condition while checking if added avatar is a valid speaker (improvements for original fix - 62a452bcea55)

--HG--
branch : product-engine
2009-12-30 20:29:14 +02:00
Mike Antipov c3f2859c9f Reduced header dependency from the "llimview.h"
--HG--
branch : product-engine
2009-12-26 16:35:33 +02:00
Eugene Mutavchi cd9c3afb11 Fixed low bug EXT-3526(Moderator tag appears for a participant in the p2p voice chat)
--HG--
branch : product-engine
2009-12-26 14:32:29 +02:00
Mike Antipov 4f9563b829 Fixed low bug EXT-3543 ("Mute this participant" menu should be disabled for non-connected participants)
-- improved condition to validate whether speaker is in voice channel

--HG--
branch : product-engine
2009-12-26 14:24:22 +02:00
Vadim Savchuk 614a214870 merge
--HG--
branch : product-engine
2009-12-25 20:47:42 +02:00