Commit Graph

7715 Commits (6ae1b80d20cbcb850a715bd6b452b0eb575a1291)

Author SHA1 Message Date
Justin Clarke Casey 6ae1b80d20 * Do some log tweaking to better see incoming connection success (and failure) 2009-01-14 17:34:04 +00:00
Justin Clarke Casey 2a5f060ed8 * Fix typo which meant that RestComms was never enabled if you explicitly enabled it
* In fact, it would only be activated if there was no [Communications] section at all (which would be the case for most people with existing region setups unless they 
specifically added it in
* This fix means that enabling inter-region rest comms is now the default
2009-01-14 16:52:12 +00:00
Justin Clarke Casey e10de20772 * Apply http://opensimulator.org/mantis/view.php?id=2995
* This fixes MSSQL for user friends lookups
* Thanks StrawberryFride
2009-01-14 14:53:42 +00:00
Johan Berntsson a885d2a6ff Added a primitive shape function for spheres 2009-01-14 07:16:03 +00:00
nlin bfdf2479fb Improve parsing of joint parameters for NINJA physics (Mantis #2966).
Multiple spaces or leading/trailing spaces when specifying the prims 
to connect should no longer cause problems.
2009-01-14 04:59:57 +00:00
diva 866c85be0d Easy on locking m_scenePresences in RequestTeleportLocation. With the extra locks of SceneGraph ScenePresences introduced in 7982, this was making TPs not close the agent in the departing region due to locking. That locking problem seemed to occur only in Linux/mono -- I suspect a mono bug here. 2009-01-14 04:18:28 +00:00
Melanie Thielker 1c3542303c Change fake parcel ids to allow a Z coordinate. Change TP by lure
to also transmit and use a Z coordinate.
2009-01-13 23:29:54 +00:00
Teravus Ovares 412dd1260b * Add a second logoffuser message with the region secret.
* This ensures that the user will be logged off successfully by a properly permissioned user server
2009-01-13 23:27:48 +00:00
Teravus Ovares c80b2bb98e * Fix a few caps limiter that were causing problems
* Added a path for all sessionids to be logged off when a region secret is provided.  (helps log-off dead agents).
2009-01-13 23:25:47 +00:00
Teravus Ovares f013b26241 * Fix an invalid seed cap that could be causing issues.
* CapsUtil.GetRandomCapsObjectPath(); contains a / and the regionInfo.httpServerURI contains a / so that makes 
* response.SeedCapability = regionInfo.httpServerURI + CapsUtil.GetCapsSeedPath(capsPath); contain two "//" leading to a seed caps path definition like //CAPS/f7ba4238-ec86-4a2b-b3f6-4d9b56070000/, which is wrong
2009-01-13 22:27:26 +00:00
Sean Dague 9dff38ca14 * Extended TextureSenderTests and modified TestClient.cs with new methods
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-13 19:55:07 +00:00
Justin Clarke Casey 1baa921463 * minor: remove some mono compiler warnings 2009-01-13 18:35:20 +00:00
Justin Clarke Casey 363054bb2c * minor; Very minor non-functional tidy ups 2009-01-13 18:23:37 +00:00
Justin Clarke Casey 2676927466 * Add copyright notice to NHibernate.UserFriend 2009-01-13 17:16:56 +00:00
Justin Clarke Casey bfef9a7b0d * Apply http://opensimulator.org/mantis/view.php?id=2991
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005
* Thanks mpallari
2009-01-13 17:13:49 +00:00
Justin Clarke Casey c8ea09f325 * Apply http://opensimulator.org/mantis/view.php?id=2992
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch
* Thanks tlaukkan!
2009-01-13 17:04:52 +00:00
Justin Clarke Casey feba3cc3ff * Removing set-time command since it doesn't actually do anything at all
* If this was crucial to someone then it should be reinsertable as a module
2009-01-13 17:01:57 +00:00
Justin Clarke Casey 66637ad6e7 * minor: Add a couple of code comments about enabling httpserver logging 2009-01-13 16:56:10 +00:00
Justin Clarke Casey 1e365df495 * minor: Stop friendship termination crashing the client thread if the friend to be terminated could not be found 2009-01-13 16:49:01 +00:00
lbsa71 87eff82b28 * Added resolving explicit .exe project names. This fixes mantis #2967 2009-01-13 10:06:53 +00:00
lbsa71 db88c7c3ee * Fixed breaking VS2008 build. Added missing Statistics reference 2009-01-13 09:31:27 +00:00
Dr Scofield 9bcaf98e37 From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch adds the automatic granting of PERMISSION_CONTROL_CAMERA
on request to a script when an avatar is sitting on the object that the script
resides in.

It also automatically removes PERMISSION_TAKE_CONTROLS and PERMISSION_CONTROL_CAMERA
from the scripts when an avatar stands up. It doesn't remove the other automatically
granted permissions but this follows LL server behavior. Removing these two
permissions avoids some potential race conditions (accidentally taking
control after the avatar has stood up) which may be why LL put
them in the first place.
2009-01-13 08:15:43 +00:00
Justin Clarke Casey efcf6ff095 * Extend current stub packet handler test into a really basic one that checks that a sent in packet ends up on the client queue ready for processing 2009-01-12 20:42:44 +00:00
Charles Krinke c00c855cc5 Thank you kindly, Tlaukkan (Tommil) for a patch that:
Cleaned up schema creation scripts of MySQL to compliant form and created 
SQLite scripts from them. In future it would be optimal if scripts from 
different databases could be generated from MySQL scripts to ensure optimal 
consistency between schemas of different databases. Did not yet review 
column names. ID columns seem to have variety in naming which can be confusing.
2009-01-12 20:14:39 +00:00
Justin Clarke Casey ade107f04f * Separate starting a client thread into a separate Start() method (which matches the existing Stop() and Restart() methods) 2009-01-12 19:37:56 +00:00
Homer Horwitz 2cfd18b6a2 Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.
Fixes Mantis #2989.
2009-01-12 19:28:40 +00:00
Homer Horwitz 7caf1a4abf Fixed some svn properties 2009-01-12 19:24:20 +00:00
Justin Clarke Casey d4d2c19594 * Extend PacketHandlerTest to fire in a packet.
* Can't test result yet since the Client thread handles it with unpredictable timing
2009-01-12 18:45:03 +00:00
Justin Clarke Casey fb8faa8336 * Apply http://opensimulator.org/mantis/view.php?id=2913
* Add the KanEd scripts to the standard library
* Thanks Fly-Man-
2009-01-12 18:00:46 +00:00
Justin Clarke Casey 04d3e83a6f * Remove FunSLUDP code since this has moved to http://forge.opensimulator.org/gf/project/funmv/ 2009-01-12 17:54:53 +00:00
Justin Clarke Casey af0fcb96a4 * Apply http://opensimulator.org/mantis/view.php?id=2965
* Adds first version of MsSql2005Dialect support for NHibernate
* Thanks mpallari
2009-01-12 17:51:43 +00:00
Justin Clarke Casey 41377008e1 * Apply http://opensimulator.org/mantis/view.php?id=2980
* Add single conversion to MSSQLManager.DbTypeFromType
* May resolve storage of prim information under MSSQL
* Thanks SirKimba
2009-01-12 17:44:39 +00:00
Justin Clarke Casey 6e9d5e4ea7 * refactor: move packet handler interface into a separate class 2009-01-12 17:31:30 +00:00
MW 3c9d57c11b Added WearableItem class to the framework. This class can be used to: load from disk, create from code, or modify a existing Wearable item. Its not currently used by anything in trunk but is a handy utility class.
I'll be writing some instructions on its use as part of a more general article on various methods of creating better initial avatars for new users. Which will include some code samples, but as each grid has its own requirements, there will be no out of the box solution included.
2009-01-12 15:37:30 +00:00
Sean Dague 77f0df6394 Caught exceptions in some console commands
From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:34:05 +00:00
Sean Dague d770bea291 Enhanced LoginServiceTests to test for authentication and response
Expanded TestUserDataPlugin to cover new methods

From: Arthur Rodrigo S Valadares <arthursv@linux.vnet.ibm.com>
2009-01-12 15:33:56 +00:00
Melanie Thielker 2ba9dd7eeb Cause permissions on root prims to not override folded permissions anymore
Fix propagation of folded permissions from object inventory to agent
inventory.
2009-01-12 13:19:33 +00:00
MW e1eb1b2cfa a little bit more work on LLFileTransfer.cs, from over the christmas/new year period. Still not working/in use but hopefully I can finish it soon. 2009-01-12 10:16:33 +00:00
Mike Mazur a7bc56073c Make ZERO_ROTATION.y a float. Fixes Mantis #2985. 2009-01-12 09:04:31 +00:00
Charles Krinke d7f1660761 Commenting out the succesful REST message as under heavy use there
are multiple messages in a second and that is usually (in my experience) meaning 
the logging itself is slowing down the program. Leaving the unsuccesful message
as we need to know about that path.
2009-01-12 03:49:48 +00:00
Charles Krinke 40f34aeffd Thank you kindly, Tlaukkan (Tommil) for a patch that:
Fixed all NHibernate unit tests by implementing missing persistency 
methods, tables, columns and fixing bugs in the existing implementation.
Two minor changes to classes outside NHibernate module: Added Scene 
instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest 
as this was required by the NHibernate persistency. In the process added 
also mock constructor to Scene which only populates RegionInfo in the scene 
which is used by ScenePart.RegionUUID. NHibernate module is still in 
experimental state and has not been tested at opensim region or ugaim runtime 
configuration. Adding unit tests to build is not yet advisable nor using 
NHibernate module in any production setup.
2009-01-11 18:24:16 +00:00
Charles Krinke 16561bd528 Thank you kindly, Tlaukkan (Tommil) for a patch that:
NHibernate MySQL migration was not working as mysql dialect is 
MySQL5Dialect now instead of MySQLDialect which is the migration 
sub folder name. Fixed this by adding simple dialect to migration 
sub type mapping to manager initialization to avoid need of renaming 
migration script folder each time MySQL version changes. Removed 
shared session and changed session to be constructed per call as 
NHibernate session is not thread safe. Refactored manager member 
names to be according to the naming convention (full words in camel case).
2009-01-10 16:31:00 +00:00
Dahlia Trimble 630ce5b264 Revert progressive texture patch from r8001 until issues can be addressed 2009-01-10 09:15:23 +00:00
Charles Krinke a9988fa6cf Include the changes from StrawBerryFride's patch to
OpenSim.ini.example.
2009-01-10 04:23:23 +00:00
Charles Krinke 5e87e49570 Thank you kindly, StrawberryFride for a patch that:
Enable users to enable only selected methods out of the 
available set of remote methods to restrict remote 
functionality to less harmful methods, such as 
admin_broadcast, or admin_region_query.
2009-01-10 04:16:06 +00:00
Dahlia Trimble 3bdd4db3fd Thanks jhurliman for a patch that implements progressive texture downloading - Mantis #2655 2009-01-10 01:46:47 +00:00
Justin Clarke Casey 1149bde7cb minor: remove mono compiler warning 2009-01-09 21:15:34 +00:00
Justin Clarke Casey 7cd8748096 * minor: Put in stub LLPacketHandler testing code 2009-01-09 21:05:53 +00:00
Melanie Thielker 993b965f0a Prevent error message from scripted IM
Fixes Mantis #2970
2009-01-09 15:15:41 +00:00
Melanie Thielker 7c7ea57c5c Finish dwell sending, adding the forgotten method body.
Add UserInfo and a dummy reply to enable Hippo Viewer users to
disable IM logging (option was greyed out in OpenSim before)
2009-01-09 02:59:56 +00:00