Commit Graph

25273 Commits (d90b68c2a637b822b826a0cf3c52991aa9ee2c97)

Author SHA1 Message Date
Geir Nøklebye 7cf82a71d6 PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast that fails with newer versions of NPGSQL.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-13 17:15:47 +01:00
UbitUmarov 16f02cb6fd we can't allow abort to change only one dic 2017-05-13 16:34:29 +01:00
UbitUmarov 9ea49d107d fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara 2017-05-13 15:58:35 +01:00
UbitUmarov 086eb28a91 a bit more on ServicePointManager 2017-05-12 22:03:53 +01:00
UbitUmarov 948138a3a4 lower connection limits again 2017-05-12 16:45:58 +01:00
UbitUmarov d08df7bda7 mantis 8165: fix a null ref on hg gatekeeper on another place 2017-05-12 15:22:16 +01:00
UbitUmarov 5e577baa10 fix a null ref on hg gatekeeper 2017-05-12 14:42:21 +01:00
UbitUmarov 0f2ab6bddd soem changes on connections limits 2017-05-12 14:20:06 +01:00
UbitUmarov 8bdd4c3ed9 yes it is not destiny grid but destination.. thx u know who :) 2017-05-12 12:30:59 +01:00
UbitUmarov a932f24ba4 minor fix on sensorrepeat 2017-05-12 03:53:18 +01:00
UbitUmarov 19d141c9a5 avoid a null ref 2017-05-11 23:46:06 +01:00
UbitUmarov cc95b7e2d4 don't allow multiple presences of same avatar also on HG gatekeeper 2017-05-11 20:26:06 +01:00
UbitUmarov f09fafff34 some cleanup 2017-05-11 20:24:47 +01:00
UbitUmarov fb427daa34 avoid a null ref 2017-05-11 19:06:49 +01:00
UbitUmarov 211a1fe9d4 do not allow multiple logins of same avatar. No HG case, that needs work on some paths. option m_allowDuplicatePresences is checked, but is is a total nonsense.. Presences control will get broken if allowed, No one ever added code to suport it correctly. 2017-05-11 17:59:37 +01:00
UbitUmarov 5968c6372a let new regions know about grid services god 2017-05-11 17:30:57 +01:00
UbitUmarov 7e8c996d1b add a grid services god account 2017-05-11 17:15:02 +01:00
UbitUmarov 731510c305 let .net decide GC mode from its defaults on the platform 2017-05-09 18:27:06 +01:00
Geir Nøklebye 03a38a80ab PGSQL: Rewrote EstateStore.migrations as it errored out in version 8 leaving the database without any estate tables on first run. It also lacked primary keys on estate_map and estate_settings. Syntax requires Postgresql 9.5 or higher.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-09 12:00:45 +01:00
UbitUmarov 957ca41b13 remove file bin/Mono.Posix.dll that causes problems with mono 2017-05-09 11:58:07 +01:00
Geir Nøklebye d952d62baa PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-08 20:25:03 +01:00
UbitUmarov 604b966d84 some conditional dispose on http requests inputstream 2017-05-08 00:40:15 +01:00
UbitUmarov 8ef43e5fb3 take more heavy work out of opened dbconn sections 2017-05-07 22:22:28 +01:00
UbitUmarov d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
UbitUmarov de55ad9545 oops closed too soon 2017-05-06 22:12:45 +01:00
UbitUmarov c57215687f a few more changes on mysql 2017-05-06 21:43:22 +01:00
UbitUmarov 4b2ef46de6 don't hold dbconn longer than necessart 2017-05-06 20:40:29 +01:00
UbitUmarov 76337b1d8e another misplaced close 2017-05-06 20:38:38 +01:00
UbitUmarov 504736eb43 build const strings a compile time... 2017-05-06 20:23:55 +01:00
UbitUmarov 54eb6fc779 GZipStream does have a CopyTo() 2017-05-06 18:25:07 +01:00
UbitUmarov eb93855d84 dispose some MemoryStreams 2017-05-06 17:47:43 +01:00
UbitUmarov ae191cd304 dispose some MemoryStreams 2017-05-06 15:57:47 +01:00
UbitUmarov 025bef4e07 fix a few wrong placement ( this is a test by the way ) 2017-05-06 01:47:26 +01:00
UbitUmarov d26a9ed0b1 fix wrong placement 2017-05-06 01:41:33 +01:00
UbitUmarov d9038e650a MySQLConnector is not a MS product 2017-05-06 01:25:54 +01:00
UbitUmarov 3bc64f638a add a few guard checks on serviceThrottlemodule 2017-05-05 17:44:33 +01:00
Diva Canto 3f641d98bd Added a fully functional groups data layer for testing. 2017-05-04 20:17:54 -07:00
Diva Canto 424a7a274b Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2017-05-04 18:20:48 -07:00
Diva Canto dd88319495 Add a groups module to the perms test suite 2017-05-04 18:20:10 -07:00
Diva Canto ab4f870000 Change the engine of the groups table back to MyISAM, because MySQL 5.5 and older don't support full test search on InnoDB 2017-05-04 18:19:46 -07:00
UbitUmarov f31fe66ce1 fix bad move on xmlgroups 2017-05-05 01:53:02 +01:00
UbitUmarov 9e12ef9234 let all clients get a group title update on create group 2017-05-05 01:39:38 +01:00
UbitUmarov 04a50b47bf the new options i add where actually bad idea, they would make the
compatibility issue ethernal. Removed and extended the ugly date hack to
 group share outwards propagation, until a better way is found at least
