Add a simple login splash page. 🔼
Viewers see a splash page just before they log in. At the moment that requires a separate web server. OpenSim already includes a web server, it'll be good to just allow a simple page with some replaceable parameters for "users online" and such. Then the admin wont need to spin up a separate web server if they don't need it.
Thanks to Taylor for prompting this idea.
reported=2019-07-20 05:21:44
reporter=onefang
priority=normal
category=Feature
severity=feature
resolution=fixed
2019-08-03 16:55:06 onefang: ROBUST says (PublicPort = "8002" PrivatePort = "8003") -
[BASE HTTP SERVER]: Starting HTTP server on port 8003
[BASE HTTP SERVER]: Starting HTTP server on port 8002
[SERVER]: Loading *Connector on port 8003
[SERVER]: Loading *Connector on port 8002
Sim says (httplistenerport = 9110) -
[REGION SERVER]: Starting HTTP server on port 9110
[BASE HTTP SERVER]: Starting HTTP server on port 9110
2019-08-03 17:08:33 onefang: "The page you requested has been obsconded with by knomes. Find hippos quick!"
Is part of the response for pages that don't exist, the 404 page.
2019-08-03 17:16:25 onefang: A bunch of example web GETs -
http://grid:8002/getgridinfo gives all the basic URLS and names for viewers in XML.
http://grid:8002/map gives a 256x256 JPEG image that's blue.
http://grid:9110/SStats/ gives the web stats page for the sim.
http://grid:9110/robots.txt gives a general "go away" setting.
http://grid:9110/monitorstats/Sandbox gives some stats in XML.
http://grid:9110/jsonSimStats gives some stats in JSON.
http://grid:9110/simstatus says "OK".
2019-08-03 17:25:34 onefang: opensim-SC/OpenSim/Server/Handlers/Grid/ looks like what I should clone to get something like http://grid:8002/SStats/getgridinfo.
opensim-SC/OpenSim/Region/OptionalModules/UserStatistics/ looks like what I should clone to get something like http://grid:9110/SStats/.
opensim-SC/OpenSim/Framework/Console/RemoteConsole.cs is an example of authenticating a user.
2019-08-04 00:25:07 onefang: All that's needed now is to fill on the stats that are usually on a login page.
2019-08-04 15:08:17 onefang: The database is jealously guarded in the way that object oriented shit tends to be. I need to do some simple SELECT COUNT() to get the stats, but the hoops you have to jump through are ridiculous. Leaving stats until later.