aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Telehub Support:BlueWall2012-01-212-1/+86
| | | | Telehub settings now persist to the database and are saved across sim restarts. So-far this only works on MySQL. this is a work in progress, teleport routing is not yet implemented.
* Add beginning of ScenePresenceAgentTests.TestCreateChildScenePresence()Justin Clark-Casey (justincc)2011-12-031-9/+31
| | | | | This required an option to be added to NullRegionData via ConnectionString for it to act as a non-static instance, so that regression tests (which only load this class once) don't get hopeless confused and complex to compensate. Normal standalone operation unaffected.
* Get rid of the spurious [WEB UTIL] couldn't decode <OpenSim agent ↵Justin Clark-Casey (justincc)2011-11-191-2/+2
| | | | | | | 57956c4b-ff2e-4fc1-9995-613c6256cc98>: Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly
* Remove mono compiler warnings. Fix problem with co-ordinate given in ↵Justin Clark-Casey (justincc)2011-11-191-5/+5
| | | | deregister region message
* Improve some grid region log messages to express regions at co-ordinate ↵Justin Clark-Casey (justincc)2011-11-191-0/+20
| | | | (e.g. 1000, 1000) rather than meter positions (256000, 256000)
* Add test for adding a friend whilst onlineJustin Clark-Casey (justincc)2011-11-141-1/+9
|
* Changes UpdateFlag in SOP to an enumeration of NONE, TERSE and FULL.Dan Lake2011-11-021-5/+0
| | | | | | | | | | | | | | | | | UpdateFlag is now referenced/used only within SOP and SOG. Outsiders are using ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule on SOP consistently now. Also started working toward eliminating those calls to ScheduleFullUpdate, ScheduleTerseUpdate or ClearUpdateSchedule from outside SOP in favor of just setting properties on SOP and let SOP decide if an update should be scheduled. This consolidates the update policy within SOP and the client rather than everywhere that makes changes to SOP. Some places forget to call update while others call it multiple times, "just to be sure". UpdateFlag and Schedule*Update will both be made private shortly. UpdateFlag is intended to be transient and internal to SOP so it has been removed from XML serializer for SOPs.
* Plug a security hole in the inventory serviceMelanie2011-10-311-1/+2
|
* Null simulation data must return a non-null region settings or other parts ↵Dan Lake2011-09-201-2/+4
| | | | of the simulator expect
* Remove vestigal OpenSim.Data mono addins extension points that don't look ↵Justin Clark-Casey (justincc)2011-09-203-66/+0
| | | | like they've been active for at least 2 and a half years
* MSSQL Bug fix in user account retrieval, plus migrations for FriendsStore ↵Chris Hart2011-09-163-7/+71
| | | | and InventoryStore
* Reattaching a region was failing if the estate name had not changed (issue ↵Kevin Houlihan2011-09-164-140/+231
| | | | | | 5035). Using the RemoteAdmin API to close then recreate a region would fail if the estate name had not changed. If the estate name /was/ changed then the existing estate would be renamed rather than a new one being created. The problem really arose from a lack of distinction in the data storage layer between creating new estates and loading existing ones.
* Fix unit tests from RegionSettings commitJustin Clark-Casey (justincc)2011-09-091-0/+4
|
* Save the default terrain texture UUIDs for a new region instead of leaving ↵Justin Clark-Casey (justincc)2011-09-091-1/+0
| | | | | | | | | | | them as UUID.Zero. Leaving them at UUID.Zero meant that when a viewer 2 logged into a region that had been freshly created, it received UUID.Zero for these textures, and hence display the land as plain white. On a simulator restart, the problem would go away since when the database adapators loaded the new region settings, RegionSettings itself has code to use default textures instead of UUID.Zero. This commit resolves the problem by saving the default texture UUIDs instead of Zero. However, we currently have to do this in a roundabout way by resaving once the RegionSettings have been created by the database for the first time. This needless complexity should be addressed. This change will also have the effect of replacing any existing UUID.Zero terrain textures with the default ones. However, this shouldn't have any effect since the UUID.Zeros were already being replaced in memory with those same UUIDs.
* Remove code which was automatically deleting non-root prims from scene ↵Justin Clark-Casey (justincc)2011-09-012-32/+0
| | | | | | | objects that had previous been attachments. Looks like this code was accidentally uncommented in e1b5c612 from feb 2010. Appears to resolve the rest of http://opensimulator.org/mantis/view.php?id=5664
* minor: remove mono compiler warningJustin Clark-Casey (justincc)2011-08-311-1/+1
|
* refactor: move SOP.IsAttachment and AttachmentPoint up into SOG to avoid ↵Justin Clark-Casey (justincc)2011-08-271-4/+2
| | | | pointless duplication of identical values
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-08-182-2/+2
|
* In the asset service, check that an asset exists before attempting to store it.Justin Clark-Casey (justincc)2011-08-171-2/+7
|
* Remove un-needed ATTACH command in migration script.BlueWall2011-08-151-3/+1
| | | | | | This was causing issues when using specified paths to database files by using a hard-coded name.
* minor: a little bit of log message correction/commenting outJustin Clark-Casey (justincc)2011-08-111-1/+1
|
* rename TestHelper => TestHelpers for consistencyJustin Clark-Casey (justincc)2011-08-064-44/+44
|
* refactor: Pull up Assembly of the SQLite classes as a protected property, so ↵Marck2011-07-166-11/+32
| | | | that it can be overwritten in subclasses. That way extensions can decide in which assembly migration resources should be looked up. This is a refactor similar to commit 9923a2ff1002d722ccebea8bf4d71718ed4e2a03 for MySQL -- no functional changes.
* Switched order of SQL statements in Friends migration -- resulted in the ↵Diva Canto2011-06-111-1/+1
| | | | wrong key
* For MySQL, migrate region tables to the MyISAM storage engine rather than InnoDBJustin Clark-Casey (justincc)2011-06-101-0/+16
| | | | | | | | Using MyISAM proves vastly faster for persisting scene objects. For instance, a scene object that took 9 seconds to persist before now takes 1. This also improves the experience of loading large OARs. We don't use any of the transactional features of InnoDB. The only thing that may have an impact is that InnoDB does row locking on inserts while MyISAM does table locking. However, field reports say there is no noticeable difference.
* This is the better solution: make the combined key be only on the first 36 ↵Diva Canto2011-06-011-1/+2
| | | | characters of each field -- that's the UUIDs. Thanks coyled. WARNING: Again, people who have gone through this migration and failed need to run it manually.
* It looks like there's a better solution for that problem.Diva Canto2011-06-011-2/+1
| | | | | | Revert "Changed Friends table to have 165-sized varchars on PrincipalID and FriendID. The reason for this number is the following: there is a combined key of these 2 fields; apparently MySql can't handle keys larger than 1000 bytes; when the table is created with utf8 encoding, this combined key is bigger than 1000 bytes, and the migration fails. WARNING: this is not a new migration! People who have gone through this migration and failed should update the sizes of these fields manually." This reverts commit 3fa54a156a83e498a7d5d0949a5f848fe82fe86f.
* Changed Friends table to have 165-sized varchars on PrincipalID and ↵Diva Canto2011-06-011-1/+2
| | | | FriendID. The reason for this number is the following: there is a combined key of these 2 fields; apparently MySql can't handle keys larger than 1000 bytes; when the table is created with utf8 encoding, this combined key is bigger than 1000 bytes, and the migration fails. WARNING: this is not a new migration! People who have gone through this migration and failed should update the sizes of these fields manually.
* Updates to MSSQL to most recent compatibility, also included Windlight ↵Chris Hart2011-06-0110-48/+828
| | | | support. Needs plenty of testing but clean install and migration from 0.6.9 have been tested and work, a few indexes still need to be added for performance.
* Fix dumb sql mistake in MSSQLGenericTableHandler.Delete()Justin Clark-Casey (justincc)2011-05-311-1/+1
|
* fix bug where generic sqlite table delete wasn't working.Justin Clark-Casey (justincc)2011-05-271-1/+1
| | | | this would have caused dupe links bugs when using the sqlite adaptor
* More on HG Friends. Added Delete(string, string) across the board. Added ↵Diva Canto2011-05-225-5/+30
| | | | security to friendship identifiers so that they can safely be deleted across worlds. Had to change Get(string) to use LIKE because the secret in the identifier is not always known -- affects only HG visitors. BOTTOM LINE SO FAR: HG friendships established and deleted safely across grids, local rights working but not (yet?) being transmitted back.
* Fixed permissions bug related to friends in PermissionsModule. Added ↵Diva Canto2011-05-215-2/+24
| | | | FriendsData[] GetFriends(string principalID) to IFriendsData and FriendInfo[] GetFriends(string PrincipalID) to IFriendsService. Refactored some more in the FriendsModule. Made client get notification of local friends permissions upon HGLogin. HG Friends object permissions work.
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimDiva Canto2011-05-217-24/+125
|\
| * Allow item links to be deleted even when other deletes and purges are disabled.Justin Clark-Casey (justincc)2011-05-197-24/+125
| | | | | | | | | | | | | | If these links are not deleted, then they will build up in the player's inventory until they can no longer log in. Accidental deletion of links due to bugs or other causes is potentially inconvenient but on a par with items being accidentally moved. When a link is deleted, the target of the link is never touched. This is a general solution that accounts for the use of links anywhere in the user's inventory.
* | HG Friends working to some extent: friendships offered and accepted ↵Diva Canto2011-05-193-3/+9
|/ | | | correctly handled. Friends list showing correct foreign names. TODO: GrantRights.
* Accidentally committed too earlyJustin Clark-Casey (justincc)2011-05-187-125/+24
| | | | | | Revert "Allow item links to be deleted even when other deletes and purges are disabled." This reverts commit 491279f99afc65860d44765ee7829c7dd5e4e38e.
* Allow item links to be deleted even when other deletes and purges are disabled.Justin Clark-Casey (justincc)2011-05-177-24/+125
| | | | | | | If these links are not deleted, then they will build up in the player's inventory until they can no longer log in. Accidental deletion of links due to bugs or other causes is potentially inconvenient but on a par with items being accidentally moved. When a link is deleted, the target of the link is never touched. This is a general solution that accounts for the use of links anywhere in the user's inventory.
* Mantis #5470 -- add forgotten MSSQL's GridUserStore. Thank you MrMonkEDiva Canto2011-05-071-0/+19
|
* remove further mono compiler warningsJustin Clark-Casey (justincc)2011-05-065-6/+6
|
* minor: remove mono compiler warningsJustin Clark-Casey (justincc)2011-05-062-4/+2
|
* Thank you MrMonkE for a patch that seems to bring the MSSQL data layer up to ↵Diva Canto2011-04-2811-32/+199
| | | | speed with 0.7.x.
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-04-121-3/+3
|
* Include code to return more information about the NullReferenceException seen inJustin Clark-Casey (justincc)2011-04-111-2/+13
| | | | http://opensimulator.org/mantis/view.php?id=5403 prior to doing something about it.
* Remove the SQLite legacy adaptor. This is no longer needed now that the ↵Justin Clark-Casey (justincc)2011-04-0757-6164/+0
| | | | | | main adaptor works on Mac OS X. The SQLite legacy adapator was also not at all well maintained, even worse than the mainline sqlite adapator.
* * Bugfix - Compile NullEstateData implement public List<int> ↵Teravus Ovares (Dan Olivares)2011-04-041-0/+10
| | | | IEstateDataStore.GetEstatesByOwner(UUID)
* Merge branch 'master' of ssh://opensimulator.org/var/git/opensimMic Bowman2011-04-044-1/+80
|\
| * Make the "All Estates" option work from the client (this makes chosen ↵Justin Clark-Casey (justincc)2011-04-054-1/+80
| | | | | | | | | | | | | | | | changes to all the estates that the user owns). This applies to adding/removing estate users, groups, managers and bans. This is the application of the AllEstates_0.5.patch from http://opensimulator.org/mantis/view.php?id=5420 Thanks very much, Snoopy!
* | Updates NullStorage plugin.Mic Bowman2011-04-042-0/+140
|/ | | | Thanks MisterBlue...
* remove some mono compiler warningsJustin Clark-Casey (justincc)2011-03-316-10/+8
|