aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteAssetData.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-12minor: remove some mono compiler warningsJustin Clark-Casey (justincc)1-16/+16
2009-11-05Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman1-4/+5
unknown asset type, and log an error if it ever does happen
2009-10-01Switched log level of an annoying message in SQLite to Debug, and commented ↵Diva Canto1-2/+2
it too.
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis1-28/+19
separate insert and update methods.
2009-08-16* Fixed MySQL/MySQLAssetData.cs to properly do updates * Removed an extra ↵Kunnis1-1/+1
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-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
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-04-13* Some more experimental work on distributed assets. Nothing hotwired yet.lbsa711-1/+1
* Introduced preprocess step in FetchAsset (Might revert this later) * Some minor CCC * Added actual implementation of GetUserProfile( uri ) and the corresponding handler to OGS1. * Introduced non-functioning GetUserUri( userProfile) awaiting user server wireup (this might move elsewhere)
2009-04-09* minor: correct some documentation in SQLiteAssetData.csJustin Clarke Casey1-8/+2
2009-04-09* Change SQLite asset UUID to dashed format to be consistentJustin Clarke Casey1-6/+6
* Remaining inconsistent uuids (non dashed) are in region store for sqlite and mysql * Migration of these will happen at a later date, unless someone else wants to do it
2009-03-09Implemented FetchAssetMetadataSet in DB backends.Mike Mazur1-0/+50
This method fetches metadata for a subset of the entries in the assets database. This functionality is used in the ForEach calls in the asset storage providers in AssetInventoryServer. With this implemented, frontends such as the BrowseFrontend should now work. - MySQL: implemented, sanity tested - SQLite: implemented, sanity tested - MSSQL: implemented, not tested - NHibernate: not implemented
2009-02-17- remove the Metadata property from AssetBase and return all previousMike Mazur1-23/+23
properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
2009-02-12* optimized usings.lbsa711-1/+1
2009-02-04- add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur1-23/+23
- trim trailing whitespace
2008-11-08Work in progress on SECS stuff. Have been holding it off until after 0.6 ↵Tedd Hansen1-2/+2
release. Still messy as hell and doesn't really work yet. Will undergo dramatic changes. AND MOST IMPORTANTLY: Will be conformed to work in coop with todays DNE and XEngine, hopefully one day providing a common interface for all components.
2008-09-18- Add Dispose method to IRegionDataStoreHomer Horwitz1-1/+8
- 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 Ovares1-5/+5
* 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-27we are now past change 6000, so getting rid of the pre-MigrationSean Dague1-81/+0
upgrade cruft
2008-08-18Formatting cleanup.Jeff Ames1-9/+9
2008-07-23Update svn properties. Formatting cleanup. Remove a compiler warning.Jeff Ames1-3/+5
2008-07-18add some locks back into the sqlite asset path, as something changedSean Dague1-49/+56
that is causing a lot of out of order execution on asset fetches on multi region sims.
2008-07-07* remove unused CommitAssets() hook for nowJustin Clarke Casey1-13/+0
2008-07-02* Drop InvType from the assets table since it is no longer usedJustin Clarke Casey1-8/+4
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-06-27last round of warning squashing. calling it a day now.Dr Scofield1-23/+23
2008-06-27Mantis#1591. Thank you graciously, Sempuki for a patch that:Charles Krinke1-0/+2
Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders.
2008-06-26Apply patch from bug #1605 -- Documentation for Data/SQLite. Thanks ↵Jeff Ames1-3/+65
kerunix_Flan!
2008-06-11check in working migration code fore SQLite. This Sean Dague1-3/+21
is now using migrations instead of the old model to create tables. Tested for existing old tables, and for creating new ones.
2008-05-16Formatting cleanup.Jeff Ames1-12/+12
2008-05-14More formatting cleanup.Jeff Ames1-1/+2
2008-05-14Formatting cleanup.Jeff Ames1-1/+1
2008-05-01* In ur code. Making it static.Adam Frisby1-5/+5
* Converted a bunch of functions to static functions.
2008-05-01* Align new fields upgrade sql to have the same 'not null' and default ↵Justin Clarke Casey1-5/+5
settings as when an inventoryitems table is newly created * Normalize logging titles in database code, though this doesn't yet cover invoking code
2008-04-23changes to allow asset_source to be specified in the opensim.iniSean Dague1-3/+6
this will work for sqlite and nhibernate, but will be ignored for mysql and mssql (reverting to their ini files) until someone writes that bit.
2008-04-21* Optimised using statements and namespace references across entire project ↵Adam Frisby1-2/+2
(this took a while to run).
2008-04-02fix ups to include OpenSim.Framework explicit includes (theySean Dague1-0/+1
were implicitly included before). Everything builds again. Now off to testing.
2008-04-02attempt to fix up all refernces to new directory structureSean Dague1-1/+1
2008-04-02whole lot more movingSean Dague1-0/+0
2008-03-28* Introduced common abstract AssetDataBase implementing IAssetProviderlbsa711-18/+18
* changed the semantics of SQLiteBase to SQLiteUtils * Added abstract placeholder files for the other db providers
2008-03-18Formatting cleanup.Jeff Ames1-27/+27
2008-03-12* Fix for SQLiteAssetData - We now ignore duplicate assets. We shouldn't ↵Adam Frisby1-2/+1
support replacing a asset with a fixed UUID as this leads to potential collisions and revisioning issues when proxying down the road.
2008-03-11Ensure resolution of mantis 113Sean Dague1-1/+3
2008-02-05Converted logging to use log4net.Jeff Ames1-5/+7
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-01-15* Restore non dash asset UUID persistence which was made dashed in r3069Justin Clarke Casey1-6/+6
* Apologies, any sqlite databases created between r3069 and this change will now contain unfindable assets. * But sqlite asset databases used previous to r3069 will now work again. * This change may have been done on purpose, so it's not impossible it will be re-reverted
2008-01-14my Exists check was slow and wrong. This fixes issues peopleSean Dague1-5/+24
were just having on IRC. Thanks to Grumly57 for helping to sort this out.
2008-01-14good bye ADO.NET to assets, notice faster startup timeSean Dague1-103/+66
2007-12-27* Optimized usingslbsa711-1/+1
* shortened references * Removed redundant 'this' * Normalized EOF
2007-12-24Log message tweakingJustin Clarke Casey1-5/+5
2007-12-20Fix up other sqlite db interactions to use non-hyphenated uuidJustin Clarke Casey1-5/+5
Inventory contents retrieval and persistent region storage standalone now appear to work as well as they did before :) This patch will not fix grid problems. May be bugs present due to conversions I didn't spot. I personally probably don't have any more time for this today. I'm also not entirely convinced this is the right way forward so this might be a handy pause for thought. I'll also be delighted if I wake up tommorrow and everything is fine again.
2007-12-10saved OpenSim source code from the giant rampaging unterminated copyright ↵Jeff Ames1-2/+2
notice of doom
2007-10-30* Optimized usingslbsa711-56/+69
* Shortened type references * Removed redundant 'this' qualifier