Commit Graph

1250 Commits

Author SHA1 Message Date
Melanie Thielker
bbd076544d Patch to fix saving of estate managers list loaded during migration.
No longer teleports an agent home unless their root agent is being banned.
Visual blocking is still in effect.
2008-07-18 19:32:05 +00:00
Dr Scofield
449c09234d fixing copy & paste artefact. 2008-07-18 15:36:38 +00:00
Sean Dague
611b56070b add some locks back into the sqlite asset path, as something changed
that is causing a lot of out of order execution on asset fetches on
multi region sims.
2008-07-18 15:34:32 +00:00
Sean Dague
df1485fc51 remove all the odd quoting, on the off chance this was causing some
of the issue.
2008-07-18 15:19:52 +00:00
Sean Dague
d9ba7c8339 put the entire thing inside a transaction. This probably doesn't
help much, but it might.
2008-07-18 15:13:19 +00:00
Sean Dague
e2a3be254f fix typo in create index that caused the entire migration to fail.
put some drop table if exist clauses in here to hopefully let this
migration work for people that are in an intermediary broken state
right now.
2008-07-18 15:10:20 +00:00
Sean Dague
aec5f0ceed found a better pattern for SaveOrUpdate with nhibernate
cleaned up the asset path a bit
2008-07-18 15:06:24 +00:00
Sean Dague
d44dcdf97b remove NHPrim, this turned out to be a bad idea 2008-07-18 13:44:16 +00:00
Dr Scofield
0171e76246 squashing further warnings. 2008-07-18 10:57:18 +00:00
Mike Mazur
e0e0db3660 Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763). 2008-07-18 04:51:41 +00:00
Dahlia Trimble
230a7ecaec masks MySQL password from console startup messages 2008-07-18 03:23:40 +00:00
Melanie Thielker
263633e274 Patch #9151
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Sean Dague
f54828c957 fix build break 2008-07-17 21:07:39 +00:00
Sean Dague
18a5cfd10f terrain is close to working, but I still end up at the bottom of the sea
right now.
2008-07-17 20:58:24 +00:00
Sean Dague
50eab18590 need to synchronize the terrain updates 2008-07-17 20:58:23 +00:00
Sean Dague
4663999c24 first pass at Terrain implementation 2008-07-17 20:58:20 +00:00
Sean Dague
366e09b543 add a Terrain object for the purpose of mapping. This may make sense
to stick up in framework later, but for now we'll just keep it close
to the data.
2008-07-17 19:58:47 +00:00
Sean Dague
8f2154916b if no texture, make it plywood 2008-07-17 19:58:45 +00:00
Sean Dague
6084a7ea3e Revert "git merge"
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague
dd144e12ba git merge 2008-07-17 18:59:06 +00:00
Sean Dague
1c0f27b013 finish NHibernate mapping for prims, and it even seems to work 2008-07-17 18:59:04 +00:00
Sean Dague
43df32c52c fix the null case for deep copy 2008-07-17 18:59:02 +00:00
Sean Dague
d5e0a3a184 got basic region object saves working time for lunch 2008-07-17 18:58:47 +00:00
Sean Dague
9aa0302e5b early remove calls 2008-07-17 18:53:38 +00:00
Charles Krinke
e8412dcd42 Mantis#1736. Thank you kindly, StrawberryFride for a patch that:
Many issues with handling connections in MSSQL, have rearchitected to 
ensure that connections are always opened and closed in a timely fashion 
& disposed of cleanly, and removed unnecessary lock statements. SQL 
Server performance seems to have improved considerably as a result, 
and various timeout errors seem to have been fixed.
2008-07-17 13:43:31 +00:00
Sean Dague
2a30e85c97 added index to ParentID on prims, as this is sorted on for prim loading.
This should speed up initial load of prims, especially on primy regions.
2008-07-16 22:16:46 +00:00
Sean Dague
40ab5f2085 clean up mappings for parent id 2008-07-16 21:28:01 +00:00
Sean Dague
6adac3bd5a getting close on saving prims via nhibernate 2008-07-16 21:27:59 +00:00
Sean Dague
d3190236cc fix RegionStore creation so that the .sql file works 2008-07-16 21:27:55 +00:00
Sean Dague
194ffb4d88 made SOP have a blank setter for 2 convenience properties.
Got RegionStore mapping to the point that nhibernate would start, though
definitely not complete
2008-07-16 21:27:52 +00:00
Sean Dague
f3173735fa Revert "refactoring of PrimitiveBaseShape to properties"
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16 15:10:35 +00:00
Sean Dague
1e447478b8 refactoring of PrimitiveBaseShape to properties 2008-07-16 14:41:57 +00:00
Sean Dague
c6b1a190bc refactoring primitive base shape to use properties 2008-07-16 14:41:49 +00:00
Sean Dague
309e479ac4 work in progress on nhibernate 2008-07-16 14:40:19 +00:00
Sean Dague
2f46ab5096 add migration for SceneGroupID to char(36) plus add an index. This
should actually speed up deletes substantially, especially for large
regions, as this was a table scan before.
2008-07-15 20:06:58 +00:00
Sean Dague
b5efb49d74 added new ParentUUID property to map out from SOP.
Updated some nhibernate parts, started in on migration.
2008-07-15 18:57:18 +00:00
Dr Scofield
5d0b6343a0 killing a lonesome warning that managed to creep in... 2008-07-15 12:02:49 +00:00
Melanie Thielker
12173034d9 Patch #9148
Patch 5 in the region settings series. Adds a migration to ensure corrupted
data is purged and re-read from defaults. Some changes. Still no full
functionality
2008-07-14 01:29:48 +00:00
Justin Clarke Casey
da55f4d2ae * minor: comment out a couple of lines to eliminate nhibernate compile warnings for now 2008-07-12 22:18:54 +00:00
Charles Krinke
932ed5ec54 Mantis#1726. Thank you kindly, StrawberryFride for a patch that:
On an MSSQL-based Grid OpenSim installation, users could log in to the sim once, 
then log off - after a short time before retrying users would be unable to log in, 
and would see an empty alert box on the client with just a "close" button and no text. 
Despite no users being logged into the sim, user server would report a higher number 
of logins than logouts.
2008-07-12 18:05:57 +00:00
Sean Dague
19c4c9798b changes to use NHPrim instead of SOP directly 2008-07-07 21:50:45 +00:00
Sean Dague
b2febd03f0 add NHPrim to subclass SOP so we can stick region uuid in there.
I think the only place we need it is in NHibernate so a subclass
is probably appropriate.
2008-07-07 20:52:13 +00:00
Sean Dague
7634c1311e added skeleton (no function) region store component 2008-07-07 20:40:14 +00:00
Sean Dague
867d72c956 change SitTarget calls from functions to properties 2008-07-07 20:12:14 +00:00
Justin Clarke Casey
1813946937 * remove unused CommitAssets() hook for now 2008-07-07 19:18:44 +00:00
Jeff Ames
d470d30c09 Copyright notices and formatting cleanup. 2008-07-06 14:02:22 +00:00
Charles Krinke
7fea52be35 Mantis#1661. Thank you kindly, CMickeyb for a patch that:
patch attached to check for timeouts on mysql connections *before* 
operations occur that are likely to timeout. if timeout occurs or 
the connections is down, it is reconnected before the operation fails.
2008-07-03 22:30:16 +00:00
Sean Dague
a9b3c2582a add 3 migrations, 1 each for prims, primshapes, and primitems
to move all their UUID stores from varchar(255) -> char(36).  Based
on past evidence, this should help with performance.
2008-07-03 19:41:01 +00:00
Sean Dague
8eb57b68f3 migrate the myisam mysql regions to innodb 2008-07-03 18:45:32 +00:00
Sean Dague
f0f1e00ec3 add a couple of LL conversion properties to SOP. I'll wait to clean
up the sit target usage until the sit target fix patch goes in, but it should
be cleaned.
Get prims table mappings to the point where nhibernate likes them enough
to start.
Remove field from asset mapping so it will start
2008-07-03 18:25:18 +00:00