aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-02Fix various issues with http inventoryJustin Clark-Casey (justincc)1-1/+1
1) The return messages were being wrongly populated with the names of asset, inventory and sale types when their corresponding integers should have been used instead. 2) Folders with links were including the linked items in the descendents figure, when only the links should be included. 3) Links and linked items in link folders were not being included in the return data, and not in the correct order. Now that these issues have been addressed, outfits and attachments appear to work consistently when HTTP inventory is enabled (as is now the default).
2012-05-25Fix bug where a failed QueryAccess to a remove region would always have the ↵Justin Clark-Casey (justincc)1-13/+20
reason "Communications failure" no matter what the destination region actually returned
2012-05-25In remote QueryAccess, also receive the actual status (true|false) instead ↵Justin Clark-Casey (justincc)1-0/+4
of always true no matter what the callee actually returned. This was due to two things 1) SimulationServiceConnector.QueryAccess was always looking to the outer result["success"]. But if a "_Result" map is returned (which is certainly the case right now), then the true success is _Result["success"], result["success"] is always true no matter what 2) If QueryAccess was false at the destination, then AgentHandlers.DoQueryAccess() was never putting this in the result. The default action of SerializeJsonString() is not to put false booleans in the JSON!!!, so this has to be explicitly set.
2012-05-24Make ISimulationScene.GetScene() used the more efficient region id for ↵Justin Clark-Casey (justincc)2-2/+12
lookup rather than the region handle.
2012-05-23Environment Module - allows Environment settings for Viewer3 warning: ↵PixelTomsen1-0/+16
includes database region store migrations for mssql, mysql, sqlite enable/disable this module: Cap_EnvironmentSettings = "localhost" (for enable) Cap_EnvironmentSettings = "" (for disable) at ClientStack.LindenCaps section (OpenSimDefaults.ini file) or owerwrite in OpenSim.ini mantis: http://opensimulator.org/mantis/view.php?id=5860 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-23Add ConsoleDisplayList for more consistent formatting of console output in ↵Justin Clark-Casey (justincc)1-9/+9
list form. Convert "show region" to use this structure rather than hand-constructing
2012-05-23Add missing Y co-ord in "show region" console command informationJustin Clark-Casey (justincc)1-1/+1
2012-05-23Lay out "show region" information in an easier to read line by line formatJustin Clark-Casey (justincc)1-9/+11
2012-05-21minor: extend commented out LinkInventoryItem log message for future useJustin Clark-Casey (justincc)1-3/+3
2012-05-21Fix bug where outfit folders could not be renamed.Justin Clark-Casey (justincc)1-4/+13
Outfit folders are a type of system folder whose details are allowed to change.
2012-05-18Fix issue where a new outfit folder is not created when a new outfit is ↵Justin Clark-Casey (justincc)1-3/+9
saved if there are no previous outfits This was because AddFolder() was disallowing these though they are legal.
2012-05-09Where necessary, rename OpenSim/Services/Connectors/*.cs files to reflect ↵Justin Clark-Casey (justincc)15-0/+0
the actual class names. This is usually because the file name was singular (*Service*) but the class name was plural (*Services*). This is to make configuration easier rather than having to look in the c# code itself to find the slightly different name of the connector. This does not affect existing configuration since the files are being renamed rather than the classes.
2012-05-04minor: remove mono compiler warningJustin Clark-Casey (justincc)1-1/+1
2012-05-04refactor: Rename new DeleteFoldersEx/PurgeFoldersEx methods to ↵Justin Clark-Casey (justincc)1-6/+7
DeleteFolders/PurgeFolders overloads as previously discussed with Oren - I think this makes more sense on balance These overloads are not publicly available on core connectors or IInventoryService.
2012-05-04Allow deleting folders even if they're not in the TrashOren Hurvitz1-4/+15
The functions DeleteFolders() and PurgeFolder() still work as before, i.e. they only allow deleting folders that are in the Trash. However, the functions DeleteFoldersEx() and PurgeFolderEx() can now be used to delete any folder.
2012-05-04Calculate the Daylight Savings Time information sent to the viewer based on ↵Justin Clark-Casey (justincc)2-5/+55
US Pacific Standard Time rather than whatever timezone the login server is set to. This is because the viewer doesn't receive a timezone from the server but bases its displays on Pacific Standard Time. However, it still expects to receive notification from the server as to whether or not Daylight Savings Time for PST is in operation. This commit introduces a new DSTZone setting in the [LoginService] config setting that accepts a list of timezone names valid across different platforms to calculate Pacific DST. If you need the old behaviour of calculating DST based on the local timezone of the server running the login service, then please override DSTZone with "local". A mailing list announcement will be made later. Thanks to Olivier Van Helden and Gudule Lapointe for determining this behaviour and providing this patch. From http://opensimulator.org/mantis/view.php?id=5972
2012-04-25Comment out AvatarService.SetAvatar debug log line for nowJustin Clark-Casey (justincc)1-1/+1
2012-04-24Go back to always using the local timezone for now - not all machines have ↵Justin Clark-Casey (justincc)1-13/+18
US/Pacific or Olsen Amercia/Los_Angeles and this introduces variability that the server operator cannot control Please see http://opensimulator.org/mantis/view.php?id=5972 soon for more comments.
2012-04-24minor: formatting changes to top of LLLoginResponse.SetDefaultValues(), ↵Justin Clark-Casey (justincc)1-1/+6
chiefly some break up of the long line.
2012-04-24DST settings to match client default Pacific Time (mantis #5972)Olivier van Helden and Gudule Lapointe (Speculoos.net)1-1/+15
2012-04-20Remember to dispose of the bitmap opened from a file in ↵Justin Clark-Casey (justincc)1-4/+11
GatekeeperServiceConnector.GetMapImage()
2012-04-10Add uri to various log messages when region registration fails. Upgrade ↵Justin Clark-Casey (justincc)1-8/+15
some debug log messages to error.
2012-04-07A few more minor improvements on Suitcase inventory service.Diva Canto1-7/+6
2012-04-06Better Suitcase Inventory Service.Diva Canto1-48/+55
2012-04-06Deleted the unused and commented code from 2 commits ago.Diva Canto1-594/+0
2012-04-06WARNING: LOTS OF COMMENTED AND UNUSED CODE IN THIS COMMIT. This is on ↵Diva Canto1-36/+712
purpose; it's an historical record of what works and what doesn't wrt manipulating inventory at the viewer. I'll remove the unused code in a subsequent commit, but wanted to place it in history. The uncommented code works.
2012-04-06A few minor tweaks here and there in XInventoryService.Diva Canto1-14/+48
2012-04-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto2-8/+45
2012-03-30Add simple login test with online friends. Add IFriendsModule.GrantRights() ↵Justin Clark-Casey (justincc)2-3/+12
for granting rights via a module call. Rename IFriendsModule.GetFriendPerms() -> GetRightsGrantedByFriend() to be more self-documenting and consistent with friends module terminology. Add some method doc.
2012-03-29Finish up the SuitcaseInventory service.Diva Canto1-120/+218
2012-03-29refactor: Stop passing both IClientAPI and agentID to friend event ↵Justin Clark-Casey (justincc)1-1/+1
listeners, these are redundant. Replace a few magic numbers with FriendRights enum already used elsewhere.
2012-03-28HG 2.0: added the beginning of HGSuitcaseInventoryService. Plus moved the ↵Diva Canto1-0/+368
hack away from ScenePresence. This is better but it still doesn't restore the inventory upon arrival.
2012-03-27Reverse a conditional in XInventory that made updating system folder evrsion ↵Melanie1-1/+1
numbers impossible
2012-03-27Amend to previous commit regarding the config name. Bugs bite.Diva Canto1-2/+0
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer2-2/+25
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-27Send the config section name up to the service classes themselves ↵Diva Canto5-44/+38
(XInventory and Assets).
2012-03-21Updated the UserAccountsClient a little bit, plus some more sanity checks on ↵Diva Canto1-1/+8
the service connector.
2012-03-21HG Friends: reroute the status notifications to the HGFriends service, so ↵Diva Canto5-1/+165
that they can scale better. They were previously being handled by the UAS; that is still there, but it's now obsolete and will be removed in a future release.
2012-03-20HG Friends: allow the establishment of HG friendships without requiring ↵Diva Canto4-11/+388
co-presence in the same sim. Using avatar picker, users can now search for names such as "first.last@grid.com:9000", find them, and request friendship. Friendship requests are stored if target user is offline. TESTED ON STANDALONE ONLY.
2012-03-20Fix small typoJustin Clark-Casey (justincc)1-1/+1
2012-03-19Fix configuration problems where XAssetDatabasePlugin was picked up ↵Justin Clark-Casey (justincc)2-1/+95
accidentally. The asset data plugin now implements IXAssetData rather than IAssetData so the ordinary AssetService should no longer pick it up. This replaces the changes in 92b1ade. There is no longer any need to adjust your StandaloneCommon.ini/Robust.ini/Robust.HG.ini files. This may explain very recent issues in the last few weeks where textures have been disappearing or turning white (as they were going to different places). Unfortunately, you will need to rollback to an earlier database backup or reupload the textures.
2012-03-17Added GetUUID(first, last) on UserAgentsService so that we can finally make ↵Diva Canto3-1/+72
direct user connections.
2012-03-12Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream().Robert Adams1-1/+1
.NET 4.0 added the method Stream.CopyTo(stream, bufferSize). For .NET 3.5 and before, WebUtil defined an extension method for Stream with the signature Stream.CopyTo(stream, maxBytesToCopy). The meaning of the second parameter is different in the two forms and depending on which compiler and/or runtime you use, you could get one form or the other. Crashes ensue. This change renames the WebUtil stream copy method to something that cannot be confused with the new CopyTo method defined in .NET 4.0.
2012-03-09More on inventory transfer hold ups:Diva Canto1-3/+7
- Added an inventory cache for caching root and system folders - Synchronized the remote inventory connector, so that all the remote inventory calls are serialized This will not make much difference in the hold ups. We'd have to move the FireAndForget high up to AddInventoryItem, but that opens up a can of worms regarding the notification of the recipient... the recipient would be notified of the offer before the items are effectively in his inventory, which could lead to surprises.
2012-03-08HG inventory/asset transfers: serialize asset posts. I'm using the same ↵Diva Canto1-1/+20
pattern as suggested in the patch mantis #5921. Testing it in this smaller context to see how it works.
2012-03-08Fixes mantis #5923Diva Canto1-2/+3
2012-03-08Change "help" to display categories/module list then "help ↵Justin Clark-Casey (justincc)3-9/+9
<category/module>" to display commands in a category. This is to deal with the hundred lines of command splurge when one previously typed "help" Modelled somewhat on the mysql console One can still type help <command> to get per command help at any point. Categories capitalized to avoid conflict with the all-lowercase commands (except for commander system, as of yet). Does not affect command parsing or any other aspects of the console apart from the help system. Backwards compatible with existing modules.
2012-03-02OpenID auth needs hashing before authenticatingBlueWall1-1/+1
2012-03-02Start by adding XAssetService as a copy of the existing AssetService.Justin Clark-Casey (justincc)1-0/+213
This is the start of exploring the creation of a bundled OpenSimulator asset service that does de-duplication and possibly file storage of assets. Along the lines of coyled's SRAS, but not intended to replace, merely to act as a more performant bundled default. Might end up nicking stuff from kcozen's patch at http://opensimulator.org/mantis/view.php?id=5429 More details at http://opensimulator.org/wiki/Feature_Proposals/Deduplicating_Asset_Service Feedback and discussion welcome as commits are made.
2012-02-29Revert "Fix authentication for OpenID provider"BlueWall1-2/+2
This reverts commit 9f597c2d423a80279c4aed042be8a991eedefa21. Fixing OpenID causes issues with other parts of the code.