aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-03-20If we find an existing suitcase folder in ↵Justin Clark-Casey (justincc)1-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
2014-02-14If calls to UserAgentServiceConnector fail then throw an exception. This ↵Justin Clark-Casey (justincc)1-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.
2013-11-15If HGSuitcaseInventoryService.GetRootFolder() fails to create a suitcase ↵Justin Clark-Casey (justincc)1-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.
2013-11-15refactor: replace verbose checks with String.IsNullOrEmpty where applicable.Justin Clark-Casey (justincc)1-1/+1
Thanks to Kira for this patch from http://opensimulator.org/mantis/view.php?id=6845
2013-10-04Bump OPenSimulator version and assembly versions up to 0.8.0 DevJustin Clark-Casey (justincc)1-1/+1
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)1-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.
2013-08-26Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)1-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.
2013-08-26Revert "Added some more debug messages."Justin Clark-Casey (justincc)1-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.
2013-08-24Added some more debug messages.Diva Canto1-1/+4
2013-08-24Make HG logins fall back to fallback regions if the desired region fails.Diva Canto1-3/+24
2013-08-22minor: Make logging in GatekeeperService.LoginAgent() a bit more detailed so ↵Justin Clark-Casey (justincc)1-4/+8
that we can distinguish between simultaneous logins
2013-08-22Revert "Implement ability for hg logins to try fallback regions just like ↵Justin Clark-Casey (justincc)1-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.
2013-08-21Implement ability for hg logins to try fallback regions just like local logins.Justin Clark-Casey (justincc)1-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.
2013-07-21Better version of previous commitDiva Canto1-2/+6
2013-07-21Add the Current Outfit folder as an available folder in the SuitcaseInventory.Diva Canto1-0/+16
2013-07-14Cleanup old hg sessions (older than 2 days)Diva Canto1-0/+3
2013-07-14HG UAS: Moved hg-session data from memory to DB storage. This makes it so ↵Diva Canto2-90/+199
that traveling info survives Robust resets. It should also eliminate the cause of empty IP addresses in agent circuit data that we saw in CC grid. MySQL only.
2013-07-13Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to ↵Diva Canto1-0/+6
bother the sim.
2013-07-09minor: remove mono compiler warnings from HGSuitcaseInventoryServiceJustin Clark-Casey (justincc)1-3/+3
2013-06-21Finally moved HG agent transfers to use agent fatpacks.Diva Canto1-6/+6
2013-06-12After calls to GetSuitcaseXFolder() in HGSuitcaseInventoryService, ↵Justin Clark-Casey (justincc)1-1/+23
consistently check for null return and log warning rather than throw exception. This was being done already in some places. If an exception is thrown it is now an error rather than debug
2013-04-27Added an interface to an external ban service. With this commit, the ↵Diva Canto1-4/+21
interface is used only in Hypergrided worlds (Gatekeeper), although in those, it applies to both local and foreign users. The Ban service itself is not in core; it is to be provided externally.
2013-02-27Switched to using the other Util function with a default value.Diva Canto4-4/+8
2013-02-27Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto4-4/+4
[Hypergrid] in *Common.ini.example. Backwards compatible for now.
2013-02-22Added new Util function for reading config vars that's more generic than the ↵Diva Canto4-4/+4
one I added yesterday -- this is for helping move config vars out of [Startup]
2013-02-21Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto4-10/+12
default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
2013-02-19Deleted all AssemblyFileVersion directivesDiva Canto1-1/+1
2013-02-05Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)1-1/+1
This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
2013-02-01Revert "Update assembly version numbers"BlueWall1-1/+1
This reverts commit 141ad829f448b9138b12be7cf99c834c1f3977ec.
2013-02-01Update assembly version numbersBlueWall1-1/+1
2012-12-04Improvement in HGInstantMessageService: account for the existence of an ↵Diva Canto1-10/+25
offline IM service.
2012-11-14The last few AssemblyInfos. Finished!Diva Canto1-0/+33
2012-11-07HG: Hopefully this fixes the issues with port 80 once and for all.Diva Canto1-1/+22
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-10-20Improve efficiency of friends notification by only make one PresenceService ↵Justin Clark-Casey (justincc)2-2/+2
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-09-26Use GridUser properly for foreign users.Diva Canto1-4/+27
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-13Restarting to work on HGSuitcaseInventoryService: added the ability for the ↵Diva Canto1-4/+56
outside world to retrieve appearance items. Not ACLed yet.
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)3-17/+15
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-06Finish the implementation of GetUserInventory, even though it's still not used.Diva Canto1-0/+6