Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | If a moap entry has EnableWhiteList but WhiteList == null, then properly ↵ | Justin Clark-Casey (justincc) | 2014-12-23 | 1 | -0/+3 |
| | | | | | | | | block the request instead of throwing an exception. Normally, WhiteList is an empty list but from Mantis 7389 it looks like it might sometimes be possible for it to be null (haven't seen this up till now) It looks like failing with an exception instead of properly replying to the request (which comes in via a cap) might be enough, surprisingly, to freeze a viewer until timeout. Part of http://opensimulator.org/mantis/view.php?id=7389 but probably unrelated to the actual issue of that mantis. | ||||
* | refactor: consistently put all test classes in the OpenSim.Tests.Common ↵ | Justin Clark-Casey (justincc) | 2014-11-25 | 1 | -1/+0 |
| | | | | | | package rather than some in OpenSim.Tests.Common.Mock the separate mock package was not useful and was just another using line to always add | ||||
* | minor: Fix more compiler warnings in CoreModules tests by properly ↵ | Justin Clark-Casey (justincc) | 2012-12-05 | 1 | -1/+3 |
| | | | | overriding OpenSimTestCase.SetUp() | ||||
* | Consistenly make NUnit test cases inherit from OpenSimTestCase which ↵ | Justin Clark-Casey (justincc) | 2012-11-24 | 1 | -1/+1 |
| | | | | automatically turns off any logging enabled between tests | ||||
* | Add OSSL function osForceAttachToAvatarFromInventory() | Justin Clark-Casey (justincc) | 2012-07-05 | 1 | -2/+2 |
| | | | | | | | This works like osForceAttachToAvatar() but allows an object to be directly specified from the script object's inventory rather than forcing it to be rezzed in the scene first. Still only attaches objects to the owner of the script. This allows one to bypass the complicated co-ordination of first rezzing objects in the scene before attaching them. Threat level high. | ||||
* | Implement optional name and description on http stream handlers so that we ↵ | Justin Clark-Casey (justincc) | 2012-05-03 | 1 | -2/+6 |
| | | | | | | can relate a slow request to what the handler actually does and the agent it serves, if applicable. This is most useful for capabilities where the url is not self-describing. | ||||
* | Add regression test for teleporting an agent between separated regions on ↵ | Justin Clark-Casey (justincc) | 2012-04-27 | 1 | -1/+1 |
| | | | | | | | | the same simulator. This involves a large amount of change in test scene setup code to allow test scenes to share shared modules SetupScene is now an instance method that requires an instantiation of SceneHelpers, though other SceneHelpers methods are still static May split these out into separate classes in the future. | ||||
* | Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵ | Justin Clark-Casey (justincc) | 2011-12-05 | 1 | -2/+2 |
| | | | | | | | | of OSHttpRequest/OSHttpResponse. This is required for the substitution of different HTTP servers or the newer HttpServer.dll without having to commit to a particular implementation. This is also required to write regression tests that involve the HTTP layer. If you need to recompile, all you need to do is replace OSHttpRequest/OSHttpResponse references with IOSHttpRequest/IOSHttpResponse. | ||||
* | rename TestHelper => TestHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -2/+2 |
| | |||||
* | rename test SceneSetupHelpers -> SceneHelpers for consistency | Justin Clark-Casey (justincc) | 2011-08-06 | 1 | -4/+4 |
| | |||||
* | Get rid of OpenSim.Tests.Common.Setup subpackage in favour of just ↵ | Justin Clark-Casey (justincc) | 2011-05-21 | 1 | -1/+0 |
| | | | | OpenSim.Tests.Common instead | ||||
* | Upgrade nunit.framework.dll to version 2.5.9. Fix up tests appropriately. | Justin Clark-Casey (justincc) | 2011-03-09 | 1 | -1/+0 |
| | | | | This version removes the NUnit.Framework.SyntaxHelpers namespace, so any modules with their own tests will need to delete this using statement. | ||||
* | factor out SetPartMediaFlags() function in MoapModule. | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -11/+20 |
| | |||||
* | Fold ClearMediaEntry() back into SetMediaEntry() | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -21/+9 |
| | |||||
* | Change MoapModule.ClearMediaEntry to set TextureEntryFace.MediaFlags back to ↵ | Justin Clark-Casey (justincc) | 2011-03-05 | 2 | -8/+67 |
| | | | | | | false Implement test for ClearMediaEntry() | ||||
* | minor: Make MoapModule namespace consistent with other modules | Justin Clark-Casey (justincc) | 2011-03-05 | 2 | -2/+2 |
| | |||||
* | add test for MoapModule.SetMediaUrl() | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -0/+72 |
| | |||||
* | Fix bug where llSetPrimMediaParams() reported success but never set the ↵ | Justin Clark-Casey (justincc) | 2011-03-05 | 1 | -3/+14 |
| | | | | | | media texture. We weren't setting the TextureEntryFace.MediaFlags = true when a media texture was set directly via a script. This was being done when the viewer was setting them directly. | ||||
* | Formatting cleanup. | Jeff Ames | 2010-09-12 | 1 | -49/+49 |
| | |||||
* | Merge branch 'moap' | Justin Clark-Casey (justincc) | 2010-08-06 | 1 | -3/+1 |
| | |||||
* | Simplify serialized version string. Change element capitalization for ↵ | Justin Clark-Casey (justincc) | 2010-08-03 | 1 | -31/+45 |
| | | | | | | | consistency THIS CHANGE ALTERS THE SERIALIZATION FORMAT, HOPEFULLY FOR THE LAST TIME. If you're testing, please start with a new database. This commit also improves locking for manipulation of media entries. | ||||
* | get rid of PrimitiveBaseShape.MediaRaw staging post | Justin Clark-Casey (justincc) | 2010-08-03 | 1 | -34/+0 |
| | | | | | using an OSD serialization rather than auto forces serialization code to be placed in OpenSim.Framework this makes the media texture raw data staging post in PrimitiveBaseShape redundant, now we just directly call the code in PrimitiveBaseShape.MediaList itself | ||||
* | remove duplicated serialization code | Justin Clark-Casey (justincc) | 2010-08-03 | 1 | -55/+3 |
| | |||||
* | serialize media textures to inventory with a largely osd representation ↵ | Justin Clark-Casey (justincc) | 2010-08-03 | 1 | -4/+4 |
| | | | | | | | rather than .net auto-serialization THIS WILL BREAK ANY EXISTING MEDIA TEXTURE SERIALIZATIONS. If you're testing this, please start with new databases. This makes media textures serialized in the same way, which is probably better in the long term. | ||||
* | add userExposed parameter to part copy event | Justin Clark-Casey (justincc) | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | relocate moap specific cloning code to MoapModule | Justin Clark-Casey (justincc) | 2010-07-28 | 1 | -0/+20 |
| | |||||
* | Fix problem where changes to media textures for prims duplicated by shify ↵ | Justin Clark-Casey (justincc) | 2010-07-28 | 1 | -9/+9 |
| | | | | | | copy would change both prims until server restart I also found out that you can crash the current viewer by giving it more media entrys than it's expecting | ||||
* | comment out verbose debug logging | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -34/+36 |
| | |||||
* | make MoapModule ignore possible future media texture data that it can't handle | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -2/+4 |
| | |||||
* | Make MoapModule ignore non-sl media texture data | Justin Clark-Casey (justincc) | 2010-07-27 | 1 | -2/+10 |
| | |||||
* | provide config option for media on a prim | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -2/+19 |
| | |||||
* | relocate serialization code from SQLiteRegionData to MoapModule using load ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -2/+68 |
| | | | | | | | | | | and save events. This is better modularity. It also allows MoapModule to be replaced with some other media module that may behave completely differently in the future. Remaining non-modularity: PrimitiveBaseShape needs explicit Media and MediaRaw fields. MediaRaw is required in order to shuttle the pre-serialization data back and forth from the database layer. The database also needs to know about MediaRaw though not about Media. IMO, it would be extremely nice to remove these hard codings but this is a bridge too far at the present time. | ||||
* | Add EventManager.OnSceneObjectPreSave() for future use. This is triggered ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -2/+9 |
| | | | | immediately before a copy of the group is persisted to storage | ||||
* | Add EventManager.OnSceneObjectLoaded() for future use. This is fired ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -6/+13 |
| | | | | immediately after a scene object is loaded from storage. | ||||
* | also add avatar id to an updated media url - not just new ones | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | Properly set TextureEntry.MediaFlags when a media texture is set | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -3/+43 |
| | | | | | Media flags is cleared via a direct TextureEntry update from the client. If the clearing leaves no media textures on the prim, then a CAP ObjectMediaUpdate is not received. If there are still media textures present then one is received. This change fixes drag-and-drop on Windows (and Mac?) clients. It may also fix problems with clearing and then subsequently setting new media textures. | ||||
* | start adding user ids to the media urls | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -12/+16 |
| | |||||
* | Handle checking of line starting "*" wildcard for whitelist patterns | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -8/+22 |
| | | | | A line starting * can only be applied to the domain, not the path | ||||
* | refactor: simplify current whitelist url checking by using System.Uri | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -7/+8 |
| | |||||
* | Implement * end wildcard for whitelist urls | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+5 |
| | |||||
* | properly expose prim media LSL functions to scripts | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+1 |
| | | | | | scripts using these functions should now compile but I don't know how well the methods themselves work yet llSetPrimMedia(), at least, appears to have problems when a current url is set for a face that doesn't yet have a texture | ||||
* | fix previous media interact serverside checking. perform very basic ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -5/+66 |
| | | | | | | | | serverside url whitelist checks at the moment, only checking for the exact name prefix is implemented for some reason, whitelists are not persisting this commit also fixes a very recent problem where setting any media texture parameters after the initial configuration would not work | ||||
* | implement code to deregister users on DeregisterCaps | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -3/+34 |
| | |||||
* | implement serverside checks for media texture navigation in order to stop ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -6/+14 |
| | | | | naughty clients | ||||
* | implement prim media control permissions serverside in order to stop bad clients | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -21/+66 |
| | |||||
* | discard an object media update message if it tries to set more media ↵ | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+8 |
| | | | | textures than the prim has faces | ||||
* | Fire CHANGED_MEDIA event if a media texture is set or cleared | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+5 |
| | |||||
* | implement llClearPrimMedia() | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+5 |
| | | | | untested | ||||
* | fix issue with GetMediaEntry if the face requested wasn't set to a media texture | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -1/+2 |
| | |||||
* | fix problem persisting when only one face had a media texture | Justin Clark-Casey (justincc) | 2010-07-26 | 1 | -0/+7 |
| |