aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-08-19Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in ↵Diva Canto1-2/+2
SQlite. Fixes most grief in http://opensimulator.org/mantis/view.php?id=4035 http://opensimulator.org/mantis/view.php?id=4027
2009-08-19Fixing a spot I missed in assets. Switching Grid to the new naming schema ↵Kunnis7-63/+23
with Store/Get
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis7-82/+60
separate insert and update methods.
2009-08-17Add copyright headers. Formatting cleanup. Fix a compiler warning.Jeff Ames5-8/+35
2009-08-16* Added Expression based ignores to the PropertyScrambler, which makes a lot ↵Kunnis8-224/+210
of the tests clearer because I'm not constantly resetting properties.
2009-08-16* More improvements to BasicAssetTest.csKunnis1-26/+12
2009-08-16* Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis6-37/+95
parameter from MySQL/MySQLInventoryData.cs * Fixed a bug in SQLite/SQLiteAssetData.cs that was causing a NRE when updating an asset. * Improved the BasicAssetTest.cs to do full create/update/get testing * Improved the BasicInventoryTest.cs to do full create/update/get of both a folder and an item * Moved the null ref tests to the start of the PropertyCompareConstraint.cs, so that it doesn't throw when passing in a null item
2009-08-16* Modified SQLite/SQLiteInventoryStore.cs to not throw if the inventory row ↵Kunnis6-64/+154
does not exist, to match the mysql behavior. * Modified SQLite/SQLiteRegionData.cs to only persist temporary items following the same rules mysql uses. * Added another ignore to the inventory test that was missing. * Added a few more ignores to the RegionTest that the first version of my test were missing. * Added ignoring the root Folder ID, which is set by the inventory system. * Added several improvements to the PropertyCompareConstraint: Protection against infinite loops, added IComparable<T> (for UUID) and moved IComparable before the property matching. * Fixed a bug where I was saving the inside of the ignore expression instead of the outside of it.
2009-08-16Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis11-105/+174
2009-08-16Add copyright headers. Formatting cleanup.Jeff Ames2-3/+57
2009-08-14minor formatting adjustmentsJustin Clark-Casey (justincc)1-2/+10
2009-08-14Adding in Reflection-based testing, to ensure that all properties are covered.Kunnis2-0/+400
2009-08-09Formatting cleanup.Jeff Ames1-1/+1
2009-08-07* Remove hard coded 256 limitations from various places. There's no more ↵Teravus Ovares (Dan Olivares)4-23/+23
256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
2009-08-06skip sqlite tests on z linux, as sqlite doesn't work right on the platformSean Dague5-13/+13
2009-07-25* Updates libOMV to version 0.7.0Teravus Ovares3-6/+6
* Uses mantis #3811 as a base (thanks jhuliman) with changes. * E-mail regarding interface changes sent to the opensim-dev list * Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-24* Apply http://opensimulator.org/mantis/view.php?id=3586Justin Clarke Casey3-1/+88
* Make MSSQL current in NHibernate * Thanks mpallari
2009-07-24* minor: spacing adjustment to retrigger pandaJustin Clarke Casey1-2/+1
2009-07-24* Apply asset and inventory name and description bound checks to MySQLJustin Clarke Casey2-5/+40
2009-07-24* Extend mssql name string size checking to create/update folderJustin Clarke Casey1-3/+18
2009-07-24* Extend inventory name and description length checks to UpdateItem for mssqlJustin Clarke Casey1-2/+20
2009-07-24* Correct minor bug where item description bounded string was not actually ↵Justin Clarke Casey1-1/+2
being used in the previous patches.
2009-07-24* Apply similar bounds checks on name and description fields on MSSQL ↵Justin Clarke Casey1-6/+25
UpdateAsset
2009-07-24* Apply http://opensimulator.org/mantis/view.php?id=3902Justin Clarke Casey2-6/+36
* Restrict asset and inventory name descriptions so as not to overflow MSSQL field lengths * Thanks StrawberryFride
2009-07-10* Added a user friendly message to the sqlite regionsettings saver giving ↵Teravus Ovares1-1/+17
them troubleshooting options and telling them to restart the simulator. This situation, hopefully is temporary and generates an exception when sqlite users first start OpenSimulator because of an unexpected condition in the database layer. Restart and all is well. * Added a user friendly message to the 'No IInventoryService available' condition with troubleshooting options.
2009-07-09Thank you, StrawberryFride, for a patch to fix MSSQL parameter naming.Melanie Thielker1-2/+2
2009-06-30From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague1-1/+1
Ooops, sorry there was a bug in the patch and causes an exception on some system (I think it only happens on windows since it didn't occur during my testin). I've attached a one liner which fixes the problem.
2009-06-29Thanks StrawberryFride, for a patch that fixes MSSQL migration:Arthur Valadares1-3/+3
Minor tweak to a region migration SQL script for the OAR DateTime field - SQL Server syntax slightly different from MySQL (and there is no unsigned in MSSQL, sadly)
2009-06-29From: Chris Yeoh <yeohc@au1.ibm.com>Sean Dague4-27/+23
Attached is a patch that changes the oar file saving of creation date/time to an integer instead of a string. I did this after justincc emailed me saying there is a problem with internationalisation doing it the old way and I said I'd fix it. Its been tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-22Formatting cleanup, ignore some generated files.Jeff Ames1-1/+1
2009-06-19more type clean fixes for mono 2.4.2Sean Dague1-8/+8
2009-06-18mono 2.4.2 seems a little more type strict, fix some sqlite tests to passSean Dague1-2/+2
2009-06-18Applied patch from Mantis #3817, which fixes a error when using MSSQL. I ↵MW2-12/+0
don't use MSSQL so couldn't test this myself. But there was certainly duplicated instructions in these files...which this patch fixes. Thanks Grumly57
2009-06-17Add the missing resource files for MSSQLMelanie Thielker2-0/+24
Mantis #3800
2009-06-14Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of ↵Melanie Thielker4-68/+37
objects, with changes: - Set OwnerID = GroupID for deeded objects. - Close a security loophole that would have allowed a user with deed rights in a group to deed ANY object to that group, even if it's not owned by them and/or not set to that group - Set LastOwnerID correctly. Handle objects vs. prims correctly.
2009-06-10Thank you kindly, BlueWall, for a patch that solves:Charles Krinke1-9/+9
SQLite error on creating user.
2009-06-10Formatting cleanup.Jeff Ames3-6/+6
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2-2/+31
This patch adds oar file date and time (UTC) meta data to an oar file when it is created. It also adds a unique ID, though this id does not in anyway identify the machine that the oar file was created on. When an oar file with this meta data is loaded this extra information is saved with the region settings and available via LSL through: - osLoadedCreationDate() - osLoadedCreationTime() - osLoadedCreationID() If there is no meta data these fields will be blank. Subsequent oar file loads will erase the information for the previous oar file load. Persistence has only been implemented for MySQL, the other backends need updating. Overall this allows us to much more easily identify the specific version of software that clients are using. Its very straightforward to edit the oar file to change the ID string to be something more human friendly. Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql required for the MySQL DB migration. btw I had a chat with justincc about this a few weeks ago since he wrote the oar file import/export and he sounded happy to accept something that included date/time information but didn't want anything that would silently leak private information like machine names.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames103-103/+103
LICENSE.txt.
2009-05-31Thank you kindly, StrawberryFride for a patch that:Charles Krinke1-7/+50
Added in some key code to read properties from MSSQL for user profiles which fixes issues of users having trouble editing estate settings on a grid where estate managers are not god, and fixes the option of enabling grid god functionality on MSSQL grids. I have applied this to trunk only. I need someone else to examine and apply to 0.6.5-Post-Fixes, or give me some direction, please.
2009-05-27From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield2-2/+17
The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
2009-05-25* Upped version number to 0.6.5lbsa715-10/+10
2009-05-25Revert "From: Chris Yeoh <cyeoh@au1.ibm.com>"Dr Scofield1-12/+2
This reverts r9666. for some reason the mysql update does not work.
2009-05-25From: Chris Yeoh <cyeoh@au1.ibm.com>Dr Scofield1-2/+12
The attached patch implements llPassTouches. It has been added to the export/import XML along with the flag for AllowedInventoryDrop. The MySQL backend has been updated as well, though I haven't done one of those before so could do with a check. I added the migration mysql file as well. The other data backends need updating as well.
2009-05-20Update svn properties.Jeff Ames1-5/+5
2009-05-17Thank you kindly, StrawberryFride, for a patch that:Charles Krinke5-155/+168
Adds maturity & access logic for MSSQL platform to mirror that of MySQL as committed in 9502.
2009-05-17Update svn properties.Jeff Ames1-5/+5
2009-05-15* Change default sqlite asset db back to Asset.db instead of AssetStorage.dbJustin Clarke Casey1-2/+2
* This inconsistency has actually existed for some time but only the recent change brought it to light * In the past, the default in ConfigurationLoader took precedence over the one in SQLiteAssetData
2009-05-12Thank you kindly, Patnad, for a patch that:Charles Krinke4-5/+30
This is to handle the changes in the v1.23 viewer of LL regarding the adult rating. With this patch a region can be changed to the adult rating from LL viewer v1.23 and above.
2009-05-08WARNING: contains migrationSean Dague1-0/+7
Since creatorID is no longer treated as a UUID type in the code from the database we need to make sure that it isn't null in the database. This updates all empty string and null values for this column to the Zero UUID, and makes the column a not null definition with a default fo the Zero UUID.