Charles Krinke
ca8d1d57e1
Mantis#1591. Thank you graciously, Sempuki for a patch that:
...
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-27 02:15:57 +00:00
Jeff Ames
ca724636d4
Apply patch from bug #1601 -- more documentation for Data/MySQL. Thanks kerunix_Flan!
2008-06-26 12:38:03 +00:00
Charles Krinke
1c6bf4fe77
Mantis#1595. Thank you, Melanie for a patch that:
...
Adds pipes for the prim item flags field
2008-06-26 02:51:59 +00:00
Jeff Ames
8a0a0f9bb5
Add patch from bug #1596 - adds Doxygen documentation in OpenSim.Data.MySQL files. Thanks kerunix_Flan!
2008-06-26 01:12:28 +00:00
Sean Dague
ce9c584341
add migrations to mysql and sqlite for flags on embedded inventory
2008-06-25 18:57:21 +00:00
Sean Dague
c0a083ad38
based on positive feedback on performance of making keys fixed length
...
for assets, make all the indexed columns in the inventory fixed length
via migration.
2008-06-24 18:01:28 +00:00
Sean Dague
8b6bd93d68
add migration to go from varchar -> char for uuid. Tested
...
on my machine, and works, but backing up before migrations
is always a good idea.
2008-06-23 16:00:18 +00:00
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
Adam Frisby
5231903778
* In ur code. Making it static.
...
* Converted a bunch of functions to static functions.
2008-05-01 16:03:53 +00:00
Jeff Ames
d51ce47b2d
Update svn properties. Minor formatting cleanup.
2008-05-01 14:31:30 +00:00
Justin Clarke Casey
13e51b197c
* Add more class cast exceptions to mysql read inventory item to cover all new fields - not just those I think are initially failing.
...
* This is more likely to allow existing mysql databases to work temporarily, if the previous revision doesn't work
2008-05-01 13:41:36 +00:00
Justin Clarke Casey
d72bdf432a
* Align new fields upgrade sql to have the same 'not null' and default settings as when an inventoryitems table is newly created
...
* Normalize logging titles in database code, though this doesn't yet cover invoking code
2008-05-01 13:27:40 +00:00
Justin Clarke Casey
6e9042c3d3
* Change mysql inventory items table version 3 upgrade sql to provide explicit default values
2008-05-01 12:33:05 +00:00
Justin Clarke Casey
9024fe68fc
* Insert temporary cast exception catching code to deal with mantis 1099 - mysql inventoryitems table problem
2008-05-01 12:08:22 +00:00
Adam Frisby
25a49ac4de
* Spring cleaned a bunch of '//TODO: unused' marked functions.
2008-04-30 23:11:07 +00:00
Teravus Ovares
b3f44fbb94
* Refactored the land table to be versionable in mySQL.
...
* Added AuthbuyerID so that if someone sets a land for sale to someone and then restarts the simulator, when the simulator comes back up, the setting persists.
2008-04-30 20:08:15 +00:00
Justin Clarke Casey
8ed9e57896
* Add a scratch implementation of the new inventory fields to the mssql database adapter
...
* I don't use mssql so this may not work, corrections (in the form of patches) are welcome.
* Unlike mysql, mssql requires manual updating of existing tables here (which should mean just adding the new fields manually)
2008-04-30 19:28:36 +00:00
Justin Clarke Casey
f57ff4c36b
* Change new inventory groupID field to 36 rather than 63
...
* Add updated stub mssql inventory sql (only really because I was in the middle of this when I spotted the numeric transposition)
2008-04-30 19:13:06 +00:00
Justin Clarke Casey
dbcd6112b9
* Actually enable the inventory upgrade sql if appropriate
2008-04-30 17:11:59 +00:00
Teravus Ovares
b70da6ac19
* Patch by Melanie. Implements proper objectflags on child objects. Thanks Melanie!
...
RE: 0001079: r4387. touch() event does not fire when touch script is in root prim and child prims are touched
2008-04-30 16:52:12 +00:00
Teravus Ovares
a9cc76e0ef
* Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
...
* This builds but might not work. JustinCC will examine.. it may work out of the box.
2008-04-30 16:08:24 +00:00
Sean Dague
c6f6218f60
in theory, let you pass the mysql connection string into the
...
mysql manager class. This could use some testing of inventory
and asset services. Once this is prooved out, I'll do it for
mssql as well.
2008-04-24 15:23:49 +00:00
Sean Dague
3dd98a112f
allow for Inventory database source to be specified in main
...
configs. This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague
a1cc0e436f
changes to allow asset_source to be specified in the opensim.ini
...
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-23 19:13:06 +00:00
Justin Clarke Casey
4db839c3b8
* Implement proper emptying of trashcan on standalone
...
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Adam Frisby
fef3b36894
* Optimised using statements and namespace references across entire project (this took a while to run).
2008-04-21 07:09:17 +00:00
Justin Clarke Casey
f0896c263b
* Insert some missing database locks for inventory and user data on mysql
2008-04-18 22:46:03 +00:00
Justin Clarke Casey
379ac9c92a
* Make it easier to follow logins on the user server by changing and tidying up log messages
2008-04-15 22:41:34 +00:00
lbsa71
cbf9fcfac5
* Discerned between AddProfile and UpdateProfile in region registration
...
:: Believe it or not, but INSERT/UPDATE is actually a better pattern than REPLACE, since, with INSERT/UPDATE you can catch erroneous UPDATES to non-INSERTed items as well as catch erroneous re-INSERTS. in 95% of the cases, you SHOULD have a clear INSERT context, and a clear and separate UPDATE context. If you think your case falls within the 5%, maybe you should re-evaluate your code. ::
2008-04-11 09:56:22 +00:00
Sean Dague
55ac1c6dce
renaming of attributes in UserAgentData for readability
2008-04-10 14:50:52 +00:00
Sean Dague
ef7dfae41c
changing UserAgentData to use properties. This caused more
...
grief than expected, as monodevelop doesn't like to refactor
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague
25fea01b92
further renaming of properties for clarity
2008-04-10 14:09:30 +00:00
Sean Dague
c176caeb05
moved fields to properties for UserDataProfile, which was
...
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Sean Dague
a6d27e0929
further refactor and rename of InventoryFolderBase properties
...
to reflect what they really are.
2008-04-08 23:26:31 +00:00
Sean Dague
5ee75998ce
more refactoring, this time on InventoryFolderBase
...
* wrap attributes in properties
* clean up names a little bit
* clean up name styles
2008-04-07 23:27:05 +00:00
Sean Dague
f436815107
Refactor InventoryItemBase to do the following:
...
* wrap fields as Properties
* rename some fields/properties to more sensible names
* set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague
30ea28c3b1
fix ups to include OpenSim.Framework explicit includes (they
...
were implicitly included before). Everything builds again.
Now off to testing.
2008-04-02 16:00:40 +00:00
Sean Dague
f52c8f3970
attempt to fix up all refernces to new directory structure
2008-04-02 15:36:01 +00:00
Sean Dague
c52c68f314
whole lot more moving
2008-04-02 15:24:31 +00:00