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
Jeff Ames
c6cef4bad5
Comment out unused variables / private fields to avoid compiler warnings.
2009-06-04 03:58:04 +00:00
Melanie Thielker
14bb372bb0
Committing the skeleton of the authentication service
2009-06-03 20:14:41 +00:00
Melanie Thielker
6e494e5de5
Committing the partial refactor of authentication services. No user functionlity
...
will eat your babies, etc
2009-06-03 19:49:26 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Jeff Ames
35b450d41d
Add copyright headers, formatting cleanup, ignore some generated files.
2009-05-31 18:35:00 +00:00
diva
4927bc60a2
Slashing trailing slashes.
...
https://lists.berlios.de/pipermail/opensim-dev/2009-May/006673.html
2009-05-30 16:30:53 +00:00
diva
1e9cb2f8fc
Making the delegate handlers async in async Get, to make things consistent. Them being synchronous in certain cases (asset in cache, for example) may account for slowness reported by folks in osgrid when they have the cache module on. Turns out that some of the provided handlers do non-trivial processing (the ones coming from J2KImage, for example), which means that the several asset requests that hit the cache end up being synchronous. The jury is still out on this.
2009-05-29 01:26:53 +00:00
diva
bc2a22fb4b
Catching exceptions on Store, including timeout. Store may fail, for whatever reason, but it won't crash the sim.
...
Addresses mantis #3707 , mantis #3713 , mantis #3686 .
2009-05-26 15:26:22 +00:00
Melanie Thielker
c7a2632500
Correct a minor typo
2009-05-25 21:15:14 +00:00
diva
cb704ecde1
Beginning of refactoring RESTComms/LocalComms in the new style of services and connectors. This commit has the beginning of the In connector, not the Out. Nothing of this is finished yet, and it doesn't run. But it should compile ok.
2009-05-25 20:30:24 +00:00
diva
fb6d314d4d
This should make HG asset transfers work much better. It now uses HGUuidGatherer, which is a subclass of UuidGatherer. Hence, on-line HG asset transfers use exactly the same UUID collection code as save oar/xml. If it doesn't work, it's Justin's fault :D
2009-05-23 17:51:13 +00:00
diva
6d6d8445b9
Bug fix in HGAssetService. POSTs back home (standalone) should now work.
2009-05-22 18:02:49 +00:00
Dr Scofield
1d02636c27
cleaning out warnings.
...
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
diva
13da5a9fba
Finished HG Service Store. Not fully functional because of problems with asset.ID insisting on being a UUID string.
2009-05-18 20:04:59 +00:00
Melanie Thielker
cb2ce61876
Move the connectors under services for reasons of application logic. Remove
...
the user server skeleton in preparation for introducing a generic server
2009-05-18 11:43:37 +00:00
diva
720e2bc5d9
Renaming [ServiceConnectors] back to [Modules].
2009-05-17 15:37:50 +00:00
diva
aac8ca0411
HG asset transfers starting to work -- GETs only for now.
2009-05-17 01:38:43 +00:00
Justin Clarke Casey
c11e047410
* Resolve bug where save oar would never complete if any assets were missing
2009-05-15 20:20:55 +00:00
diva
5e4fc6e91e
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
...
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Melanie Thielker
461e213a39
Plumb the HG asset broker. More naming changes to clarify things. Lots more
...
config options.
2009-05-11 02:59:26 +00:00
Melanie Thielker
b2111f6a19
Enhance the submodule loader and port the enhancements to the services base
2009-05-10 22:31:10 +00:00
Melanie Thielker
1a910b6e1d
Connect up the new asset cache and introduce an asynchronous call path
...
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker
cc2b072f6e
FInish basic asset server functionality on the new asset server
2009-05-09 01:00:21 +00:00
Melanie Thielker
a1631c496e
The new asset server now actually serves existing assets
2009-05-08 18:45:52 +00:00
Melanie Thielker
aec069d161
More additions to the nextgen reference UGAIM
2009-05-08 14:08:41 +00:00
Jeff Ames
8ea12ad6c0
Add copyright header. Formatting cleanup. Ignore some generated files.
2009-05-05 09:59:15 +00:00
Melanie Thielker
8b9f8be512
Some refactoring. Database is now active in the new user server
2009-05-05 05:35:22 +00:00
Melanie Thielker
f51f552baa
Plumb the database into the new server skel
2009-05-05 04:48:09 +00:00
Melanie Thielker
d1c9a41be0
Plumb the new server connector logic
2009-05-05 04:37:06 +00:00
Melanie Thielker
96774752c8
Add an interface skeleton for user services
2009-05-05 03:01:17 +00:00