Melanie
b1d7d2a625
Debugging for impersonation
2020-01-31 15:28:40 +00:00
Melanie
aedaa32ddc
When using FSAssets, the HGAssetService would still use AssetService.
...
This introduces a new HGAssetService config option named BackingService,
which defaults to the old behaviour, loading AssetService. It can, however,
be used to load FSAssets for HG assets, which eliminates numerous problems.
2019-07-13 13:30:15 +01:00
Melanie
d8ade44fe9
Put the virtual decls back in, they're needed by the freshly donated ...
...
... XStorage module that creates the XML for the new viewer, anod more.
It overrides them to know if new init XML needs to be cached.
2018-12-31 00:21:50 +00:00
Melanie
f31845ed8d
Triggering a build / IRC message
2018-12-13 14:21:41 +00:00
Melanie
5e9fa5e7f5
Return a fake openid token to enable web services on a grid to identify the user
2018-12-11 15:09:06 +00:00
Melanie
e874e3a2ad
Merge branch 'master' of opensimulator.org:/var/git/opensim
2018-09-12 13:22:17 +01:00
Melanie
39e82cb043
Squelch "connection reset by peer" exceptions
2018-09-12 13:13:11 +01:00
Melanie Thielker
d35ab8c86c
Donating the Avination Mute Module
...
This lived out-of-tree and therefore wasn't part of the big code
drop. It's classic Avination, tied to MySQL and a direct database
connection and I don't have the bandwidth to fix it to core methods.
However, it has all the strange mute logic that OpenSim was missing
and maybe someone can step up to make it work in an open grid context.
2017-11-14 12:12:07 +00:00
Melanie Thielker
cf1064a245
Add a missing viewer-relevant message to the perms module
2017-04-30 13:24:48 +01:00
Melanie Thielker
b033a2559e
Adapt to a variable name that has changed in core
2017-03-31 14:55:54 +01:00
Melanie Thielker
5587ee4500
Merge branch 'melanie'
2017-03-31 14:50:14 +01:00
Melanie Thielker
6463ab7d79
If a DNS resolution fails on an outbound request, simply allow it
2017-03-31 14:44:22 +01:00
Melanie Thielker
59f7cf79c9
Prevent error spew when script send IM to HG users before HG is up
2017-03-31 14:38:42 +01:00
Melanie Thielker
5c3cb5297c
Add missing dependency for etcd moduile
2017-03-31 14:38:42 +01:00
Melanie Thielker
a6ecedb72a
Also ignore NPCs in short-circuiting region restarts
2017-03-31 14:38:42 +01:00
Melanie Thielker
c0ce746e2d
When determining if a sim can be shut down, ignore NPCs
2017-03-31 14:38:41 +01:00
Melanie Thielker
75915bd0f3
Add the ability to post to and act uponconfiguration in etcd
...
Etcd is a distributed, highly available name-value store that is
the basis of many clustered applications. However, it can also be
run on a standalone machine. Using etcd allows live monitoring
and possibly changing configuration while the sim is running.
2017-03-31 14:38:41 +01:00
Melanie Thielker
680231d7e7
Make the MySqlGeneric layer transaction aware
2017-03-31 14:38:41 +01:00
Melanie Thielker
3e880cee45
Allow short-circuiting region restart delays of there are no users left
2017-03-31 14:38:41 +01:00
Melanie Thielker
4e465002a2
Make the file based log file format sane for the casual user
...
Developer-oriented format is left commented so interested users and devs
can reactivate it.
2017-03-31 14:38:41 +01:00
Melanie Thielker
5109dc955f
Set a startup marker to let external scripts know the scene is up.
2017-03-31 14:38:41 +01:00
Melanie Thielker
adcb1d8798
Allow setting the stats log file location in OpenSim.ini rather than app.exe.config
2017-03-31 14:38:41 +01:00
Melanie Thielker
41d21190b1
Skip region restart messages and delays when there are no root agents
2017-03-31 14:38:41 +01:00
Melanie Thielker
995e750c56
Change a misleading message that could lead users to believe a grid is down
2017-03-31 14:38:41 +01:00
Melanie Thielker
91f142bbd2
Add the option to link a scene object with a monitoring object
...
For debugging purposes.
2017-03-31 14:38:41 +01:00
Melanie Thielker
27fdf3094d
A god is a god is a god. Let gods access scripts and NCs
...
Support staff are not of much help if they can't see the script a user
has issues with.
2017-03-31 14:38:40 +01:00
Melanie Thielker
caaf9f7fc1
Squelch an error that happens when the asset cache was mounted RO.
...
Nothing we can do about that, blame Docker.
2017-03-31 14:38:40 +01:00
Melanie Thielker
07c39624ef
Merge branch 'melanie'
2017-02-02 15:34:20 +00:00
Melanie Thielker
6164573766
Fix an error that would cause a rebake loop on HG grids
2017-02-02 15:22:27 +00:00
Melanie Thielker
047e87458b
Correct whimsical spelling on a log message
2017-02-01 18:10:27 +00:00
Melanie Thielker
202fcc7d6f
Merge branch 'melanie'
2017-02-01 16:34:49 +00:00
Melanie Thielker
60cf3f759f
Refactor part II
2017-02-01 16:34:07 +00:00
Melanie Thielker
a5151bb337
Refactor asset handling as per Ubit's suggestion
2017-02-01 16:31:01 +00:00
Melanie Thielker
5ceb315e34
Secure sim stats with an (optional) password.
...
There is way too much in these stats to expose them to the world, at
least for some of us.
2017-02-01 15:30:17 +00:00
Melanie Thielker
5a18ea31cf
Make negative asset caching actually work
...
Also fixes some merge artefacts in HGAssetBroker where cached assets
were requested but not actually used and completely squelch a materials
debug message because there is nothing the user can do to fix it anyway.
2017-01-30 13:59:05 +00:00
Melanie Thielker
a17db1b3cd
Comment two very spammy debug messages that the usr can't do anything about
...
Make a third one conditional.
2017-01-30 12:58:15 +00:00
Melanie Thielker
32c1127809
Make it possible to override the URL module
2017-01-26 18:35:53 +00:00
Melanie Thielker
f0700f48d8
Comment some more debug and squelch another module not running msg.
...
Modules whould not require that their .ini key is present. If the user
chooses to not use that module, they should not be required to retain
the config key for it.
2017-01-23 14:26:14 +00:00
Melanie Thielker
f50d598434
Disable spam in profiles module. Modules should not say they're disabled.
2017-01-23 14:06:38 +00:00
Melanie Thielker
1e0ed50d29
Activate the new Offline IM module code instead of the old code
...
As most have gone to OfflineMessaging V2, this change will not affect
existing users but will benefit future grids.
2017-01-23 01:19:28 +00:00
Melanie Thielker
d78f04b326
Merge branch 'melanie'
2017-01-16 14:55:54 +00:00
Melanie Thielker
568614af2c
Remove the last instance of the legacy slam but being set
...
New objects now get only the real slam bit.
2017-01-16 14:53:42 +00:00
Melanie Thielker
da51edb5fe
Fix the new permissions error introduced with the inventory fix
...
The fix to allow setting perms in inventory accidentally caused folded
permissions to be used as a mask for the next owner perms. The current
solution isn't optimal but better than anything else we have had.
Legacy objects may experience a net loss of permissions if trying to
set their perms in inventory, this is deemed preferable to the prior
privilege escalation possibility. New items will handle properly.
2017-01-13 23:47:26 +00:00
Melanie Thielker
b9eb3afb62
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-13 17:09:26 +00:00
Melanie Thielker
c74fa02d87
Harmonize case in Permissions enum
2017-01-13 17:09:08 +00:00
Melanie Thielker
dafb362b60
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-11 23:05:39 +00:00
Melanie Thielker
14d6d6f7a5
Also add the ability to quit on SIGTERM for ROBUST
2017-01-11 23:05:06 +00:00
Melanie Thielker
556d95ef05
Revert "Allow OSSL scripts to softfail"
...
This reverts commit e5244fe708 .
Conflicts:
OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
2017-01-07 23:36:07 +00:00
Melanie Thielker
f457925f80
Fix a compile issue and reintroduce the "GOD" script option
2017-01-07 23:12:51 +00:00
Melanie Thielker
c9736755d8
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-07 22:54:24 +00:00
Melanie Thielker
e5244fe708
Allow OSSL scripts to softfail
2017-01-07 22:53:46 +00:00
Melanie Thielker
e58903be6f
Correct casing on isGod and isViewerUIGod
2017-01-07 20:38:30 +00:00
Melanie Thielker
6d44ee9099
Change improperly named isNPC to be IsNPC as a property should be uppercase
2017-01-07 20:30:51 +00:00
Melanie Thielker
86d057852d
Fix custom dialogs working when bin/ is read-only
2017-01-07 01:16:56 +00:00
Melanie Thielker
8ec258bef4
Fix grid gods
2017-01-07 01:07:56 +00:00
Melanie Thielker
6a066480cc
Squelch noisy debug message that happens on every single rez
2017-01-07 00:43:42 +00:00
Melanie Thielker
1e9cbf5c97
During login cancel, don't error out here on a null client.
2017-01-07 00:37:13 +00:00
Melanie Thielker
ff945867a3
Squelch red ink for login cancel by the user during circuit setup
2017-01-07 00:35:09 +00:00
Melanie Thielker
e81b3d8f0c
Remove a red ink error on shutdown. Harmless message since shutting down anyway
2017-01-07 00:29:20 +00:00
Melanie Thielker
d9dba51223
Queue all events for a script that is waiting to compile
...
This fixes CHANGED_OWNER the right way. It also vastly improves link
message handling during object rez, which was iffy before. Now no
messages are lost anymore.
2017-01-07 00:25:59 +00:00
Melanie Thielker
fa5c47b916
Fix a slew of event like CHANGED_OWNER, attach() etc not working.
...
Optimization can ba taken too far. Compile scripts synchronously for
interactive rezzing because otherwise all events relating to rezzing/
wearing are lost.
2017-01-06 23:35:39 +00:00
Melanie Thielker
3f3aaef66a
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-06 18:14:03 +00:00
Melanie Thielker
f2c50db968
Fix an artefact introduced by git's revert merging logic
2017-01-06 18:13:33 +00:00
Melanie Thielker
8ab7e047bf
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-06 17:07:44 +00:00
Melanie Thielker
e526e8c5e2
Fix the long-standing bug that object permissions set in inventory were lost
...
NOTE: Items rezzed by users using 0.8 or older will still exhibit broken
behaviour. Until 0.8 becomes end of life, this fix will not produce
dependable results on grids with mixed versions. Grids based on 0.9 will
now work properly.
2017-01-06 17:05:00 +00:00
Melanie Thielker
da76224eac
Remove more calls to that horrible function
2017-01-06 13:18:22 +00:00
Melanie Thielker
4385d7d693
Fix errors introduced by incomplete understanding of what folded perms are
2017-01-06 13:17:43 +00:00
Melanie Thielker
8eb7c9d0fb
Fix the mixed gods issue in all places
2017-01-06 02:14:56 +00:00
Melanie Thielker
244f7e6280
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-06 01:53:50 +00:00
Melanie Thielker
ad531ecb53
Handle the case where grid gods and local gods should coexit
...
Thou shalt have no other gods beside me, your one and true god.
2017-01-06 01:52:42 +00:00
Melanie Thielker
9b93068054
Sync viewer on make root
2017-01-06 01:27:30 +00:00
Melanie Thielker
a61a41ad92
Send GodLevel to viewers on login
2017-01-06 01:22:36 +00:00
Melanie Thielker
78ed9c81ff
UserLevel must have a trusted source
2017-01-06 01:06:44 +00:00
Melanie Thielker
ad8915f154
Restructure god level and permissions
...
Create a class GodController which controls all aspects of god level,
viewer modes and user levels at ScenePresence level.
2017-01-06 00:55:14 +00:00
Melanie Thielker
46bffad558
Add GodController class
2017-01-05 23:52:47 +00:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
Melanie Thielker
e88e2945e9
Make it possible to disable the bakes module in the way it is described in config comments
2017-01-05 18:53:02 +00:00
Melanie Thielker
de16ce35a3
Make the estate communications handler selectable
...
Still defaults to the core EstateModule if not configured differently
2017-01-05 18:05:06 +00:00
Melanie Thielker
e0a6691932
Rename the files and classes from XEstate to Estate
...
The names conflict with it's ancestor module and the code is nothing
like the out of core XEstateModule, so it should not be named the same.
2017-01-05 17:59:21 +00:00
Melanie Thielker
f4a51116f6
Fix some permissions checks in groups
...
The code checked the permissions of a person being added to a role
rather than those of the person doing the adding. Also, limited
permission role removal wasn't implemented.
2017-01-05 14:17:00 +00:00
Melanie Thielker
53fe204eed
Create all tables ad InnoDB by default
...
MyISAM isn't properly replicated using row based replication. With the
advances in clustering, these systems are becoming more prevalent and
MyISAM isn't up to the task anymore.
2017-01-05 13:35:13 +00:00
Melanie Thielker
b0db575220
Set a sensible default for the MaxAgentGroups parameter
...
MaxAgentGroups is in the [Groups] section, but is read by the login
service. If the login service and the groups service don't share the
same ini file, that will be sent to the viewer as zero and groups will
not work.
2017-01-04 19:13:59 +00:00
Melanie Thielker
995242b351
Suppress misleading message when logging in locally
...
The gatekeeper and travel info address will not actually be set there,
stop OpenSim from showing a blank address. It's confusing.
2017-01-03 18:31:17 +00:00
Melanie Thielker
504a69906b
Suppress error messages in the log if functions are not enabled. Just return failure instead.
2017-01-03 14:05:37 +00:00
Melanie Thielker
65dfb62b74
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-02 19:31:23 +00:00
Melanie Thielker
966e50d90c
Add the HGRemoteAssetService. Allows to use any asset service with HG
2017-01-02 19:30:40 +00:00
Melanie Thielker
f03a6bbc61
Create a generic way for passing constructor args to plugins
...
The old syntax didn't allow for any parameters except for services
listed in the ServiceList. Now, services loaded by other services can
also be made to use different ini sections or have additional paramters.
Syntax is: [<ExtraParam>@]...<DllName>[:<ClassName>]
2017-01-02 17:47:20 +00:00
Melanie Thielker
f510898188
Fake accepting materials (Type == -2) on FSAssets.
...
Materials are created with an MD5 hash based UUID in order to
stop proliferation of orphaned assets. Therefore a UUID collision
is expected on materials and should not have been treated as an
error.
2016-12-30 14:33:15 +00:00
Melanie Thielker
e0b5135010
Add a MaxRetries option to the inventory connector.
...
If clustered services are used, another try would go to another server
and may succeed.
2016-12-29 16:29:44 +00:00
Melanie Thielker
07b48fd58c
Add negative caching to flotsam cache. Prevents scripts from hammering the asset server
2016-12-29 15:47:46 +00:00
Melanie Thielker
ec4c258794
Actually rename the file, too
2016-12-29 12:36:13 +00:00
Melanie Thielker
f021c64eb0
Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone.
2016-12-29 12:34:09 +00:00
Melanie Thielker
feca9fd153
Add an option to update the file access time even when an asset is found in cache.
...
When the cache is shared between multiple sims, it is often more
efficient to have a single expire job run from cron. Updating
file access times is vital to the functioning of such setups.
2016-12-29 11:53:38 +00:00
Melanie Thielker
8d0b592e5d
Add en explanation to osslEnable.ini for GRID_GOD
2016-12-23 20:41:10 +00:00
Melanie Thielker
ba1ca67afe
Re-add GRID_GOD because in some cases an "employee-only" level is simply needed
2016-12-23 19:48:03 +00:00
Melanie Thielker
0ae2b5ac81
Allow the use of modular configs with Robust as we already can with OpenSim
2016-12-22 18:23:04 +00:00
Melanie Thielker
c3e8406f41
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-12-22 15:39:49 +00:00
Melanie Thielker
5b403c448e
Update the ini examples to add options missing from one to the other.
...
Group hypergrid related options within each section to ease
transition from non-HG to HG
2016-12-22 15:37:48 +00:00
Melanie Thielker
1602148f5e
Merge branch 'master' of opensimulator.org:/var/git/opensim
2016-12-21 20:57:04 +00:00
Melanie Thielker
2bfbd6ef2e
Change GRID_GOD script permission to do what it says on the tin.
...
Suggested by Mandarinka
2016-12-21 20:56:28 +00:00