aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-25TOS module. WARNING: migration in GridUser table.Diva Canto2-0/+10
2012-09-22HG 2.0: User Agent Service now can also control where the local users can ↵Diva Canto1-3/+100
go. Domain-name and user-level based. \o/
2012-09-21More HG 2.0: access control at the Gatekeeper. \o/Diva Canto1-8/+54
2012-09-21Minor: change the return value of unsuccessful posts to string.Empty.Diva Canto1-1/+1
2012-09-20Improvement over last commit: refactor the asset permissions code, so that ↵Diva Canto1-58/+5
it can be used by both the HG Asset Service and the simulator. Also renamed the config vars to something more intuitive
2012-09-20More HG2.0: Added permission policies in HGAsset Service based on asset ↵Diva Canto1-3/+76
types. The policies are given in the config. This is only half of the story. The other half, pertaining to exports/imports made by the sim, will be done next.
2012-09-15More on HG2.0: added the possibility of controlling the appearance that ↵Diva Canto1-0/+1
avies use to visit other grids. Not as good as I wanted, but good enough. Unfortunately we can't switch the appearance from under the avie without getting into a lot of weirdnesses because appearance is viewer-controlled. So instead, when this control is on, I'm disallowing HG-TP unless the user is wearing an allowed HG appearance -- the user gets a warning and needs to switch appearance. WARNING: I'm still not committing the config vars because this is still not ready for ppl to test.
2012-09-15Add basic asset connector tests to check behaviour for normal, local and ↵Justin Clark-Casey (justincc)1-2/+2
temporary assets. Make AssetServiceConnector return more useful data on failure, such as what DLL it was trying to load Allow LocalAssetServiceConnector.GetData() to work without a cache present, as works for the other lasc Get* methods.
2012-09-13Restarting to work on HGSuitcaseInventoryService: added the ability for the ↵Diva Canto1-4/+56
outside world to retrieve appearance items. Not ACLed yet.
2012-09-084096 is used in various places as the maximum height of a region, ↵SignpostMarv1-2/+2
refactoring to be a constant
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)1-1/+2
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
2012-08-25Fix and refactor region registration. Reorder checks to short-curcuit ↵Melanie1-25/+28
expensive and destructive ones. Properly fix region reservation and authentication. Make region moves and flags preservation work again as intended. Prevent failes reservation take-over from damging reservation data.
2012-08-25Following on from f8a89a79, do not allow more than one 'type' folder (e.g. ↵Justin Clark-Casey (justincc)1-16/+49
calling cards) to be created in the base "My Inventory" user folder. This is to accomodate situations where viewers will create more than one 'type' subfolder (e.g. calling cards) But at the same time to prevent multiple such 'system' folders (those in the base "My Inventory" user folder). This also makes GetFolderForType() only return a folder in the base "My Inventory" folder, if such a type folder exists
2012-08-25Allow multiple calling card type inventory folders to be created.Justin Clark-Casey (justincc)1-0/+1
Modern viewers want to create Friends and All folders of this type inside the root Calling Cards folder.
2012-08-15Add a skeleton for a name value storage associated with regionsMelanie1-0/+14
2012-08-14Exclude temp attachemnts from being sent to the avatar serviceMelanie1-1/+2
2012-08-03minor: Comment out "Deleting asset" log messages for nowJustin Clark-Casey (justincc)2-2/+4
2012-08-01Change exception log messages in XInventoryService connector to error rather ↵Justin Clark-Casey (justincc)1-9/+8
than debug, since these signal real problems. Also outputs full exception instead of just the message to aid diagnostics.
2012-07-30If we're fetching active gestures via the XInventoryServiceConnector, then ↵Justin Clark-Casey (justincc)1-1/+1
properly look at the ITEMS dictionary already returned rather than the level above this.
2012-07-13Rather than instantiating a UTF8 encoding everywhere when we want to supress ↵Justin Clark-Casey (justincc)1-2/+1
the BOM, use a single Util.UTF8NoBomEncoding. This class is thread-safe (as evidenced by the provision of the system-wide Encoding.UTF8 which does not suppress BOM on output).
2012-07-05minor: add client name to various login service log messages to disambiguate ↵Justin Clark-Casey (justincc)1-13/+43
messages from concurrent logins. Also adds destination resolution debug log message showing region endpoint. Adding endpoint to the log helps to find issues where the region external host information has been wrongly configured
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)3-17/+15
2012-06-30Removing unused handling of incoming create object by userID and itemID only.Justin Clark-Casey (justincc)1-10/+0
It appears this was never actually used since attachments were rezzed in other code. This was never available on remote simulator comms, only local.
2012-06-26Show region positions in "show regions" robust console commandJustin Clark-Casey (justincc)1-1/+7
2012-06-26minor: correct GridService "show regions" cibsike cinnabd usage statementJustin Clark-Casey (justincc)1-1/+1
2012-06-26Add much easier ConsoleDisplayTable AddColumn() and AddRow() methods.Justin Clark-Casey (justincc)1-6/+5
Use these for new "show regions" command rather than old cumbersome stuff.
2012-06-26Add "show regions" console command to ROBUST to show all regions currently ↵Justin Clark-Casey (justincc)1-0/+44
registered. Command is not added in standalone, which has its own version of "show regions" that can also show estate name
2012-06-25Add "show region at" command to grid service to get the details of a region ↵Justin Clark-Casey (justincc)1-22/+69
at a specific location. "show region" command becomes "show region name" to disambiguate This is the same format as used by "show object name", etc. "deregister region" also becomes "deregister region id"
2012-06-13Add "deregister region" by uuid command to grid service to allow manual ↵Justin Clark-Casey (justincc)1-0/+45
deregistration of simulators. Useful if a simulator has crashed without removing its regions and those regions have been reconfigured differently
2012-06-12OnConnectionClosed listeners, retrieve data from IClientAPI.SceneAgent ↵Justin Clark-Casey (justincc)1-21/+7
rather than scanning all scene for the presence with the right id Stop checking IsLoggingOut on these listeners, if called with a root agent then we always want to perform these actions. This covers cases where the client is closed due to manual kick, simulator shutdown, etc.
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