Commit Graph

7082 Commits (81dcf223bf2c564423d2c5c101ea95b6d79c6eab)

Author SHA1 Message Date
Dr Scofield 68019e8d98 cleaning up warnings in MSSQL code. 2008-11-17 11:07:18 +00:00
Dr Scofield ae0bcab35e adding #pragma warnings to yprolog language support 2008-11-17 11:06:24 +00:00
Melanie Thielker 05fb40dc0b Use the message transfer module to pass items across the grid via the profile 2008-11-17 08:29:37 +00:00
Melanie Thielker bb936d8a2f Correct prim counts for group land. Correct MessageTransferModule startup 2008-11-17 08:15:43 +00:00
Melanie Thielker 598316c890 Make object chat come from the root prim's center, rather than trying to make
it come from a child prim position.
2008-11-17 05:57:58 +00:00
Melanie Thielker 2a8020b9d9 Back out the attachment location patch to debug a crash 2008-11-17 05:47:36 +00:00
Melanie Thielker 3f4aeccca3 Try to fix login crash 2008-11-17 05:37:24 +00:00
Melanie Thielker fa50156b4c Make the messageing server re-register with all it's user servers every five
minutes. This ensures that things don't get messy if a user server is restarted
and the user server's operator has no control over the host the message servers
run on.
2008-11-17 05:04:33 +00:00
Melanie Thielker 08b1e1a1f6 Fix previous build break 2008-11-17 04:34:19 +00:00
Melanie Thielker 928d003bf5 Change the semantics of the Allow_* os function control. Omitting a function
causes defautlt behavior. "true" now means usable unconditionally, "false"
means disabled, and a list of UUIDs restricts it.
This changes SECURITY! If you used "true" here before, you shoudl review
your setup!
2008-11-17 04:23:03 +00:00
Melanie Thielker 840ef17b8d Allow more then one user server in the user server config of the
message server. This is needed for larger grids
2008-11-17 03:28:38 +00:00
Melanie Thielker 0e7b6879d2 Add some null checks 2008-11-17 00:45:56 +00:00
Melanie Thielker 74ba1bb180 Fix child prims in attachments chatting from near 0,0,0 rather than
the avatar position. Fixes "silent" child prim scripts
2008-11-17 00:28:47 +00:00
Homer Horwitz 4343ddeec1 Fix NRE on TP-to-home, if the home-region is unavailable. 2008-11-16 23:53:00 +00:00
Homer Horwitz 07afe9c137 Fix friends again. Friends-handling is now stateless and, thanks to
MessageTransferModule, much easier to understand (I hope).
2008-11-16 23:50:18 +00:00
Melanie Thielker 4d23d22fb1 Remove a redundant parameter 2008-11-16 23:25:36 +00:00
Melanie Thielker 5e2e05a1c1 Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
fromAgentSession field.
2008-11-16 22:04:01 +00:00
Homer Horwitz 78d42a7fc8 - Fix a formatting error in a log message (Mantis#2635). 2008-11-16 21:32:10 +00:00
Melanie Thielker 3f818e001d First step tidy-up of IM packing/unpacking/repacking 2008-11-16 20:32:00 +00:00
Homer Horwitz e1ccbed982 GridIMs don't have a (sending) client, which led to a NRE on access.
Doesn't use client now in that case.
2008-11-16 19:45:46 +00:00
Melanie Thielker 9e7d00c1e6 Add MessageTransferModule interface to all scenes, not only the first 2008-11-16 18:59:58 +00:00
Melanie Thielker ca8a2cad53 Fix 2 bugs in the message transfer module, thanks, Homer Horwitz! 2008-11-16 18:53:17 +00:00
Melanie Thielker e46719e8f1 Make return object actually use the return object permissions 2008-11-16 18:27:24 +00:00
Melanie Thielker 5aa10a8ab1 Add group prim count support to land properties 2008-11-16 04:57:37 +00:00
Adam Frisby 29eec33506 * Abstracted some methods from SceneObjectGroup to allow them to be overridden more easily. Specifically object creation from XML. 2008-11-16 04:40:36 +00:00
Melanie Thielker 8e119130c5 Make a quick stab at the "Open data reader" issue.
MySqlDataReader needs to be Close()d explicitly. Disposing it or letting
it fall out of scope will not free it's hold on the connection.
2008-11-16 04:39:41 +00:00
Melanie Thielker 3de41ea377 Reinstate the IM sending from scripts and from autoreturn 2008-11-16 04:31:52 +00:00
Jeff Ames 55e2ede065 Update svn properties, minor formatting cleanup. 2008-11-16 02:55:24 +00:00
Melanie Thielker 4f293aa99c Adds the missing interface to fix the build 2008-11-16 00:54:10 +00:00
Melanie Thielker 27e557eb98 Introduces the message transfer module. It splits the transfer mechanics off
the IM module and makes it into a module of it's own, which can be used by
all other modules. Removes some ugly hacks. Refer to the IM module to see
how it's used. Also fixes the persistence issue (Mantis #2598)
2008-11-16 00:47:21 +00:00
Dahlia Trimble a3f785e978 Changed sculpted prim texture scaling method to bilinear to reduce scaling artifacts 2008-11-16 00:24:10 +00:00
Homer Horwitz 9a6cdf662b Mantis#2626: Thank you Ruud Lathrop, for a patch that cleans up MSSQL code. 2008-11-15 21:27:10 +00:00
Homer Horwitz 448e4b0beb - Change llSetRot behavior so it matches the SL behavior (in particular, the
rather strange behavior if used in a child prim).
- Small refactoring.
2008-11-15 21:03:06 +00:00
Homer Horwitz e26169f0b0 Mantis#2552: Thanks idb, for a patch that fixes persistence of physical prims.
(added a fix for the broken build from last commit, too)
2008-11-15 18:00:34 +00:00
Homer Horwitz 21b69ac515 Mantis #2621: Thanks idb, for a patch that will persist regularily changed objects better.
Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds
after the last change, but latest MaximumTimeBeforePersistenceConsidered after
the first change (both are configurable in OpenSim.ini.example and are set to
60 and 600 as default).
2008-11-15 17:52:00 +00:00
Homer Horwitz 3fdc445dd1 Prevent NRE if you do a llSetStatus(STATUS_ROTATION...) on an object that isn't physical. 2008-11-15 17:19:35 +00:00
Homer Horwitz 1f06532b82 Hack to temporarily fix friends-handling. This will be redone as soon as
Melanie's CommunicationModule is in.
Please note: imSession is a transaction-ID, *not* the agent's session.
2008-11-15 16:25:30 +00:00
Jeff Ames e40fe2db26 Update svn properties, minor formatting cleanup. 2008-11-15 02:21:52 +00:00
Justin Clarke Casey 00d6114525 * test: Add scene root agent test stub, since I'll be picking up with something else the next time I start coding on OpenSim 2008-11-14 21:06:40 +00:00
Justin Clarke Casey a760586f26 * minor: remove mono compiler warnings 2008-11-14 20:15:22 +00:00
Justin Clarke Casey 95a5bfc560 * refactor: Have the entity list tests use the infrastructure method rather than cut n paste 2008-11-14 20:09:12 +00:00
Justin Clarke Casey 2bb4b45626 * Move test scene construction infrastructure methods to a separate class for future common use 2008-11-14 20:06:44 +00:00
Melanie Thielker 5214d39e7c Mantis #2618
Thank you, StrawberryFride, for a patch that adds group permission support
to MSSQL. Contains a migration, back up your database.
2008-11-14 19:36:29 +00:00
Melanie Thielker 1bd0721dbe Add SQLite and the missing migrations files for last commit 2008-11-14 19:00:14 +00:00
Melanie Thielker d66f3993de Add group permissions to agent inventory.
Contains a migration. May contain nuts.
Please back up your inventory data store. This revision changes the interface
version!! No older regions can connect to these new UGAIM, and the new regions
can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss
Currently persisted on MySQL only.
2008-11-14 18:54:38 +00:00
Justin Clarke Casey e3770cfee6 * Allow new script creation to be locked down to only gods if specified in OpenSim.ini
* This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment
* Default remains to allow all users to create scripts (subject to existing permissions if enabled)
2008-11-14 18:43:40 +00:00
Melanie Thielker 9960637545 Try to make the test pass again 2008-11-14 17:53:58 +00:00
Melanie Thielker edee11ff87 Reapplying a revised version of Christopher Yeoh's (IBM) patch for allow
inventory drop. Also adds a new flags, "propagate_permissions" to
OpenSim.ini to control that feature.
2008-11-14 17:24:56 +00:00
Justin Clarke Casey 165fcd1aac * Switch default permissions back to false (so they are not on) as they were two revisions ago, since it sounds like this was our agreed position from some time back
* Make the default also false (to match what is in OpenSim.ini.example)
2008-11-14 15:48:34 +00:00
Justin Clarke Casey 8372880c75 * Hook up create new object event in the permissions module
* Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not!
* Add some explanation in OpenSim.ini.example for serverside_object_permissions
2008-11-14 15:36:46 +00:00