Commit Graph

628 Commits

Author SHA1 Message Date
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
35deff7ec4 Modules active. Tested HGGridConnector in standalone only for now. Modules commands work. 2009-09-23 09:27:01 -07: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
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
Diva Canto
a9ced0fe79 Added Remote grid connector module. 2009-09-21 19:33:56 -07: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
Diva Canto
66f8166bd0 First pass at LocalGridServiceConnector. Nothing of this is used by the simulator yet. 2009-09-18 20:01:33 -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
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
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
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
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)
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
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
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
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
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
Jeff Ames
c41387b864 Formatting cleanup. 2009-09-10 15:57:53 +09:00
Teravus Ovares (Dan Olivares)
dc3798ddc3 * Another Timer lock 2009-09-10 00:31:14 -04:00
Teravus Ovares (Dan Olivares)
df9f80aabd Merge branch 'master' of ssh://MyConnection/var/git/opensim 2009-09-09 16:20:46 -04:00