aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService (follow)
Commit message (Collapse)AuthorAgeFilesLines
* On to 0.8.3!Diva Canto2015-10-181-1/+1
|
* Clean up of simulation version, the number that rules the compatibility of ↵Diva Canto2015-10-181-1/+2
| | | | | | | | teleports: - It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure - Its definition moved to the global VersionInfo class As of now it's still 0.3.
* Clean up viewer-based access control specifications.Diva Canto2015-09-061-2/+5
|
* Partial plumbing for the agent stateful module features negotiationMelanie Thielker2015-08-201-1/+1
|
* Convert the enum to int before casting it to string for DB queryDiva Canto2015-08-081-1/+1
|
* WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto2015-08-082-43/+43
| | | | | | | inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
* In the AgentCircuitData of HG users, set the last name to include the portOren Hurvitz2015-08-031-1/+1
| | | | E.g., instead of "first.last @grid.example.com", the name is now "first.last @grid.example.com:8002"
* Add HGFSAssetService to the HypergridService to provide HG support for FSAssets.AliciaRaven2015-08-021-0/+189
|
* Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto2015-08-011-0/+22
| | | | | | | | | | | assets being passed around via HG and archives. No guarantees that all the leaks have been found, but at least it detects and fixes these bad assets upon: (1) storing and getting assets over HG -- assuming the core HG asset service is being used (not the case with OSGrid!) (2) importing assets via OAR and IAR Instantiation of bad assets now should also work, instead of producing an exception, but the bad assets themselves aren't being fixed in the DB. That should be done with a cleaning tool -- see Perl script in Mantis #7657. Virus!
* Knocked off a few compiler warnings regarding unused variables.Diva Canto2015-05-101-1/+1
|
* Added simple test for IM in Robust too.Diva Canto2015-05-101-1/+8
| | | | Changed Inventory data to use the mock one in Common Tests. (but still not inventory tests)
* Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto2015-05-071-1/+8
| | | | IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
* Refactored some code that is used in two different dlls related to SOP ↵Diva Canto2015-05-051-1/+1
| | | | rewriting. Also added some unit tests that relate to mantis #7514
* Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto2015-04-291-1/+1
| | | | AssemblyVersion("0.8.2.*")
* When processing incoming attachments via HG, if a request for uuid gathering ↵Justin Clark-Casey (justincc)2014-11-251-1/+1
| | | | | | | or final asset import takes too long remove remaining requests from same user to prevent hold up of other user's incoming attachments. This improves upon the earlier naive simply queueing immplementation. Threshold is 30 seconds. If this happens to a user they can relog and fetch will be reattempted.
* Label all threadpool calls being made in core OpenSimulator. This is to add ↵Justin Clark-Casey (justincc)2014-11-251-1/+2
| | | | | | problem diagnosis. "show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
* When logging reigon information returned by ↵Justin Clark-Casey (justincc)2014-11-211-3/+20
| | | | | | GateKeeperService.GetHyperlinkRegion, log the return server URL returned. This helps diagnoses misconfiguration where, for instance, a LAN ExternalHostName has been configured that isn't reachable externally.
* Fix recent regression in 3c6becd5 where login or hg login to variable sized ↵Justin Clark-Casey (justincc)2014-07-221-1/+1
| | | | | | | | | regions failed with outdated simulator message. I forgot that a null 'their version' would not be passed over the wire and ends up as an empty string instead (like older simulators). So instead pass through the correct simulator protcol version instead (SIMULATOR/0.3) when querying from login or hg login. Also removes a debug console write for agent limit accidentally left in for the same commit. Relates to mantis 7276
* On login and first HG entrance to a foreign grid, perform query access ↵Justin Clark-Casey (justincc)2014-07-211-0/+7
| | | | checks before proceeding.
* Changed GetUserInfo so that the exposure of user account details is ruled by ↵Diva Canto2014-07-061-5/+17
| | | | a configuration variable. It's on by default.
* Lookup username given key(uuid) XML-RPCBlake Bourque2014-07-061-0/+2
|
* Change assembly versions to 0.8.1Justin Clark-Casey (justincc)2014-06-171-1/+1
|
* When creating a new user, create the folders "Current Outfit", "Favorites", ↵Oren Hurvitz2014-05-251-7/+4
| | | | | | and the standard subfolders of "Calling Cards". (If we don't create them now then they'll be created later by the viewer, but why wait.)
* Log the user when an inventory operation is blocked because the item/folder ↵Oren Hurvitz2014-05-191-14/+14
| | | | isn't in the Suitcase
* Fixed error if a user didn't have a "Current Outfit" folder in their suitcase.Oren Hurvitz2014-05-121-9/+12
| | | | This fixes http://opensimulator.org/mantis/view.php?id=7161
* Log whenever an inventory operation is blocked because the item/folder isn't ↵Oren Hurvitz2014-05-061-8/+52
| | | | in the Suitcase
* - When sending the "My Suitcase" folder to the client, always claim it has ↵Oren Hurvitz2014-05-061-7/+7
| | | | Folder Type 8. (Previously we had used Folder Type -1 in one place, and LLClientView didn't even bother changing Folder Type 100 to anything else.)
* Removed GetUserInventory(). It wasn't being used, and was creating warnings ↵Oren Hurvitz2014-04-232-59/+0
| | | | because it's Obsolete.
* Removed an attempt to set a user's presence to "Region 0" when they HG ↵Oren Hurvitz2014-04-211-3/+0
| | | | | | teleport to another grid. a) This shouldn't have been done because at that point the user is still logged-in to the current grid. b) It's not necessary because the user will soon be logged-out completely. c) And it didn't even work because the MySQL database layer prevents setting the region to 0.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-092-11/+15
| | | | referrer)
* Allow invalidating the users cacheOren Hurvitz2014-04-081-1/+6
|
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-061-2/+4
| | | | | | entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
* When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2014-04-031-1/+12
| | | | case of error
* HGAssetService searches for the "HomeURI" setting in several sections: ↵Oren Hurvitz2014-03-241-4/+4
| | | | | | Startup, Hypergrid, HGAssetService Resolves http://opensimulator.org/mantis/view.php?id=6940
* When a user logs-in, automatically create the Suitcase folderOren Hurvitz2014-03-241-15/+7
| | | | | This is only done if the Suitcase Inventory Service is used. Previously the Suitcase was created at a later time, which meant that it wasn't shown in the viewer until the viewer was restarted.
* Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz2014-03-241-5/+7
| | | | | | Recent versions of Firestorm and Singularity have started sending the viewer name in the 'Channel' field, leaving only their version number in the 'Viewer' field. So we need to search both of these fields for the viewer name. This resolves http://opensimulator.org/mantis/view.php?id=6952
* If we find an existing suitcase folder in ↵Justin Clark-Casey (justincc)2014-03-201-0/+4
| | | | | | | | HGSuitcaseInventoryService.GetRootFolder(), then return that as a response rather than null. Fixes a regression from commit 346644016c529db6ed63aa866c7cf91cec1b635f (Fri Nov 15 23:10:59 2013) This is actually the reverse of zadark's patch in http://opensimulator.org/mantis/view.php?id=6969 But I'm assuming that was a mistake since clearly we should be returning this data - this was original behaviour
* If calls to UserAgentServiceConnector fail then throw an exception. This ↵Justin Clark-Casey (justincc)2014-02-141-1/+9
| | | | | | lets the caller decide whether to discard the error or not. This is Oren Hurvitz's 0001 patch from http://opensimulator.org/mantis/view.php?id=6956 but I ended up doing some tweaking to resolve patch application issues.
* If HGSuitcaseInventoryService.GetRootFolder() fails to create a suitcase ↵Justin Clark-Casey (justincc)2013-11-151-6/+13
| | | | | | | folder when required, then don't try to store the null and perform other operations on it. Patch from http://opensimulator.org/mantis/view.php?id=6844 Thanks Kira.
* refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)2013-11-151-1/+1
| | | | Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
* Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)2013-10-041-1/+1
|
* Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)2013-09-021-1/+1
| | | | | | | | | | allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
* Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)2013-08-261-24/+3
| | | | | | | | fails." This is very similar to my earlier revert in bcb8605f8428a9009a2badf9c9eed06d9f59962c and fails for the same reasons. Reverting this change because it causes a problem if access is denied to the user. This reverts commit c7a8afbb8da40e09252d58d95c89b8a99a684157.
* Revert "Added some more debug messages."Justin Clark-Casey (justincc)2013-08-261-4/+1
| | | | | | | | Fallback doesn't work at this level as the change of destination isn't communicated to the source region/viewer Reverting because this introduces a bug when access does fail. More detail in revert of main commit. This reverts commit ec32c1d4b69e4219fe44a38bcbc411e7996641f1.
* Added some more debug messages.Diva Canto2013-08-241-1/+4
|
* Make HG logins fall back to fallback regions if the desired region fails.Diva Canto2013-08-241-3/+24
|
* minor: Make logging in GatekeeperService.LoginAgent() a bit more detailed so ↵Justin Clark-Casey (justincc)2013-08-221-4/+8
| | | | that we can distinguish between simultaneous logins
* Revert "Implement ability for hg logins to try fallback regions just like ↵Justin Clark-Casey (justincc)2013-08-221-39/+5
| | | | | | | | | | | local logins." This approach does not work - it is taking place too far down the login process where really the region checking could only be done when the hg map tiles are linked on the main map (messy and probably impossible) or possibly when the final destination is fetched at the very first stage of teleport (which couldn't be done without a protocol change to pass the agentID as well as the requested regionID) This reverts commit 3d9b73c47a15cf00150ac80570fea88de8cecbdf.
* Implement ability for hg logins to try fallback regions just like local logins.Justin Clark-Casey (justincc)2013-08-211-5/+39
| | | | | These would be specified in the [GridService] section of Robust.HG.ini, which already lists these in the example text. Untested patch so that Neb can easily pull in for testing, though shouldn't disrupt existing hg logins since fallback processing is a bit of code stuck on the end of the login sequence.
* Better version of previous commitDiva Canto2013-07-211-2/+6
|