aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Recover a lost "virtual". Downstream projects need this.Diva Canto2013-04-251-1/+1
|
* minor: Make exceptions thrown by MySQLAssetData more consistent.Justin Clark-Casey (justincc)2013-04-101-10/+19
|
* Change recent MSSQL migrations to drop COLUMN from ALTER TABLE which is ↵Justin Clark-Casey (justincc)2013-04-021-6/+6
| | | | | | either not syntactical or unnecessary. May fix http://opensimulator.org/mantis/view.php?id=6593
* Change the table and field names of XAssetService mysql db tables to be ↵Justin Clark-Casey (justincc)2013-03-152-62/+60
| | | | | | | | capitalized like Avatars, Friends, etc. Also fixes access time being set on assets rather than XAssetsMeta This is to try and be somewhat consistent with other service tables that are mainly in this style. No migration is supplied, since nobody should be using this service yet except on a test basis.
* Implement access time updates on assets for XAssetService.Justin Clark-Casey (justincc)2013-03-151-38/+57
| | | | | | | | This only happens if access time is older than 30 days currently, in order to reduce database updates. The idea is to give some idea of assets which haven't been accessed for a very, very long time. These might conceivably be deleteable, though this will be a risk due to caching at other points in the chain. This is actually currently much less useable on the xasset service since access time is on metadata rather than the data itself. And many metadata entries may point to the same data. Probably need to address this.
* Add asset name and description truncation warnings to SQLite database plugin ↵Justin Clark-Casey (justincc)2013-02-271-5/+23
| | | | for consistency.
* Add more information to warnings logged when asset names and descriptions ↵Justin Clark-Casey (justincc)2013-02-273-6/+18
| | | | | | | have to be truncated for database storage On balance, I still think this is useful because asset names and descriptions can sometimes be helpful in determining what things are. Even though they are never subsequently (inventory names/descriptions are always used instead).
* Deleted all AssemblyFileVersion directivesDiva Canto2013-02-195-5/+5
|
* First commit of Diva Groups. The Data bits went to OpenSim.Data core, the ↵Diva Canto2013-02-193-0/+743
| | | | rest to Addons.Groups.dll.
* Offline IM: moved the Data and MySQL bits to the corresponding places in ↵Diva Canto2013-02-193-0/+135
| | | | core, so that it will be easier to plugin a SQLite backend, if anyone is interested in doing that.
* I need these for OfflineIM and Groups.Diva Canto2013-02-181-0/+60
|
* Added physics parameters support to MSSQL and SQLite (not tested)Oren Hurvitz2013-02-096-13/+71
|
* Rename "Bounciness" to "Restitution"Melanie2013-02-071-2/+2
|
* Fix a bug I brought in by manually editing a diff file. Terrain is if cource ↵Melanie2013-02-061-1/+1
| | | | not always at 20m.
* Partial port of Avination's support for the new physics parameters.Melanie2013-02-062-18/+51
| | | | | | | | Implements the parameters as properties, the serialization and database storage (MySQL only). Implements llSetPrimitiveParams for prim physics shape and the other 4 extra params. Only the prim shape type "None" is currently functional. No support for the Viewer UI (yet), that will be ported in due course. Lots more to port, this is a large-ish changeset.
* Merge branch 'dynamic-attributes2'Justin Clark-Casey (justincc)2013-02-056-9/+68
|\
| * Remove the accidental PrimShapes column that I added back to the SQLite ↵Justin Clark-Casey (justincc)2013-01-251-2/+1
| | | | | | | | region store
| * Fix tests by adding DynAttrs add column commands to RegionStore.migrations ↵Justin Clark-Casey (justincc)2013-01-251-0/+6
| | | | | | | | (these were originally in 021_RegionStore.sql which I might have forgotton to add 2 years ago).
| * Store NULL in the 'DynAttrs' column if the prim doesn't have any dynamic ↵Oren Hurvitz2013-01-253-3/+15
| | | | | | | | attributes
| * Stopped storing dynamic attributes in the PrimShapeOren Hurvitz2013-01-255-28/+5
| |
| * Added missing DynAttrs references in MySQLOren Hurvitz2013-01-251-3/+6
| |
| * Encapsulate an OSDMap in DAMap (was DynAttrsOSDMap) rather than inheriting ↵Justin Clark-Casey (justincc)2013-01-253-12/+12
| | | | | | | | | | | | from it This is the easier way to give us control over locking, rather than asking that OSDMap IDictionary methods be virtual
| * Implement dynamic attribute persistence on mysql and mssqlJustin Clark-Casey (justincc)2013-01-254-8/+49
| | | | | | | | mssql is untested
| * Implement Dynamic Attributes for SOP and PBS. Implement storage in SQLiteJustin Clark-Casey (justincc)2013-01-251-0/+21
| |
* | Bump version and assembly version numbers from 0.7.5 to 0.7.6Justin Clark-Casey (justincc)2013-02-055-5/+5
|/ | | | | | | | This is mostly Bluewall's work but I am also bumping the general version number OpenSimulator 0.7.5 remains in the release candidate stage. I'm doing this because master is significantly adding things that will not be in 0.7.5 This update should not cause issues with existing external binary DLLs because our DLLs do not have strong names and so the exact version match requirement is not in force.
* Added locking in NullRegionData.Oren Hurvitz2013-01-021-20/+44
| | | | This prevents errors when one thread iterates over the regions (e.g., from RegenerateMaptileAndReregister()) while another thread is adding a region.
* Restrict IPresenceData.VerifyAgentBlueWall2012-12-094-17/+17
| | | | Restrict IPresenceData.VerifyAgent to only return bool result
* Add agent verification to PresenceBlueWall2012-12-084-0/+36
|
* Fix database service unit test failures by temporarily reverting ↵Justin Clark-Casey (justincc)2012-11-261-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.
* Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵Justin Clark-Casey (justincc)2012-11-244-4/+7
| | | | automatically turns off any logging enabled between tests
* Fix bug where loading an OAR with a deeded parcel would always set the ↵Justin Clark-Casey (justincc)2012-11-243-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.
* refactor: move common inventory folder version update code to parent class ↵Justin Clark-Casey (justincc)2012-11-153-112/+28
| | | | in mysql, mssql and sqlite database plugins
* Improve inventory folder version updating for mssql database plugin.Justin Clark-Casey (justincc)2012-11-151-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.
* Implement folder version updating for the sqlite inventory pluginJustin Clark-Casey (justincc)2012-11-152-7/+142
|
* More consistently dispose of SqliteCommand in OpenSim.Data.SQLite where ↵Justin Clark-Casey (justincc)2012-11-149-298/+305
| | | | | | possible. Not doing SQLiteInventoryStore since this is no longer used and should disappear in the future.
* Updated all existing AssemblyVersions's to 0.7.5.*. Many DLLs still don't ↵Diva Canto2012-11-135-5/+5
| | | | have an AssemblyInfo file.
* minor: Adjust method doc on IXInventoryData MoveItem() and MoveFolder() to ↵Justin Clark-Casey (justincc)2012-11-091-6/+6
| | | | make it clear we're moving to an existing folder.
* Update parent inventory folder version numbers when folders are ↵Justin Clark-Casey (justincc)2012-11-094-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.
* Update folder version numbers when moving items and making the ↵Justin Clark-Casey (justincc)2012-11-062-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.
* Increment version number of a folder when an object it contains is deleted.Justin Clark-Casey (justincc)2012-11-061-3/+25
| | | | Not doing this was allowing the viewer inventory cache to become out of sync if an item was directly deleted.
* SQLite DB: some values of land data will be not saved / loadedPixelTomsen2012-10-211-5/+20
| | | | | | http://opensimulator.org/mantis/view.php?id=6370 Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
* Disambiguate use of RegionFlags in NullRegionDataJustin Clark-Casey (justincc)2012-10-091-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
* Move OpenSim.Data.RegionFlags -> OpenSim.Framework.RegionFlags to make it ↵Justin Clark-Casey (justincc)2012-10-093-17/+3
| | | | easier for other code to use (e.g. LSL_Api) without having to reference OpenSim.Data just for this.
* Removed the bits about the TOSModule. That module doesn't go into core. ↵Diva Canto2012-09-271-3/+0
| | | | WARNING: migration on GridUser withdrawn too, but left the migration number there.
* TOS module. WARNING: migration in GridUser table.Diva Canto2012-09-251-0/+8
|
* Also do other MySQL region settings related calls under m_dbLock, in common ↵Justin Clark-Casey (justincc)2012-08-311-117/+130
| | | | with other calls.
* Do Windlight storage and removal calls in MySQL under m_dbLock, as is done ↵Justin Clark-Casey (justincc)2012-08-311-102/+108
| | | | with all the other database calls.
* Fix regression introduced in a0d178b2 (Sat Aug 25 02:00:17 2012) where ↵Justin Clark-Casey (justincc)2012-08-291-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.
* Fix and finish the extra parameters storage system for MySQLMelanie2012-08-151-1/+57
|
* Add a skeleton for a name value storage associated with regionsMelanie2012-08-155-0/+58
|