Commit Graph

671 Commits

Author SHA1 Message Date
Sean Dague
8621303ea9 - Removed debug print method 2008-10-16 15:58:01 +00:00
Sean Dague
72725a0894 - Enforced no user or agent with UUID 0 on agent DB insertion 2008-10-16 15:57:59 +00:00
Sean Dague
ceb5830142 clean up a merge conflict and remove a console message 2008-10-15 21:00:08 +00:00
Justin Clarke Casey
fac4d02d7e * minor: comment out persisting prim inventory log messages 2008-10-15 19:54:07 +00:00
Sean Dague
63ef14bd8c - Added User Appearance Set and Get tests 2008-10-15 18:15:46 +00:00
Sean Dague
f2eca571b8 - Removed a Console.Writeline and added a Test that will be changed
if the last commit is accepted
2008-10-15 18:15:45 +00:00
Sean Dague
fa8c0d7683 - Makes MySQL reject inserting UUID 0
- Makes SQLite mimick MySQL default behavior on first
  and last name already on db: it does not insert the
  new record.
- Added tests for UUID 0 and for new UUID with existing
  first and last name.
2008-10-15 18:15:43 +00:00
Sean Dague
8e3c10234a Removed some comments 2008-10-15 18:15:40 +00:00
Sean Dague
7d6426f156 move from index based to exists strategy here 2008-10-14 20:07:11 +00:00
Sean Dague
a27352010a Merge commit 'arthur/master' 2008-10-14 19:00:43 +00:00
Homer Horwitz
16d68749a4 Add the missing bits for the new region-search:
- Added lookup in the data-layer
  - MySQL works
  - SQLite doesn't have a grid-db, so it won't work there
  - I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-)
- Added the plumbing up to OGS1GridServices. This speaks with the grid-server
  via XMLRPC.
- Modified MapSearchModule to use the new data. It's backward compatible; if
  used with an old grid-server, it just returns one found region instead of a
  list.
- Refactored a bit.
Note: This updates data, grid-server and region code. No new files.
2008-10-03 23:00:42 +00:00
Justin Clarke Casey
8c55f3eaa6 * minor: remove warnings (the code cleaners strike again) 2008-10-03 14:18:17 +00:00
Sean Dague
5f8e241e81 fix the sqlite break. There were two issue here:
1. type issues on column create in ado.net
 2. not setting a field in the ado.net row translates into explicitely
    setting it to null in sqlite land (because it can't read the defaults
    stanzas out of the database)

