aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Mantis#1682. Revert temporarily, Sempuki's mono addins patchCharles Krinke2008-07-111-0/+6
| | | | | while he studies the issues in Windows a little bit.
* Mantis#1682. Thank you kindly, Sempuki for a patch that:Charles Krinke2008-07-101-6/+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
* 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-011-3/+3
|
* while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield2008-05-301-0/+8
| | | | | | | | | | | | | | | | | | | 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-291-2/+3
|
* Formatting cleanup.Jeff Ames2008-05-281-2/+2
|
* 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-251-41/+40
|
* here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield2008-05-221-9/+51
| | | | | | | | | | | | | (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.
* i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield2008-05-201-4/+54
| | | | | | | | | | | 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-191-13/+61
| | | | adds error checking.
* Formatting cleanup.Jeff Ames2008-05-161-12/+12
|
* Damn, forgot to manually add these as I keep forgetting thatSean Dague2008-05-151-0/+246
svn patches don't do adds. :(