aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply last two patches from http://opensimulator.org/mantis/view.php?id=3522Justin Clark-Casey (justincc)2010-02-121-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.
* Changing the AssetBase constructors to avoid initializing assets with an ↵John Hurliman2009-11-052-10/+3
| | | | unknown asset type, and log an error if it ever does happen
* Merge branch 'diva-textures-osgrid'Melanie2009-10-042-3/+4
|\
| * * Creates Util.UTF8 and switches some references of Encoding.UTF8 to ↵John Hurliman2009-10-022-3/+4
| | | | | | | | | | | | Util.UTF8 (not all references were switched since not all OpenSim libraries reference OpenSim.Framework) * Shrinks the largest in-memory object, the LLRAW.HeightmapLookupValue struct (only used for exporting to LLRAW terrain files), to the minimum possible size. This seems to have the odd side effect of cutting the size of the two double[256,256] terrain objects in half. Possibly an alignment optimization?
* | Formatting cleanup.Jeff Ames2009-10-011-1/+1
| |
* | minor: make rest (not comm) modules less noisy if they are disabledJustin Clark-Casey (justincc)2009-09-243-4/+5
|/
* * Lock timers when Calling Start() and Stop() when the Thread Context is ↵Teravus Ovares (Dan Olivares)2009-09-091-2/+5
| | | | murky. This affects Mono only.
* A better purge of trash folder.Diva Canto2009-08-191-2/+6
|
* Changed RequestRootFolder to GetRootFolderDiva Canto2009-08-101-1/+1
|
* From: Rick Alther <alther@us.ibm.com>Sean Dague2009-07-201-1/+0
| | | | | | | | | | | This patch fixes a problem in the RestXmlWriter where an exception may be thrown when ToString() is called. ToString() is closing the last tag prior to returning the string object, which it shouldn't do. People should be closing the XML tags and document properly and not rely on the ToString() side effect to do it for them. This is most noticeable if you hit the /regions/ and /regioninfo/ REST calls. If you are running r9579 or later, these calls will result in an error.
* Now we are past revision 10000, I think its time to start to fix that ↵MW2009-07-101-2/+2
| | | | massive bug that was introduced in revision 1. So here is the first part of that fix.
* Heart surgery no.2: the inventory service hooks. diva2009-06-102-3/+3
| | | | | | | Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
* Formatting cleanup.Jeff Ames2009-06-102-11/+9
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-0119-19/+19
| | | | LICENSE.txt.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-221-4/+0
| | | | | | - Fix typographical error in RPC response. - Remove obsolete commentary.
* Hooked up the RestRegionPlugin Get Region/xxx/terrain so it outputs xml ↵MW2009-05-211-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.
* fixing XmlWriter problemDr Scofield2009-05-185-99/+124
|
* Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva2009-05-153-11/+11
| | | | | | | | | | | | -- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
* Fixed handling of inventory a bitHomer Horwitz2009-05-091-8/+8
| | | | | | | | | - AssetType isn't InventoryType. Those enums contain different numbers. Use AssetType for the asset type, InventoryType for the inventory type. - The ToString method (or ToLower) of AssetType/InventoryType doesn't necessarily return the correct LLSD string. - Replaced several magic numbers by their corresponding enum. - Fixed the invType for gestures and animations in the library. This should fix Mantis #3610 and the non-terminating inventory loading
* Intermediate commit. WILL NOT COMPILE!Melanie Thielker2009-05-0412-5/+14
|
* Add copyright headers. Formatting cleanup.Jeff Ames2009-04-271-45/+45
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-04-242-2/+450
| | | | | This commit adds RestFileServices to the REST ApplicationPlugin service.
* Adds a new REST service /admin/regioninfo/ --- will return aDr Scofield2009-04-172-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>
* * Make it possible to store creator strings in user inventory items as well ↵Justin Clarke Casey2009-04-081-4/+4
| | | | | | | | | as UUIDs * All existing functionality should be unaffected. * Database schemas have not been changed.
* * Refactored out and de-duplicated Base64ToString(string)lbsa712009-03-311-7/+1
| | | | | * Fixed minor typo
* Update svn properties, add copyright header, formatting cleanup.Jeff Ames2009-03-311-1/+1
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-03-275-42/+37
| | | | | | | | Fixed problem with REST services caused by changes to the OpenSim core code base - the comms manager had been 'modularized'. Also added additional debugging to RemoteAdmin interface.
* * Group OpenSim.Framework.Servers interfaces togetherJustin Clarke Casey2009-03-192-1/+2
|
* * Make all coded defaults match settings in OpenSim.ini.exampleJustin Clarke Casey2009-03-111-1/+1
| | | | | | | * In most cases, the setting in OpenSim.ini.example is taken as the canonical one since this is the file virtually everyone ends up using * OpenSim will start up with a blank OpenSim.ini, in which case sqlite is the default database (as before)
* * Cleanup and CCC (Code Convention Conformance)lbsa712009-03-102-37/+46
|
* Added a PostInitialise method to IApplicationPlugin, this allows us to do ↵MW2009-02-261-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.
* - remove the Metadata property from AssetBase and return all previousMike Mazur2009-02-172-40/+40
| | | | | | | | | properties as before - prefix private variables with m_ in AssetBase.cs - related to Mantis #3122, as mentioned in https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html - all services will likely need to be upgraded after this commit
* Add copyright headers. Minor formatting cleanup. Fix some compiler ↵Jeff Ames2009-02-132-2/+1
| | | | warnings. Fix some m_log declarations.
* * optimized usings.lbsa712009-02-1216-136/+36
|
* From Alan Webb <awebb@linux.vnet.ibm.com>Sean Dague2009-02-091-1/+1
| | | | | | | | | | | These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
* This changeset is the step 1 of 2 in refactoringDr Scofield2009-02-066-8/+8
| | | | | | | | | | | | | | | | | | | | 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!
* - add OpenSim.Framework.AssetMetadata class. AssetBase is now composed of itMike Mazur2009-02-042-54/+54
| | | | | - trim trailing whitespace
* * More friendly OpenJpeg error handling.Teravus Ovares2009-01-211-1/+19
| | | | | | * Often times now the only reason OpenJpeg doesn't work is because it requires Glibc 2.4 The error messages reflect that. * In J2kDecoder module, It stops trying to decode modules if it encounters a dllnotfound exception and instead sends a full resolution layer that causes the texture sender to only send the full resolution image. (big decrease in texture download speed, but it's better then nasty repeating error messages)
* minor: Remove some serialization module scene wrappersJustin Clarke Casey2008-12-192-2/+11
|
* * minor: A few tiny bits of documentation and log message cleanup before ↵Justin Clarke Casey2008-12-011-1/+0
| | | | starting something different
* * Assume that asset data in a reset inventory post is not inlined by defaultJustin Clarke Casey2008-12-011-3/+2
| | | | | | * This means that the xml of a get request can be used as the input with a few value tweaks, instead of having to explicitly put inline="false" in the output xml
* * stop inventory item creation via REST falling over on any included assets ↵Justin Clarke Casey2008-12-011-93/+93
| | | | | | | | that are not inline (UUID only) * make rest inventory item xml output use 'invtype' for inventory type rather than just 'type'. This makes it symmetrical with input xml
* * minor: fix log message printed when unrecognized elements are found in ↵Justin Clarke Casey2008-12-012-135/+119
| | | | inventory rest input xml
* Add group permissions to agent inventory.Melanie Thielker2008-11-141-0/+8
| | | | | | | | | | Contains a migration. May contain nuts. Please back up your inventory data store. This revision changes the interface version!! No older regions can connect to these new UGAIM, and the new regions can't connect to the old UGAIM. Fixes a long-standing issue of permissions loss Currently persisted on MySQL only.
* adding region_port field to /admin/rest/regions/UUID/ to convey theDr Scofield2008-11-071-0/+4
| | | | | | | port of the region (used for region planning)
* Update svn properties, minor formatting cleanup.Jeff Ames2008-11-011-2/+2
|
* From: Alan Webb (alan_webb@us.ibm.com)Dr Scofield2008-10-302-12/+18
| | | | | | | Cleanups in REST inventory and asset services.
* Update svn properties, minor formatting cleanup.Jeff Ames2008-10-214-18/+18
|
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2008-10-207-63/+152
| | | | | | | | cleanups and assorted fixes to REST inventory, asset, and appearance services.
* cleaning up OSHttpResponse: note that read access to extra headerDr Scofield2008-10-061-40/+32
| | | | | | | | | | | | | | | fields is GONE (HttpServer does not support that), you can read the "normal" HTTP headers available via properties, and you can add headers. also, it is now possible to set a timeout for KeepAlive (for those clients that pay attention to it). this also fixes the broken REST inventory/assets/appearance services, they should be working again. testcase for OSHttpResponse will follow.