Commit Graph

25195 Commits (504736eb433d4f032c1930b70d9007934caef9c5)

Author SHA1 Message Date
UbitUmarov 74f0ffbda6 fix chain of contents sells 2017-04-29 02:45:26 +01:00
UbitUmarov 019b34ea39 BuySell: bug fix, use all object permitions for sold item, and not the operation rights one 2017-04-28 23:05:14 +01:00
UbitUmarov 00091f1fb9 forgot a change... 2017-04-28 20:13:53 +01:00
UbitUmarov ba4e13ef55 a few changes to permissions folding... we are testing. at this point only use master for TESTING also 2017-04-28 20:03:44 +01:00
UbitUmarov 8d3d87e0b2 add a usefull taint and update 2017-04-27 00:02:01 +01:00
UbitUmarov ce655056ca ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of
hollow cylinders plz delete contents of bin/MeshCache to remove defective
entries"
2017-04-26 18:21:58 +01:00
Diva Canto c8fcf9bceb Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2017-04-26 09:58:34 -07:00
Diva Canto 8dfab8757c Fill out Current Outfit folder with links when creating the initial avatar appearance. Some viewers (e.g. Singularity 1.8.7) get seriously confused when the avatar has no current outfit links. 2017-04-26 09:58:15 -07:00
UbitUmarov 1b8c71c965 give more information on Fatal Error during region startup 2017-04-26 16:15:33 +01:00
UbitUmarov ce3af94a69 mantis 6738: change parsing of the HTTP_CUSTOM_HEADER parameter and ignore entries in excess of 8 on the request 2017-04-26 07:19:44 +01:00
Diva Canto 2b8cdb2a75 If we're going to show regions twice (in standalone) at least make the formatting consistent... 2017-04-25 20:08:06 -07:00
UbitUmarov 7c5376f224 move mesh pbs creation code out of mesh upload code into to PrimitiveBaseShape.cs 2017-04-25 14:21:01 +01:00
UbitUmarov 29ab39f14f cosmetics on mesh upload encoding of number of faces on pbs shape. Use opensim shape enums in place of libovm for coerence, add a few coments. 2017-04-25 13:05:20 +01:00
UbitUmarov 2f6c78b888 finish encoding number of mesh faces in pbs shape on new meshs upload, and *HACK* flag it setting hollow shape to triangle. (some limited encoding as added some months ago, but only for viewers LOD). Use this hack flag to fix sop number of faces. old meshs will still report 8 faces, information to fix this seems lost unless the mesh asset is decoded 2017-04-25 04:58:24 +01:00
UbitUmarov 7a54c3e9c3 some fixes on the materials paramenters of llGetPrimitiveParams() 2017-04-24 11:46:13 +01:00
UbitUmarov c91e101224 add suport for materials parameters PRIM_NORMAL, PRIM_SPECULAR and PRIM_ALPHA_MODE of llGetPrimitiveParams(). Im sleeping at this time, this can be very wrong 2017-04-24 07:06:48 +01:00
UbitUmarov 65a1547209 fix (or actually break) llList2float() since LSL_Key is same as LSL_String, the case of invalid LSL_Key cannot be handle, since most likely it is a string 2017-04-24 02:05:39 +01:00
UbitUmarov 54819fa4ae mantis 8154 dont let self lResetOtherScript mean harakiri 2017-04-21 11:03:31 +01:00
Geir Nøklebye ebcfad1a83 store the physics inertia override in the database
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-04-20 21:21:23 +01:00
UbitUmarov 84c9125016 update ode binaries for windows; add a minimal velocity for bounce 2017-04-20 02:25:22 +01:00
Geir Nøklebye 28125202cc update for The new Constant: integer OBJECT_REZZER_KEY = 32 + adding missing support for fields in the prims table.
Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2017-04-19 14:04:54 -04:00
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