diff options
author | Melanie | 2013-05-11 02:35:26 +0100 |
---|---|---|
committer | Melanie | 2013-05-11 02:35:26 +0100 |
commit | 13cd8c17d781c517e083cdf9d5cc3b1b95802c2d (patch) | |
tree | 41e9d608cc0fbb486ae885d4c9e9a6ad85e39ff3 /OpenSim/Services/LLLoginService | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC_OLD-13cd8c17d781c517e083cdf9d5cc3b1b95802c2d.zip opensim-SC_OLD-13cd8c17d781c517e083cdf9d5cc3b1b95802c2d.tar.gz opensim-SC_OLD-13cd8c17d781c517e083cdf9d5cc3b1b95802c2d.tar.bz2 opensim-SC_OLD-13cd8c17d781c517e083cdf9d5cc3b1b95802c2d.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Services/LLLoginService/LLLoginResponse.cs
OpenSim/Services/LLLoginService/LLLoginService.cs
OpenSim/Tests/Common/Mock/TestClient.cs
Diffstat (limited to 'OpenSim/Services/LLLoginService')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginResponse.cs | 20 | ||||
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 7 |
2 files changed, 25 insertions, 2 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginResponse.cs b/OpenSim/Services/LLLoginService/LLLoginResponse.cs index e2f947c..da6c016 100644 --- a/OpenSim/Services/LLLoginService/LLLoginResponse.cs +++ b/OpenSim/Services/LLLoginService/LLLoginResponse.cs | |||
@@ -233,7 +233,7 @@ namespace OpenSim.Services.LLLoginService | |||
233 | GridRegion destination, List<InventoryFolderBase> invSkel, FriendInfo[] friendsList, ILibraryService libService, | 233 | GridRegion destination, List<InventoryFolderBase> invSkel, FriendInfo[] friendsList, ILibraryService libService, |
234 | string where, string startlocation, Vector3 position, Vector3 lookAt, List<InventoryItemBase> gestures, string message, | 234 | string where, string startlocation, Vector3 position, Vector3 lookAt, List<InventoryItemBase> gestures, string message, |
235 | GridRegion home, IPEndPoint clientIP, string mapTileURL, string profileURL, string openIDURL, string searchURL, string currency, | 235 | GridRegion home, IPEndPoint clientIP, string mapTileURL, string profileURL, string openIDURL, string searchURL, string currency, |
236 | string DSTZone, UUID realID) | 236 | string DSTZone, string destinationsURL, string avatarsURL, UUID realID) |
237 | : this() | 237 | : this() |
238 | { | 238 | { |
239 | FillOutInventoryData(invSkel, libService); | 239 | FillOutInventoryData(invSkel, libService); |
@@ -253,6 +253,8 @@ namespace OpenSim.Services.LLLoginService | |||
253 | MapTileURL = mapTileURL; | 253 | MapTileURL = mapTileURL; |
254 | ProfileURL = profileURL; | 254 | ProfileURL = profileURL; |
255 | OpenIDURL = openIDURL; | 255 | OpenIDURL = openIDURL; |
256 | DestinationsURL = destinationsURL; | ||
257 | AvatarsURL = avatarsURL; | ||
256 | 258 | ||
257 | SearchURL = searchURL; | 259 | SearchURL = searchURL; |
258 | Currency = currency; | 260 | Currency = currency; |
@@ -543,6 +545,12 @@ namespace OpenSim.Services.LLLoginService | |||
543 | if (profileURL != String.Empty) | 545 | if (profileURL != String.Empty) |
544 | responseData["profile-server-url"] = profileURL; | 546 | responseData["profile-server-url"] = profileURL; |
545 | 547 | ||
548 | if (DestinationsURL != String.Empty) | ||
549 | responseData["destination_guide_url"] = DestinationsURL; | ||
550 | |||
551 | if (AvatarsURL != String.Empty) | ||
552 | responseData["avatar_picker_url"] = AvatarsURL; | ||
553 | |||
546 | // We need to send an openid_token back in the response too | 554 | // We need to send an openid_token back in the response too |
547 | if (openIDURL != String.Empty) | 555 | if (openIDURL != String.Empty) |
548 | responseData["openid_url"] = openIDURL; | 556 | responseData["openid_url"] = openIDURL; |
@@ -1073,6 +1081,16 @@ namespace OpenSim.Services.LLLoginService | |||
1073 | set { currency = value; } | 1081 | set { currency = value; } |
1074 | } | 1082 | } |
1075 | 1083 | ||
1084 | public string DestinationsURL | ||
1085 | { | ||
1086 | get; set; | ||
1087 | } | ||
1088 | |||
1089 | public string AvatarsURL | ||
1090 | { | ||
1091 | get; set; | ||
1092 | } | ||
1093 | |||
1076 | #endregion | 1094 | #endregion |
1077 | 1095 | ||
1078 | public class UserInfo | 1096 | public class UserInfo |
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index ede2353..351c1ac 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -78,6 +78,8 @@ namespace OpenSim.Services.LLLoginService | |||
78 | protected string m_OpenIDURL; | 78 | protected string m_OpenIDURL; |
79 | protected string m_SearchURL; | 79 | protected string m_SearchURL; |
80 | protected string m_Currency; | 80 | protected string m_Currency; |
81 | protected string m_DestinationGuide; | ||
82 | protected string m_AvatarPicker; | ||
81 | 83 | ||
82 | protected string m_AllowedClients; | 84 | protected string m_AllowedClients; |
83 | protected string m_DeniedClients; | 85 | protected string m_DeniedClients; |
@@ -117,6 +119,8 @@ namespace OpenSim.Services.LLLoginService | |||
117 | m_OpenIDURL = m_LoginServerConfig.GetString("OpenIDServerURL", String.Empty); | 119 | m_OpenIDURL = m_LoginServerConfig.GetString("OpenIDServerURL", String.Empty); |
118 | m_SearchURL = m_LoginServerConfig.GetString("SearchURL", string.Empty); | 120 | m_SearchURL = m_LoginServerConfig.GetString("SearchURL", string.Empty); |
119 | m_Currency = m_LoginServerConfig.GetString("Currency", string.Empty); | 121 | m_Currency = m_LoginServerConfig.GetString("Currency", string.Empty); |
122 | m_DestinationGuide = m_LoginServerConfig.GetString ("DestinationGuide", string.Empty); | ||
123 | m_AvatarPicker = m_LoginServerConfig.GetString ("AvatarPicker", string.Empty); | ||
120 | 124 | ||
121 | m_AllowedClients = m_LoginServerConfig.GetString("AllowedClients", string.Empty); | 125 | m_AllowedClients = m_LoginServerConfig.GetString("AllowedClients", string.Empty); |
122 | m_DeniedClients = m_LoginServerConfig.GetString("DeniedClients", string.Empty); | 126 | m_DeniedClients = m_LoginServerConfig.GetString("DeniedClients", string.Empty); |
@@ -461,7 +465,8 @@ namespace OpenSim.Services.LLLoginService | |||
461 | = new LLLoginResponse( | 465 | = new LLLoginResponse( |
462 | account, aCircuit, guinfo, destination, inventorySkel, friendsList, m_LibraryService, | 466 | account, aCircuit, guinfo, destination, inventorySkel, friendsList, m_LibraryService, |
463 | where, startLocation, position, lookAt, gestures, m_WelcomeMessage, home, clientIP, | 467 | where, startLocation, position, lookAt, gestures, m_WelcomeMessage, home, clientIP, |
464 | m_MapTileURL, m_ProfileURL, m_OpenIDURL, m_SearchURL, m_Currency, m_DSTZone, realID); | 468 | m_MapTileURL, m_ProfileURL, m_OpenIDURL, m_SearchURL, m_Currency, m_DSTZone, |
469 | m_DestinationGuide, m_AvatarPicker, realID); | ||
465 | 470 | ||
466 | m_log.DebugFormat("[LLOGIN SERVICE]: All clear. Sending login response to {0} {1}", firstName, lastName); | 471 | m_log.DebugFormat("[LLOGIN SERVICE]: All clear. Sending login response to {0} {1}", firstName, lastName); |
467 | 472 | ||