Things should work again after this.
2008-10-03 12:36:54 +00:00
Melanie Thielker
ec47a1bff2 Add database persistence for material setting 2008-10-03 12:11:38 +00:00
Sean Dague
9d7a9d3461 stick a TODO in here about land tests, which really can't be done in
the current state as the Land Object has all these live references back
to Scene.
2008-10-01 21:10:08 +00:00
Sean Dague
b7454b1a2b enhance boundary tests for no terrain. Put in a null load
test for land.
2008-10-01 21:10:02 +00:00
Sean Dague
7b1e82a8aa remove tests for inventory 2008-10-01 19:29:06 +00:00
Sean Dague
0f7f3b45cc add basic store retrieve prim inventory test. the prim
inventory interfaces definitely need some rethinking.
2008-10-01 18:51:12 +00:00
Sean Dague
d009927194 add delete prim tests. Found and fixed bugs where region
is not respected by sqlite or mysql drivers so that deleting
and object in a region actually deletes that object from any
region.
2008-10-01 15:41:36 +00:00
Sean Dague
97107961e0 add a test for updating region settings and fix a bug in uuid
translation in sqlite uncovered by this test.
2008-09-29 21:55:59 +00:00
Justin Clarke Casey
464c3c7091 * Add missing mssql migration files from http://opensimulator.org/mantis/view.php?id=2295
* Sorry about that
2008-09-29 20:26:34 +00:00
Justin Clarke Casey
4daaac662f * Apply http://opensimulator.org/mantis/view.php?id=2295
* Updated MSSQL to reflect resend changes 
* Added the new columns in prims table.
* Created a implementation for getting gestures.
* Remove configurable table names for user. 
* Thanks Ruud Lathorp
2008-09-29 15:22:48 +00:00
Charles Krinke
5ddba2a3a7 Mantis#2291. Thank you kindly, StrawberryFride for a patch that solves:
User server won't start up for a MSSQL grid migrating from a significantly 
older version to current version due to duplication in three of the 
migrations code files. Patch included takes out the duplicated code from 
the three files so a smooth update should happen on start up.
2008-09-28 22:07:05 +00:00
Jeff Ames
0b4415849a Update svn properties. Minor formatting cleanup. Fix a compiler warning. Fix a UUID vs null comparison. 2008-09-28 03:21:11 +00:00
Teravus Ovares
16b6738cda * Patch from JHurliman
* Updates to libomv r2243, 
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman. 
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Justin Clarke Casey
97323345ee * minor: remove warnings 2008-09-26 15:28:14 +00:00
Sean Dague
7117f8b680 removal of more dead alter table code 2008-09-25 00:20:57 +00:00
Sean Dague
c3f66be405 light mysql user tests 2008-09-24 21:17:00 +00:00
Sean Dague
2ef1b194fd expose it for real, missed the public keyword 2008-09-24 21:16:58 +00:00
Sean Dague
b4f204e526 expose MySQLUserData class so that it can be tested 2008-09-24 21:16:56 +00:00
Sean Dague
dabb311711 remove configurable table names from the mysql user driver. That
doesn't work in a world of migrations anyway, and is only cruft that
will confuse people.
2008-09-24 21:16:47 +00:00
Homer Horwitz
fe9aea258f Add persistence of active gestures. This needs an UGAIM update to work.
Active gestures are sent as part of the login-response. Added
fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and
NHibernate. Using the empty ones won't cause errors, but doesn't provide
persistence either, of course.
2008-09-24 21:12:21 +00:00
Sean Dague
cffb975dd9 light the mysql region tests 2008-09-24 21:03:11 +00:00
Sean Dague
6392671335 let the asset tests run on MySQL. Interesting difference here, the
sqlite driver can handle .Data = Null, the mysql driver can not.  We
should decide which is the right behavior and adjust code for it.
2008-09-24 20:43:32 +00:00
Sean Dague
70d6cb8570 remove a bunch of out of date inline ALTER table commands that would only
confuse people.
2008-09-24 20:43:27 +00:00
Sean Dague
1aab81e235 couple of minor test cleanups to see if this gets us past the bamboo hump 2008-09-23 21:56:38 +00:00
Sean Dague
a70efd1fdf create the first attempted mysql test. This only runs locally if you
have a database configured as opensim-nunit with user opensim-nunit /
password opensim-nunit that has full perms on the database.
2008-09-23 21:03:03 +00:00
Sean Dague
9a17d2b1fd remove log4net references, see if that helps fix bamboo 2008-09-23 19:11:06 +00:00
Sean Dague
908f1bcbe2 check in stubbing for mysql tests. This is ignored with
Assert.Ignore() for now, so it won't change anything, but
I want to make sure it doesn't break the bamboo infrastructure
in it's current state.
2008-09-23 18:38:25 +00:00
Justin Clarke Casey
451bd5a0ca * minor: warnings removal 2008-09-21 20:56:39 +00:00
Sean Dague
6a691df1a6 remove some extraneous debug messages from migrations 2008-09-20 12:44:39 +00:00
Homer Horwitz
025441d722 Small formatting cleanup, before chi11ken notices. Me bad. 2008-09-19 21:32:41 +00:00
Sean Dague
6dd2841ed8 add in bits to attempt to enable log4net on these tests to help when debugging 2008-09-19 20:53:42 +00:00
Sean Dague
858d8416b4 add a region settings test 2008-09-19 20:00:09 +00:00
Sean Dague
7ac264c2f0 convert to using proper .net tempfiles, should have done this
initially.
2008-09-19 17:47:37 +00:00
Homer Horwitz
e2564f2563 Add a db.Dispose before calling Delete on the SQLite database.
On Windows, you are not able to delete a file while there is
still a handle to it open.
2008-09-18 20:15:04 +00:00
Homer Horwitz
1c08f46ec3 - Add Dispose method to IRegionDataStore
- 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-18 20:10:09 +00:00
Teravus Ovares
e6f3181d3a * Updates the SQLite region database to support the same properties that the MySQL version does for the table, prims.
* If this causes any unit tests to fail, the tests need to be updated.
2008-09-18 17:47:29 +00:00
Dr Scofield
03f246d6fe adds support to delete a region completely and offers that
functionality via the console command "delete-region" and also via
RemoteAdminPlugin.

minor typo fix.
2008-09-18 15:44:05 +00:00
Sean Dague
232d1af663 add some comments and some try blocks around object storage
in the hopes this will help debug why this is failing for some people.
2008-09-18 15:39:22 +00:00