Commit Graph

616 Commits

Author SHA1 Message Date
Melanie Thielker
1121a214b9 Add a QueryItem method to the inventory subsystem. Currently implemented for
MySQL only, stubs for the others. This allows updating the cache with a single
item from the database.
2009-03-21 17:46:58 +00:00
lbsa71
613201e220 * Normalized and pulled GetInventorySkeleton up. 2009-03-20 17:25:12 +00:00
lbsa71
feaa645071 * De-duplicated login service some more
* Normalized m_inventoryService
  * Pulled AddActiveGestures up
2009-03-20 06:49:12 +00:00
diva
2a76b2a417 Moving GetInventoryItem up to InventoryServiceBase, since this seems like a pretty fundamental function. 2009-03-19 21:43:35 +00:00
Justin Clarke Casey
8f1844665b * Group OpenSim.Framework.Servers interfaces together 2009-03-19 19:21:17 +00:00
Mike Mazur
f28886e26d Rename OpenSim.Framework.Archive to OpenSim.Framework.Serialization
Update using statements and prebuild.xml. Also trim trailing whitespace.
2009-03-16 00:12:25 +00:00
Mike Mazur
4a21d92668 Mark AssetBase.Metadata with [XmlIgnore] 2009-03-13 05:58:32 +00:00
lbsa71
33f511ee4b * Another stab at refactoring up the CustomiseResponse function. Two fixes:
* Sometimes, null is a valid return value to indicate 'none found'. doh.
  * Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.

