aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Initial update to OpenSim 0.8.2.1 source code.David Walter Seikel2016-11-0322-8775/+0
|
* Comment out the long unused afaik HTTP agent handlers.Justin Clark-Casey (justincc)2012-09-212-19/+25
| | | | | | As far as I know, this was only used by the IBM Rest modules, much of which has been commented out for a very long time now. Other similar code uses HTTP or stream handlers instead. So commenting this out to reduce code complexity and the need to make this facility consistent with the others where it may not be used anyway. If this facility is actually being used then please notify me or uncomment it if you are core.
* Don't include time to transmit response back to requester when assessing ↵Justin Clark-Casey (justincc)2012-06-131-1/+0
| | | | | | | | | | slow handling of requests. This is to avoid logging a 'slow' request when the source of delay is the viewer in processing a response. This is not something we can do much about on the server end - it's server-side delay that we're interested in. To ensure consistency, this commit also had to refactor and simplify inbound non-poll network request handling, though there should be no functional change. IOSHttpResponse no longer exposes the Send() method, only classes in OpenSim.Framework.Servers.HttpServer should be doing this. Only the GetTextureHandler was sending its own response. Now it leaves this to BaseHttpServer, like all other core handlers.
* Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)2011-12-054-15/+15
| | | | | | | | 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 ForEachAvatar back to ForEachScenePresence. The other changesDan Lake2011-11-031-1/+1
| | | | | | from previous commit which sort out which iterator is used are left intact. A discussion is needed as to what constitutes an avatar vs a ScenePresence.
* Renamed ForEachRootScenePresence to ForEachAvatar. Cleaned up calls toDan Lake2011-11-031-1/+1
| | | | | | | | | | | | | | the 3 iteration functions so more of them are using the correct iteration for the action they are performing. The 3 iterators that seem to fit all actions within OpenSim at this time are: ForEachAvatar: Perform an action on all avatars (root presences) ForEachClient: Perform an action on all clients (root or child clients) ForEachRootClient: Perform an action on all clients that have an avatar There are still a dozen places or so calling the old ForEachScenePresence that will take a little more refactoring to eliminate.
* Reinstate option to land an npc when it reaches a target.Justin Clark-Casey (justincc)2011-09-221-1/+1
| | | | This is moved into ScenePresence for now as a general facility
* early code to allow scripts to force npcs not to fly when moving to targetJustin Clark-Casey (justincc)2011-08-101-1/+1
| | | | | this is to allow walking on prims. it will be up to the script writer to be sure that there is a continuous path. currently implemented in osNpcMoveToTarget(), but none of this is final.
* refactor: rename the move to position methods to move to target to be ↵Justin Clark-Casey (justincc)2011-08-031-1/+1
| | | | consistent with terminology used by scene object part and elsewhere
* get rid of vestigal move to parametersJustin Clark-Casey (justincc)2011-08-031-2/+2
|
* Partially fix autopilot/go hereJustin Clark-Casey (justincc)2011-08-021-1/+1
| | | | | | | This now works again except that it requires a click or avatar mvmt to get going This is because the ScenePresence.HandleAgentUpdate() method doesn't trigger until the client does something significant, at which point autopilot takes over. Even clicking is enough to trigger. This will be improved presently.
* Get rid of AvatarAppearance.Owner to simplify the code.Justin Clark-Casey (justincc)2011-08-021-7/+7
| | | | This is not used for anything - appearances are always properties of objects with ids (ScenePresence, AgentCircuitData) and just has the potential to get out of sync when the appearance is cloned.
* Thanks Kevin Cozens for a patch that:BlueWall2011-03-171-3/+3
| | | | Fixes several spelling mistakes
* minor: remove some mono compiler warningsJustin Clark-Casey (justincc)2011-02-042-5/+5
|
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-0/+1
| | | | | | themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
* READ CAREFULLY!!! This is a BROKEN commit. It is UNTESTED and INCOMPLETE.Melanie2010-10-301-1/+4
| | | | | | | | | It contains a major interface version bump and will NOT work with earlier grid services. This is preliminary work that will lead to layers support. Rest appearance services are commented out completely, they will have to be adapted by someone who actually uses them. Remote admin is working, but has no layers support. There is no layers support in the database. Login likely won't work. You have been warned.
* First attempt to get multiple attachments working to support viewer2.Master ScienceSim2010-10-211-15/+10
| | | | | | | The attachment code appears to work correctly for 1.23 viewers so, in spite of some big changes in the internal representation, there don't appear to be regressions. That being said, I still can't get a viewer2 avatar to show correctly.
* Formatting cleanup.Jeff Ames2010-09-121-2/+2
|
* comment out large chunks of appearance/inventory region access services to ↵Justin Clark-Casey (justincc)2010-05-282-660/+656
| | | | eliminate warnings that this code is unused
* Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake2010-03-193-22/+18
| | | | GetAvatars have been removed to consolidate locking and iteration within SceneGraph. All callers which used these to then iterate over presences have been refactored to instead pass their delegates to Scene.ForEachScenePresence(Action<ScenePresence>).
* Changed asset CreatorID to a stringJohn Hurliman2010-02-222-3/+3
|
* * Adds CreatorID to asset metadata. This is just the plumbing to support ↵John Hurliman2010-02-222-3/+3
| | | | CreatorID, it doesn't modify database backends or OAR files to support storing/loading it
* Merge branch 'master' into presence-refactorMelanie2010-02-151-2/+3
|\
| * Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)2010-02-121-2/+3
| | | | | | | | | | | | These patch should allow people using systems that do not have their locale set to En_US or similar to use OpenSim without suffering effects such as being a million miles up in the air on login. The problem was caused by parsing strings without forcing that parse to be En_US (hence different decimal and digit group symbols were causing problems). Thanks very much to VikingErik for doing the legwork on this fix and phacelia for spotting it in the first place.
* | Fixed a couple of bugs with Appearance. Appearance is all good now.Diva Canto2010-01-111-2/+2
| |
* | OpenSim/Framework/Communications/Cache deleted. LibraryRootFolder deleted.Diva Canto2010-01-111-1/+1
| |
* | Some more unnecessary things deleted in Framework.Communications.Diva Canto2010-01-101-1/+0
| |
* | Merge branch 'presence-refactor' of ↵Diva Canto2010-01-102-16/+1
|\ \ | | | | | | | | | ssh://diva@opensimulator.org/var/git/opensim into presence-refactor
| * | Remove all references to master avatar, replacing with estate owner whereMelanie2010-01-102-16/+1
| | | | | | | | | | | | | | | appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
* | | * Changed IPresenceService Logout, so that it takes a position and a lookatDiva Canto2010-01-102-18/+17
|/ / | | | | | | * CommsManager.AvatarService rerouted
* | Inching ahead... This compiles, but very likely does not run.Diva Canto2010-01-084-384/+396
| |
* | * Forgotten ILibraryService from yesterdayDiva Canto2010-01-021-0/+1
|/ | | | * New IAvatarService -- first pass
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-052-10/+3
| | | | unknown asset type, and log an error if it ever does happen
* Merge branch 'diva-textures-osgrid'Melanie2009-10-042-3/+4
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-022-3/+4
| | | | | | | | | | | | Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
* | Formatting cleanup.Jeff Ames2009-10-011-1/+1
| |
* | minor: make rest (not comm) modules less noisy if they are disabledJustin Clark-Casey (justincc)2009-09-243-4/+5
|/
* * Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)2009-09-091-2/+5
| | | | murky. This affects Mono only.
* A better purge of trash folder.Diva Canto2009-08-191-2/+6
|
* Changed RequestRootFolder to GetRootFolderDiva Canto2009-08-101-1/+1
|
* From: Rick Alther <alther@us.ibm.com>Sean Dague2009-07-201-1/+0
| | | | | | | | | | | This patch fixes a problem in the RestXmlWriter where an exception may be thrown when ToString() is called. ToString() is closing the last tag prior to returning the string object, which it shouldn't do. People should be closing the XML tags and document properly and not rely on the ToString() side effect to do it for them. This is most noticeable if you hit the /regions/ and /regioninfo/ REST calls. If you are running r9579 or later, these calls will result in an error.
* Now we are past revision 10000, I think its time to start to fix that ↵MW2009-07-101-2/+2
| | | | massive bug that was introduced in revision 1. So here is the first part of that fix.
* Heart surgery no.2: the inventory service hooks. diva2009-06-102-3/+3
| | | | | | | Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
* Formatting cleanup.Jeff Ames2009-06-102-11/+9
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-0119-19/+19
| | | | LICENSE.txt.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-221-4/+0
| | | | | | - Fix typographical error in RPC response. - Remove obsolete commentary.
* Hooked up the RestRegionPlugin Get Region/xxx/terrain so it outputs xml ↵MW2009-05-211-2/+6
| | | | | | | | containing the terrain heightmap rather than the old "terrain not implemented" message. The format of the terrain data is: the floats encoded in Base64 and serialised into xml. So I think far from ideal, but as the support for outputting that format was already there... Still need to hook up a method for remotely loading this data.
* fixing XmlWriter problemDr Scofield2009-05-185-99/+124
|
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-153-11/+11
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* Fixed handling of inventory a bitHomer Horwitz2009-05-091-8/+8
| | | | | | | | | - AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type. - The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string. - Replaced several magic numbers by their corresponding enum. - Fixed the invType for gestures and animations in the library. This should fix Mantis #3610 and the non-terminating inventory loading