aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-02Fixed bugs when getting the root folder.Oren Hurvitz1-1/+10
1. The error checking for the case where there's no "My Inventory" folder was incorrect: it checked the wrong variable. 2. If GetSystemFolderForType() is called to get AssetType.RootFolder then it should return the root folder immediately; not look for another root folder below it.
2012-12-06Trying to prevent old route of sending attachments, simulator version ↵Diva Canto1-1/+1
unknown maybe due to timeout. mantis #6450
2012-12-04Improvement in HGInstantMessageService: account for the existence of an ↵Diva Canto2-10/+140
offline IM service.
2012-11-17Remove old InventoryService, which has for a long time been replaced by ↵Justin Clark-Casey (justincc)2-782/+0
XInventoryService.
2012-11-17Remove unnecessary ability to directly set InventoryItemBase.CreatorIdAsUuidJustin Clark-Casey (justincc)1-1/+0
This was necessary historically but hasn't been for many years. Can still get CreatorIdAsUuid, which is really just a UUID cached version of the string CreatorId
2012-11-17Do not allow invariants to change on calls to XInventoryService.UpdateItem()Justin Clark-Casey (justincc)2-10/+140
This is to help track down http://opensimulator.org/mantis/view.php?id=6359 where creator IDs on items and rezzed objects have been reported to sometimes change. This should never happen - a particular item should never change creators (if an item is given then a new item (with new id) is created). Invariants are inventory type, asset type, folder (changed only on MoveItems()), CreatorIdentification and Owner. If caller attempts to change an invariant, warning is logged but other properties are still changed. If you see this warning, reporting on Mantis 6359 would be very welcome with the exact operation being done at the time.
2012-11-17Add basic XInventoryServicesTests.TestAddItem() regression test.Justin Clark-Casey (justincc)1-0/+87
2012-11-14The last few AssemblyInfos. Finished!Diva Canto16-0/+528
2012-11-12Cleanup on region modules: gave short node id's to all of them.Diva Canto7-7/+7
2012-11-09Update parent inventory folder version numbers when folders are ↵Justin Clark-Casey (justincc)1-10/+1
moved/created/deleted to match version numbers cached by viewers. This is done in the way that one would expect (e.g. moving a folder increments version number on both source and destination parent folders). This should hopefully improve viewer reuse of its cached inventory information. Currently MySQL only but will be implement for SQLite/MSSQL if there are no issues.
2012-11-07HG: Hopefully this fixes the issues with port 80 once and for all.Diva Canto2-2/+23
2012-11-03HG Suitcase Inventory: if RootFolder type doesn't work, look for any folder ↵Diva Canto1-0/+9
with parentID=UUID.Zero
2012-11-02HG: flip all configs to HG2.0. PLEASE CHECK YOUR EXISTING HG CONFIGS AGAINST ↵Diva Canto1-5/+5
THESE.
2012-11-02Move check to allow only deletion of maptiles up to AssetServerDeleteHandler ↵Justin Clark-Casey (justincc)2-31/+4
from AssetService. This allows us to use a common check for both AssetService and XAssetService. It also allows future console commands to delete an asset. As before, deletion of maptile assets is not allowed remotely unless this is explicitly configured.
2012-10-30Add method doc to IAssetService.Get(string, object, AssetRetrieved) ↵Justin Clark-Casey (justincc)1-1/+5
outlining the situations in which AssetRetrieved may be called back with a null AssetBase. These situations include asset not found and remote service not responding.
2012-10-20Add method doc for IPresenceServiceJustin Clark-Casey (justincc)1-1/+37
2012-10-20Improve efficiency of friends notification by only make one PresenceService ↵Justin Clark-Casey (justincc)3-4/+4
call for all friends rather than one for each friend. However, large groups could still take a very long time since we still need to message each avatar on different simulators.
2012-10-16minor: Comment out log message on every FRIENDS SIM CONNECTOR request for now.Justin Clark-Casey (justincc)1-1/+1
2012-10-09minor: Add documentation to IGridService.GetRegionFlags()Justin Clark-Casey (justincc)1-0/+13
2012-10-09Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)3-29/+29
easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
2012-10-04One more abstraction for GridUser so that it can be overridden in a sub-class.Diva Canto1-2/+7
2012-10-04Make the asset retrieval concurrency a config switch. The current valueMic Bowman1-3/+8
of 30 is still hanging badly on some mono versions. The switch defaults to 30 to preserve current behavior.
2012-10-02string format arguments in wrong orderSignpostMarv1-1/+1
2012-10-01On more virtual methodDiva Canto1-1/+1
2012-09-30Allow setting max connections for an endpointMelanie1-3/+3
2012-09-30Revert "Added request.Proxy=null everywhere, as discussed in ↵Diva Canto5-9/+1
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow." But the patch is here, in case anyone wants to try it. This reverts commit 531edd51d82ecd6a842a2611c99e9919634491ef.
2012-09-30Added request.Proxy=null everywhere, as discussed in ↵Diva Canto5-1/+9
http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow. Thanks R.Gunther (rigun@rigutech.nl) https://lists.berlios.de/pipermail/opensim-users/2012-September/010986.html
2012-09-30Made a method of GridUserService virtual so it can be overridden.Diva Canto1-12/+1
2012-09-27Removed the bits about the TOSModule. That module doesn't go into core. ↵Diva Canto2-11/+0
WARNING: migration on GridUser withdrawn too, but left the migration number there.
2012-09-26Use GridUser properly for foreign users.Diva Canto1-4/+27
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).