aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest (unfollow)
Commit message (Collapse)AuthorFilesLines
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/+44
The following patch allows an asset to be added via the REST interface.
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-15From: Richard Alimi <ralimi@us.ibm.com>Dr Scofield1-1/+1
The following patch allows spaces in usernames and passwords in HTTP Basic authentication for REST services.
2008-08-07Minor formatting cleanup.Jeff Ames1-1/+1
2008-08-06From: alan webb <alan_webb@us.ibm.com>Dr Scofield1-2/+6
this adds image conversion features to the REST inventory/asset code.
2008-08-06Thanks, zaki, for a patch that embeds plugin manifest files into plugin ↵Mike Mazur2-0/+22
dlls. Fix issue 1876.
2008-07-25From: awebbDr Scofield2-0/+284
test code for REST handlers.
2008-07-25From: awebbDr Scofield6-308/+620
Further improvements to the REST handlers.
2008-07-23Thanks, sempuki, for a patch that moves control of Mono.Addins from source ↵Mike Mazur3-19/+0
attributes to external XML files. Fix issues 1682 and 1786.
2008-07-21* eliminated some warnings and added some const and readonlieslbsa711-1/+1
* refactored some member names for readability and ccc (code convention conformance) * took away two refs from Rest.Inventory since * System.IO is part of System * System.Xml.Serialization is part of System.Xml
2008-07-11Mantis#1682. Revert temporarily, Sempuki's mono addins patchCharles Krinke5-0/+21
while he studies the issues in Windows a little bit.
2008-07-10Mantis#1682. Thank you kindly, Sempuki for a patch that:Charles Krinke5-21/+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-07-06Copyright notices and formatting cleanup.Jeff Ames3-4/+4
2008-07-02* Drop InvType from the assets table since it is no longer usedJustin Clarke Casey2-8/+0
* Migration should be automatic on sqlite and mysql * Migration is not automatic on mssql, you will need to drop the invType column manually * Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-07-02From: Alan M Webb <awebb@vnet.ibm.com>Dr Scofield6-0/+4524
This adds REST services for inventory access. It also allows inventory uploads.
2008-06-27Mantis#1591. Thank you graciously, Sempuki for a patch that:Charles Krinke1-0/+16
Currently module loading is done ad-hoc. I propose creating a simple loader class that leverages Mono.Addins (and perhaps the new .NET addins when they become available in mono). Attached is a basic patch for review that compiles into HEAD, but doesn't yet replace any existing ad-hoc loaders.
2008-06-26small change to last commitMW1-2/+2
2008-06-26As per the suggestion on the mailing list, added support for a OpenSim.xml ↵MW1-2/+2
config file, instead of a ini file. INI files still work the same as they did before, just now if a ini file isn't found, it looks for a OpenSim.xml file (of course in xml format) and if found uses that. Includes a OpenSim.Example.xml for reference (the default settings saved as a xml file).
2008-06-01* Refactor: Split opensim background server into a separate classJustin Clarke Casey2-4/+4
2008-05-30while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield2-3/+14
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 Scofield5-4/+66
2008-05-28Formatting cleanup.Jeff Ames2-3/+3
2008-05-27cleaning up: coding style guidelines violation in RestPlugin.cs. Dr Scofield1-1/+2
adding support for enabled = true|false for IRCBridgeModule
2008-05-25Update svn properties. Formatting cleanup.Jeff Ames5-172/+167
2008-05-22here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield4-24/+172
(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 Scofield2-6/+62
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-19i'm dropping VerifyGod() and adding IsGod(OSHttpRequest) instead, which ↵Dr Scofield1-5/+11
actually now takes a look at the HTTP request header and retrieves x-opensim-godkey (if it exists) and compares that against the godkey from OpenSim.ini. also, this makes AddStreamHandler() virtual so that it can be overridden.
2008-05-19fixing exception when RestPlugin not configured. refactors RestRegionPlugin, ↵Dr Scofield4-80/+288
adds error checking.
2008-05-16Formatting cleanup.Jeff Ames3-22/+22
2008-05-15Damn, forgot to manually add these as I keep forgetting thatSean Dague3-0/+480
svn patches don't do adds. :(