aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-15Bandaid for ghost users, check and remove them from Presence when they log on.onefang4-2/+35
Once again OOP proves it's worse that spaghetti, but cutting up the spaghetti and hiding it all over the kitchen. Note the commented out bits from GateKeeperService.cs, this stuff is checked TWICE, though this time is for HGers, or not.
2019-08-07More account manager.onefang1-2/+6
Select with more parameters. Tables, with member accounts. Print the query values.
2019-08-07Swap out MySQLGenericHandler and swap in MySQLRaw.onefang2-353/+142
Smaller, simpler, works better.
2019-08-06Add a more direct MySQL handler.onefang1-0/+353
2019-05-19Remove useless executable bit that Windows adds.onefang5-0/+0
2019-05-19Move db directory out of tree.onefang3-5/+5
2019-05-19Various database fixups.onefang22-85/+79
InnoDB -> MyISAM utf8 if not exists white space
2019-05-19Dump OpenSim 0.9.0.1 into it's own branch.onefang125-5111/+3885
2016-11-07Fix file execute permissions, coz Windows.David Walter Seikel4-0/+0
2016-11-04Attempt to move everything writable, and the configs, out of the bin directory.David Walter Seikel4-6/+6
Log configs are still in the bin directory.
2016-11-03MyISAM is still much better performing for OpenSim.David Walter Seikel17-40/+40
This time we got the file system asset server, even better still. B-)
2016-11-03Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel129-5192/+13212
2013-02-23MyISAM is much better performing for OpenSim.David Walter Seikel12-35/+35
2013-01-04Added locking in NullRegionData.Oren Hurvitz1-20/+44
This prevents errors when one thread iterates over the regions (e.g., from RegenerateMaptileAndReregister()) while another thread is adding a region.
2012-12-09Restrict IPresenceData.VerifyAgentBlueWall4-17/+17
Restrict IPresenceData.VerifyAgent to only return bool result
2012-12-08Add agent verification to PresenceBlueWall4-0/+36
2012-11-26Fix database service unit test failures by temporarily reverting ↵Justin Clark-Casey (justincc)1-1/+7
BasicDataServiceTest extending OpenSimTestCase. Mono 2.4.3 doesn't like this when running nunit, with nunit throwing AssetTests`2 : System.MemberAccessException : Cannot create an instance of OpenSim.Data.Tests.AssetTests`2[TConn,TAssetData] because Type.ContainsGenericParameters is true. and similar. Mono 2.10.8.1 does not have this issue. So will wait until min version of mono bumps before restoring.
2012-11-24Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)4-4/+7
automatically turns off any logging enabled between tests
2012-11-24Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)3-0/+228
parcel owner ID to the estate owner even if the group UUID was present. Aims to address http://opensimulator.org/mantis/view.php?id=6355 As part of this work, an incomplete IXGroupsData was added which currently only allows store/fetch/delete of group records (i.e. no membership data etc) This is subject to change and currently only an in-memory storage implementation exists for regression test purposes.
2012-11-15refactor: move common inventory folder version update code to parent class ↵Justin Clark-Casey (justincc)3-112/+28
in mysql, mssql and sqlite database plugins
2012-11-15Improve inventory folder version updating for mssql database plugin.Justin Clark-Casey (justincc)1-14/+102
I am not in a position to test this so the updates have been done blind. If it needs any fixing will probably require patches.
2012-11-15Implement folder version updating for the sqlite inventory pluginJustin Clark-Casey (justincc)2-7/+142
2012-11-14More consistently dispose of SqliteCommand in OpenSim.Data.SQLite where ↵Justin Clark-Casey (justincc)9-298/+305
possible. Not doing SQLiteInventoryStore since this is no longer used and should disappear in the future.
2012-11-13Updated all existing AssemblyVersions's to 0.7.5.*. Many DLLs still don't ↵Diva Canto5-5/+5
have an AssemblyInfo file.
2012-11-09minor: Adjust method doc on IXInventoryData MoveItem() and MoveFolder() to ↵Justin Clark-Casey (justincc)1-6/+6
make it clear we're moving to an existing folder.
2012-11-09Update parent inventory folder version numbers when folders are ↵Justin Clark-Casey (justincc)4-47/+220
moved/created/deleted to match version numbers cached by viewers. This is done in the way that one would expect (e.g. moving a folder increments version number on both source and destination parent folders). This should hopefully improve viewer reuse of its cached inventory information. Currently MySQL only but will be implement for SQLite/MSSQL if there are no issues.
2012-11-06Update folder version numbers when moving items and making the ↵Justin Clark-Casey (justincc)2-4/+53
Delete(string[], string[]) call (not just string, string). This is to stop viewer inventory cache version numbers becoming out of sync with grid stored numbers when viewer performs these actions. If there are no problems with these changes, they will be propogated to SQLite (and MSSQL if that's simple enough). May also need to do the same on folder store/create/delete and maybe propogate version increments up the folder hierarchy, but that requires investigation.
2012-11-06Increment version number of a folder when an object it contains is deleted.Justin Clark-Casey (justincc)1-3/+25
Not doing this was allowing the viewer inventory cache to become out of sync if an item was directly deleted.
2012-10-21SQLite DB: some values of land data will be not saved / loadedPixelTomsen1-5/+20
http://opensimulator.org/mantis/view.php?id=6370 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-10-09Disambiguate use of RegionFlags in NullRegionDataJustin Clark-Casey (justincc)1-0/+1
This was not necessary with the nant build but is for xbuild, since xbuild includes associated project DLLs And so picks up OpenMetaverse.dll even though it isn't referenced by OpenSim.Data.Null.dll
2012-10-09Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)3-17/+3
easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
2012-09-27Removed the bits about the TOSModule. That module doesn't go into core. ↵Diva Canto1-3/+0
WARNING: migration on GridUser withdrawn too, but left the migration number there.
2012-09-25TOS module. WARNING: migration in GridUser table.Diva Canto1-0/+8
2012-08-31Also do other MySQL region settings related calls under m_dbLock, in common ↵Justin Clark-Casey (justincc)1-117/+130
with other calls.
2012-08-31Do Windlight storage and removal calls in MySQL under m_dbLock, as is done ↵Justin Clark-Casey (justincc)1-102/+108
with all the other database calls.
2012-08-29Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)1-0/+10
folders with asset type of 'Folder' and 'Unknown' were accidentally treated as system folders. This prevented more than one additional ordinary folder from being created in the base "My Inventory" user folder. Added regression test for this case. Switched tests to use XInventoryService with mostly implemented TestXInventoryDataPlugin rather than InventoryService Disabled TestLoadIarV0_1SameNameCreator() since this has not been working for a very long time (ever since XInventoryService) started being used since it doesnt' preserve creator data in the same way as InventoryService did and so effectively lost the OSPAs. However, nobody noticed/complained about this issue and OSPAs have been superseded by HG like creator information via the --home save oar/iar switch.
2012-08-15Fix and finish the extra parameters storage system for MySQLMelanie1-1/+57
2012-08-15Add a skeleton for a name value storage associated with regionsMelanie5-0/+58
2012-07-07minor: remove some recent mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-07-07Remove redundant SetScene() function in Scene.AddSceneObject()Justin Clark-Casey (justincc)1-1/+1
This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks. There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
2012-05-23Environment Module - allows Environment settings for Viewer3 warning: ↵PixelTomsen7-1/+282
includes database region store migrations for mssql, mysql, sqlite enable/disable this module: Cap_EnvironmentSettings = "localhost" (for enable) Cap_EnvironmentSettings = "" (for disable) at ClientStack.LindenCaps section (OpenSimDefaults.ini file) or owerwrite in OpenSim.ini mantis: http://opensimulator.org/mantis/view.php?id=5860 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-05-23Format cleanupBlueWall1-2/+2
2012-05-15Port Avination's collision fixes to core.Melanie1-1/+0
2012-04-30If there are no new prim items to store then don't bother opening the ↵Justin Clark-Casey (justincc)1-3/+3
MySqlConnection only to do nothing with it.
2012-04-30Consistently use using() to make sure we dispose of used MySqlCommands where ↵Justin Clark-Casey (justincc)9-431/+446
this is not already being done.
2012-04-24Fixed problem with MySQL: it was possible for one thread to use an ↵Oren Hurvitz3-21/+37
incomplete list of column names if another thread was creating the list at the same time. Now this is thread-safe.
2012-04-24When reading a region, use null objects to represent NULL fields.Oren Hurvitz1-1/+5
Previously NULL fields were converted to an empty string due to the use of ToString(). But if the field was an Int (e.g., "locZ"), then the subsequent attempt to convert an empty string to an int caused an exception. Now the field is null so we don't try to convert it, so there's no exception.
2012-03-31Rename SOG.HasChildPrim(uint) to SOG.ContainsPart(uint) to match existing ↵Justin Clark-Casey (justincc)1-4/+4
ContainsPart method and remove method duplication. HasChildPrim is also misleading since the 'root' prim can also be returned.
2012-03-31Add MSSQL login processing fix for servers run on different locales.Justin Clark-Casey (justincc)1-0/+5
This may no longer be an issue with better locale enforcement in OpenSimulator but it doesn't hurt to have this patch. http://opensimulator.org/mantis/view.php?id=4680 Thanks to controlbreak for this
2012-03-30Lock NullFriendsData.m_Data for consistency and against concurrent read/writeJustin Clark-Casey (justincc)1-30/+39