aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix deletion persistence when freshly delinked prims are removedJustin Clark-Casey (justincc)2010-09-073-15/+69
| | | | | | | | | | Previously, Scene.Inventory.DeRezObjects() forced the persistence of prims before deletion. This is necessary so that freshly delinked prims can be deleted (otherwise they remain as parts of their old group and reappear on server restart). However, DeRezObjects() deleted to user inventory, which is not required by llDie() or direct region module unlink and deletion. Therefore, forced persistence has been pushed down into Scene.UnlinkSceneObject() to be more general, this is still on the DeRezObjects() path. Uncommented TestDelinkPersistence() since this now passes. Tests required considerable elaboration of MockRegionDataPlugin to reflect underlying storing of parts.
* Add test to check persistence of newly added pre-linked objectsJustin Clark-Casey (justincc)2010-09-063-3/+156
| | | | | Added a MockRegionDataPlugin to do in-memory persistence for tests since adding this to OpenSim.Data.Null.NullDataStore doesn't seem appropriate NullDataStore can do nothing because OpenSim only ever retrieve region objects from the database on startup. Adding an in-memory store here would be unecessary overhead.
* allow inventory path specified in "load iar" to start with a / (e.g. ↵Justin Clark-Casey (justincc)2010-08-271-12/+12
| | | | /Objects is now valid where it wasn't before)
* refactor: Make IAR tests set up standard iar for loadingJustin Clark-Casey (justincc)2010-08-271-4/+11
|
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-243-13/+36
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* Unit test breakage fix.Diva Canto2010-08-201-8/+48
|
* Added SendTeleportProgress to IClientAPI. Ya know what that means... 8 files ↵Diva Canto2010-08-161-0/+4
| | | | affected.
* Work on TeleportStart: renamed method from TeleportLocationStart to ↵Diva Canto2010-08-161-1/+1
| | | | TeleportStart, and now sending this upon all teleports, not just some, and in the right place (EntityTransferModule).
* minor: remove mono compiler warningJustin Clark-Casey (justincc)2010-08-131-1/+1
|
* Major attachments cleanup. Remove unused AttachObject ClientView methodMelanie2010-07-141-4/+0
| | | | | Clean up use of AttachObject throughout, reduce number of overloads and number of parameters
* Fix problem where iar load would duplicate huge number of foldersJustin Clark-Casey (justincc)2010-06-181-6/+6
| | | | | This was http://opensimulator.org/mantis/view.php?id=4770 Extend unit tests to check for this scenario too
* Move "StopFlying()" into LLSpace. Try to reinstate the carefully crafted packetMelanie2010-06-121-0/+4
| | | | we used to send before slimupdates and explicitly send it
* Revert "Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)2010-06-111-5/+0
| | | | | | GetFolder(InventoryFolderBase folder)" This reverts commit 3525195bc9b5fdfd9799411edd452981ef1f4ebd.
* Allow IInventoryService.GetFolder(folderId, userId) as well as ↵Justin Clark-Casey (justincc)2010-06-111-0/+5
| | | | | | | GetFolder(InventoryFolderBase folder) This involves no wire changes since the methods often just construct an InventoryFolderBase under the hood. This is in line with other methods that alraedy allow requests via uuid
* create inactive test for iar folders/items merged with existing pathsJustin Clark-Casey (justincc)2010-06-112-12/+52
| | | | add various helper functions for simplifying test readability
* remove pointless mock user account service since the real one can now be ↵Justin Clark-Casey (justincc)2010-06-042-59/+6
| | | | easily configured for test purposes
* get TestSaveIarV0_1() working again by setting up an ↵Justin Clark-Casey (justincc)2010-06-042-2/+5
| | | | | | OpenSim.Data.Null.UserAuthenticationData plugin additional tweaks to get this working properly
* get TestSaveIarV0_1() uncommented but not running as a test yet since I ↵Justin Clark-Casey (justincc)2010-05-282-4/+37
| | | | didn't get the authentication server to work and my brain is about to fizzle out my ears
* restore InventoryArchiverTests.TestReplicateArchivePathToUserInventory() to ↵Justin Clark-Casey (justincc)2010-05-281-1/+12
| | | | work with the new UserAccountService/InventoryService
* fission UserAccountService.HandleCreateUser() into two methods, one which ↵Justin Clark-Casey (justincc)2010-05-281-81/+78
| | | | handles user command parsing and another which actually does the work
* Added overload of SendGenericMessage to LLClientView with string list as ↵Mikko Pallari2010-05-211-0/+5
| | | | parameter. Now modules themselfs don't necessarily need to convert strings to byte arrays. Added this as it was removed in LightShare patch.
* * Moving all of the prioritization/reprioritization code into a new file ↵John Hurliman2010-05-211-1/+1
| | | | | | | Prioritizer.cs * Simplified the interest management code to make it easier to add new policies. Prioritization and reprioritization share code paths now * Improved the distance and front back policies to always give your avatar the highest priority
* extend TestAddSceneObject() to check Scene.AddNewSceneObject() return booleanJustin Clark-Casey (justincc)2010-05-211-2/+0
| | | | improve test to retrieve object by known uuid rather than dynamically assigned local id
* minor: refactor CreateAsset to eliminate dupe codeJustin Clark-Casey (justincc)2010-05-211-3/+5
|
* add prim item and test asset save in save oar unit testJustin Clark-Casey (justincc)2010-05-211-3/+11
|
* Implements three new OSSL functions for parcel management: osParcelJoin ↵OpenSim Master2010-05-131-0/+4
| | | | joins parcels in an area, osParcelSubdivide splits parcels in an area, osParcelSetDetails sets parcel name, description, owner and group owner. Join and Subdivide methods in LandChannel are exposed.
* * Initial commit of the slimupdates2 rewrite. This pass maintains the ↵unknown2010-05-121-11/+3
| | | | original behavior of avatar update sending and has a simplified set of IClientAPI methods for sending avatar/prim updates
* Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie2010-05-091-1/+6
| | | | asset deletion in robust handler.
* * This should fix the tests failing because of a MainConsole.Instance null ↵Teravus Ovares (Dan Olivares)2010-05-041-2/+2
| | | | | | reference * Added a MockConsole that doesn't require a handle to System.Console
* thanks lkalif for Mantis #4676 - a patch that adds support for inventory linksdahlia2010-04-121-0/+1
| | | | Signed-off-by: dahlia <dahliaTrimble@gmail.removeme.com>
* * Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman2010-04-081-0/+5
| | | | | | | cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
* Committing the LightShare code, which was developed by TomMeta of Meta7.Melanie2010-03-311-1/+1
| | | | | This allows scripts to set WindLight parameters for clients connecting to a region. Currently, this is only supported by the Meta7 viewer.
* Simplify database setup and remove migration problems by moving all sqlite ↵Justin Clark-Casey (justincc)2010-03-122-0/+4
| | | | | | | | | config-include settings to a separate file for standalone Update information in StandaloneCommon.ini.example to reflect this Remove ISharedRegionModule interfaces from all SimianGrid connector classes temporarily since this stopped standalone from working (due to absence of AssetURI settings, etc.). Solution here may be to create separate region module connectors as done by local/grid/hypergrid so that loading can be controlled via include files Or otherwise work out how to stop these modules from being loaded for all OpenSim invocations
* Fix tests broken in 88771aeed3d45e60a18aa9a810eeb37b8e5def12Justin Clark-Casey (justincc)2010-03-123-9/+74
| | | | | | Adds MockUserAccountService and connects it up Stops services being carried over between tests since this leads to hard to find bugs Improves information and error reporting when loading plugins
* - parcel blocking, region crossing blocking, teleport blockingunknown2010-03-091-0/+1
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* - supporting llTextBoxunknown2010-03-061-0/+4
| | | | Signed-off-by: Melanie <melanie@t-data.com>
* Change the signature of SendChangeUserRights, because we have to sendMelanie2010-02-281-1/+1
| | | | this to both parties
* Add missing ChangeUserRights packet senderMelanie2010-02-281-0/+4
|
* Initial Online friends notification seems to be working reliably now. All ↵Diva Canto2010-02-281-3/+3
| | | | this needs more testing, but everything is there.
* Changed asset CreatorID to a stringJohn Hurliman2010-02-221-2/+2
|
* Merge branch 'presence-refactor' of ssh://opensimulator.org/var/git/opensim ↵John Hurliman2010-02-222-216/+26
|\ | | | | | | into presence-refactor
| * One more test running.Diva Canto2010-02-211-0/+26
| |
| * Deleted obsolete files in the Data layer. Compiles.Diva Canto2010-02-211-216/+0
| |
* | * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-221-6/+3
|/ | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Merge branch 'master' into presence-refactorMelanie2010-02-151-0/+2
|\
| * Revolution is on the roll again! :)Revolution2010-02-141-0/+2
| | | | | | | | | | | | | | | | Fixes: Undo, T-pose of others on login, modifiedBulletX works again, feet now stand on the ground instead of in the ground, adds checks to CombatModule. Adds: Redo, Land Undo, checks to agentUpdate (so one can not fall off of a region), more vehicle parts. Finishes almost all of LSL (1 function left, 2 events). Direct flames and kudos to Revolution, please Signed-off-by: Melanie <melanie@t-data.com>
| * Revert "Updates all IRegionModules to the new style region modules."Melanie2010-01-291-5/+4
| | | | | | | | This reverts commit ec3c31e61e5e540f822891110df9bc978655bbaf.
| * * Fix Endlines in Mock/TestClient.csTeravus Ovares (Dan Olivares)2010-01-261-8/+8
| |
| * Updates all IRegionModules to the new style region modules.Revolution2010-01-231-4/+5
| | | | | | | | Signed-off-by: Melanie <melanie@t-data.com>
* | * HGGridConnector is no longer necessary.Diva Canto2010-01-291-9/+13
| | | | | | | | * Handle logout properly. This needed an addition to IClientAPI, because of how the logout packet is currently being handled -- the agent is being removed from the scene before the different event handlers are executed, which is broken.