aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/HypergridLinker.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-01Mantis #7664: Added IHypergridLinker interface to establish a contract about ↵Diva Canto1-2/+2
what implementers need to provide publicly. This is used by 3rd-party addons such as Wifi.
2015-07-22Added locking to HypergridLinker, to prevent problems if multiple linking ↵Oren Hurvitz1-6/+14
requests for the same region are handled simultaneously
2015-07-22Added logging in places where regions are searched for by their locationOren Hurvitz1-5/+6
This commit also fixes the log message "Region already exists in coordinates <{0},{1}>": it was actually showing the *requested* coordinates, instead of the coordinates of the previously-existing link.
2015-03-29varregion: any conversions of use of Constants.RegionSize converted intoRobert Adams1-26/+29
Util.cs routines to convert region coords to and from world coords or handles.
2014-05-08minor: Capitalize Hypergrid help category like othersJustin Clark-Casey (justincc)1-5/+5
2014-04-24Revert "When linking a Hypergrid region, set the region's flags on the ↵Oren Hurvitz1-4/+4
in-memory GridRegion immediately." This reverts commit 463d0b2f8f0cd5f02c14391b763680b23c16e438.
2014-04-24When linking a Hypergrid region, set the region's flags on the in-memory ↵Oren Hurvitz1-8/+4
GridRegion immediately. (When using llTeleportAgent() this *specific* object is used for the teleport, so it should have the correct flags.)
2014-04-24Fixed: hypergrid-linking stopped accepting the following format: ↵Oren Hurvitz1-11/+21
"http://grid.example.com" (without a region name) Fixes http://opensimulator.org/mantis/view.php?id=7128
2014-04-13Better error checking when creating hyperlinks: a) Reject invalid strings; ↵Oren Hurvitz1-17/+36
b) Default port is 80, not 0 The change of default port may fix http://opensimulator.org/mantis/view.php?id=7108 , where a user was able to create a Hyperlink to OSGrid from inside OSGrid.
2013-12-26varregion: many more updates removing the constant RegionSize and replacingRobert Adams1-27/+34
with a passed region size. This time in the map code and grid services code.
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-02-27Switched to using the other Util function with a default value.Diva Canto1-1/+2
2013-02-27Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto1-1/+1
[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 Canto1-1/+1
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 Canto1-1/+3
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-01-02Allow registering regions whose names are equivalent under LIKE but not ↵Oren Hurvitz1-1/+1
truly equal
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-3/+3
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-10-09Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)1-3/+3
easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
2012-03-27Replace HG linker with core versionMelanie1-13/+49
2011-12-30Bring back the Hyperlinker to the Robust console. Moved the config to ↵Diva Canto1-30/+25
[GridService]. Changed all HG-related .inis, including HyperSimianGrid. No changes in user-facing inis.
2011-10-12Make it possible to disable the HG linker. On non-HG systems it spits yellowMelanie1-0/+7
spam, so it should not load unless HG is desired.
2011-06-24Tell hypergridders when their teleports fail because of the 4096 limit ↵Justin Clark-Casey (justincc)1-56/+59
rather than just saying "destination not found" Instead of performing the 4096 check when the region is linked (and subsequently removing the link), leave the link in place and perform the check in the entity transfer module This allows us to explicitly tell the hypergridder why the teleport failed (region out of range). It also allows people on regions that are within range (on a large source grid) to teleport. The Check4096 config parameter in the [GridService] section is replaced by a max_distance paramter in a new [EntityTransfer] section in OpenSimDefaults.ini Since the parameter is in OpenSimDefaults.ini no action needs to be taken unless you want to increase this limit. It could also be decreased. The check is being made in the base entity transfer module, since I believe the viewer problem occurs both on extremely large grids and while hypergridding.
2011-05-30Made GetMapImage public in the HyperlinkerDiva Canto1-5/+5
2011-05-30Made the GatekeeperConnector a public property.Diva Canto1-0/+4
2011-05-30HGWorldMap: don't send map blocks of hyperlinks that are farther than 4096 ↵Diva Canto1-1/+4
cells from the current region.
2011-03-28Improvement over 2 commits ago: make the hyperlink check understand port 80.Diva Canto1-4/+29
2011-03-28Fix mantis #5413. WARNING: new config variable in section [GridService] of ↵Diva Canto1-0/+10
the simulators called Gatekeeper -- intended to have the URL of the grid's Gatekeeper service (so that it can be checked against). See ini.examples.
2011-02-16Changed default directory for storing map tile images from remote regions.Marck1-1/+1
2011-02-07Fix merge issuesMelanie1-48/+7
2011-02-04minor: correct a log spelling mistake that was pointed out to meJustin Clark-Casey (justincc)1-1/+1
2011-02-04Bug fixed on map search for HG. Affected queries that had a region name at ↵Diva Canto1-4/+10
the end.
2011-01-07Make HG map search consistent with new syntax for link-region, i.e. ↵Diva Canto1-38/+42
http://foo.org. Old syntax (foo.org) is still supported, but has surprising results when ppl search again, because internally the HG link names start with http.
2011-01-06HG map tile fetch: handle cached images appropriately.Diva Canto1-1/+1
2010-12-20More changes to the long help text for console command link-region.Marck1-3/+3
2010-12-19Make long help text for new link-region command syntax more explicit.Marck1-1/+1
2010-12-13Show map tile for hyperlinks. Perform Check4096 before adding a hyperlink.Marck1-34/+42
Configuration option AssetService in section [GridService] must be set to enable this functionality. Map tiles do currently not show for hyperlinks set in simulators that are connected to grids, see Mantis #5270.
2010-12-10Adjust hypergrid console commands to latest changes.Marck1-64/+41
2010-12-09Normalized ALL URLs with trailing /'s hopefully. Fixed show hyperlinks ↵Diva Canto1-1/+1
command. mantis #5259
2010-12-09Minor bug fixes. Hunting down mantis #5259Diva Canto1-1/+3
2010-12-05Fixed some inconsistency with trailing /. Made debug messages consistent. ↵Diva Canto1-4/+6
Changed the stored region names of HG regions. Increased the size of regionName in DB.
2010-10-30* better semantics for link-region commandJonathan Freedman1-21/+21
* actually parse name for new link-region command
2010-10-28HypergridLinker optimizations and enable use of owner_uuid/EstateOwner with ↵Marck1-20/+27
linked regions. * Added check for already occupied region coordinates. * Optimized Check4096.
2010-10-22Revert "Merge remote branch 'otakup0pe/mantis5110'"Justin Clark-Casey (justincc)1-61/+19
This reverts commit 21187f459ea2ae590dda4249fa15ebf116d04fe0, reversing changes made to 8f34e46d7449be1c29419a232a8f7f1e5918f03c.
2010-10-22Revert "* refactor refactor refactor ServerURI 4 lyfe"Justin Clark-Casey (justincc)1-12/+2
This reverts commit 55974df14b6d64c1e1f9e386a3eacce3ba86dc98.
2010-10-22Revert "* additional serveruri cleanup"Justin Clark-Casey (justincc)1-6/+3
This reverts commit 19119d7705f8381a3c207d0e64a23243215a12b9.
2010-10-22Revert "* more url / hg cleanup"Justin Clark-Casey (justincc)1-4/+14
This reverts commit 58f75fa19d9aea18283ecdbd44559efb81781c9d.
2010-10-21* change the data exchanged within hypergrid transactionsJonathan Freedman1-17/+56
2010-10-20* more url / hg cleanupJonathan Freedman1-14/+4
2010-10-20* additional serveruri cleanupJonathan Freedman1-3/+6
2010-10-20* refactor refactor refactor ServerURI 4 lyfeJonathan Freedman1-2/+12