Commit Graph

581 Commits

Author SHA1 Message Date
Teravus Ovares
a5860ad438 * Adds Region ban capability to Regions. You access this by going to World->Region/Estate. Then on the Estate tab, at the lower right hand corner, clicking the 'Add' button and picking an avatar.
* It only persists across reboots for the mySQL datastore currently.
* Currently have stubs in the other datastores.
2008-06-21 03:29:08 +00:00
Teravus Ovares
4448fd4b2f * Handle parcel telehub location corruption gracefully. DBNull
* mySQL this time.
2008-06-20 18:46:43 +00:00
Sean Dague
40f32a9271 oops, build break. needed to include another reference. 2008-06-19 15:44:33 +00:00
Sean Dague
d28a5a4de7 add migrations support for mysql log store. This should complete
all the mysql bits for migration.
2008-06-19 15:42:57 +00:00
Sean Dague
fcd7cf5e4a fix an edge case with migrations in the region store.
Add migration support to gridstore.
2008-06-19 15:03:00 +00:00
Sean Dague
ec78a2871b the beginning of the great id format migration. This makes
asset uuids no longer binary.  I've tested this migration a
few times, and it seems working in all the scenarios I've found
but it wouldn't hurt to backup your asset db before running this
as it does touch a very sensitive part of our content system.
2008-06-16 14:10:51 +00:00
Jeff Ames
64f01ade04 Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers. 2008-06-13 00:21:53 +00:00
Sean Dague
1451d6fb9a look mom, migrations in action. This adds a couple of indexes
to mysql regions that should help on performance of some of the
selects.  We should start capturing more data on performance bits
to figure out where else we are missing indexes and add them via
migrations as well.
2008-06-12 20:48:06 +00:00
Sean Dague
202a4bec13 Fix mysql migrations. This is tested with an existing up to date schema,
and no schema.  It should also work with a non up to date schema as well.

Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +00:00
Justin Clarke Casey
7cdedcaf0e * minor: Remove and tidy duplicate 'storing object to scene' messages in log 2008-06-12 18:18:59 +00:00
Sean Dague
e1140a4f9b this, in theory, adds migration support to mysql for all
data sources besides the grid store.  It is only lightly tested
so the less adventurous should wait a couple of checkins before
upgrading.
2008-06-12 15:47:33 +00:00
Sean Dague
cee071ea60 check in region store initial migration definition,
now on to integrating this approach into the mysql
driver.  Beware the next couple of checkins.
2008-06-12 15:21:34 +00:00
Sean Dague
4387744a78 check in migration files for mysql 2008-06-12 14:44:52 +00:00
Charles Krinke
53cc63e243 Mantis#1501. Thank you kindly, Nebadon, for a patch that
addresses the 'terrain fill 0' error.
2008-06-10 16:02:18 +00:00
Jeff Ames
4ec4e16c80 Formatting cleanup, minor refactoring, svn properties. 2008-06-04 09:59:27 +00:00
Justin Clarke Casey
4453c8bc5c * experimental: Make OpenSim archiver save and reload all prim textures when not all faces have the same texture 2008-06-02 17:23:13 +00:00
Justin Clarke Casey
0c21f90ba7 * Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on 2008-05-31 21:54:13 +00:00
Justin Clarke Casey
7752211376 * Remove the mysql logging noise I accidentally left in a few commits ago 2008-05-31 21:53:17 +00:00
Justin Clarke Casey
d703e2004f * Change MySQL to check whether an asset already exists before inserting it into the database 2008-05-31 21:44:57 +00:00
Teravus Ovares
febe78d062 * Implements UserServer logoff in a few situations
* User tries to log-in but is already logged in.  Userserver will send message to simulator user was in to log the user out there.
* From the UserServer, admin types 'logoff-user firstname lastname message'.
* Some regions may not get the message because they're not updated yet.
2008-05-31 12:18:29 +00:00
Jeff Ames
0462510956 Update svn properties. Formatting cleanup. 2008-05-30 08:35:57 +00:00
Sean Dague
11d83cb737 actually user the database_connect string for mysql.
This means you can run all the OpenSim grid services without
needing a mysql_connection.ini
2008-05-28 18:12:32 +00:00
Sean Dague
89c164fbc1 let Grid Servers specify a connect string in their configuration. 2008-05-28 17:59:46 +00:00
Sean Dague
7ddf183da4 remove terrain bloat, only keep last terrain revision
for mysql.  For active terraformers this should return
a lot of database space.
2008-05-28 15:02:04 +00:00
Sean Dague
a28a6e9aaa remove an erroneous line to fetch the terrain table in a way that
isn't actually used.
2008-05-28 14:57:24 +00:00
Adam Frisby
77281ed85c * Potential fix for Mantis#167, 332 - MySQL Thread collision. 2008-05-26 21:53:32 +00:00
Jeff Ames
5d77625e9a Update svn properties. Formatting cleanup. 2008-05-25 23:27:38 +00:00
Sean Dague
1ebc6bfd0a add a lock on the update, this should have been there before.
still not convinced this will help, but it was wrong.
2008-05-22 18:31:47 +00:00
Sean Dague
53bcf2139e this removes use of the mapper for wearables, and I can confirm things
get saved to the database.  There are still issues on wearing things
after a cleared cache that I'm looking at now.
2008-05-21 18:02:09 +00:00
Sean Dague
0e39250506 create some direct sql calls for appearance 2008-05-21 14:34:52 +00:00
Sean Dague
6d2f6be82b autocreate appearance table if it isn't there 2008-05-19 21:47:31 +00:00
Sean Dague
419adadc46 prep for changes need to create the appearance tables
by default
2008-05-19 21:39:02 +00:00
Sean Dague
d1c4fc94e7 make the super class conveniance appearance stuff virtual
so they can be overrided correctly by subclasses
2008-05-19 20:49:57 +00:00
Sean Dague
9808f39b6f i can haz pantz?
You sure can.  This change set restores pants (and the rest of the
default appearance) in grid mode.  The 
root issue had to do with serializing multi-faced textures to the 
grid server.  This also restores the lookup path through the avatar
factory module, as that seems the reasonable place to have it live.
Some clean up patches are coming later as well, plus testing on 
standalone, but this should be in a good kicking around state for 
grid users.
2008-05-19 19:08:59 +00:00
Jeff Ames
a5f08b430d Formatting cleanup. 2008-05-17 00:06:35 +00:00
Sean Dague
8a7ae313be it helps to actually create the database if the connect
string is provided.  My bad.
2008-05-16 18:43:53 +00:00
Sean Dague
0076ed40ff in theory, this moves the appearance mapper to live
under the MySQLUserData.  There is a lot of in theory here
so testing would be appreciated.
2008-05-16 14:30:25 +00:00
Jeff Ames
65c5efe43b Formatting cleanup. 2008-05-16 01:22:11 +00:00
Sean Dague
4a9ee9f870 testing avatar appearance as a user service 2008-05-15 20:25:42 +00:00
Sean Dague
4ff4475d02 remove my UserAppearance object, switch all code to use
AvatarAppearance instead.
2008-05-15 18:42:27 +00:00
Jeff Ames
6a1b787436 More formatting cleanup. 2008-05-14 05:33:32 +00:00
Jeff Ames
c995d60d37 Formatting cleanup. 2008-05-14 05:11:23 +00:00
Adam Frisby
4fa0cbdfbb * You can haz more spring cleaning.
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Jeff Ames
0ea48cf786 De-tabify source. 2008-05-06 22:41:38 +00:00
Teravus Ovares
7b446aba91 * Implemented DIE_AT_EDGE and Temporary objects don't save to the database. 2008-05-04 22:55:52 +00:00
Sean Dague
1b7f1c956c plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Sean Dague
4a8f432441 minor refactoring. Change getName and GetVersion methods (yes the had different casings)
to Name and Version properties for the User stores.
2008-05-02 12:35:24 +00:00
Justin Clarke Casey
1de6cffa28 * Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Sean Dague
86d2e53d1f added stubs for appearance bits to all the db layers 2008-05-01 20:16:26 +00:00
Adam Frisby
76d8eaa406 * Thanks to Mic Bowman for inspiring me to look at that we are still using ASCIIEncoder in places we shouldn't. 2008-05-01 18:50:44 +00:00