aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-3/+3
- trim trailing whitespace
2009-01-25Applied patch from #3012 Fixing a minor bug where nhibernate mappings from ↵Adam Johnson1-9/+9
outside OpenSim.Data.NHibernate assembly were not included in sessionFactory. Thanks mpallari!
2009-01-24Update svn properties.Jeff Ames5-357/+357
2009-01-23Thank you kindly, TLaukkan (Tommil) for a patch that:Charles Krinke7-0/+360
* Added Npgsql.dll and Mono.Security.dll which are NpgsqlDriver dlls. * Added missing field to schema creation scripts: PathTaperY. * Added schema creation scripts for PostgreSQL. * Added unit test classes for PostgreSQL. * Added schema creation script folder to NHibernate project in prebuild.xml * Added Npgsql.dll to NHibernate test project dependencies in prebuild.xml * Ensured that build works with both nant and Visual Studio. * Executed build unit tests with nant and NHibernate unit tests with NUnitGUI - Couple of region tests fail due to double precission float rounding errors need to sort out how these are handles in unit tests and if higher precission numeric field needs to be used in Postgresql.
2009-01-22Update svn properties, minor formatting cleanup.Jeff Ames1-1/+1
2009-01-20* Apply http://opensimulator.org/mantis/view.php?id=3021Justin Clarke Casey5-0/+416
* Adds MSSQL 2005 unit tests * Thanks Tommil!
2009-01-20* Apply http://opensimulator.org/mantis/view.php?id=3020Justin Clarke Casey9-42/+460
* Adds a grid db implementation and unit tests to the NHibernate module
2009-01-20* Apply http://opensimulator.org/mantis/view.php?id=3012Justin Clarke Casey1-10/+49
* Allows different assemblies to be used in NHibernateManager, which makes it possible to use mapping and migration files in different assemblies. * Thanks mpallari!
2009-01-16Minor formatting cleanup, add copyright header.Jeff Ames1-1/+1
2009-01-16Update svn properties.Jeff Ames2-67/+67
2009-01-13* minor: remove some mono compiler warningsJustin Clarke Casey1-1/+3
2009-01-13* Add copyright notice to NHibernate.UserFriendJustin Clarke Casey1-1/+28
2009-01-13* Apply http://opensimulator.org/mantis/view.php?id=2991Justin Clarke Casey1-4/+24
* Puts ordinary getters and setters into NHibernate.UserFriend since previous c# 3.0 get/set failed on MSVC#2005 * Thanks mpallari
2009-01-13* Apply http://opensimulator.org/mantis/view.php?id=2992Justin Clarke Casey2-87/+0
* Removes now unnecessary revision 2 and 3 files that should have been removed in an earlier patch * Thanks tlaukkan!
2009-01-12Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke10-597/+679
Cleaned up schema creation scripts of MySQL to compliant form and created SQLite scripts from them. In future it would be optimal if scripts from different databases could be generated from MySQL scripts to ensure optimal consistency between schemas of different databases. Did not yet review column names. ID columns seem to have variety in naming which can be confusing.
2009-01-12Fix some C#3.0-isms that broke build in Mono 1.2.6 and MSVC# 2005.Homer Horwitz1-4/+4
Fixes Mantis #2989.
2009-01-12Fixed some svn propertiesHomer Horwitz2-134/+134
2009-01-12* Apply http://opensimulator.org/mantis/view.php?id=2965Justin Clarke Casey5-0/+259
* Adds first version of MsSql2005Dialect support for NHibernate * Thanks mpallari
2009-01-11Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke16-118/+714
Fixed all NHibernate unit tests by implementing missing persistency methods, tables, columns and fixing bugs in the existing implementation. Two minor changes to classes outside NHibernate module: Added Scene instantiation for SceneObjectGroup in OpenSim.Data.Tests.BasicRegionTest as this was required by the NHibernate persistency. In the process added also mock constructor to Scene which only populates RegionInfo in the scene which is used by ScenePart.RegionUUID. NHibernate module is still in experimental state and has not been tested at opensim region or ugaim runtime configuration. Adding unit tests to build is not yet advisable nor using NHibernate module in any production setup.
2009-01-10Thank you kindly, Tlaukkan (Tommil) for a patch that:Charles Krinke1-45/+73
NHibernate MySQL migration was not working as mysql dialect is MySQL5Dialect now instead of MySQLDialect which is the migration sub folder name. Fixed this by adding simple dialect to migration sub type mapping to manager initialization to avoid need of renaming migration script folder each time MySQL version changes. Removed shared session and changed session to be constructed per call as NHibernate session is not thread safe. Refactored manager member names to be according to the naming convention (full words in camel case).
2009-01-05* Add the actual tests from http://opensimulator.org/mantis/view.php?id=2950Justin Clarke Casey8-0/+669
* Apologies for missing these out yet again * Thanks to Tommil for this code
2009-01-05fixes mantis #2950Justin Clarke Casey5-4/+10
2008-12-04* Check in another patch from http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey11-7/+693
* This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
2008-12-02* Reapply http://opensimulator.org/mantis/view.php?id=2710Justin Clarke Casey15-385/+350
* This patch gets NHibernate working *** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) *** * Not sure what the dependency is on other distros. Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome * Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
2008-12-01* Unforunately it turns out not to be that simple. Revert the rest of r7560 ↵Justin Clarke Casey15-350/+385
for now.
2008-12-01* From Mantis#2701 - Implements NHibernate data adapter, adds support for ↵Adam Frisby15-385/+350
MsSql2005 to NHibernate. * Patch courtesy of Adminotech and realXtend. Thanks!
2008-11-27* Remove unused and largely unimplemented UpdateUserCurrentRegion()Justin Clarke Casey1-1/+0
* please say if this causes you a problem
2008-11-23Plumb in the presence notifications and region shutdown/restart messagesMelanie Thielker1-0/+4
from the presence module to the message server, through the user server and on into the database. This should fix the "Already logged in" issue that grids see after a sim crashes, or a user crashes out of a sim. Not yet a 100% solution for friends, but getting there.
2008-11-21* refactor: Rip out SOP inventory from the partial into a separate classJustin Clarke Casey1-1/+1
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life * A proper inventory interface to follow * Parallel changes for other inventory partial classes to follow at a later date
2008-11-10* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting ↵Justin Clarke Casey1-4/+2
RootPart and adding the part separately * Make RootPart read only
2008-11-01Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,Homer Horwitz1-0/+1
on-/offline updates, calling cards for friends. This adds methods in the DB layer and changes the MessagingServer, so a full update (incl. UGAIM) is necessary to get it working. Older regions shouldn't break, nor should older UGAIM break newer regions, but friends/presence will only work with all concerned parts (UGAIM, source region and destination region) at this revision (or later). I added the DB code for MSSQL, too, but couldn't test that. BEWARE: May contain bugs.
2008-09-24Add persistence of active gestures. This needs an UGAIM update to work.Homer Horwitz1-0/+5
Active gestures are sent as part of the login-response. Added fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and NHibernate. Using the empty ones won't cause errors, but doesn't provide persistence either, of course.
2008-09-18- Add Dispose method to IRegionDataStoreHomer Horwitz1-0/+2
- Add necessary dummy Dispose-methods where they are missing - Implement the SQLite Dispose-methods (currently only used for unit tests, in the next commit)
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares16-160/+159
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-19Attachment persistence (Mantis #1711)Melanie Thielker1-12/+1
Change user server to handle attachment assets record properly. Ensure that attachments are not re-rezzed on region crossing. Persistence will NOT WORK with earliser UGAI!! Change region server to match.
2008-08-18Formatting cleanup.Jeff Ames7-51/+51
2008-07-31Thanks, sempuki, for a patch that moves all Grid Server's plugins toMike Mazur2-13/+28
PluginLoader. Fix issue 1871.
2008-07-25squashing warning.Dr Scofield1-1/+3
2008-07-23few additional fixed to get prim inventory up on nhibernateSean Dague3-4/+4
2008-07-23implemented prim inventories for nhibernateSean Dague1-1/+30
2008-07-23fix column mappingSean Dague1-1/+1
2008-07-23complete the prim inventory mappingSean Dague1-0/+6
2008-07-23refactor TaskInventoryItem Mask -> Permissions to be consistant with how thingsSean Dague1-0/+17
are stored in the db.
2008-07-23add primitems migration for nhibernateSean Dague1-0/+27
2008-07-22Update svn properties. Squash a couple of warnings.Jeff Ames2-4/+4
2008-07-18Introduce a separate connection string for estates, which defaults to the one giMelanie Thielker1-1/+1
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18found a better pattern for SaveOrUpdate with nhibernateSean Dague2-52/+49
cleaned up the asset path a bit
2008-07-18remove NHPrim, this turned out to be a bad ideaSean Dague1-46/+0
2008-07-18squashing further warnings.Dr Scofield1-1/+1
2008-07-18Patch #9151Melanie Thielker1-4/+4
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.