Commit Graph

371 Commits

Author SHA1 Message Date
Sean Dague
96c720b04a be more clever and move the bulk of the db tests for inventory into
OpenSim.Data.Tests, then subclass with custom init bits for sqlite.
As I've only been testing the plugin interfaces anyway, this should
make it very easy to write only a little bit of code to use these
tests for other databases.  It will also give us the framework for
definining the datastore behavior and making sure that all the databases
do the same thing.
2008-09-12 16:05:06 +00:00
Sean Dague
7d61559058 more inventory folder tests 2008-09-11 20:52:35 +00:00
Sean Dague
45df1aaa64 add some folder create and list tests 2008-09-11 18:49:37 +00:00
Sean Dague
380af0b939 added simple add / exists folder check 2008-09-11 18:49:10 +00:00
Sean Dague
7ba9bfc8ad add a few more SQLite Asset tests. 2008-09-11 17:52:11 +00:00
Sean Dague
0a9c6aecb5 added very basic stubs for User and Inventory db creates and empty
calls to make sure they worked
2008-09-10 21:36:20 +00:00
Sean Dague
a90d2b491f fix typo in name of test db 2008-09-10 21:36:12 +00:00
Sean Dague
121398732a add basic sniff tests for SQLite Asset store. Initializes a db,
stores an asset, fetches that asset, make sure it has the name
we gave it.  All simple stuff, but should catch the more egregious
breaks.
2008-09-10 20:33:13 +00:00
Sean Dague
71f2176c4b add a simple update attribute test for SOG & SQLite 2008-09-10 20:33:02 +00:00
Sean Dague
cc7ff3ac2e added in a few more tests 2008-09-10 19:14:12 +00:00
Sean Dague
3f73884674 the explicit log4net configure attempt was maybe breaking bamboo, get
rid of that.
2008-09-10 18:17:10 +00:00
Sean Dague
f970597194 added the first couple of sqlite tests. we'll see how bamboo
handles them.
2008-09-10 17:49:41 +00:00
Sean Dague
1799913593 add shell for SQLite testing. No tests yet.
add another nant target for test-xml to get the verbose
version
2008-09-10 17:49:37 +00:00
Jeff Ames
b9b996be38 Update svn properties, minor formatting cleanup.
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Teravus Ovares
fac18f608d * Fixes Sqlite crash bug when saving a prim. 2008-09-09 23:42:44 +00:00
Sean Dague
6f15ec2d46 possible fix for EARTH SHATTERING KABOOM! when trying to save a prim 2008-09-09 20:45:21 +00:00
Sean Dague
017a6f5511 fix an automatically stripped out UUID from SQLiteManager
fix some spacing in SQLiteRegionData
2008-09-09 20:23:10 +00:00
Sean Dague
66dad4ab03 hopefully fix embedded inventory for sqlite 2008-09-09 18:44:54 +00:00
Jeff Ames
fae34bb10c Update svn properties, formatting cleanup. 2008-09-09 01:26:48 +00:00
Melanie Thielker
490ac0be00 Implement proper persistence of the following prim properties:
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Teravus Ovares
7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* 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-09-06 07:52:41 +00:00
Sean Dague
605ceb6176 Fix for Bug #2065: New check out crashes on sqlite migration
I apparently missed one drop tables statement that was actually needed
when I did the cleaning to make this work for old sqlite versions.
2008-08-28 12:47:55 +00:00
Sean Dague
3465a5772a cleaning out cruft from pre-Migration days 2008-08-27 19:24:48 +00:00
Sean Dague
066715415a getting rid of pre-Migration cruft 2008-08-27 19:24:46 +00:00
Sean Dague
c75f1fcde8 we are now past change 6000, so getting rid of pre-Migration cruft 2008-08-27 19:24:45 +00:00
Sean Dague
b625a36ae5 we are now past change 6000, so getting rid of the pre-Migration
upgrade cruft
2008-08-27 19:24:40 +00:00
Sean Dague
f87f8b3b9f get rid of the "drop if exists" lines in this old migration, as those
tables shouldn't exist yet, and the exists keyword is relatively new in
sqlite.  This has been breaking a lot of people on Suse Enterprise Linux,
for instance.
2008-08-27 17:32:02 +00:00
Charles Krinke
e2b0852c93 Mantis#2052. Thank you kindly, Avdleeuw for a patch that:
After having built revision 5992, OpenSim would start while 
issuing some errors regards updates to user profiles (Master 
Avatar, and other manually added avatars). Issue 2027 dealt 
with the MySQL part. This issue deals with the SQLite part.
2008-08-27 02:45:10 +00:00
Jeff Ames
07b04213d7 Update svn properties, minor formatting cleanup. 2008-08-19 22:41:39 +00:00
Melanie Thielker
41440e184b Attachment persistence (Mantis #1711)
Change user server to handle attachment assets record properly. Ensure
that attachments are not re-rezzed on region crossing. Persistence
will NOT WORK with earliser UGAI!!
Change region server to match.
2008-08-19 18:34:46 +00:00
Melanie Thielker
05506cff49 Avatar Attachment persistence!! Patch #9168 (Mantis #1171)
Plumbs in attachment persistence and adds the tables. Currently MySQL
only, no user functionality yet.
2008-08-18 17:22:36 +00:00
Jeff Ames
6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Melanie Thielker
04488d9d38 Plumb in the partner and the account title fields for profile info. 2008-08-15 22:49:26 +00:00
Melanie Thielker
7161689a97 Adds UserFlags and GodLevel to the user data store and plumbs then in.
This will have no effect unless both the UGAI and the region are
this revision or later
2008-08-14 19:59:32 +00:00
Melanie Thielker
17715da311 Add the UserStore migrations to the TP fixes patch 2008-08-14 11:15:11 +00:00
Melanie Thielker
e3157e61aa Mantis #1946
Thank you, HomerHorwitz, for a patch that corrects and improves TP
to landmark and home position handling.
2008-08-14 00:04:37 +00:00
Charles Krinke
54af3b4f4d Mantis#1903. Thank you kindly, CMickeyb for a patch that:
patch attached replaces the tree walk algorithm used to build the 
folder hierarchy with a single database query. That is, we replace 
1 database query per folder with 1 query for the root folder's 
properties and 1 query to retrieve the entire collection of folders for a user.
2008-08-10 16:44:25 +00:00
Jeff Ames
0718aa0b7f Minor formatting cleanup. 2008-08-07 12:55:46 +00:00
Mike Mazur
d367f0bf0c Thanks, zaki, for a patch that embeds plugin manifest files into plugin dlls. Fix issue 1876. 2008-08-06 01:20:31 +00:00
Melanie Thielker
12c5bfa3e0 Estate series, patch 9 (#9157)
Adds the new access semantics and the new flag (allow only age verified)
Plumbs in the abuse email address from sim to viewer. The other way around,
libomv appears to be lacking support for the data field in the packet.
Includes a migration, run prebuild!
2008-08-01 21:08:00 +00:00
Melanie Thielker
c9b39972ca Add the missing migration files :/ 2008-08-01 02:54:28 +00:00
Melanie Thielker
43f3b9ad7b Patch #8 in the estate series. Introduces the concept of an estate
owner (alongside the master avatar) and provides storage fo the
abuse email address. No user functionality yet.
This patch includes a migration.
2008-08-01 02:14:34 +00:00
Mike Mazur
15669281fa Apply updated patch from issue 1871. Thanks sempuki. 2008-07-31 23:53:24 +00:00
Mike Mazur
2270b25265 Thanks, sempuki, for a patch that moves all Grid Server's plugins to
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Justin Clarke Casey
fd4e703f25 * Remove dumb bug I put in which meant that an archive save would never complete if there were any missing assets 2008-07-25 15:18:24 +00:00
Sean Dague
cf317f5c33 refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
are stored in the db.
2008-07-23 22:14:29 +00:00
Sean Dague
090159defc refactored LandData to use properties, and cleaned up the naming on
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
Jeff Ames
80d8e2889e Update svn properties. Formatting cleanup. Remove a compiler warning. 2008-07-23 13:24:25 +00:00
Mike Mazur
a0930aa80d Thanks, sempuki, for a patch that moves control of Mono.Addins from source attributes to external XML files. Fix issues 1682 and 1786. 2008-07-23 03:08:31 +00:00
Melanie Thielker
212ab8c6d9 Change SQLite argument marker from the more standard '@' to the ':' supported
but earlier versions of the SQLite dll
2008-07-19 21:01:10 +00:00