aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/Regions (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)3-11/+11
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.
2010-03-19Cleaned up access to scenepresences in scenegraph. GetScenePresences and ↵Dan Lake2-2/+2
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>).
2010-02-12Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)1-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.
2010-01-10Remove all references to master avatar, replacing with estate owner whereMelanie2-16/+1
appropriate. This changes the behavior of the REST plugins and RemoteAdmin's region creation process.
2009-10-01Formatting cleanup.Jeff Ames1-1/+1
2009-09-24minor: make rest (not comm) modules less noisy if they are disabledJustin Clark-Casey (justincc)1-1/+2
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames5-5/+5
LICENSE.txt.
2009-05-21Hooked up the RestRegionPlugin Get Region/xxx/terrain so it outputs xml ↵MW1-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.
2009-05-18fixing XmlWriter problemDr Scofield3-72/+81
2009-05-04Intermediate commit. WILL NOT COMPILE!Melanie Thielker3-1/+4
2009-04-17Adds a new REST service /admin/regioninfo/ --- will return aDr Scofield2-0/+144
comprehensive list of all regions in one go (in contrast to the /admin/regions/ REST call). Example: % curl http://127.0.0.1:9000/admin/regioninfo/ <regions max="10" number="1"> <region avatars="0" external_hostname="127.0.0.1" ip="0.0.0.0:9000" master_name="Mr X" master_uuid="b757d5f9-7b36-4dda-8388-6e03dd59b326" name="London" objects="6" uuid="49253666-a42e-4f44-9026-d23f93af31d7" x="1000" y="1000"/> </regions>
2009-03-10* Cleanup and CCC (Code Convention Conformance)lbsa711-11/+13
2009-02-13Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames1-1/+0
warnings. Fix some m_log declarations.
2009-02-12* optimized usings.lbsa714-53/+1
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield4-6/+6
OpenSim.Region.Environment into a "framework" part and a modules only part. This first changeset refactors OpenSim.Region.Environment.Scenes, OpenSim.Region.Environment.Interfaces, and OpenSim.Region.Interfaces into OpenSim.Region.Framework.{Interfaces,Scenes} leaving only region modules in OpenSim.Region.Environment. The next step will be to move region modules up from OpenSim.Region.Environment.Modules to OpenSim.Region.CoreModules and then sort out which modules are really core modules and which should move out to forge. I've been very careful to NOT BREAK anything. i hope i've succeeded. as this is the work of a whole week i hope i managed to keep track with the applied patches of the last week --- could any of you that did check in stuff have a look at whether it survived? thx!
2008-12-19minor: Remove some serialization module scene wrappersJustin Clarke Casey2-2/+11
2008-11-07adding region_port field to /admin/rest/regions/UUID/ to convey theDr Scofield1-0/+4
port of the region (used for region planning)
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares4-15/+15
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle. * This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big! * Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
2008-08-18Formatting cleanup.Jeff Ames1-2/+2
2008-08-15Fix up master avatar handling for estate owners. Introduces a newMelanie Thielker1-1/+4
hierarchical rights structure. MasterAvatar: Owner of the region server (may be null), net gods (users with GodLevel 200), Estate owner (from database). Look at Opensim.ini.example to enable net gods. Estate owner will default to master avatar.
2008-08-15Update svn properties, formatting cleanup, fix a couple compiler warnings.Jeff Ames1-3/+5
2008-08-15From: Richard Alimi <ralimi@us.ibm.com>Dr Scofield1-0/+29
The following patch implements adding prims to a region using the Xml2 format.
2008-08-15From: Richard Alimi <ralimi@us.ibm.com>Dr Scofield1-4/+35
The following patch implements retrieving prims in Xml2 format via the REST interface. For example: http://localhost:9000/admin/regions/<region-uuid>/prims/ It also allows an additional parameter which specifies a bounding box. If this parameter is specified, only prims within the bounding box are retrieved. For example: http://localhost:9000/admin/regions/8cd759b4-e077-489d-9a34-e1ff70ef65dd/prims/0,0,0,128,128,128 will retrieve only the prims whose positions are in the bounding box with corners (0,0,0) and (128,128,128).
2008-08-06Thanks, zaki, for a patch that embeds plugin manifest files into plugin ↵Mike Mazur1-0/+11
dlls. Fix issue 1876.
2008-07-23Thanks, sempuki, for a patch that moves control of Mono.Addins from source ↵Mike Mazur1-6/+0
attributes to external XML files. Fix issues 1682 and 1786.
2008-07-11Mantis#1682. Revert temporarily, Sempuki's mono addins patchCharles Krinke3-0/+8
while he studies the issues in Windows a little bit.
2008-07-10Mantis#1682. Thank you kindly, Sempuki for a patch that:Charles Krinke3-8/+0
Move control of Mono.Addins from source attributes to external XML files. This removes a lot of coupling of the source with Mono.Addins
2008-06-01* Refactor: Split opensim background server into a separate classJustin Clarke Casey1-1/+1
2008-05-30while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield1-3/+6
noticed that Scene.Close() will only call Close on non-shared region modules. i've now added code to SceneManager.Close() to collect all shared region module from each scene before calling Scene.Close() on it and then, once, all Scenes are closed, go through the list of collected shared region modules and close them as well. SceneManager.Close() is only called when we initiate a shutdown --- i've verified that a Scene restart does not trigger the shutdown of shared modules :-) also, this adds a couple of bug fixes to the IRCBridgeModule (which after all didn't take kindly to being closed) as well as a check to InterregionModule's Close() call. finally, this fixes the RestPlugin's XmlWriter so that it no longer includes the "xsd=..." and "xsi=..." junk.
2008-05-29cleaning up returned XML REST doclet (no more xsi, xsd) Dr Scofield3-2/+7
2008-05-28Formatting cleanup.Jeff Ames1-1/+1
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames4-131/+127
2008-05-22here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield3-15/+121
(from awebb) i've added the OSHttpStatusCodes enumeration of HTTP status codes, have adapted BaseHttpServer to use those. then RestPlugin now has proper Failure handling returning proper HTTP status codes. Regions/POSTHandler is work-in-progress.
2008-05-21renaming GETRestRegionPlugin to GETHandler as that's what it really is.Dr Scofield1-0/+0
2008-05-20i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield1-2/+8
provide OSHttpRequest and OSHttpResponse to our REST handler. also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey HTTP request header. last, i added XML doc comments to RestPlugin.cs
2008-05-19fixing exception when RestPlugin not configured. refactors RestRegionPlugin, ↵Dr Scofield3-67/+227
adds error checking.
2008-05-16Formatting cleanup.Jeff Ames2-10/+10
2008-05-15Damn, forgot to manually add these as I keep forgetting thatSean Dague2-0/+234
svn patches don't do adds. :(