Commit Graph

75 Commits

Author SHA1 Message Date
UbitUmarov
4833652d9b let osNpcPlayAnimation play any animation from asset service, if a uuid is provided, instead of only default animations 2026-01-14 02:46:18 +00:00
UbitUmarov
aed3df84a7 try to improve wquivalent regions count for standalones case on grid stats. Thx Tampa 2026-01-13 19:07:43 +00:00
UbitUmarov
26a8c5e712 fix grid stats configuraton check 2025-03-18 22:48:04 +00:00
UbitUmarov
8ec10f9ca8 remove the new xmlrpc grid stats. xmlrcp is obsolete; change refresh time to 15minutes; cosmetics 2025-02-18 12:37:25 +00:00
Vincent Sylvester
898cc22b22 Grid Stats as part of GridInfoService
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2025-02-18 11:36:06 +00:00
UbitUmarov
3823940205 add GetLocalRegionByName to GridServicesConnector plus cosmetics 2024-09-21 00:41:25 +01:00
UbitUmarov
c11827e1e2 add a bit more info to robust grid_info replies and do cache them 2022-03-29 20:48:02 +01:00
UbitUmarov
1eb74cd6be add content-type to grid info 2022-03-22 19:55:34 +00:00
UbitUmarov
5728d634b5 cosmetics 2022-03-14 21:12:53 +00:00
UbitUmarov
fbbcc1edd7 == string.Empty is .Lenght == 0 2022-01-13 20:31:52 +00:00
UbitUmarov
21896fc8da fix a log message 2021-12-07 02:10:44 +00:00
UbitUmarov
131455b107 add gridservice GetOnlineRegions() 2021-12-07 00:34:40 +00:00
UbitUmarov
0c87215c13 no keepalive on gridinfo 2020-12-28 14:55:59 +00:00
UbitUmarov
98e69d9015 simplify RestGetGridInfoMethod a bit more 2020-12-26 03:58:22 +00:00
UbitUmarov
18402bc667 simplify GridInfoHandlers a bit 2020-12-26 03:34:07 +00:00
UbitUmarov
6c49f16132 minor changes 2020-05-07 02:15:25 +01:00
UbitUmarov
d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
UbitUmarov
5645abf69c fix a debug message 2016-11-17 00:13:21 +00:00
Diva Canto
1e9a944633 Revert "More debug to diagnose osgrid"
This reverts commit b5f29e93f6.
2016-06-13 20:39:52 -07:00
Diva Canto
b5f29e93f6 More debug to diagnose osgrid 2016-06-13 20:35:40 -07:00
Diva Canto
f7d8952946 The protocol version checking on the grid server connector seemed to have a bug. I think I fixed it. 2015-10-17 19:29:20 -07:00
BlueWall
10a8d2852e OpenSimExtras
Move the experimental extra features functionality into the GridService. This sends default values for map, search and destination guide, plus ExportSupported control to the region on startup. Please watch http://opensimulator.org/wiki/SimulatorFeatures_Extras for changes and documentation.
2014-08-06 17:25:12 -04:00
BlueWall
3ec695e05b Add Chat module extra feature settings to GridExtraFeatures service 2014-07-30 15:01:26 -04:00
BlueWall
e0d8f42e6b Simulator Extra Features Service
Provide a means for regions to fetch extra features supported by modern viewers from a central location
.
2014-07-30 11:24:39 -04:00
Oren Hurvitz
99ac770abb Close streams immediately when we finish using them 2014-07-21 08:30:03 +01:00
Diva Canto
20f20895cf Adds optional HTTP Basic Authentication to Robust service connectors. 2014-05-23 16:19:43 -07:00
Oren Hurvitz
998d7009a6 Eliminated many warnings 2014-04-23 16:37:36 +03:00
Robert Adams
49af6b53e7 varregion: enable teleporting to a varregion by clicking on the map and
pressing the 'teleport' button.
This commit adds returning region map info for all the subregions of a
varregion. This also handles the selection of the extra region and then
the displacement of the postion so the teleport is to the correct location.
2014-01-26 19:32:28 -08:00
Justin Clark-Casey (justincc)
4cbadc3c49 Allow one to specify a DefaultHGRegion flag in [GridService] in order to 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-09-02 17:27:45 +01:00
Justin Clark-Casey (justincc)
e19defde36 Add "show caps stats by user" and "show caps stats by cap" console commands to print various counts of capability invocation by user and by cap
This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected.
This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle()
However, existing inheriting classes overriding Handle() will still work, albeit without stats recording.
"show caps" becomes "show caps list" to disambiguate between show caps commands
2013-07-08 22:03:07 +01:00
Diva Canto
bb44758179 Switched to using the other Util function with a default value. 2013-02-27 20:59:16 -08:00
Diva Canto
f1010d7b15 Moved the HG default variables out of [Startup] and into their own section [Hypergrid] in *Common.ini.example. Backwards compatible for now. 2013-02-27 20:49:41 -08:00
Diva Canto
0e8289cd00 Added new Util function for reading config vars that's more generic than the one I added yesterday -- this is for helping move config vars out of [Startup] 2013-02-22 15:57:33 -08:00
Diva Canto
e515cdddec Simplification of HG configs: HomeURI and GatekeeperURI now are defined as 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-21 17:26:19 -08:00
Justin Clark-Casey (justincc)
884d603cac Rather than instantiating a UTF8 encoding everywhere when we want to supress 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-13 01:03:28 +01:00
Justin Clark-Casey (justincc)
bf5f8b54ae Remove the somewhat misleading logging of the string length of some unknown requests, as this appeared to be some kind of numbered error code.
This brings these messages into line with similar messages that did not do this.
2012-05-03 02:22:06 +01:00
BlueWall
edb2e4c5b3 Change URI to lowercase to match existing 2012-01-19 13:55:53 -05:00
BlueWall
bf9ce4709f Add fetching of SRV_HomeURI to "/json_grid_info"
Make SRV_HomeURI available on the GridInfoService through the "/json_grid_info" URI. This i s mainly to service OSSL, but can be seen externally via the URI.
2012-01-19 13:48:31 -05:00
BlueWall
ef5575be1b Add json handler for GridInfo 2012-01-17 21:09:46 -05:00
Justin Clark-Casey (justincc)
4567555c49 Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead of OSHttpRequest/OSHttpResponse.
This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation.
This is also required to write regression tests that involve the HTTP layer.
If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse.
2011-12-05 20:44:20 +00:00
Justin Clark-Casey (justincc)
631d5e16ef Get rid of some traces of the old pre-ROBUST grid architecture config 2011-10-12 21:51:34 +01:00
SignpostMarv Martin
cb6cd3714e The get_grid_info REST call now encodes XML Entities 2011-05-14 00:31:54 +01:00
Justin Clark-Casey (justincc)
db7c758b7f On a Grid Handler exception, explicitly log the exception message and stack trace so that we get somewhat better diagnostics on windows 2011-02-24 00:55:50 +00:00
Justin Clark-Casey (justincc)
bf5ec8cb88 remove some mono compiler warnings and unnecessary dictionary instantiations 2011-01-21 22:51:52 +00:00
Justin Clark-Casey (justincc)
576faee203 minor: change some logging levels 2010-08-11 23:17:29 +01:00
Justin Clark-Casey (justincc)
686f44c575 minor: change "no [GridInfo] config" warning to refer to "configuration files" rather than "OpenSim.ini" 2010-08-11 23:16:33 +01:00
Marck
7e47ab746e Allow creation of link regions if there is an existing region within a 4096 range.
Also add GetHyperlinks() to the grid service.
2010-08-06 17:02:03 -07:00
Diva Canto
0c81966c0a Works for grid login. 2010-01-29 09:12:22 -08:00
Diva Canto
6dceb8b4a9 These 2 were moved to corresponding Hypergrid folders. The server connector was renamed to Gatekeeper, because it will have all the handlers for the gatekeeper. 2010-01-17 07:37:43 -08:00