Commit Graph

55 Commits

Author SHA1 Message Date
Sean Dague
53bcf2139e this removes use of the mapper for wearables, and I can confirm things
get saved to the database.  There are still issues on wearing things
after a cleared cache that I'm looking at now.
2008-05-21 18:02:09 +00:00
Jeff Ames
7fefb80abb Minor cleanup. 2008-05-16 13:33:57 +00:00
Jeff Ames
65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Sean Dague
4a9ee9f870 testing avatar appearance as a user service 2008-05-15 20:25:42 +00:00
Sean Dague
4ff4475d02 remove my UserAppearance object, switch all code to use
AvatarAppearance instead.
2008-05-15 18:42:27 +00:00
Sean Dague
b1327dda01 fix for a change in inventory that meant I was returning a lot
of empty inventory folders
2008-05-14 15:43:19 +00:00
Jeff Ames
b7a0855c3a More formatting cleanup. Minor refactoring. 2008-05-14 06:09:39 +00:00
Jeff Ames
c995d60d37 Formatting cleanup. 2008-05-14 05:11:23 +00:00
Adam Frisby
5843f595a7 * Fixed some compiler warnings
* Fixed prebuild.xml to remove DB4o references (more compiler warnings)
2008-05-07 21:42:23 +00:00
Sean Dague
94a3442baf this should fix zariok's issue 2008-05-06 19:22:05 +00:00
Sean Dague
e538a34acc fixed up a bunch of the nhibernate user driver. Friends are not
implemented, and something is still funny with agents, but this
at least got me logged in, so is good enough to plumb through
appearance and see how that goes.
2008-05-02 19:57:35 +00:00
Sean Dague
17496f3edf in theory fix the user table mapping 2008-05-02 19:39:27 +00:00
Sean Dague
260927bf68 move it out of the Types namespace 2008-05-02 19:31:41 +00:00
Sean Dague
286d681673 in theory this gives me a back end that will do persistance
to actually have something to test plumbing in appearance
saving.
2008-05-02 19:16:54 +00:00
Sean Dague
1b7f1c956c plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Sean Dague
72a7c2e2bb added user appearance mapping in nhibernate 2008-05-02 18:39:13 +00:00
Sean Dague
4a8f432441 minor refactoring. Change getName and GetVersion methods (yes the had different casings)
to Name and Version properties for the User stores.
2008-05-02 12:35:24 +00:00
Sean Dague
86d2e53d1f added stubs for appearance bits to all the db layers 2008-05-01 20:16:26 +00:00
Adam Frisby
5231903778 * In ur code. Making it static.
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Adam Frisby
a1c8aa4050 * Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces. 2008-05-01 15:36:39 +00:00
Sean Dague
03c7055902 do a max of 3 splits when first processing the nhibernate connect
strings so the ; in the db connect strings pass to the native
drivers correctly
2008-04-24 15:52:22 +00:00
Sean Dague
56ef67ec6d auto table creation for nhibernate backends 2008-04-24 15:00:42 +00:00
Sean Dague
3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague
a1cc0e436f changes to allow asset_source to be specified in the opensim.ini
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Adam Frisby
fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Jeff Ames
fe3265f491 Update svn properties. Add copyright info to some source files. 2008-04-17 12:16:19 +00:00
Sean Dague
3891b2f86f fix types on nhibernate mappings for User bits 2008-04-15 23:01:42 +00:00
Sean Dague
e46454afa6 first drop of user storage implementation for nhibernate.
This surely doesn't work yet, but it compiles, and I'm getting
close to a stopping point for the day.
2008-04-11 23:10:12 +00:00
Sean Dague
b43ffd12f5 add user agent mapping 2008-04-11 22:18:52 +00:00
Sean Dague
3f47deab32 add user profile mapping for nhibernate 2008-04-10 23:52:23 +00:00
Sean Dague
ce5e51240f NHibernate Inventory support. Lightly tested, but seems to work
well enough on my test environment.  Will need to add some exception
catching down the road.

On to User Store.
2008-04-09 18:04:03 +00:00
Sean Dague
4cc3aad2f9 more futzing around here. None of this works yet because
bloody LLUUID isn't serializable, which is really annoying.
2008-04-09 16:01:57 +00:00
Sean Dague
0919df5cdc checking in a chunk of work because I think I'm tackling
the UUID issue
2008-04-09 14:15:54 +00:00
Sean Dague
93d7c8bd31 oops, broke compile. This fixes it 2008-04-09 13:45:32 +00:00
Sean Dague
ff2184136d match file to classname 2008-04-09 13:44:28 +00:00
Sean Dague
750291447e changing around types a bit to make stuff more readable for
me.
2008-04-09 13:43:35 +00:00
Sean Dague
ea16221c1b NHibernate Inventory getting close, except for some of the
complex folder queries.
2008-04-09 02:08:07 +00:00
Sean Dague
034255ac24 add a sample script for migrating from old inventory 2008-04-09 00:04:27 +00:00
Sean Dague
960d57090f fix up Inventory hbm definitions to work. Adding indexes in
NHibernate is quite nice (though there will still need to be a 
db creator bit carved out later).
2008-04-08 23:44:52 +00:00
Sean Dague
2aeeb4fe5f move the mappings to .hbm.xml so NHibernate actually
sees them
2008-04-08 23:35:22 +00:00
Sean Dague
6d6af55108 added the folder mappings 2008-04-08 23:34:51 +00:00
Sean Dague
a6d27e0929 further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague
8c82117207 added migration script for SqliteAssets 2008-04-08 23:04:16 +00:00
Sean Dague
d2744f5140 added Readme for migrations 2008-04-08 22:59:16 +00:00
Sean Dague
214bd204b1 LLUUID mapper actually appears to work now with
NHibernate for Assets.
2008-04-08 13:49:10 +00:00
Sean Dague
61daaa57a9 added mapping for InventoryItemBase 2008-04-08 03:09:56 +00:00
Sean Dague
32b8dd70d6 attempt to introduce custom LLUUIDString type for
NHibernate
2008-04-08 02:50:44 +00:00
Sean Dague
5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague
f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague
bb2f163bf7 needed to add 4 characters to support the dashes 2008-04-07 23:03:09 +00:00