aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL (follow)
Commit message (Collapse)AuthorAgeFilesLines
* First part of avatar persistence, currently only really works in standalone ↵MW2008-02-041-4/+5
| | | | | | | | | mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed. To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure). This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. But the work to move the code to one of the grid servers shouldn't be too much.
* fix for error on null owner_uuid fieldBrian McBee2008-02-021-1/+8
|
* Change casting slightly for reading owner_uuid from mysql.Charles Krinke2008-02-021-2/+3
|
* Thank you very much daTwitch for your first contribution to the C# simulator.Charles Krinke2008-02-021-5/+36
| | | | | | This is the beginnings of support for storage of region owner in the MySQLManager table and the use of "owner_uuid".
* Added commands to change config file from console:Tedd Hansen2008-02-021-3/+13
| | | | | | | | | CONFIG SET section key value value value CONFIG GET section key CONFIG SAVE (it saves, but does it save correctly?:) ScriptEngine will react correctly to any config change made while it is running.
* Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).Tedd Hansen2008-02-021-2/+3
| | | | | | Added option to try alternate UDP ports if the one configured is in use. UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
* Last patch was a disaster... reset terrain whenever bug occurred. Trying ↵Tedd Hansen2008-02-021-65/+64
| | | | again with some modifications on Mutex.
* And one more patch before sleepTedd Hansen2008-02-021-28/+43
| | | | | This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
* Removed "Loading inventory for Primitive" message.Tedd Hansen2008-02-011-1/+1
| | | | | Fixed small bug in thread counter.
* * Print out exception information when a mysql asset fetch failsJustin Clarke Casey2008-01-301-16/+29
| | | | | | * Attempt reconnection on fetch and create exceptions.
* * Reinsert 3 second land loading delay of r3132 accidentally removed in r3141.Justin Clarke Casey2008-01-241-0/+3
| | | | | | * Sorry Tedd!
* * Following on from sdague's r3144, commenting out other parts of TribalMediaJustin Clarke Casey2008-01-211-0/+2
| | | | | | * This should resolve the current build problem
* * Scripts edited within a prim will now be persisted correctlyJustin Clarke Casey2008-01-211-74/+32
| | | | | | | * On restart the latest save will be restored rather than the very first dragged in scripts * Also add previously missed out database commits to separate prim inventory commit path (sigh)
* comment out use of the TribalMedia data mapper layerSean Dague2008-01-211-1/+1
| | | | | | | | for now. It doesn't build on new mono at the moment, and isn't currently used. Please make sure this functions on mono 1.2.6 prior to adding it back in for the main tree.
* Method renameJustin Clarke Casey2008-01-211-1/+1
|
* Properly lock new separate database accessesJustin Clarke Casey2008-01-211-59/+62
|
* * Make object persistence more granular by separating prim and prim ↵Justin Clarke Casey2008-01-211-91/+71
| | | | inventory persistence
* * Added hooks for logout to all IUserService and all that implement it.Teravus Ovares2008-01-201-4/+0
| | | | | | | * Added a Logout message with a name on the console * Added a *fixme* message to figure out why the current agent session is null * After updating you may notice that there's a login <user> and also a logout<user>
* Tedds temp fix for startup crash: Waiting 3 seconds for stuff to catch up. ↵Tedd Hansen2008-01-201-0/+2
| | | | (Someone please fix! :)) Lets see if it works every time or just some ;)
* Most is back in its original state :) Hope I didn't break anything... *looks ↵Tedd Hansen2008-01-191-7/+0
| | | | innocent*
* That didn't work -- added more debuggingTedd Hansen2008-01-191-19/+8
|
* That didn't work, trying with TableAdapter.FillSchema(DataSet, ↵Tedd Hansen2008-01-191-4/+26
| | | | SchemaType.Source)
* Removed mega-debugging.Tedd Hansen2008-01-191-26/+7
| | | | | | Possibly solved startup crash. Moved MySQL Commit() to inside each functions respective dataset access mutex because if not other threads would be waiting until function released mutex and modify the dataset before the function could commit
* removed additional debugging, added temp mega-debugging to StoreLandObjectTedd Hansen2008-01-191-0/+19
|
* Still hunting, added debug outputTedd Hansen2008-01-191-1/+1
|
* Still looking for that startup crash bug. Added some exception handling in ↵Tedd Hansen2008-01-191-52/+59
| | | | prim object load.
* * More prim inventory synchronizationJustin Clarke Casey2008-01-161-19/+22
| | | | | | * Remove some mysql verbosity
* * Store task inventory when an object is taken into agent inventoryJustin Clarke Casey2008-01-161-43/+54
| | | | | | | | * This means that you can take an object from a region and rez it somewhere else, with its inventory intact. * As for earlier, at this stage only scripts can be placed in inventory * This isn't an efficient implementation, a better one will probably need to come along soonish
* * added missing using clauselbsa712008-01-161-0/+1
|
* * More work on getting the database framework to actually worklbsa712008-01-161-1/+1
|
* * Mother of all commits:Adam Frisby2008-01-155-18/+46
| | | | | | | * Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
* Set svn:eol-style.Jeff Ames2008-01-141-24/+24
|
* * Added specialization of DatabaseMapper, DataReader and ObjectFieldMapper ↵lbsa712008-01-141-0/+24
| | | | | | | | | to support LLVector3, LLQuaternion and LLUUID * Added PrimitiveBaseShapeTableMapper to show how it's done NOTE: Nothing actually works yet - this code should be considered more of educational value until it's all wired together
* Applied patch from melanie (thank you) for mantis issue# 338MW2008-01-131-2/+2
|
* * Do database implementation for prim inventory items in mysqlJustin Clarke Casey2008-01-111-15/+310
| | | | | | | | * Properly clean up items when a region object is deleted * Update persisted prim when an inventory script is changed * No user functionality yet
* * returnin LLUUID.Zero rather than LLUUID.Random on webkey nulllbsa712008-01-111-1/+1
|
* * quick fix to fix if webLoginKey is null in DB, return random key (I guess ↵lbsa712008-01-111-1/+9
| | | | LLUUID.Zero would be a security hazard)
* * This may be broken.. it hasn't been tested, however I wanted to get the ↵Teravus Ovares2008-01-091-0/+33
| | | | last database changes in before sdauge changes them significantly.
* * ok, last mySQL webloginkey related update tonight.Teravus Ovares2008-01-091-1/+1
|
* * almost an oopsTeravus Ovares2008-01-091-1/+1
|
* * Added a hashtable based HTTP processor in preparation of the web_login_keyTeravus Ovares2008-01-094-5/+17
| | | | | | | | * Added the web_login_key to the users table * Added happy configurable http error message pages * This update is large enough to have 'awe' value.. so backup your users or weep. * Not tested on MSSQL, even though I added code to update the tables!
* *Added ability to update only necessary data on insertRegion for the grid ↵mingchen2008-01-071-5/+23
| | | | server.
* * Updates UserServer Teravus Ovares2008-01-021-4/+0
| | | | | | | | * Updates OSG1UserServices * Friends list is now persistent in grid mode. * You can add, new friends and remove them
* * You can add and remove a friend in standalone now within the same ↵Teravus Ovares2008-01-011-0/+7
| | | | | | | | simulator. It saves. * You can add and remove a friend in grid mode now within the same simulator. It doesn't save yet. * I got rid of Mr. OpenSim as a friend.. he bothers me /:b...
* * Added database and UserManagerBase glue for FriendsList managementTeravus Ovares2007-12-312-1/+169
| | | | | * Don't forget to run prebuild
* * Fixed References in Prebuild so the project compilesTeravus Ovares2007-12-301-0/+25
| | | | | | * Added Friends List methods to IUserData interface * Created Stub friendslist Database Methods
* * Moved PrimitiveBaseShape subclasses into factory methods - the subclassing ↵lbsa712007-12-281-2/+2
| | | | | | | scheme won't hold for serialization * Extracted out the 'old' AddNewPrimitive that places an object at an exact pos, without the raytracing
* * Optimized usingslbsa712007-12-277-259/+269
| | | | | | | * shortened references * Removed redundant 'this' * Normalized EOF
* * Fixed MonoSQLite Update Table routineTeravus Ovares2007-12-271-14/+27
| | | | | | * Charles, this will fix the red issue. * Same situation, the first run updates the tables (and gives you a ton of red errors), the second run and everything works as expected.
* * AssetServerBase: _ProcessRequest is now called GetAssetlbsa712007-12-271-1/+4
| | | | | | | * PrimitiveBaseShape: The textures are now exposed as a 'TextureEntry Textures'; all serialization still using the 'byte[] TextureEntry' for backwards compatibility. * Scene: Re-added AddTree, since the Tree type isn't gone from libsl, merely relocated.