aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis#1591. Thank you graciously, Sempuki for a patch that:Charles Krinke2008-06-271-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.
* small change to last commitMW2008-06-261-2/+2
|
* As per the suggestion on the mailing list, added support for a OpenSim.xml ↵MW2008-06-261-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).
* * Refactor: Split opensim background server into a separate classJustin Clarke Casey2008-06-012-4/+4
|
* while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield2008-05-302-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.
* cleaning up returned XML REST doclet (no more xsi, xsd) Dr Scofield2008-05-295-4/+66
|
* Formatting cleanup.Jeff Ames2008-05-282-3/+3
|
* cleaning up: coding style guidelines violation in RestPlugin.cs. Dr Scofield2008-05-271-1/+2
| | | | | | adding support for enabled = true|false for IRCBridgeModule
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-255-172/+167
|
* here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield2008-05-224-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.
* renaming GETRestRegionPlugin to GETHandler as that's what it really is.Dr Scofield2008-05-211-0/+0
|
* i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield2008-05-202-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
* i'm dropping VerifyGod() and adding IsGod(OSHttpRequest) instead, which ↵Dr Scofield2008-05-191-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.
* fixing exception when RestPlugin not configured. refactors RestRegionPlugin, ↵Dr Scofield2008-05-194-80/+288
| | | | adds error checking.
* Formatting cleanup.Jeff Ames2008-05-163-22/+22
|
* Damn, forgot to manually add these as I keep forgetting thatSean Dague2008-05-153-0/+480
svn patches don't do adds. :(