aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/RestPlugin.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-8/+6
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-09-21Comment out the long unused afaik HTTP agent handlers.Justin Clark-Casey (justincc)1-6/+8
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.
2011-12-05Implement IOSHttpRequest and IOSHttpResponse http interfaces and use instead ↵Justin Clark-Casey (justincc)1-4/+4
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.
2009-09-24minor: make rest (not comm) modules less noisy if they are disabledJustin Clark-Casey (justincc)1-1/+1
2009-07-10Now we are past revision 10000, I think its time to start to fix that ↵MW1-2/+2
massive bug that was introduced in revision 1. So here is the first part of that fix.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames1-1/+1
LICENSE.txt.
2009-05-18fixing XmlWriter problemDr Scofield1-27/+27
2009-05-04Intermediate commit. WILL NOT COMPILE!Melanie Thielker1-2/+2
2009-03-19* Group OpenSim.Framework.Servers interfaces togetherJustin Clarke Casey1-0/+1
2009-03-10* Cleanup and CCC (Code Convention Conformance)lbsa711-26/+33
2009-02-26Added a PostInitialise method to IApplicationPlugin, this allows us to do ↵MW1-0/+4
work in there knowing that all other ApplicationPlugins have been initialised by that time. Moved the loadRegions code in LoadRegionsPlugin to the PostInitialise method.
2009-02-13Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames1-1/+1
warnings. Fix some m_log declarations.
2009-02-12* optimized usings.lbsa711-12/+5
2009-02-06This changeset is the step 1 of 2 in refactoringDr Scofield1-1/+1
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-01* minor: A few tiny bits of documentation and log message cleanup before ↵Justin Clarke Casey1-1/+0
starting something different
2008-09-06* This is the fabled LibOMV update with all of the libOMV types from JHurlimanTeravus Ovares1-2/+2
* 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-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 Krinke1-0/+6
while he studies the issues in Windows a little bit.
2008-07-10Mantis#1682. Thank you kindly, Sempuki for a patch that:Charles Krinke1-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
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 Casey1-3/+3
2008-05-30while investigating why IRCBridgeModule.Close() was having no effect, iDr Scofield1-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.
2008-05-29cleaning up returned XML REST doclet (no more xsi, xsd) Dr Scofield1-2/+3
2008-05-28Formatting cleanup.Jeff Ames1-2/+2
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 Ames1-41/+40
2008-05-22here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield1-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.
2008-05-20i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield1-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
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 Scofield1-13/+61
adds error checking.
2008-05-16Formatting cleanup.Jeff Ames1-12/+12
2008-05-15Damn, forgot to manually add these as I keep forgetting thatSean Dague1-0/+246
svn patches don't do adds. :(