Commit Graph

61 Commits

Author SHA1 Message Date
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
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
34f4738159 Added HGGridConnector and related code. 2009-09-22 11:58:40 -07:00
Diva Canto
a9ced0fe79 Added Remote grid connector module. 2009-09-21 19:33:56 -07:00
Diva Canto
390137d540 Added grid handler and grid remote connector. 2009-09-21 11:05:01 -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
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
Jeff Ames
01ec93945e Formatting cleanup. 2009-09-13 13:56:09 +09: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
Melanie
2a8f66b221 Revising the user account data interfaces. No user functionality yet 2009-09-06 04:28:42 +01:00
John Hurliman
33133e23b1 Fixes seven leaky .BeginInvoke() calls 2009-09-03 12:36:51 -07:00
Justin Clark-Casey (justincc)
18c5dc0953 Try to cache system folders if they aren't already there when one is requested
This operation can be performed legitimately on standalones without a logged in user
2009-08-28 17:19:45 +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
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
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
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
4382f28efc Async purge so that the client thread doesn't wait. 2009-08-19 00:33:02 -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
124f66bfc2 jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024 2009-08-18 22:17:47 -07:00
Diva Canto
e02062051d Making attachments work again. Tons of debug more. This needs more testing and a lot of cleaning. 2009-08-16 16:17:19 -07:00
Diva Canto
46116864b9 Returning UUID.Zero is scene and user profile service are null in GetSession. This doesn't fix the underlying problem of these things being null -- they shouldn't be. 2009-08-14 11:50:42 -07:00
Diva Canto
bb513c1d88 Changed the way to get to the profile service. Changed GetSystemsFolder in HGBroker. 2009-08-14 11:32:25 -07:00
Diva Canto
c56e51a6e3 More debug messages. 2009-08-14 10:29:29 -07:00
Diva Canto
70d7c97e94 Doing session lookup in the right way. 2009-08-14 09:57:18 -07:00
Diva Canto
332d1b5f2f Additional debug messages, and bug fix in RemoteInventoryServiceConnector.cs, where the scene reference wasn't being set. 2009-08-14 08:43:46 -07: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
b0292d59a5 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-12 20:40:49 -07:00
Diva Canto
7aa54593e0 Redirected all calls to CachedUserProfile methods to the inventory service. Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent. 2009-08-12 20:39:48 -07:00
Jeff Ames
50f29752f5 Formatting cleanup. Add copyright headers. 2009-08-13 11:48:39 +09:00
Diva Canto
41ad610f3e * Added two new packet handler implementations for inventory ops. This is starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops.
* Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service.
* Added if (m_Enabled) upon RemoveRegion
2009-08-12 13:11:15 -07:00
Diva Canto
b3b506cba2 Better test for dropping inventory cache and writing out debug messages. 2009-08-12 09:31:33 -07:00
Diva Canto
bf3f376b10 Fixed test for detecting when user is no longer in sim. 2009-08-11 12:55:46 -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
9f95ec4998 Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim 2009-08-10 16:02:33 -07:00
Diva Canto
0c47f8e7ab Changed RequestRootFolder to GetRootFolder 2009-08-10 16:02:09 -07:00
Melanie
eba23048ca Replace the Replaceable modules name 2009-08-10 23:08:22 +01:00
Melanie
474f58faf5 Finish the renaming and mae things compile again 2009-08-09 22:25:15 +01:00