Geir Nøklebye
fe83763c36
PGSQL: Fixed a failing query in GroupsData for deleting groups messages older than 14 days. The little known abstime function could be used for a double cast. The field TMStamp should be changed to store the data as a proper timestamp. Related to Mantis #7848 . Usually this would easily be solved using the to_timestamp function, but there is no support for it in NPGSQL as there are no very close functionality in .NET
...
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2017-04-19 13:40:49 -04:00
UbitUmarov
006c08886a
deleted a bit 2 much on last commit
2017-04-18 05:31:15 +01:00
UbitUmarov
49884b94a7
update ODE binaries for windows. Other platforms need to compile from opensim-libs repo, folder ODE-OpenSim-0.13.2, read file OPENSIM-README.txt. Remove code to reduce bounce on non physical placement, new unmanaged should handle that
2017-04-18 00:50:55 +01:00
UbitUmarov
9354e60df0
fix active objects count down, a path at least
2017-04-16 03:39:35 +01:00
UbitUmarov
b52f7b9203
missing file and remove warnings
2017-04-15 10:56:46 +01:00
UbitUmarov
0f7ffc56ce
several changes for osTeleportObject
2017-04-15 10:46:18 +01:00
UbitUmarov
156ef0bbe3
still issues with volume detectors and sleeping bodies
2017-04-15 02:48:58 +01:00
UbitUmarov
4f8f04d949
still issues with volume detectors and sleeping bodies
2017-04-15 01:21:47 +01:00
UbitUmarov
73be6cb269
increase the updates priority of linkset where avatar is sitting
2017-04-14 22:02:40 +01:00
UbitUmarov
63383bf3c5
add functions to send entity updates imediatly, except for avatars (or now) they should be use to bypass normal delayed updates, for debug
2017-04-14 21:55:37 +01:00
UbitUmarov
9d8220ac9f
some reduction on large colision repulsive force on non physical placement of physical prims
2017-04-14 03:14:41 +01:00
UbitUmarov
1848b1fdb1
mantis 8740: fix osTeleportObject set rotation
2017-04-06 12:56:00 +01:00
UbitUmarov
a41924d1f8
add missing invalidation of osGetLinkNumber cache
2017-04-05 19:42:55 +01:00
UbitUmarov
c0904a32cb
OSSL CheckThreatLevel() with no arguments only tests if OSSL is enabled. Faster test for safe functions that are always allowed with OSSL enabled. other name could be CheckOSSLenabled, but this name preserves functions template.
2017-04-05 15:11:19 +01:00
UbitUmarov
2805cb9dec
give osTeleportObject proper OSFunctionThreatLevel setting on osslEnable.ini
2017-04-05 01:15:44 +01:00
UbitUmarov
d085c337a9
add a little speedup on repeated requests for same name on osGetLinkNumber.
2017-04-04 20:11:11 +01:00
UbitUmarov
e237e1b2fa
add LSL_Integer osGetLinkNumber(LSL_String name). uses a cache for the string to linknumber map, cache invalidations may still be missing :(
2017-04-04 19:27:45 +01:00
UbitUmarov
ca250e0b0b
mantis 8740: rename osObjectTeleport as osTeleportObject, replaced the stop parameter by flags, add flags OSTPOBJ_STOPATTARRGET and OSTPOBJ_SETROT
2017-04-04 14:34:25 +01:00
UbitUmarov
056b765fbc
mantis 8130: improve keyframes motion
2017-04-04 12:38:23 +01:00
UbitUmarov
c6150c2066
mantis 8140: fix objectTeleport rotation if stop TRUE
2017-04-04 00:30:19 +01:00
UbitUmarov
4bb27917f4
oops
2017-04-03 18:09:48 +01:00
UbitUmarov
1264069b41
fix typo
2017-04-03 17:29:02 +01:00
UbitUmarov
2bb5e98574
add EXPERIMENTAL osObjectTeleport(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer stop)
2017-04-03 17:19:28 +01:00
UbitUmarov
eb11505d19
add bool CanObjectEnterWithScripts(SceneObjectGroup sog, ILandObject land) permissions check
2017-04-03 16:10:05 +01:00
UbitUmarov
44993550a8
store the physics inertia override in SQlite
2017-04-01 18:15:47 +01:00
UbitUmarov
443fc60cdf
store the physics inertia override in Mysql and add it to serializer. run prebuild is required
2017-04-01 17:49:17 +01:00
UbitUmarov
24b7903cd0
add missing file. Changes of inertia data of objects running does not
...
produce correct physical results, namely linear and angular momentum
are not conserved.
2017-03-31 21:03:57 +01:00
UbitUmarov
6a35a965ff
add OSSL functions to override linksets total mass, center of mass and inertia. replacing the crude automatic estimation based on prims known to physics and density. Changed parameters are still not saved, and are lost on region crossings. only suported by UbODE. EXPERIMENTAL feature, only test it for now.. don't try to use in products.
2017-03-31 20:55: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
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
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
UbitUmarov
9a01fddd1c
add CanSellObject() permitions check functions
2017-03-30 17:39:21 +01:00
UbitUmarov
efed73b2c3
mantis 8131: make the new Offline IM code optional and disabled by default, since it is not compatible with current central servers, like in osgrid.
2017-03-30 16:27:14 +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
UbitUmarov
056ccaed90
update parcel select or sat on stats on sit and stand
2017-01-27 21:43:25 +00:00
UbitUmarov
d4111ff670
fix SimwideArea again
2017-01-27 20:59:56 +00:00
UbitUmarov
0091c37ed3
several changes relative to objects return and parcel prim counts: avoid null refs, report correct count of returned objects, make obkects counts by ownership coerent with return rules, etc
2017-01-27 20:21:24 +00:00
UbitUmarov
f76ea3bb76
parcels must be loaded before objects, so they can be added to them
2017-01-27 20:07:02 +00:00
UbitUmarov
4b9c94a3aa
bug fix: wrong enabled check
2017-01-27 13:10:57 +00:00
UbitUmarov
56e3aaefde
Permissions modules where made NONShared modules. Make them so, removing incoerences and their potencial bugs
2017-01-27 12:32:01 +00:00
UbitUmarov
cdc23bab74
remove unused and wrong methods
2017-01-26 19:51:50 +00:00
UbitUmarov
ed365f6220
remove SOP.AttachPoint, redundant( and incoerent) with SOG.AttachmentPoint
2017-01-26 19:43:00 +00:00
Melanie Thielker
32c1127809
Make it possible to override the URL module
2017-01-26 18:35:53 +00:00
UbitUmarov
2fc7993d69
ubOde: update prim mass when changing Density
2017-01-26 02:45:12 +00:00
UbitUmarov
dd190f1a1f
CHANGED ALLOWED_DROP should only trigger if user has no MOD rights
2017-01-25 20:26:09 +00:00
UbitUmarov
02fbe5a740
add and use CanDropInObjectInv
2017-01-25 19:39:58 +00:00
UbitUmarov
f722f1cf6c
fix test setup
2017-01-25 18:10:59 +00:00
UbitUmarov
74ac2034e0
make use of CanDoObjectInvToObjectInv
2017-01-25 16:57:46 +00:00
UbitUmarov
b45f6b933f
fix a bug in CanCopyObjectInventory; add CanDoObjectInvToObjectInv ( not wired)
2017-01-24 14:01:39 +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
UbitUmarov
c673ef7e3c
replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module
2017-01-22 23:05:39 +00:00
UbitUmarov
df035a4022
don't let part lastowner be the group
2017-01-22 21:38:59 +00:00
UbitUmarov
8d99c86f96
share before groupr roles was a testing elsewhere induced mistake, clean it up
2017-01-22 05:07:43 +00:00
UbitUmarov
50e318c401
work around group sharing and owned permitions issues, fix a non copy objects delete issue
2017-01-22 03:23:50 +00:00
UbitUmarov
c14ec1a9bd
a few more changes on permissions
2017-01-21 14:22:32 +00:00
UbitUmarov
7a1d9e213e
fix CanReturnObjects
2017-01-21 11:21:36 +00:00
UbitUmarov
186f0b73cd
add/fix CanRunScript
2017-01-21 10:22:00 +00:00
UbitUmarov
0a5d6671ce
fix llScriptDanger(); don't call old ScriptDamage on ossl health functions
2017-01-21 06:37:29 +00:00
UbitUmarov
9d61df0887
fix CanObjectEntry and CanTerraformLand group permissions
2017-01-21 05:14:13 +00:00
UbitUmarov
b20bd1a9df
change the initialization point of SimwideArea
2017-01-21 03:35:59 +00:00
UbitUmarov
85a31c9e76
initialize SimwideArea
2017-01-21 02:29:08 +00:00
UbitUmarov
d62854cbd3
set a sane default region ObjectCapacity
2017-01-21 00:30:42 +00:00
UbitUmarov
c0231fe169
Oops.. fix the null on the correct place.. jenkis may now fail for another reason
2017-01-21 00:18:25 +00:00
UbitUmarov
48f137599f
fix a null ref on jenkins
2017-01-20 23:36:35 +00:00
UbitUmarov
05196ebe27
test jenkins
2017-01-20 22:50:50 +00:00
UbitUmarov
dac32c4e5a
change CanObjectEntry() to use a SOG
2017-01-20 14:26:24 +00:00
UbitUmarov
df40cdc83e
remove redundant IsGod, rename some GOD as Administrator (both only on permissions module)
2017-01-20 13:45:44 +00:00
UbitUmarov
69bcbd856b
change CanDuplicateObject
2017-01-19 19:01:56 +00:00
UbitUmarov
97e6f21c6c
actually make use of it as viewers requested
2017-01-19 18:33:00 +00:00
UbitUmarov
6826ca9b57
fix the meaning of objectDuplicate[OnRay]() flags parameter but still not using it
2017-01-19 18:25:25 +00:00
UbitUmarov
d8108ab740
change CanDeedObject. WARNING like on other grids, if you do not set next owner rights on object and ALL ITS CONTENTS, you may loose all rights on it
2017-01-19 17:45:54 +00:00
UbitUmarov
b9651652e1
add a comment about parts permissions aggregation
2017-01-19 13:25:00 +00:00
UbitUmarov
984345a202
add CanEdit check for SOGs, iclients and SPs that need to be in scene and use it
2017-01-19 13:10:04 +00:00
UbitUmarov
7651d60d72
fix a null check
2017-01-19 12:47:14 +00:00
UbitUmarov
673bd37219
object CanMove is for in scene SOGs Icleints and SPs and permitions module is NOT a shared module
2017-01-19 12:35:00 +00:00
UbitUmarov
fe9a785ecc
object Take and TakeCopy are for in scene SOPs and SPs and permitions module is NOT a shared module
2017-01-19 11:34:40 +00:00
UbitUmarov
b9ecc962ac
a few more aux methods and changes
2017-01-19 10:27:30 +00:00
UbitUmarov
3b96cd8ff2
add a GetItemPermissions() to be used use on object contents checks in Permissions module
2017-01-19 00:51:55 +00:00
UbitUmarov
1ff7e34996
a few more changes on Permissions module
2017-01-18 22:25:49 +00:00
UbitUmarov
b23ce04a6e
enforce effective perms hierarchy
2017-01-18 21:17:09 +00:00
UbitUmarov
e2c2d92d5a
antecipate baked cache check and Xbakes requests, so they happen before viewer check request (or force it to wait via locking).
2017-01-18 02:29:05 +00:00
UbitUmarov
e963789714
Permissions module: fix in prim inv CanEditNotecard group edit rights check ( in last commit plz read .. by GetObjectPermissions)
2017-01-18 01:16:58 +00:00
UbitUmarov
c14d81f538
Permissions module: replace some GenericObjectPermission by GenericObjectPermission on some checks. Note that in some cases behavour is now diferent.
2017-01-18 00:42:08 +00:00
UbitUmarov
6d784f6306
Permissions module: GenerateClientFlags() no need to keep looking for the same part several times; fix locked mask in GetObjectPermissions()
2017-01-17 23:22:02 +00:00
UbitUmarov
06bca0388f
Permissions module: add GetObjectPermissions() that should replace GenericObjectPermission
2017-01-17 14:30:20 +00:00
UbitUmarov
db2fbf6516
add more calls to effective permissions aggregation, some paths may still be missing on objects changes, but remove the aggregation on check paths, so all can be tested.
2017-01-17 13:24:09 +00:00
UbitUmarov
1113407280
add more calls to effective permissions aggregation; do not change groupmask on deed
2017-01-17 01:22:44 +00:00
UbitUmarov
a5c693e302
start adding calls to effective permissions aggregation on changes; rearrange code in DuplicateObject();
2017-01-17 00:41:30 +00:00
UbitUmarov
2b5ef89272
remove now unused SetRootPartOwner()
2017-01-16 20:37:04 +00:00
UbitUmarov
180add745c
replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart
2017-01-16 20:27:39 +00:00
UbitUmarov
6735d3496c
fix EffectiveGroupOrEveryOnePerms C&T == 0 case
2017-01-16 19:49:07 +00:00
UbitUmarov
ffa6c7aae2
avoid lastOwner beeing the group
2017-01-16 19:22:39 +00:00
UbitUmarov
733072b6a3
chance new effective permissions code to ease aggregation on demand( ie on changes). But still doing full aggregation on checks, so still heavy
2017-01-16 19:01:41 +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
UbitUmarov
b9e2606c2f
add code for fixing effective permitions. This is a test, and currently too slow for prodution. just finding our way home
2017-01-15 16:15:40 +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
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
UbitUmarov
fb42845bee
mantis 8117: fix llSetPhysicsMaterial, using proper LSL_float type
2017-01-08 11:15:39 +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
UbitUmarov
2d0860ac51
rename OSSL enable option GOD as ACTIVE_GOD so its use is more clear
2017-01-07 22:51:56 +00:00
UbitUmarov
e2167716aa
change OSSL enable option GOD to use IsGod, so it means a active god, as my original idea
2017-01-07 21:44:01 +00:00
UbitUmarov
2798adcdcd
use new IsGod on CheckAndAdjustLandingPoint_SL so it can be by current viewer god, acording to config
2017-01-07 21:27:57 +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
UbitUmarov
c41616b771
ignore teleport flag GodLike. Perform checks acording to agent static
...
local or grid rights
2017-01-07 19:44:37 +00:00
UbitUmarov
1b858ad47b
missing changed file
2017-01-07 18:57:12 +00:00
UbitUmarov
eedc37794e
rename same more variables to make their meaning more clear
2017-01-07 18:49:15 +00:00
UbitUmarov
effa32cfa4
replace godlevel compares by the new faster bool isViewerUIGod
2017-01-07 18:41:46 +00:00
UbitUmarov
5bcb1c0e72
rename same variables to make their meaning more clear
2017-01-07 18:10:30 +00:00
UbitUmarov
ed526916b7
update permissions module with the new options
2017-01-07 16:27:06 +00:00
UbitUmarov
7f9df24f97
prevent gods kick wars using the new god level variable
2017-01-07 16:13:46 +00:00
UbitUmarov
d761a20cce
more changes to god level control. Not that this is work in progress, for now it still works mainly as with option implicit_gods = true. speed up some regions child updates, some cleanup
2017-01-07 16:02:52 +00:00
UbitUmarov
f46d70ada5
try to work around some broken viewers math on handles
2017-01-07 12:18:44 +00:00
UbitUmarov
7d3cd3dd59
coment out a flodding debug message
2017-01-07 09:02:50 +00:00
Kevin Cozens
4a18444e6e
Allow avatar to be charged group membership fees when a money module is in use
2017-01-06 21:15:58 -05:00
Kevin Cozens
5bc869391a
Only apply group creation fee > 0 and pass group name when applying fee
2017-01-06 21:15:58 -05: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
UbitUmarov
fba2466c16
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-06 17:33:41 +00:00
UbitUmarov
497c417885
add a missing god_date transmition
2017-01-06 17:33:12 +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
UbitUmarov
0b912b2acc
Remove parcel_owner_is_god option. It is conceptually wrong and with
...
limited use. Relevant parcel owners can just be made estate managers with better regions management logic
2017-01-06 15:00:55 +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
UbitUmarov
c707955517
restore parcels avatars visibility god level change correct handling; try to reduced the increased change of user error on config options setting
2017-01-06 10:28:10 +00:00
UbitUmarov
e5a3d85bc7
fix/simplify validation of god_data update field
2017-01-06 03:45:47 +00:00
UbitUmarov
7ac74fcf73
fix typo
2017-01-06 03:07:17 +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
UbitUmarov
1b64a45f66
take sync viewer out on make root
2017-01-06 01:38:13 +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
UbitUmarov
05902d2958
inform viewers of current godlevel; put back a small delay on teleport arrivel to give time to viewers to sync
2017-01-05 22:27:53 +00:00
UbitUmarov
83c9776cbc
allow initial automatic level to be changed by request. Since viewers still dont get real level, one will need to ask for god level then disable it to syncronize the viewer with real level.
2017-01-05 21:32:26 +00:00
UbitUmarov
1fb01a0099
add config option automatic_gods. With this option true, users that can be Gods will have that level automaticly without the need request on viewer; Propagate current god level to nearby regions (with local checks)
2017-01-05 21:21:15 +00:00
UbitUmarov
1a35af229c
remove code i started but didn't finish
2017-01-05 19:59:48 +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
UbitUmarov
a0c9f84994
Merge branch 'master' of opensimulator.org:/var/git/opensim
2017-01-05 18:08:12 +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
UbitUmarov
cbc3501246
a few changes to Gods ( ie administrators) control
2017-01-05 18:02:59 +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
UbitUmarov
40e982f6e7
a few changes to estates port handling
2017-01-05 17:11:03 +00:00
UbitUmarov
d43a3bec19
a few changes to estates and estate teleportHome (used kick)
2017-01-05 16:27:17 +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
Mandarinka Tasty
af1b00db41
The robust command login reset should return config value: MinLoginLevel. Defaultly, it returns 0.
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 21:52:49 +00:00
Geir Nøklebye
af93822465
PGSQL fixed a missing cast to uuid in XInventoryData
...
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 21:18:58 +00:00
Mandarinka Tasty
ed641b22b3
Show details of scene objects with given ownerId.
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 19:20:06 +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
UbitUmarov
da08e2e5f5
mantis 8106: improve avatar walk in mouselook
2016-12-30 19:13:18 +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
UbitUmarov
1507c5230b
remove a gc.collect that isn't very usefull (on the right engine this
...
time)
2016-12-30 05:15:50 +00:00
UbitUmarov
ee485187db
remove a gc.collect that isn't very usefull
2016-12-30 04:57:34 +00:00
Mandarinka Tasty
aee3f273f0
Serving robots.txt from bin Idea of solution for http://opensimulator.org/mantis/view.php?id=7392
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-12-29 22:32:08 +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
UbitUmarov
c78da183b2
expire also from weak references
2016-12-29 03:25:12 +00:00
UbitUmarov
3a310d77c8
forgot one gc.collect wait for finalizers
2016-12-29 03:12:50 +00:00
UbitUmarov
1ffcc59818
gc is also a unwanted cache, so use it. With this, memcache with short expires is no longer needed
2016-12-29 03:10:10 +00:00
UbitUmarov
7cf2e81223
reinforce gc.collect on region load to also do pending finalizers
2016-12-29 00:47:02 +00:00
UbitUmarov
73b2c82427
adjust camera collision detection checks for new FS
2016-12-28 12:19:05 +00:00
UbitUmarov
65b4e17a80
robust textures add missing returns or redir case
2016-12-26 19:38:13 +00:00
UbitUmarov
293b65ac82
FloatSamCache: dont use slideexpire on current libovm expirecache. Change example settings to use memory cache with short expire time. ( 20% to 40% mem cache hit rates observed
2016-12-25 05:46:16 +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
UbitUmarov
679d52ced6
add missing file
2016-12-23 19:41:57 +00:00
UbitUmarov
bfb1cb9f33
a few more changes on user profiles
2016-12-23 16:10:07 +00:00
UbitUmarov
70475c676b
dont try to use a parcelID as encoded position when it is not
2016-12-23 14:25:22 +00:00
UbitUmarov
b6266c6a1d
check if a parcelID is a encoded position data or a true UUID. This may fail, just reducing the odds.
2016-12-23 14:23:07 +00:00
UbitUmarov
0887be3c12
replace the (hidden) GRID_GOD by a more usefull GOD so includes all types. This needs to be changed to current effective godlevel check (sp.GodLevel) when that is fixed. Automatic god powers need be (optionaly) removed
2016-12-23 03:42:50 +00:00
UbitUmarov
2e7e4427d0
UserProfileModule threading issues
2016-12-23 02:17:42 +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
UbitUmarov
84c3a96399
UserProfileModule refuse changes to classifieds outside home grid ( viewers may show a delete until profile is open again). Charge money only on classified creation sucess
2016-12-22 07:52:50 +00:00
UbitUmarov
5571c499ba
UserProfileModule we can't use parcels globalID because we do not have a global locator. we need to send replies to viewer on pick update and delete
2016-12-22 07:06:40 +00:00
UbitUmarov
330369f904
take UserProfileModule out on onMakeRoot event, add some caching
2016-12-21 22:27: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
UbitUmarov
7367f03d6e
remove a odd raycastv3 config option
2016-12-21 20:39:38 +00:00
Melanie Thielker
7286b27ff9
Add GRID_GOD to the list of values allowed for enabling OSSL functions
2016-12-21 14:35:34 +00:00
Melanie Thielker
90be8d78c3
Remove obsolete config option "EventQueue". It's been always on for ages!
2016-12-20 17:10:33 +00:00
Melanie Thielker
66c18438f2
remove obsolete config option "storage_prim_inventories"
2016-12-20 17:08:15 +00:00
Melanie Thielker
e40820cab1
Remove obsolete "gridmode" config default in code.
2016-12-20 17:01:48 +00:00
UbitUmarov
30cd36ff98
leave stupid broken permissions alone
2016-12-18 03:56:53 +00:00