From ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 22 May 2019 19:14:35 +1000 Subject: Major tweaking of the scripts to suit the new setup. --- bin/config-include/config_IG.ini | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 bin/config-include/config_IG.ini (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini new file mode 100644 index 0000000..3ec215c --- /dev/null +++ b/bin/config-include/config_IG.ini @@ -0,0 +1,46 @@ + information that we +; will use throughout our configuration. We will provide examples for +; setting the base url of the ROBUST server and the public and private ports +; it uses. Changing the values of the constants will set the operating +; parameters thoughout the configuration. Other constants that may prove +; to be useful may be added to the followin section. They may be +; referenced anywhere in the configuration by using ${Const|Name}. One +; such use is providing a base path for setting locations that ROBUST +; uses to write data. + +; Also put grid specific stuff here. + + +[Paths] + AssetsPath = "../../AssetFiles" + BackupPath = "../../backups" + CachePath = "../../caches" + DbPath = "../../db" + LogPath = "../../logs" + + +[Const] + MOTD = "onefang needs a little coding or sysadmin work to keep IG going. Please help me find some." + + GridName = "Infinite Grid" + ShortGridName = "IG" + + ; For a grid these will usually be the externally accessible IP/DNS + ; name and use default public port 8002 and default private port 8003 + ; For a standalone this will usually be the externally accessible IP/DNS + ; name and use default public port 9000. The private port is not used + ; in the configuration for a standalone. + BaseHostname = "http://grid.infinitegrid.org" + HostName = "grid.infinitegrid.org" + BaseURL = ${Const|BaseHostname} + GridURL = ${Const|BaseHostname} + + PublicPort = "8002" + PrivatePort = "8003" + + ; The public port of the ROBUST asset server, which might be different. + AssetServerPort = "8003" + + ; Database credentials. + DataProvider = "OpenSim.Data.MySQL.dll" + ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" -- cgit v1.1 From 7c31bad7d09b486afd7440ac6c5756da056661b3 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 22 May 2019 21:41:21 +1000 Subject: Oops-- --- bin/config-include/config_IG.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 3ec215c..1309abc 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -1,4 +1,4 @@ - information that we +; The Const section allows us to define some basic information that we ; will use throughout our configuration. We will provide examples for ; setting the base url of the ROBUST server and the public and private ports ; it uses. Changing the values of the constants will set the operating -- cgit v1.1 From 9657c82f1b5abf8314ed1b324966071c67194ff1 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 3 Jun 2019 21:08:41 +1000 Subject: Adjust [AuthorizationService] sections to use the new DefaultRegionAccess. --- bin/config-include/config_IG.ini | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 1309abc..532c9f0 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -44,3 +44,21 @@ ; Database credentials. DataProvider = "OpenSim.Data.MySQL.dll" ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" + + +[AuthorizationService] + DefaultRegionAccess = "DisallowForeigners" + ; If you have regions with access restrictions + ; specify them here using the convention + ; Region_ = + ; Valid flags are: + ; DisallowForeigners -- HG visitors not allowed + ; DisallowResidents -- only Admins and Managers allowed + ; None -- No restrictions. + + Region_Infinite_Grid_Sandbox = "None" + Region_Infinite_Grid_Welcome = "None" + Region_Kellietown = "None" + Region_Sandbox = "None" + Region_SledjShovl = "None" + Region_Welcome = "None" -- cgit v1.1 From 635744210f1afba34449276cb8674aa02ead221d Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 19 Jun 2019 03:27:13 +1000 Subject: IG godliness is different. --- bin/config-include/config_IG.ini | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 532c9f0..ecdd5c0 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -62,3 +62,8 @@ Region_Sandbox = "None" Region_SledjShovl = "None" Region_Welcome = "None" + +[Permissions] + region_owner_is_god = true + region_manager_is_god = true + parcel_owner_is_god = false -- cgit v1.1 From abd72cda8a26025b30ed5f1e7e38a18f3a07a09b Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 4 Jul 2019 18:21:24 +1000 Subject: Put ConfigPath back in. ROBUST needs it. --- bin/config-include/config_IG.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index ecdd5c0..b26dc43 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -15,6 +15,7 @@ AssetsPath = "../../AssetFiles" BackupPath = "../../backups" CachePath = "../../caches" + ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" -- cgit v1.1 From 4848ebcbf14b9f056fccc234109408d20ccda021 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 28 Jul 2019 00:44:28 +1000 Subject: Jiggle the grid specific configs. Add GodNames. Move the Groups and AuthorizationService sections back to config_*. Fix up the AuthorizationService for some sims. Add the so far not written AddDefaultGroup options. I'll write this soon. --- bin/config-include/config_IG.ini | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index b26dc43..2730431 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -19,7 +19,6 @@ DbPath = "../../db" LogPath = "../../logs" - [Const] MOTD = "onefang needs a little coding or sysadmin work to keep IG going. Please help me find some." @@ -46,7 +45,6 @@ DataProvider = "OpenSim.Data.MySQL.dll" ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" - [AuthorizationService] DefaultRegionAccess = "DisallowForeigners" ; If you have regions with access restrictions @@ -57,14 +55,20 @@ ; DisallowResidents -- only Admins and Managers allowed ; None -- No restrictions. - Region_Infinite_Grid_Sandbox = "None" - Region_Infinite_Grid_Welcome = "None" Region_Kellietown = "None" Region_Sandbox = "None" - Region_SledjShovl = "None" Region_Welcome = "None" +[Groups] + AddDefaultGroup = "Infinite Grid support|Infinite Grid chat" + AddHGDefaultGroup_Misfitz_Grid = "Infinite Grid support" + [Permissions] region_owner_is_god = true region_manager_is_god = true parcel_owner_is_god = false + +[GodNames] + Enabled = true + FullNames = "Infinite BootsFang,Infinite Crush,infinite onefang,Infinite Riseon" +; Surnames = "Kryztlsk" -- cgit v1.1 From 19d90af82d26e424171761f411cca7cede8738a9 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 31 Jul 2019 20:22:55 +1000 Subject: Automatically add members to certain groups, and HGers from specific grids to certain other groups. It doesn't let them know, though the last group added will be their active group. This replaces a PHP script I used to use, that got broken by a PHP update. It also didn't let people know, no one complained. This is better. --- bin/config-include/config_IG.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 2730431..79af977 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -60,8 +60,8 @@ Region_Welcome = "None" [Groups] - AddDefaultGroup = "Infinite Grid support|Infinite Grid chat" - AddHGDefaultGroup_Misfitz_Grid = "Infinite Grid support" + AddDefaultGroup = "Infinite Grid chat|Infinite Grid support" + AddHGDefaultGroup_misfitzgrid.com = "Infinite Grid support" [Permissions] region_owner_is_god = true -- cgit v1.1 From 9c674b5e1474eb244b9f603a078e54ad502614ac Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 2 Aug 2019 00:45:44 +1000 Subject: Oops, move the GridService Region_ stuff to grid specific config files. --- bin/config-include/config_IG.ini | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 79af977..abe159b 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -72,3 +72,8 @@ Enabled = true FullNames = "Infinite BootsFang,Infinite Crush,infinite onefang,Infinite Riseon" ; Surnames = "Kryztlsk" + +[GridService] + Region_Welcome = "DefaultRegion, FallbackRegion, Persistent" + Region_Sandbox = "DefaultRegion, FallbackRegion, Persistent" + Region_Kellietown = "DefaultRegion, FallbackRegion, Persistent" -- cgit v1.1 From bf27216a290c125f565d08700bb6693387fac9bf Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 10:30:42 +1000 Subject: Add a basic generic web server, and a login page, plus stubs for the other basic pages. And update everyone to suit. --- bin/config-include/config_IG.ini | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index abe159b..81c5c9d 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -18,6 +18,7 @@ ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" + WebPath = "../../web" [Const] MOTD = "onefang needs a little coding or sysadmin work to keep IG going. Please help me find some." @@ -77,3 +78,25 @@ Region_Welcome = "DefaultRegion, FallbackRegion, Persistent" Region_Sandbox = "DefaultRegion, FallbackRegion, Persistent" Region_Kellietown = "DefaultRegion, FallbackRegion, Persistent" + +[GridInfoService] + ; login page: optional: if it exists it will be used to tell the client to use + ; this as splash page + welcome = ${Const|BaseURL}/drupal/loginpage + + ; helper uri: optional: if it exists it will be used to tell the client to use + ; this for all economy related things + ;economy = ${Const|BaseURL}/economy + + ; web page of grid: optional: page providing further information about your grid + about = ${Const|BaseURL}/drupal/ + + ; account creation: optional: page providing further information about obtaining + ; a user account on your grid + register = ${Const|BaseURL}/drupal/content/How_to_join + + ; help: optional: page providing further assistance for users of your grid + help = ${Const|BaseURL}/drupal/Tags/help + + ; password help: optional: page providing password assistance for users of your grid + password = ${Const|BaseURL}/drupal -- cgit v1.1 From 17bf8826dc09298c6fc6898ccb257af6967dead6 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 13 Aug 2019 03:48:07 +1000 Subject: Godliness can be in the first name as well. As it is in IG. --- bin/config-include/config_IG.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 81c5c9d..186f728 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -72,6 +72,7 @@ [GodNames] Enabled = true FullNames = "Infinite BootsFang,Infinite Crush,infinite onefang,Infinite Riseon" + FirstNames = "Infinite,infinite" ; Surnames = "Kryztlsk" [GridService] -- cgit v1.1 From 94b24792ac6eca4c27f4d3b9bb974cce4774a02f Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 18 Aug 2019 14:04:04 +1000 Subject: Add HTTPS configs. --- bin/config-include/config_IG.ini | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/config-include/config_IG.ini') diff --git a/bin/config-include/config_IG.ini b/bin/config-include/config_IG.ini index 186f728..bd809bf 100644 --- a/bin/config-include/config_IG.ini +++ b/bin/config-include/config_IG.ini @@ -35,9 +35,11 @@ HostName = "grid.infinitegrid.org" BaseURL = ${Const|BaseHostname} GridURL = ${Const|BaseHostname} + SSLURL = "https://${Const|HostName}" PublicPort = "8002" PrivatePort = "8003" + PublicSSLPort = "8443" ; The public port of the ROBUST asset server, which might be different. AssetServerPort = "8003" -- cgit v1.1