Commit Graph

28679 Commits (melanie)

Author SHA1 Message Date
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 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 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 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
UbitUmarov e475e65828 use of PermissionMask Bit3 for slam was a recent mistake, so make it only bit4 and move folded export to its more natural place as bit3 2017-01-15 13:43:54 +00:00
UbitUmarov 6eaa8948a6 bad move.. revert 2017-01-14 23:23:56 +00:00
UbitUmarov 24d12dfba4 permissions GenerateClientFlags() also needs group GetEffectivePermissions() for the everyone case. Current naive uncached GetEffectivePermissions() must be improved since its now a lot more used. 2017-01-14 22:19:20 +00:00
UbitUmarov e28ac282eb oops fix FolderMask acording 2017-01-14 16:49:56 +00:00
UbitUmarov 1ff831c45b make the Slam bit actually be the two previus used ones, to try to minimize compatibilty issues 2017-01-14 16:33:51 +00:00
UbitUmarov fb86e41561 fix incoerent definition of Slam bit (bits 3 and 4 used in diferent
places.) this may still be wrong on other places; Do not loose folded
permitions,  WARNING MASTER IS NOW UNSTABLE. permissions are still broken"
2017-01-14 14:21:50 +00:00
UbitUmarov e263730ada fix: send viewers the Everyone permitions of items inside other objects 2017-01-14 11:25:44 +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
UbitUmarov 1984f316fc Add permission CanChangeSelectedState replacing 2 calls to check Move and Modify/edit. As those calls did, this controls changes to objects selected state for edition (simulation hold etc). 2017-01-12 17:15:36 +00:00
UbitUmarov 3e0a61915f GenerateClientFlags: consider locked state, change object group; CanRezObject: remove odd elses and group roles are only for group owned land 2017-01-12 16:58:59 +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
UbitUmarov 0d538cb24c stop using a GetPermissionClass() in GenerateClientFlags since it is not good enough, just process the several cases inline 2017-01-11 22:47:31 +00:00
UbitUmarov 386a8136c9 don't let object lastowner be its group 2017-01-11 18:41:06 +00:00
UbitUmarov 1253f19325 more changes to GenerateClientFlags(), use already cached presence group information, let it be aware of groups roles. (not exactly as the other grid) 2017-01-11 17:10:29 +00:00
UbitUmarov e0ab0b3b6b change GenerateClientFlags(...) to work with a scenepresence; make use of the new IsGod to check its God rights; remove the non standard estate manager right to move other ppl prims i added on last commits; coment out a test method i added sometime ago 2017-01-11 01:02:57 +00:00
UbitUmarov e3f7c27c93 remove obsolete PrimFlags.ObjectYouOfficer; rearrange GenerateClientFlags(...) with changes: allow estatemanager to move other ppl objects to help solve placement disputes; exclude attachments on that and from same group members 2017-01-10 23:45:19 +00:00
UbitUmarov d96bcd8264 add a bit clarification about grid private port protection 2017-01-09 18:22:39 +00:00
UbitUmarov 90dee2fce6 try to improve option automatic_gods processing 2017-01-08 12:30:50 +00:00
UbitUmarov da69bc5da6 restore argument name material_bits 2017-01-08 11:28:34 +00:00