(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +00:00
Mike Mazur
7b2977d625 Move ArchiveConstants to OpenSim.Framework.Archive
- move a couple constants from InventoryArchiveConstants to
  ArchiveConstants, now only one of these is needed
- change InventoryArchiveConstants references to ArchiveConstants
- remove InventoryArchive AssetInventoryServer plugin dependency on
  OpenSim.Region.CodeModules
- trim trailing whitespace
2009-03-12 06:04:17 +00:00
Mike Mazur
f784620780 Moving TarArchive to OpenSim.Framework.Archive
We now build OpenSim.Framework.Archive.dll which aims to contain code
used for archiving various things in OpenSim. Also remove trailing
whitespace.
2009-03-12 06:03:59 +00:00
lbsa71
2133d35831 * Reverted r8750 to do another round of debugging on mantis #3287 2009-03-11 19:19:48 +00:00
Mike Mazur
c20e0286d3 Adding AssetInventory InventoryArchive plugin
This plugin exposes an HTTP handler on the AssetInventoryServer which
serves a gzipped tar file containing the contents of a user's inventory.
The assets referenced by the inventory are not yet archived. At the
moment only export functionality is implemented, restore functionality
is missing.

prebuild.xml had to be shuffled around a bit in order for the plugin to
build, as it has a dependency on OpenSim.Region.CoreModules.

Also, close a MemoryStream in a few places.
2009-03-11 07:38:35 +00:00
lbsa71
0df0258087 *** POTENTIAL BREAKAGE ***
* Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication.
* Introduced FromRegionInfo on RegionProfileData
* This revision needs both grid and standalone testing galore.

Work in progress!
2009-03-10 12:11:19 +00:00
lbsa71
1917238cd3 * Re-aligned CustomiseResponse function for imminent up-pulling 2009-03-10 11:47:34 +00:00
Mike Mazur
a2f07ecd2e Implemented FetchAssetMetadataSet in DB backends.
This method fetches metadata for a subset of the entries in the assets
database. This functionality is used in the ForEach calls in the asset
storage providers in AssetInventoryServer. With this implemented,
frontends such as the BrowseFrontend should now work.

- MySQL: implemented, sanity tested
- SQLite: implemented, sanity tested
- MSSQL: implemented, not tested
- NHibernate: not implemented
2009-03-09 07:29:34 +00:00
Mike Mazur
16b6a00005 Add missing parameter to m_log.DebugFormat(). 2009-03-06 00:54:39 +00:00
Mike Mazur
7768f3aa8b Make DeserializeUUID explicitly private. 2009-03-05 12:57:27 +00:00
MW
732a4fd5fb Made the OpenSimInventoryFrontendPlugin.DeserializeUUID(Stream stream) method static to get past the build errors. Mikem really needs to check this change over to see its the right approach for what he wanted. 2009-03-05 11:23:31 +00:00
Mike Mazur
1894d69c8a Fix moving folders.
Casting from base class to inherited class is a no-no, and we must
preserve the folder type when moving folders, otherwise it gets set to a
Texture folder (type 0).
2009-03-05 08:30:23 +00:00
Mike Mazur
6994d9239d Fix creating inventory items and folders.
The order of deserialization needed to be changed. Also corrected a bug
that caused no inventory items to be returned on login.
2009-03-05 08:30:15 +00:00
Mike Mazur
56158443b3 Implemented all Inventory frontend handlers.
This doesn't mean they all work as expected, though. More changes to
come as testing unveils bugs.
2009-03-05 08:30:08 +00:00
Mike Mazur
293e70a666 Implementing more inventory storage methods. 2009-03-05 08:30:00 +00:00
Mike Mazur
3676062277 Use Inventory{Item,Folder}Base in AssetInventoryServer.
Also the first inventory storage methods are implemented.
2009-03-05 08:29:52 +00:00
Mike Mazur
d38bddfb76 A couple cosmetic changes in inventory storage plugin. 2009-03-05 08:29:42 +00:00
Jeff Ames
808e4a847a Update svn properties, add copyright headers, minor formatting cleanup. 2009-03-01 09:15:31 +00:00
MW
d45fa9c2df Added GridServerPlugin class (which implements IGridPlugin) to OpenSim.Grid.GridServer.Modules.
This class handles all the initialising of the grid server.
And made GridServer into basically a generic server that just loads plugins. 
So this is a step towards having a generic server that loads service modules.
2009-02-27 15:57:09 +00:00
Sean Dague
cddaaf3e13 svn attribute fixes so that we can play nice between windows and linux 2009-02-26 22:54:50 +00:00
MW
de82bf9eb5 Added a PostInitialise method to IApplicationPlugin, this allows us to do work in there knowing that all other ApplicationPlugins have been initialised by that time.
Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
2009-02-26 15:21:06 +00:00
lbsa71
5b5b784599 * Got rid of concrete GridDBService references 2009-02-26 11:50:49 +00:00
lbsa71
82efceb494 * renamed IRegionProfileService to IRegionProfileRouter to better reflect use (naming is a work in progress...)
* introduced new IRegionProfileService that is going to be _one_ profileService
* Had GridDBService inherit the IRegionProfileService

(preparing for re-wiring things and de-duplicating eventually)
2009-02-26 11:44:16 +00:00
MW
07ee252cf3 Renamed IMessageUserServerService to IInterServiceUserService.cs
Renamed MessageUserServerModule to InterMessageUserServerModule
2009-02-25 21:00:58 +00:00
Justin Clarke Casey
36e648a37a * minor: Remove most mono compiler warnings 2009-02-25 20:53:02 +00:00
MW
c856da2ee6 Renamed IUGAIMCore to IGridServiceCore, still not really happy with this name as it could be confused with the Grid Server namespace or with the IGridService in the region servers. 2009-02-25 19:39:56 +00:00
MW
0f62b2bacb Added IGridServiceModule to be the base interface for the Service Modules for the Grid, User and Messaging servers. 2009-02-25 18:47:19 +00:00
MW
4db232763f More refactoring of the Grid, User and Messaging servers. 2009-02-25 18:33:15 +00:00
Mike Mazur
bdf95e54a2 A few updates necessary for load balancer.
- handle GetUser request for nonexistent user gracefully
- include throttle levels in ClientInfo
- code to save/restore throttles in client stack
- only update/send updates to active clients
- make animation classes serializable
2009-02-25 00:32:26 +00:00
Mike Mazur
d81fb565c1 Setting svn:eol-style=native on new files. 2009-02-24 23:40:08 +00:00
MW
bc0bedf75d More work on modulising the User Server. 2009-02-24 19:00:36 +00:00
MW
8645fa9215 Removed the additions from the last revision for the "ShowHelp" delegate handling, as it seems that system isn't in use anymore. 2009-02-24 18:06:06 +00:00
MW
1e2835a10c More refactoring of the Grid/user/messaging servers. 2009-02-24 17:57:26 +00:00
MW
98178b4e9f Same treatment for the MessagingServer... added OpenSim.Grid.MessagingServer.Modules for the modules/components of it. 2009-02-24 16:13:16 +00:00
MW
021225675f Added OpenSim.Grid.GridServer.Modules, for the GridServer modules/components. 2009-02-24 15:57:25 +00:00
MW
ea26bd4153 First step in separating out the Userserver console command handling to a "module".
Added OpenSim.Grid.UserServer.Modules project/dll which now contains the components of the userserver. With the OpenSim.Grid.UserServer being the setup and initiate exe.
2009-02-24 15:37:03 +00:00
MW
b587478fd4 Deleted the files from Messagingserver that are now in OpenSim.Grid.Framework 2009-02-24 14:14:34 +00:00
MW
bc5018b3c6 Updated MessagingServer to use OpenSim.Grid.Framework 2009-02-24 14:12:25 +00:00
MW
bafbfcf090 Some cleaning up in the MesssagingServer and GridServer. 2009-02-24 14:00:29 +00:00
MW
6954013d82 Added OpenSim.Grid.Framework project.
Changed the Gridserver so it uses/references OpenSim.Grid.Framework
2009-02-24 13:53:38 +00:00
MW
2a91f21d08 More refactoring of the UserServer. 2009-02-24 13:33:57 +00:00
MW
931754a1ab Renamed IGridMessagingModule to IGridMessagingMapper.
Plus some general cleanup of the GridMessagingModule.
2009-02-23 20:01:03 +00:00
MW
03ff84426f more refactoring of the Grid server, to separate them into modules 2009-02-23 19:38:36 +00:00