2017-05-04 12:36:08 +01:00
UbitUmarov 3402819888 do the same in the cases we are just moving parts around and not changing their caches (ie their taskInventory) 2017-05-04 12:08:10 +01:00
UbitUmarov 3a8dd24fd1 move deep effective permissions aggregation to first time use and not on changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards 2017-05-04 11:37:13 +01:00
UbitUmarov d62aed7f46 fix right to change permissions of group owned objects 2017-05-03 21:12:16 +01:00
UbitUmarov 3ef583f205 fix right to change permissions of group owned taskitems 2017-05-03 19:39:42 +01:00
UbitUmarov fc46274732 still another missing conversion btw viewer and OS on groupd owned 2017-05-03 19:10:02 +01:00
UbitUmarov 4c42716022 taskitem group owned information was still incorrect 2017-05-03 18:11:50 +01:00
UbitUmarov 94bb6d965e change taskInventory copy/move to agents inventory rules 2017-05-03 16:03:26 +01:00
UbitUmarov b0244107dc viewer can't tell if a taskitem is group owned if we don't tell him; missing taskInv serial update 2017-05-03 15:31:42 +01:00
UbitUmarov 1b501f03f9 recover a lost trim in permissions modules names parsing 2017-05-03 15:30:43 +01:00
UbitUmarov 710677cdc6 mantis 8135 2017-05-02 15:16:56 +01:00
UbitUmarov a18ee3b6b3 fix LSL_ApiHttpTests 2017-05-02 12:35:06 +01:00
UbitUmarov a890ea312b disable LSL http listener (llRequestURL/llRequestSecureURL) if ExternalHostNameForLSL is not set in cofiguration or does not resolve 2017-05-02 11:23:41 +01:00
UbitUmarov ed22c5f3be Merge branch 'master' of opensimulator.org:/var/git/opensim 2017-05-02 01:09:32 +01:00
Diva Canto 9c82ff7673 Shuffle some code around 2017-05-01 16:49:42 -07:00
Diva Canto 3c43cdbbcc Added some indirect transfer tests -- Take Copy by another avatar 2017-05-01 16:42:47 -07:00
UbitUmarov 8498cc2f02 save a few nanoseconds 2017-05-01 23:07:57 +01:00
Diva Canto 1ca2a7937e Permissions tests: added test with 2 direct transfers with permission changes in between (in inventory) 2017-05-01 14:58:03 -07:00
Diva Canto 8e88a9d702 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2017-05-01 10:09:54 -07:00
Diva Canto 9c6dd5d967 Perms test framework: make a lot of things more generic. 2017-05-01 10:09:31 -07:00
Diva Canto 45096b6238 Initial commit of the emerging test suite for permissions and more. 2017-05-01 07:06:50 -07:00
UbitUmarov 28d8eda768 buysell: make sure we dont buy child parts, dont mess with absolute position its useless with variable size regions, and its a rezing job 2017-05-01 14:42:38 +01:00
UbitUmarov 60dc124872 rename sog.GetEffectivePermissions() since its use is now limited to more specific task, and no longer on current effective(full) path. Note that change ownermask start to be current ownermask, and filter it to all parts basemask 2017-05-01 14:18:59 +01:00
UbitUmarov 2dbf96593c Permissions compatibility hack 1: anyone copy - new permissions require that all items in all object parts contents have anyone copy set. Old code only required it on object. This hack tries to allow objects older than today to still work as before on this. (this is a test, we may need to change it) 2017-04-30 19:44:49 +01:00
UbitUmarov a96c0f760a having the file open then let PermissionsToString know about Export 2017-04-30 14:42:39 +01:00
UbitUmarov 0d59a29dc7 save some nanoseconds if unfolding will not change anything ( export default mks it rare, but looks nice) 2017-04-30 14:39:20 +01:00
UbitUmarov b67904a651 remove a redundant operation 2017-04-30 14:31:46 +01:00
Melanie Thielker cf1064a245 Add a missing viewer-relevant message to the perms module 2017-04-30 13:24:48 +01:00
UbitUmarov 10922c2a1a exclude lms from permissions checks. They are full rights, and broken on all dbs 2017-04-30 12:51:12 +01:00
UbitUmarov 514249e80e fix new landmarks default permissions 2017-04-30 12:43:09 +01:00
UbitUmarov 116d32d947 don't break groups permission mask 2017-04-30 00:14:45 +01:00
UbitUmarov d8341588b3 nore permissions masks hierachy 2017-04-29 23:59:56 +01:00
UbitUmarov fedd1a93d2 buysell: fix permissions masks hierachy 2017-04-29 23:09:32 +01:00
UbitUmarov 522695c821 update folded permitions if taking from world, or after unfold 2017-04-29 22:09:45 +01:00
UbitUmarov 04117d9f75 recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use easys code readability 2017-04-29 19:07:04 +01:00
UbitUmarov 725ccbb477 add check for valid folded perms 2017-04-29 16:58:43 +01:00
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