Commit Graph

27 Commits

Author SHA1 Message Date
MW
a228b5984e Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
MW
b59d9789f8 Partial Linking of prim groups should work (its partial as currently only the root prim of the child group will actually get linked, working on linking the rest now).
Multiple prim groups are now stored in the sqlite database and are reloaded correctly.
2007-08-13 13:36:42 +00:00
MW
822881eac5 Added a new column (SceneGroupID) to sqlite3 table (sqlite3-prims.sql) so that we can tell what prims belong to the same SceneObjectGroup. If sdague has a different method in mind when he gets back then he can change it then. 2007-08-11 20:20:33 +00:00
MW
79f0ac82e3 Some cleaning up and removed a few old files no longer in use.
Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution.
Also some config changes:
OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists).
Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll).
So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region).
2007-08-10 17:22:54 +00:00
MW
e7eeab90d6 Removed a piece of debug code 2007-08-10 14:04:00 +00:00
MW
94c7e41ef1 Made a few changes so that once we enable the sqlite data store (simple line change in OpenSimMain), then basic ( with a few limits at moment) prim database backup will work. 2007-08-10 13:59:19 +00:00
Sean Dague
6063d2ce5f Couldn't leave this one alone. Data is now flowing both ways in
sqlite *but* isn't being added back to the scene on load because 
some information (like rootpart) isn't currently exposed enough
to save/restore, and I don't want to change the SceneObjectGroup
definition without MW around to discuss.

A couple of minor changes on the object interface for SceneObjectGroup
and tweaks to this class, and we have persistant prims again.
2007-08-09 23:51:26 +00:00
Sean Dague
0443723ea5 comment out load from sqlite as this blows up on object creation right now.
must run away on vacation.  See you all in a week and change.
2007-08-09 21:26:39 +00:00
Sean Dague
a2a8de816b completely untest load prims from db code. Testing shortly 2007-08-09 21:07:53 +00:00
Sean Dague
ad2133e5cf utility functions to convert from rows to new objects. untested 2007-08-09 20:59:37 +00:00
Sean Dague
484121f3f4 added GroupPosition 2007-08-09 20:31:10 +00:00
Sean Dague
ec0dc208dd build update clauses correctly 2007-08-09 20:07:58 +00:00
Sean Dague
9fb651932e some more typos about wrong table for shapes 2007-08-09 19:55:41 +00:00
Sean Dague
88496505b1 use correct table name for shapes 2007-08-09 19:52:02 +00:00
Sean Dague
1681e3ac15 pull out some uneeded attributes, and setup keys on primshapes dataset 2007-08-09 19:06:48 +00:00
Sean Dague
2b25717c8c prim.Shape -> primshapes table 2007-08-09 19:02:32 +00:00
Sean Dague
e53afe91ab prim object -> prims table code 2007-08-09 18:37:55 +00:00
Sean Dague
21685bf304 make MonoSqliteDataStore compile with new objects
now the fun begins of connecting all the dots
2007-08-09 18:06:26 +00:00
Sean Dague
3592043431 Start defining prim shape definition. Officially bed time now 2007-08-09 03:56:11 +00:00
Sean Dague
b097d89f38 decrease insanity level significantly by factoring all the columns into
a Dictionary, and programatically building up sql commands for our dataset.
Prims done, prim shapes next
2007-08-09 02:26:34 +00:00
Sean Dague
d746813130 intermediate checkin of code that compiles before I do something
stupid and nuke all this work.
2007-08-09 01:54:01 +00:00
Sean Dague
8425693076 Commit in the changes for all the parameter bindings for prims 2007-08-09 00:42:32 +00:00
Sean Dague
f732d5b2c8 sigh, Data ... not Date. I'm dumb 2007-08-08 20:30:38 +00:00
Sean Dague
672d7f7b34 name changes in MonoSqliteData store 2007-08-08 20:30:05 +00:00
Sean Dague
e8e3afa8fe rename to MonoSqliteDataStore 2007-08-08 20:28:58 +00:00
Sean Dague
238fe86bc7 screwed up the move, removing this file to give us proper history tracking 2007-08-08 20:28:34 +00:00
Sean Dague
6ec523d5e6 moving to new namespace as this is mono only 2007-08-08 19:48:11 +00:00