Commit Graph

8883 Commits (0374f1b144f3faf35da39e3925e8abd4b2a8bd04)

Author SHA1 Message Date
dahlia fb2cabd6b3 corrections to viewerMode AddPos() 2009-09-25 13:01:48 -07:00
Teravus Ovares (Dan Olivares) 0a0b532270 * Fixes teleporting within megaregions on HG enabled regions. You can teleport around now. (but it still doesn't fix the inconsistent attachment state when teleporting into region slots that are not the south west region on megaregions) 2009-09-25 15:31:19 -04:00
Justin Clark-Casey (justincc) 2995d87d75 minor: remove some mono compiler warnings 2009-09-25 19:29:40 +01:00
Justin Clark-Casey (justincc) 0bdf75637f Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-25 19:19:01 +01:00
Diva Canto eed8a61559 More small changes to FlotsamAssetCache as per mcortez' request. 2009-09-25 08:47:45 -07:00
Diva Canto 902279f0fd Moved the property RegionLoginsEnabled from GridComms to the Scene -- not the scene itself but SceneCommunicationService, for now. Beginning to clear the code from using Region.Communications. grid stuff. 2009-09-25 08:39:09 -07:00
Justin Clark-Casey (justincc) 9249c026f2 Don't preserve full user profile details within iars for now
This information was not being used in the load process
2009-09-25 16:22:43 +01:00
Diva Canto 295868033f Better error handling on the client-side grid connector. 2009-09-25 07:47:58 -07:00
Diva Canto b2772b3a2d Added GridForm.html in Tests/Clients/Grid that shows how to interact with a grid server via regular Web forms. May be good for developing administrative tools. 2009-09-25 07:38:05 -07:00
Justin Clark-Casey (justincc) 613cb417c0 add control files containing version info to iars 2009-09-25 14:52:53 +01:00
Justin Clark-Casey (justincc) 730458be1f minor: remove some mono compiler warnings 2009-09-25 14:31:29 +01:00
Diva Canto 52e477b41f Better guards on RegisterRegion in GridService.
Added serverPort to the fields that get stored (I think this is the UDP port).
2009-09-25 06:02:41 -07:00
Diva Canto eb0aa6a7f4 Make the grid client deregister the test regions at the end, so that they don't stay in the DB. 2009-09-24 18:48:38 -07:00
Diva Canto b6824c495c Deleted the meaningless console commands on the GridService. Will need to add meaningful ones. 2009-09-24 18:28:38 -07:00
Diva Canto a792933cba Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-24 18:25:28 -07:00
Diva Canto 6a5d7650d0 All tests pass for MySQL/MySQLRegionData.
Added OpenSim.GridServer.ini.example that I have been using for testing the ROBUST grid service with the GridClient.
2009-09-24 18:23:55 -07:00
Dan Lake 1b2828f5d8 Meshmerizer stores dictionary of unique Meshes keyed on construction parameters. CreateMesh() returns a Mesh from the dictionary or creates a new Mesh if it has not been created before. Meshes are never purged from the dictionary. The raw Mesh data is discarded once the memory is pinned for ODE use. All copies of the same prim/mesh use the same pinned memory. ONLY IMPLEMENTED AND TESTED WITH MESHMERIZER AND ODE
Signed-off-by: dahlia <dahliaTrimble@gmailDotCom>
2009-09-24 18:20:59 -07:00
dahlia daffb69174 modify BulletDotNETPrim.cs in preparation for Mantis #4181 2009-09-24 18:16:29 -07:00
Diva Canto 1faaa0a43a GridServerPostHandler finished. GridClient tests all work. More guards on getting parameters and replies over the wire. 2009-09-24 15:30:00 -07:00
Diva Canto dd3d52ae1f Added test GridClient, which allowed me to remove a few bugs out of the new code. 2009-09-24 13:33:58 -07:00
Justin Clark-Casey (justincc) ad753d784c Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-24 17:35:03 +01:00
Justin Clark-Casey (justincc) 784e78a9e8 minor: make rest (not comm) modules less noisy if they are disabled 2009-09-24 17:21:47 +01:00
Justin Clark-Casey (justincc) e1abc3d4c4 re-enable registration of user service authentication method I accidentally disabled a few commits ago
load/save iar on a grid should now work, provided that the user service is this revision or newer
2009-09-24 15:22:47 +01:00
Justin Clark-Casey (justincc) f62b5e6cec Produce a different error message if the user service does not have the authenticate method available 2009-09-24 15:19:47 +01:00
Justin Clark-Casey (justincc) e67341f24c minor: replace xmlprc 'no method found' magic number with constant from xmlrpc library 2009-09-24 15:02:55 +01:00
Justin Clark-Casey (justincc) 7870152d23 Allow load/save iar password checks to be done in grid mode
This should allow load/save iar to work for grid mode as long as the grid user service is later than this revision
Grid services of earlier revisions will always erroneously report incorrect password.  This will be addressed shortly.
2009-09-24 14:54:12 +01:00
Diva Canto 2824bbc47b Changed name of the hyperlink XMLRPC method to linkk-region, so that it doesn't conflict with the existing one. 2009-09-24 05:48:35 -07:00
Adam Frisby ca69fac13e * Send Updated Information Packet to Clients after updating estate settings. 2009-09-24 22:02:29 +10:00
Adam Frisby 8605c5d2eb * Establishing why new console commands fail to work. >_> 2009-09-24 21:46:41 +10:00
Adam Frisby 57429423bb * Fixing typo. 2009-09-24 21:29:57 +10:00
Adam Frisby 71a4b02c7e * Minor commit, added two new math utility functions. 2009-09-24 20:56:01 +10:00
Adam Frisby aca9fd182e * Added two new commands to EstateManagementModule
* Also, I hate git.
2009-09-24 20:27:11 +10:00
Diva Canto 1260c81a9c More tests. Seems to be working.
Grid connector modules are enabled for standalones only, but nothing in the simulator uses them yet, so it's safe to go in.
2009-09-23 20:51:04 -07:00
Diva Canto fd8fb7735b First test passes -- regions being registered and retrieved correctly in Data.Null. 2009-09-23 20:39:25 -07:00
Diva Canto 3c19bd5142 Unit tests for the grid service. Yey! 2009-09-23 20:35:16 -07:00
Diva Canto 67276589c8 Changed IGridService to use the new GridRegion data structure instead of old SimpleRegionInfo.
Added grid configs to standalones.
2009-09-23 17:20:07 -07:00
Diva Canto b8f039897b Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-23 15:40:35 -07:00
Teravus Ovares (Dan Olivares) c592a60f46 Fix endlines on UrlModule.cs 2009-09-23 15:00:18 -04:00
Teravus Ovares (Dan Olivares) 9c2ffa8f2e * fix endlines in LSL_api.cs 2009-09-23 14:55:22 -04:00
Justin Clark-Casey (justincc) eb892e0545 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-23 18:42:20 +01:00
Diva Canto 35deff7ec4 Modules active. Tested HGGridConnector in standalone only for now. Modules commands work. 2009-09-23 09:27:01 -07:00
Justin Clark-Casey (justincc) 03438f7d44 minor: remove double initialization of user appearance module in Grid.UserServer.Main 2009-09-23 16:24:26 +01:00
Diva Canto 486a9a5b61 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-23 07:54:13 -07:00
Alan M Webb b7265abfae Added delay loop to give a newly created assembly time to appear. On
Linux (as an example), it is possible for the existence check to fail
because the file is not yet recognized by the file system. Although
the loop has a 250mS delay, in practise, the existence test in the for
loop is successful and no delay is introduced.

Next, this takes care of the two, unpredictable, situations where a
script fails to compile. The first is caused by an occasional SEGV in
the underlying mono VM while mcs is running, the second is caused by
file system latency.

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-23 14:49:34 +02:00
Diva Canto 882d2c9cc3 Added hg console commands to the module.
Added the IN connector module for link-region and corresponding handler to be used in the regions only. No service as such is needed.
This will replace the current link-region machinery. Compiles but not tested.
2009-09-22 20:25:00 -07:00
Adam Frisby 5dc3e560d3 * Makes SimulatorEnable messages 'reliable' and subject to redelivery. 2009-09-23 10:30:18 +10:00
Diva Canto ffd30b8ac3 Moved RegionName from RegionInfo to SimpleRegionInfo. 2009-09-22 14:46:05 -07:00
Diva Canto 0fc2b73e7b Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-22 14:15:53 -07:00
Diva Canto 34f4738159 Added HGGridConnector and related code. 2009-09-22 11:58:40 -07:00
Melanie 97c18caa76 Thank you, Intari, for a patch that implements the missing pieces of
Http-in and makes the host name for URL generation configurable.
Applied with changes:
llGetSimulatorHostname was not changed, because the change breaks
existing behavior and carries a data exposure risk. That value needs
to be configurable, the proposed fixed change is not acceptable.
2009-09-22 17:04:34 +01:00
Melanie dafe5bf05f Completely remove the prior implementation of the request event handling
on poll handlers. Introduce a new delegate on the PollServiceEventArgs that
allow access to the request headers and body.
2009-09-22 06:19:02 +01:00
Melanie c5be401d46 Remove support for executing a handler on poll. It caused other issues 2009-09-22 05:24:22 +01:00
Melanie 06871d51dd Disable the handler execution for poll services until the ramifications
can be studied
2009-09-22 05:13:50 +01:00
Diva Canto a9ced0fe79 Added Remote grid connector module. 2009-09-21 19:33:56 -07:00
Diva Canto ae07b220c6 Changed position methods so that they assume the input params are in meters. 2009-09-21 17:16:30 -07:00
Melanie b6b8a18d37 Add the headers collection to the keysvals for HTT requests 2009-09-21 20:21:01 +01:00
Melanie 61aaf3532a Add X-PollServiceID pseudo-header to the request handling for polls 2009-09-21 20:10:26 +01:00
Melanie 69b76acce1 Make the poll service handler call the handler method on incoming requests. 2009-09-21 19:46:29 +01:00
Melanie 5511c62580 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-21 18:12:12 +01:00
Diva Canto 6d0e7b6a6c Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-21 11:05:20 -07:00
Diva Canto 390137d540 Added grid handler and grid remote connector. 2009-09-21 11:05:01 -07:00
Melanie bc9e4cfd96 Add a RequestID (UUID.Random()) to the PollRequest and pass it to all
even hander delegates.
2009-09-21 18:11:40 +01:00
Melanie 04170521f0 Add a UUID param to NoEvents in PollServiceEventArgs to make it more generic 2009-09-21 14:59:31 +01:00
Melanie 2a1b5e3540 A small fix for remote console to accommodate PollServiceArgs behavior a
bit better
2009-09-21 14:14:22 +01:00
Diva Canto 9027d4b490 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-20 08:32:51 -07:00
Melanie f6410882a5 Finish the (untested) authentication connector 2009-09-19 18:18:47 +01:00
Melanie 0c364ee285 Complete the first authenticator method 2009-09-19 18:14:22 +01:00
Melanie 2f624800d3 Adding the deserializer for server form/xml replies 2009-09-19 18:06:25 +01:00
Melanie 2d9d25b367 Add the skeleton of the authentication connector and the forms data requester 2009-09-19 17:33:57 +01:00
Melanie 97ebdd4607 Adding Xml serialization of Dictionary<string, object> where object
is either another Dictionary<string, object> or a value that is
convertible to a string.
2009-09-19 16:57:15 +01:00
Diva Canto 462e3a4464 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-19 07:37:19 -07:00
BlueWall (James Hughes) d835485a1f Updatate llOpenRemoteDataChannel to provide the external hostname configured in the Regions.ini (or xml) to the XmlRpcGridRouterModule 2009-09-19 08:16:10 +01:00
Diva Canto 15d6bb4ce5 Reverted the order of reading configs in GridServiceBase. 2009-09-18 20:09:43 -07:00
Diva Canto 66f8166bd0 First pass at LocalGridServiceConnector. Nothing of this is used by the simulator yet. 2009-09-18 20:01:33 -07:00
Diva Canto 8f133cb46b Renamed the project lslc to OpenSim.Tools.lslc to conform to the naming conventions so far. Added copyright to it. 2009-09-18 19:28:58 -07:00
Diva Canto 4a55ff88c0 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-18 19:17:02 -07:00
Diva Canto e736273815 First pass at the grid service. 2009-09-18 19:16:30 -07:00
Justin Clark-Casey (justincc) 967cbde055 correct off-by-one error in save iar command handling 2009-09-18 22:25:32 +01:00
Justin Clark-Casey (justincc) 33ea86374a provide intelligble warning of why load/save iar doesn't work on grid mode, pending a fix 2009-09-18 22:22:00 +01:00
Michael Cortez 4eb07232e0 Group Membership information is sent out from two different locations, refactored out the filtered membership list code and used it in both locations. 2009-09-18 20:54:03 +01:00
Michael Cortez 65b9084c65 Add a little debugging for filtered groups lists based on requester 2009-09-18 20:54:01 +01:00
Michael Cortez 3b511d5138 Try to filter the groups list returns for User A, when sending to User B, based on User A's preferences for ShowInProfile. 2009-09-18 20:53:58 +01:00
Michael Cortez 247fdd1a4d Add additional instrumentation so that when there is an xmlrpc call failure, the actual xml that was returned from the groups service can be logged. 2009-09-18 20:53:56 +01:00
Michael Cortez 841cd69af7 Remove debug messages from some areas that have been highly tested, and debug info is no longer nessesary. 2009-09-18 20:53:53 +01:00
Michael Cortez 0e07a7ef10 Adding additional debug to output the group powers specified when updating a group role. This will be used to solve some issues with the Group Powers enum. 2009-09-18 20:53:50 +01:00
Michael Cortez 61699275ed Add additional debugging to help track down bug with notices not going to group owner/founder. 2009-09-18 20:53:47 +01:00
Michael Cortez 0cb012aae5 Revert "Thank you, mcortez, for a patch to address showing users in group list"
This reverts commit 69ef95693a.
2009-09-18 20:53:44 +01:00
Rob Smart 4f3975f04e addition of a new script function osSetParcelSIPAddress(string SIPAddress), now including iVoiceModule
This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel.

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-18 15:47:15 +02:00
nlin 56edbe9b60 Alternate algorithm for fixing avatar capsule tilt (Mantis #2905)
Eliminate dynamic capsule wobble. Instead introduce a small, fixed
tilt, and allow the tilt to rotate with the avatar while moving; the
tilt always faces away from the direction of avatar movement. The
rotation while moving should eliminate direction-dependent behavior
(e.g. only being able to climb on top of prims from certain directions).

Falling animation is still too frequently invoked.

Ideally the tilt should be completely eliminated, but doing so
currently causes the avatar to fall through the terrain.
2009-09-18 11:39:08 +09:00
Melanie 6461243e7c Remove the methods for full inventory fetch from the connector. Remove tests
for the old, removed asset handlers
2009-09-17 23:55:06 +01:00
Melanie 6779abf7f5 Remove The legacy inventory and asset servers. Bump interface version to 6 2009-09-17 23:39:58 +01:00
Alan M Webb 88294d9ebf While running a test case I had written to pursue problems with
llDie() not always completely working, I discovered I was
  getting a lot (60+ over 6000 iterations of the test case)
  null pointer exceptions in various physics related checks in
  SceneObjectPart. It was apparent that the (frequent) checks for
  PhysActor being non-null is an insufficient protection in a
  highly asynchronous environment. The null reference exceptions
  are one example of failure, but it could also happen that a
  sequence started with one instance of a PhysicsActor might
  finish with another?
  Anyway, I have implemented a safer mechanism that should
  stop the errors. I re-ran my test case with the fix in place,
  and completed nearly 1000 iterations without a single occurrence.

  SceneObjectPart is seriously in need of rejigging, if not for
  this reason, then for its ridiculous size.

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-17 17:49:13 +02:00
Melanie 69ef95693a Thank you, mcortez, for a patch to address showing users in group list
Removed patch 0005, which was unrelated and likely accidental, and further
didn't apply.
2009-09-17 15:38:17 +01:00
John Hurliman 39842eb4af * Adding Scale to EntityBase * Fixing the incorrect initialization of EntityBase.Rotation * Removed SceneObjectGroup.GroupRotation and added overrides for Scale/Rotation/Velocity 2009-09-16 17:17:40 -07:00
John Hurliman f42d085ab1 SceneObjectGroup cleanup. Removes the default constructor and unnecessary null checks on m_rootPart 2009-09-16 15:06:08 -07:00
Melanie df7904c58b Add the Null storage implementation for the RegionData service. Standalones
have no regions table, so this is needed
2009-09-16 18:20:08 +01:00
Melanie 5068404505 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-16 17:57:31 +01:00
Justin Clark-Casey (justincc) 077d01c225 switch default physics engine to ODE and default meshmerizer to Meshmerizer in code and in OpenSim.ini.example 2009-09-16 18:44:55 +01:00
Justin Clark-Casey (justincc) a4c093469a Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-16 18:21:46 +01:00
Justin Clark-Casey (justincc) 35260faead on iar save/load, let the user know if they put in the wrong password
refactor GetUserInfo() to eliminate copypasta
2009-09-16 18:20:55 +01:00
Rob Smart 281ad1251c updated the IAuthorizationService interface so that a message is passed back and can be displayed at the client when an avatar is denied access to a region 2009-09-16 10:04:07 -07:00
Melanie a251864e64 Add the migration for scoping grid data 2009-09-16 17:56:24 +01:00
Melanie 90a4d4f9f9 Adding the MySQL RegionData service. 2009-09-16 17:52:16 +01:00
Melanie 8622f205d7 Database interface tot the new region store 2009-09-16 17:05:35 +01:00
Alan M Webb 9cbb865985 This fix allows you to configure a script-to-console-log channel
association. Then, whenever there is an llSay to that channel,
  the message is directed to the OpenSim console log (and NOT
  forwarded to the client). This is a great way to capture scripting
  events to the log. To enable, add ScriptConsoleChannel = -xxx to
  the ScriptEngine parameters in the .ini file. Note that the
  message is written using Console.WriteLine rather than
  the rather more fragile log4net service. The console channel is
  also not subjected to the 1024 character limit imposed on regular
  say traffic.

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 17:07:53 +02:00
Alan M Webb d4c98ddffc This fix adds a stand-alone compilation environment
for OpenSIm scripts. It makes it very easy to address
  coding issues before going in-world to try a script
  out. This is a HUGE time saver if you're doing
  anything significant with scripts.

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 16:43:51 +02:00
Alan M Webb 3b1ef2bfd2 This fixes a boundary case error in the strided list
implementation. If the range included only a single item
  an empty list was always returned (has no-one been using
  this function?)

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-16 16:38:29 +02:00
Alan M Webb 3403ae81e8 Stop a loaded OAR from generating on_rez events. This brings
the OAR loader in line with region restart (and the correct
  behavior).
2009-09-16 16:29:52 +02:00
Melanie c5455d4fe7 And another go 2009-09-15 08:24:51 +01:00
Melanie cec296543c Attempt to fix the tests 2009-09-15 08:12:53 +01:00
Melanie 7c925744f6 Some OSGrid specific changes, please use this or later for OSGrid use 2009-09-15 07:55:29 +01:00
Teravus Ovares (Dan Olivares) 1ad35f65b3 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-14 16:30:36 -04:00
Teravus Ovares (Dan Olivares) dc925416d7 * fix missing lock on XMLRPC GroupsModule 2009-09-14 16:30:14 -04:00
Justin Clark-Casey (justincc) a964bc3ca4 Apply http://opensimulator.org/mantis/view.php?id=4142
Re-enable XMLRPC scripting calls
Moves XMLRPC scripting setup to a separate section
Thanks Fly-Man-
2009-09-14 18:31:34 +01:00
Justin Clark-Casey (justincc) 5a64ca4642 label load and save iar commands as experimental. 2009-09-14 16:57:47 +01:00
Justin Clark-Casey (justincc) dd4d70eafe re-enable load and save iar commands 2009-09-14 16:54:36 +01:00
dr scofield (aka dirk husemann) 19c5c8b98d fix to preserve UTF8 encoding in saved script state. 2009-09-14 16:14:59 +02:00
Teravus Ovares (Dan Olivares) feccfe4096 * Add the RegionCombinerModule back
* Yay anonymous delegate in an anonymous delegate.
2009-09-13 19:09:48 -04:00
Teravus Ovares (Dan Olivares) 3a9e1cf0a3 Temporarily removing the RegionCombinerModule to debug a mono assert on linux 2009-09-13 18:43:20 -04:00
Teravus Ovares (Dan Olivares) ed475f21ee * Use the BeginInvoke methodology instead of the FireAndForget methodology to try to mitigate a mono assert. Same functionality done a different way. 2009-09-13 18:28:45 -04:00
Teravus Ovares (Dan Olivares) 3562d75c17 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-13 18:12:44 -04:00
Teravus Ovares (Dan Olivares) eadea36142 * Move nested classes from the RegionCombinerModule into their own file.
* Rename the RegionCombinerModuleIndividualForwarder to RegionCombinerIndividualEventForwarder so there's no possibility that mono.addins sees any names similar
2009-09-13 18:12:24 -04:00
Melanie efc43aa0d9 Change the type value for given folders to -1. Prevents inventory blowups 2009-09-13 18:24:00 +01:00
Teravus Ovares (Dan Olivares) fe4f312d55 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-13 07:28:08 -04:00
Teravus Ovares (Dan Olivares) 4241cdc929 * More comments in the RegionCombinerModule
* Changed the Destination ID to 0 in the TeleportFinish Event (why did we have it as 3?)
* Added border based trigger teleports
* Fix MakeRootAgent border cross tests for ensuring that the position is inside the region to use the borders to figure out if it's outside the Region
2009-09-13 07:20:18 -04:00
Jeff Ames 01ec93945e Formatting cleanup. 2009-09-13 13:56:09 +09:00
Diva Canto 40c3ac4aeb Guarding the unpacking of the email field introduced by Robsmart. Most profiles don't have it. This may fix mantis #4134. 2009-09-12 09:30:14 -07:00
Melanie cfa0cbdffa Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-11 21:53:16 +01:00
Diva Canto c8ddc5b301 Changed GetRegionByHandle to GetRegionByPosition -- more generic. 2009-09-11 13:55:23 -07:00
Melanie 496b368334 Add a using() block around the timer script 2009-09-11 21:52:49 +01:00
Diva Canto 5de1ec735c Added GetRegionByHandle. 2009-09-11 13:17:37 -07:00
Diva Canto f6c4221a0d Removed RequestLandData from IGridService because it's already in another place.
Moved GetMapBlocks to a new interface IMapService.
2009-09-11 13:08:43 -07:00
Diva Canto 8fd604dcd4 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-11 12:55:25 -07:00
Diva Canto 44343ed94d Changed names of methods in IGridService. 2009-09-11 12:54:58 -07:00
Justin Clark-Casey (justincc) c573a32529 Disable non-user ready load/save iar for now pending possible format change 2009-09-11 20:38:08 +01:00
Justin Clark-Casey (justincc) f20a052ef5 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-11 18:20:41 +01:00
Rob Smart 44f1092b83 moved AuthorizationRequest and AuthorizationResponse to IAuthorizationService to keep service dependencies together. 2009-09-11 09:23:09 -07:00
Justin Clark-Casey (justincc) 212efc0c76 Remove bug where iar created folders could not be deleted after relog
New folders need to be created with AssetType.Unknown rather than AssetType.Folder!
2009-09-11 16:51:57 +01:00
Diva Canto ca0810a103 Minor indentation cleanup. 2009-09-11 06:59:10 -07:00
Rob Smart eaec7cf39c Changed RemoteAuthorizationServiceConnector so that it implements the IAuthorization interface method isAuthorizedForRegion looks up user and region data and delegates the remote authorization check to the AuthorizationServiceConnector
This keeps the IAuthorization as clean as possible and moves the dependency of using a UserProfileData object out to the connector from the scene.
2009-09-11 06:50:24 -07:00
Diva Canto ce332f235c Changed the interface of IAuthorizationService to get less data. 2009-09-10 19:56:08 -07:00
Rob Smart b5c8925fdf added AuthorizationRequest and AuthorizationResponse objects for passing Authorization messages over http. Added handling code for these in the AuthorizationServerConnector and AuthorizationServicesConnector 2009-09-10 17:53:05 -07:00
Rob Smart 953ef780c5 adding in working functionality for the remote connector 2009-09-10 17:52:42 -07:00
Rob Smart 16940097be The stubs for an authorization service, at the moment the service will always grant access to an avatar entering the region if requested. 2009-09-10 17:51:28 -07:00
Justin Clark-Casey (justincc) 552ba5334f Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-10 18:14:34 +01:00
Justin Clark-Casey (justincc) eabf5b6c3d refactor: Replace some iar item name generation in tests with helper function 2009-09-10 17:40:07 +01:00
Justin Clark-Casey (justincc) f5feb25dd1 fix spurious loading... messages on iar load by creating folders as version 1 rather than version 0 2009-09-10 17:08:26 +01:00
Teravus Ovares (Dan Olivares) 729fbee287 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-10 04:07:08 -04:00
Teravus Ovares (Dan Olivares) 1c878ec425 * Fix an off by one error on visible neighbors in the 'RequestNeighbors' method. This off by one error showed one extra row of neighbors on the north and east side 2009-09-10 03:25:55 -04:00
Jeff Ames c41387b864 Formatting cleanup. 2009-09-10 15:57:53 +09:00
Teravus Ovares (Dan Olivares) 656de67d85 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-10 00:31:32 -04:00
Teravus Ovares (Dan Olivares) dc3798ddc3 * Another Timer lock 2009-09-10 00:31:14 -04:00
Melanie 0034dd043f Many databases contain folders with invalid folder ID. Folder IDs are
supposed to be within -1 .. 22 and other values break inventory loading.
This patch fixes it and allows inventory to load. Invalid folder types
will be treated as ordinary folders.
2009-09-10 00:33:00 +01:00
Teravus Ovares (Dan Olivares) df9f80aabd Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-09 16:20:46 -04:00
Teravus Ovares (Dan Olivares) c605509da3 * Lock timers when Calling Start() and Stop() when the Thread Context is murky. This affects Mono only. 2009-09-09 16:20:19 -04:00
Diva Canto 5bf288745d De-hardcode default home locations on create user (standalone). 2009-09-09 11:02:31 -07:00
Justin Clark-Casey (justincc) 0cdec1fbc3 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-09 18:11:02 +01:00
Justin Clark-Casey (justincc) bb1f64fe51 minor: suppress mono warning 0162 generated when comparing const RegionSize against a literal number 2009-09-09 18:09:23 +01:00
Justin Clark-Casey (justincc) 0683cf6e0d Add test to check behaviour if an iar is loaded where no user profile exists for the creators
Disable generation of temporary profiles for now, instead record loading user as creator
2009-09-09 18:03:49 +01:00
dr scofield (aka dirk husemann) 62358014ed reformatting. 2009-09-09 09:56:07 +02:00
dr scofield (aka dirk husemann) d8a787bd89 fix: unicode notecards not surviving script treatment (fixes #4119 ---
perhaps).
2009-09-09 09:56:07 +02:00
Melanie 5c606d0233 Thank you, mcortez, for a patch to fix errors in FlotsamCache and expand
functionality, adding console commands.
2009-09-08 21:31:09 +01:00
Justin Clark-Casey (justincc) 2bb2a0ec44 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-08 17:50:45 +01:00
Justin Clark-Casey (justincc) b7256f2567 extend load iar test to loading into a deeply nested directory
correct bug associated with this
2009-09-08 17:42:07 +01:00
Justin Clark-Casey (justincc) 36a40e0295 refactor: change method argument name 2009-09-08 16:29:31 +01:00
Justin Clark-Casey (justincc) 46d64da830 minor: remove warning 2009-09-08 16:14:52 +01:00
Justin Clark-Casey (justincc) 76b21860e9 refactor iar name generation
slightly change the format of item archive names
2009-09-08 16:12:15 +01:00
Teravus Ovares (Dan Olivares) f0e2fd426b Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-08 04:43:17 -04:00
Teravus Ovares (Dan Olivares) 9a06056c9a * Fixes a 'take object from mega region' and rez it in a regular region.. and have it appear 5 regions over bug by limiting the stored position in the asset to Constants.RegionSize. The stored position in the asset gets overwritten anyway by the rezzing routine, but at least this way, there's no chance of the objects border crossing before the rezzing routine finishes. 2009-09-08 04:43:00 -04:00
dahlia 665cf0194a llRot2Euler() now returns angles -PI < angle < PI 2009-09-07 18:02:02 -07:00
dahlia 7a67b726d5 random drive-by maths optimization in llRot2Euler() and llEuler2Rot() 2009-09-07 17:12:17 -07:00
Justin Clark-Casey (justincc) fa1d79533e Only allow iar load/save if user is logged in to the region simulator 2009-09-07 19:57:44 +01:00
Justin Clark-Casey (justincc) 71f1628578 make oar module logging a little less noisy 2009-09-07 19:11:16 +01:00
Justin Clark-Casey (justincc) 10b075a33d change default iar filename 2009-09-07 18:42:53 +01:00
Justin Clark-Casey (justincc) b061f2a3b0 oops, disable T012_EstateSettingsRandomStorage() again since it does appear to fail occasionally 2009-09-07 18:39:23 +01:00
Justin Clark-Casey (justincc) 116933bee5 Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim 2009-09-07 18:26:53 +01:00
Teravus Ovares (Dan Olivares) 326c3ee14f * Enables Child Agents for all virtual regions in the region and their neighbors. There still may be issues with crossing into the mentioned neighbors of the virtual regions. This makes regions larger then 512x512 (3 virtual regions) display fully to clients.
* Uses a grid request multiple times, so the more regions are in the instance, the longer logging in takes.   Consider this temporary until there's a RegionInfo request similar to the MapItem Request.
2009-09-07 12:57:30 -04:00
Teravus Ovares (Dan Olivares) c4edefd9a0 minor: organizational
* Move the neighbor region lookup to another method from where it was before in EnableNeighbourChildAgents.
2009-09-06 21:26:59 -04:00
Melanie a6e2e94345 Thank you, StrawberryFride, for a hit-and-run patch to add authentication
and user services to MSSQL
2009-09-06 23:05:06 +01:00
Justin Clark-Casey (justincc) fc8efc1667 T012_EstateSettingsRandomStorage() which wasn't being run because the method was private
test appears to work, so method made public to run in tests
2009-09-06 22:09:19 +01:00
Justin Clark-Casey (justincc) 61c286f5d6 change iar load to make discrete inventory service requests rather than the cache 2009-09-06 22:07:35 +01:00
Justin Clark-Casey (justincc) 5640cac8e0 Add convenience functions to InventoryArchiveUtils for locating folders by assuming we're starting from the root
Change test methods to use convenience functions
2009-09-06 21:34:20 +01:00
Justin Clark-Casey (justincc) a92afe8dca change load iar test to use non-cache find item by path function 2009-09-06 21:26:27 +01:00
Justin Clark-Casey (justincc) d8316810a1 remove now unnecessary parts of save iar test 2009-09-06 21:20:41 +01:00
Teravus Ovares (Dan Olivares) 8797a82098 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-06 16:15:20 -04:00
Justin Clark-Casey (justincc) 1cc0c94f79 remove warning 2009-09-06 21:15:18 +01:00
Teravus Ovares (Dan Olivares) 511bddc8bc * Moves another Legacy avatar inbounds check to Border 2009-09-06 16:15:06 -04:00
Justin Clark-Casey (justincc) 881051c8cc Convert iar write request to use inventory service requests rather than cache 2009-09-06 21:14:42 +01:00
Justin Clark-Casey (justincc) 766d775625 remove warning 2009-09-06 20:17:30 +01:00
Justin Clark-Casey (justincc) 79c22651d7 refactor: use direct scene reference in inventory archive read request 2009-09-06 20:16:56 +01:00
Justin Clark-Casey (justincc) 8616230fcf refactor: replace some uses of iar module reference with scene instead 2009-09-06 20:04:18 +01:00
Justin Clark-Casey (justincc) 304c78bbbb Temporarily re-enable save iar test by manually insert the item into the old cache during the test 2009-09-06 19:30:03 +01:00
Melanie 998624544c Addendum to last commit. With the last commit, some other code that should
have been in this commit slipped in. If the last heartbeat is more than
2 seconds ago, kill that thread and start a new one. Untested.
his commit adds support to let the first heartbeat complete unconditionally,
since it is almost always longer.
2009-09-06 16:14:45 +01:00
Melanie 67d9a6bcc1 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-06 15:55:57 +01:00
Melanie dcebbc3f1b Remove the encryption from the IAuthenticationService interface. That
is too high up for that type of stuff. It needs to be at the
connector/handler level
2009-09-06 15:55:14 +01:00
Adam Frisby 5e4b7be712 * Typo in previous commit. 2009-09-06 21:53:03 +10:00
Adam Frisby 25313c2105 * Debugging why region loading is occurring so slowly on a setup with 64 regions in a Regions.ini (took 38 minutes on my test box) 2009-09-06 21:52:11 +10:00
Melanie bb1d4d23c4 Change the loader to actually load the user service data module 2009-09-06 04:44:08 +01:00
Melanie 2303945b4e Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-06 04:29:21 +01:00
Melanie 2a8f66b221 Revising the user account data interfaces. No user functionality yet 2009-09-06 04:28:42 +01:00
Diva Canto babe392709 uh-hum. It might help if I remembered to save the file. 2009-09-05 17:16:43 -07:00
Diva Canto 7d9d8eb90f This should get rid of the infinite loop upon looking up users/agents by UUID in grid mode. Grr. 2009-09-05 16:56:33 -07:00
Teravus Ovares (Dan Olivares) 8855c2e54c Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-05 03:00:50 -04:00
Teravus Ovares (Dan Olivares) 855fb58c96 * Moves ScenePresence SendCourseLocations to a delegate and provide a method to replace the delegate
* RegionCombinerModule replaces this delegate and distributes the CoarseLocationUpdates through the client connection in the region where the user would be if it was a separate region.
* Fixes Mini Map display on combined regions.
2009-09-05 02:58:35 -04:00
Diva Canto b6744a6566 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-04 22:31:10 -07:00
Diva Canto c48ec97817 Fixed some long-standing issues with appearance in HG1. 2009-09-04 22:30:30 -07:00
Teravus Ovares (Dan Olivares) 2c09634aed Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 20:19:50 -04:00
Teravus Ovares (Dan Olivares) 016a648a30 * Fixes various quirks rezzing in virtual regions.
* Breaks up the Client event registrations in Scene into methods of similar event types.   The generic event registration registers all of the event types.
*Created symmetrical Un-Registration methods.
* Made the Registration and Unregistration methods public
* Hooks The events required for creating new prim and rezzing new prim into the proper scene.
2009-09-04 20:19:34 -04:00
Justin Clark-Casey (justincc) 7ca61e0174 Add ids to iar requests
Stop save iar test wrongly relying on thread pulsing (still disabled though)
2009-09-04 21:10:56 +01:00
Justin Clark-Casey (justincc) 4c560df8ac If running tests manually, fail immediately on error 2009-09-04 19:22:09 +01:00
Teravus Ovares (Dan Olivares) 50a9e01dfa * Last commit was a bit of a fail, it registered the root region for it's own permissions events again.
* This commit fixes that and does what the last one intended.
2009-09-04 04:41:43 -04:00
Teravus Ovares (Dan Olivares) d49ee1f8ab Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 04:26:14 -04:00
Teravus Ovares (Dan Olivares) f7861a6bad * Make the RegionCombinerModule also register to handle permissions for the virtual region scenes. 2009-09-04 04:25:56 -04:00
dr scofield (aka dirk husemann) f23f7b1fc4 preparing LandData seriali(s|z)ation into OAR [not yet functional] 2009-09-04 10:12:36 +02:00
Melanie 67f803c919 Add the new AuthStore to migrations. Update OpenSim.Server.ini 2009-09-04 08:10:05 +01:00
Melanie ac40c7a74c Fully implement unencrypted auth token operations 2009-09-04 07:48:09 +01:00
Teravus Ovares (Dan Olivares) b93f512433 * Fix for GetTerrainHeightAtXY to make it compatible when Constants.RegionSize isn't 256 2009-09-04 02:48:07 -04:00
Melanie 548f508044 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-04 07:04:36 +01:00
Melanie 11700ba4a4 Implement plain password authentication partway. Tested, but no user
functionality yet.
2009-09-04 07:03:43 +01:00
Teravus Ovares (Dan Olivares) 9f05edab04 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-04 00:04:26 -04:00
Teravus Ovares (Dan Olivares) bb5857c4bb * Fixes the function 'GetTerrainHeightAtXY' 2009-09-04 00:03:54 -04:00
Melanie c9a24ece54 More work on new authentication service 2009-09-04 03:13:32 +01:00
Melanie e39d0ef627 Flech out the Authentication service. Add the database loader. Introduce
inheritance to deal with common tasks like crypto.
Still untested.
2009-09-04 00:55:21 +01:00
Melanie 90262d4092 Add the user authentication data adapter. This is meant to use a new table
schema, but can read the old ones for compatibility. It should not be used
to write to the old tables unless you know what you're doing!
This is untested and will probably not work.
2009-09-04 00:23:26 +01:00
Melanie 5c2bf97bf2 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-03 21:04:06 +01:00
Melanie 328fd104e1 Remove the distinction between password and login key in the authentication
service. This will be done in the login service instead, it's out of
scope for an authenticator
2009-09-03 21:03:04 +01:00
Diva Canto 639bf79aec Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-09-03 12:42:25 -07:00
John Hurliman 33133e23b1 Fixes seven leaky .BeginInvoke() calls 2009-09-03 12:36:51 -07:00
John Hurliman 584c113836 Added Util.FireAndForget(), to replace leaking calls to Delegate.BeginInvoke() 2009-09-03 12:27:23 -07:00
Justin Clark-Casey (justincc) 64fa23df7c If a test dll fails, stop immediately rather than trying all the other test dlls
This is very useful behaviour if debugging test failures otherwise it's hard to pick out the test output
Also, some minor method shuffling in the iar module
2009-09-03 19:41:38 +01:00
Chris Hart c4ae9413f1 MSSQL Minor tweak to recent patch for region loading (Thanks Grumly57 for spotting it!) 2009-09-03 19:07:50 +01:00
dahlia 6cf610bc44 eliminate unnecessary storage of mesh objects which are no longer necessary after recent startup optimizations 2009-09-02 17:40:55 -07:00
Chris Hart 4841858600 MSSQL patch to mirror mantis 4077 for MySQL to improve region load times 2009-09-02 19:42:18 +01:00
Jeff Ames 56ddd6828c Add copyright headers. Formatting cleanup. 2009-09-03 02:04:17 +09:00
Melanie 8e7b385883 Merge branch 'master' of ssh://melanie@opensimulator.org/var/git/opensim 2009-09-02 16:29:50 +01:00
Melanie 65d7644993 Correct the icons on wearables in agent inventory. To fully correct the issue
immediately, run
update inventoryfolders set version=version+1;
2009-09-02 16:27:08 +01:00
dr scofield (aka dirk husemann) bb0cbdc064 switching LandManagementModule to "new" region module scheme; cleaning
up method names in LandManagementModule (was a bit of a
mess). suppressing warnings re Constants.RegionSize.
2009-09-02 11:06:18 +02:00
dr scofield (aka dirk husemann) 05756e1fb9 warnings safari. 2009-09-02 11:06:18 +02:00
Teravus Ovares (Dan Olivares) 9505297fb1 * One last attempt to get the bordercrossing/primcrossing/attachmentcrossing right in the new border framework.
* This also contains some inactive preliminary code for disconnecting combined regions that will be used to make one root region a virtual region of a new root region.
2009-09-02 04:39:00 -04:00
Melanie 994c5e2094 Prevent the Viewer's threaded inventory retrieval causing a OOM and overload
the inventory server by serializing upstream requests.
2009-09-02 05:04:24 +01:00
Melanie f32de6fe88 Thank you, dslake, for a set of patches to improve OpenSim startup
and idle performance.
2009-09-02 03:33:31 +01:00
Teravus Ovares (Dan Olivares) 2fc3f61a42 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-01 19:39:07 -04:00
Teravus Ovares (Dan Olivares) afc72cc10e * Fixes diagonal teleporting when in RegionCombining mode by adding 4 additional borders that have infinite distances perpendicular to the cardinal of the border surrounding the entire combined region. Recalculates this boundary each time AddScene is called. 2009-09-01 19:38:45 -04:00
dr scofield (aka dirk husemann) 47e0024238 adding new IniConfigSource() to SceneSetupHelpers to fix empty
IConfigSource causing grief to region modules expecting it to be
non-empty (which a number of them do).
2009-09-01 11:33:10 +02:00
dr scofield (aka dirk husemann) 39726f0fda switching SerialiserModule to "new" region module scheme 2009-09-01 10:28:29 +02:00
dr scofield (aka dirk husemann) ef6c0bd7d8 cleanup. 2009-09-01 10:28:29 +02:00
Teravus Ovares (Dan Olivares) 2245e2977e * The return of fuzzy borders! 2009-08-31 23:16:24 -04:00
Teravus Ovares (Dan Olivares) 3718bbc6a5 Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-08-31 22:51:03 -04:00
Teravus Ovares (Dan Olivares) c09884a467 No more fuzzy borders 2009-08-31 22:50:27 -04:00
Teravus Ovares (Dan Olivares) 2068b6714a * -2 on the south and west side, -1 on the north and east side. Fuzzy borders! yay 2009-08-31 21:40:06 -04:00