Commit Graph

180 Commits (f8b6bc8d11c49d2415a00abbfbd2d53efd6d7e4a)

Author SHA1 Message Date
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 34f4738159 Added HGGridConnector and related code. 2009-09-22 11:58:40 -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
Diva Canto 390137d540 Added grid handler and grid remote connector. 2009-09-21 11:05:01 -07: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
Diva Canto 15d6bb4ce5 Reverted the order of reading configs in GridServiceBase. 2009-09-18 20:09:43 -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
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
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
Diva Canto c8ddc5b301 Changed GetRegionByHandle to GetRegionByPosition -- more generic. 2009-09-11 13:55:23 -07: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 44343ed94d Changed names of methods in IGridService. 2009-09-11 12:54:58 -07:00
Rob Smart 44f1092b83 moved AuthorizationRequest and AuthorizationResponse to IAuthorizationService to keep service dependencies together. 2009-09-11 09:23:09 -07: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
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
Melanie bb1d4d23c4 Change the loader to actually load the user service data module 2009-09-06 04:44:08 +01:00
Melanie 2a8f66b221 Revising the user account data interfaces. No user functionality yet 2009-09-06 04:28:42 +01: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
Melanie 11700ba4a4 Implement plain password authentication partway. Tested, but no user
functionality yet.
2009-09-04 07:03:43 +01: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 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
John Hurliman 33133e23b1 Fixes seven leaky .BeginInvoke() calls 2009-09-03 12:36:51 -07:00
Melanie d2eba2cf22 Recreate the shell of the AuthenticationService to squelch Windows build
error. WIll be filled in as soon as I figure out the crypto stuff.
2009-08-31 01:03:14 +01:00
Melanie dce04df4f2 Redesign the IAuthenticationService interface to use PKI. Sessioning is
now in the domain of the presence module where it belongs.
2009-08-29 17:37:41 +01:00
Justin Clark-Casey (justincc) 7ff4c2e50b Pull out distinct cache system folders and drop cache methods in InventoryCache 2009-08-28 17:07:17 +01:00
Diva Canto cfd9cf7b18 Closed the web request and stream in SynchronousRestSessionObjectPoster -- maybe this is the cause of some timeouts seen in some monos? 2009-08-25 06:17:36 -07:00
Diva Canto 71f2d8391b Moved a debug message. 2009-08-22 10:30:27 -07:00
Diva Canto b03eeeb9f6 * Fixes mantis http://opensimulator.org/mantis/view.php?id=4044. Turns out folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set.
* Removed left-overs from AssetInventoryServer.
2009-08-22 10:24:26 -07:00
Diva Canto 3318652723 Added a more sane InventoryServerMoveItemsHandler. Changed SynchronousRestObjectRequester so that it also understands PUTs. 2009-08-21 11:00:45 -07:00
Diva Canto e4f64dd714 Made HandleFetchInventoryDescendents async, so that the client thread doesn't wait for the download of the entire inventory. 2009-08-20 22:36:47 -07:00
Diva Canto a3db2936f7 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-19 17:36:34 -07:00
Diva Canto 6e35ddb0e9 Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Kunnis f1287cc7af * Switching IAssetData to follow the new naming schema, removing the separate insert and update methods. 2009-08-19 23:45:22 +01:00
Diva Canto 51e487a172 Makes the inventory connectors fully compatible with the old Grid.InventoryServer.
WARNING: interacting with the old server is _much_ slower than interacting with the new one. Grids with the old server will not see any improvements on crossings and TPs, because inventory needs to be fetched from it in its entirety.
2009-08-19 12:02:57 -07:00
Diva Canto d519f1885f Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently). 2009-08-19 10:56:08 -07:00
Diva Canto c5af39239f A better purge of trash folder. 2009-08-19 00:13:51 -07:00
Diva Canto e5f33e7505 GetFolderItems implemented. It's not being called, but it might. 2009-08-18 22:36:03 -07:00
Diva Canto 3a3f9d5abb Added some padding to the remote inventory connector so that it tries to operate with the old Grid.InventoryServer.exe. Untested, but it should work -- slow. 2009-08-17 14:14:22 -07:00
Diva Canto cd444c1e82 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-14 14:04:15 -07:00
Justin Clark-Casey (justincc) a668a5b0d3 Add standard doc and standard doc formatting to IAssetService 2009-08-14 19:59:42 +01:00
Diva Canto 034c9cf606 Added GetAssetPermissions. Few last bugs nixed. This is ready for testing. 2009-08-13 17:34:15 -07:00
Diva Canto 5246dc33dc Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting to get on my nerves. 2009-08-13 14:10:12 -07:00
Diva Canto 10d923dbea Fixes a race condition in EQ processing that was making EQs pop up again upon client close.
Commented remote call on GetSystemFolders again, so that it's not live yet.
2009-08-11 16:47:36 -07:00
Diva Canto 41839efcc5 Some more hammering on the head of the obsolete rest inventory handlers, just to make this work. 2009-08-11 14:52:17 -07:00
Diva Canto bd7ff803fe Re-adding a conditional in UserManager that was removed with arthusv's commit. Changing new inventory ops to POST. 2009-08-11 14:31:45 -07:00
Diva Canto 08544e576d Disabling the remote call for the time being, so that I can test it on a grid before making it live. 2009-08-11 12:48:19 -07:00
Diva Canto e3dbd0e049 Added http handlers for the two new inventory operations. 2009-08-11 12:30:28 -07:00
Diva Canto 263f32a493 Improved test for system folders. Removed log messages. 2009-08-11 10:42:44 -07:00
Diva Canto 31419a70ce System folders inventory cache added to OUT inventory modules. This tracks agents in and out of *sims* in order to fetch/drop their system folders from the cache. Also added region-side support for fetching the system folders from the inventory service. Nothing of this is called yet. 2009-08-11 10:30:03 -07:00
Diva Canto cdcbc48534 Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet. 2009-08-10 20:31:51 -07:00
Diva Canto 0c47f8e7ab Changed RequestRootFolder to GetRootFolder 2009-08-10 16:02:09 -07:00
Melanie 239a14265e Stub out the Profile and Presence services 2009-08-10 00:17:54 +01:00
Melanie 430cc0a24a Add "show digest <id>" console commdn to the ROBUST asset handler
R.O.B.U.S.T.# show digest b8d3965a-ad78-bf43-699b-bff8eca6c975
Name: Terrain Dirt
Description:
Type: 0
Content-type: image/jp2
0000: FF-4F-FF-51-00-2F-00-00-00-00-00-80-00-00-00-80
2009-08-09 23:22:59 +01:00
Melanie 474f58faf5 Finish the renaming and mae things compile again 2009-08-09 22:25:15 +01:00
Melanie 6ba89bef61 More renames 2009-08-09 22:09:10 +01:00
Melanie 11d72f270d Rename UserData to UserAccount data 2009-08-09 21:53:11 +01:00
Diva Canto 11c698af67 Added missing trailing slash in AuthenticationService. 2009-08-06 17:42:28 -07:00
Justin Clark-Casey (justincc) 07e6a492a1 Disable all IAR tests for now due to possible failure-causing race condition 2009-08-06 19:35:52 +01:00
Justin Clark-Casey 190bdc8a2e * Remove some mono compiler warnings 2009-08-05 17:33:23 +01:00
Melanie 0f400dc83d Adding the plumbing for a ROBUST freeswitch service 2009-08-04 04:11:04 +01:00
Melanie Thielker 06e4297b93 Patch from RemedyTomm: A failed inventory request would block any further
requests from that same user, even after a relog.
This patch changes the block on further requests to be in line with the
request timeout timer and allows the system to recover.
2009-07-26 19:09:59 +00:00
Justin Clarke Casey 5815162d7e minor: remove some mono compiler warnings 2009-07-15 20:49:58 +00:00
Justin Clarke Casey 148e2d55fa * minor: Make GridCommon.ini.example refer to inventory service rather than asset where appropriate
* Send debug level notice to console if a user fails authentication
2009-07-10 18:40:37 +00:00
Melanie Thielker b202ab02d0 Adding the new grid services skeleton. Still very much based on the old
one but alowing multi-tenancy.
2009-07-10 03:28:10 +00:00
Melanie Thielker 858b0a2efd Updated services to allow external applications like web interfaces to
authenticate against the services. This paves the way for such apps
to directly talk to services.
2009-06-30 21:48:03 +00:00
Dahlia Trimble 147c9bcd45 Make cleartext authentication case sensitive. Thanks jhurliman for spotting this. 2009-06-27 07:49:10 +00:00
Melanie Thielker 0fecf4666c Add RegionSecret to user data structure to provide data update security 2009-06-23 09:04:30 +00:00
Melanie Thielker 7f4a3392fc Fix the AssetServiceBase bug I introduced by reordering configuration load
order. Thanks, Grumly57, for pointing it out.
The point of the original change was to let the more specific setting override
the less specific one, actually, I disabled the use of the less specific one.
2009-06-23 08:37:12 +00:00
Melanie Thielker afbce6aa10 Forgot a file 2009-06-22 13:25:47 +00:00
Melanie Thielker 77ebb7c9f3 Committing RemoteUserServiceConnector out connector, local user service
connector and the glue code.
2009-06-22 13:14:48 +00:00
Melanie Thielker 044446821b Committing the meat of the user server interface and the bones of the service implementation 2009-06-22 12:18:04 +00:00
Jeff Ames 142b481e03 Update svn properties. 2009-06-22 10:07:27 +00:00
diva ce7de3581c Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon. 2009-06-17 03:52:39 +00:00
diva e1fd76ace6 Moving these nice HG connectors to their homes. 2009-06-15 23:29:00 +00:00
diva 380f59d0ff Factoring out "land_data" / RequestLandData that was hanging off of IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works. 2009-06-14 23:00:23 +00:00
Jeff Ames 8d0eb3307f Update svn properties. 2009-06-14 21:37:50 +00:00
diva a0b68178b8 Bug fix in remote neighbour connector. 2009-06-14 16:26:14 +00:00
diva 9ad33546ca And this one too... 2009-06-14 15:45:28 +00:00
diva 6b59d9b403 Oops. Forgot to add this file. 2009-06-14 15:37:50 +00:00
diva 2afd733229 Fixes mantis #3803. Thanks jhurliman. 2009-06-11 20:27:13 +00:00
diva 57c4b69916 Changed the inventory service so that is uses exactly one DB plugin, not many. The composition of plugins can be done at the service and connector levels.
This fixes the unit tests that were failing yesterday, but I'm not committing those yet, because I'm seeing 2 of those tests having pass and fail outcomes randomly which suggests that the tests are buggy.
2009-06-11 13:46:44 +00:00
diva 0f367bd7bb Heart surgery no.2: the inventory service hooks.
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
diva 398d321f15 IInentoryDataPlugins were missing. 2009-06-08 17:22:23 +00:00
diva 16d5003274 Added more functions to IInventoryService. Unsure about whether all of these are really necessary. 2009-06-08 03:09:24 +00:00
diva 1ad237a8a7 First draft of inventory service connectors, and service implementation. No handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions.
Hopefully I added all needed files.
2009-06-07 19:00:55 +00:00