Commit Graph

5605 Commits (ae3a1dd9a2d9f350299b7c5e2b209d3e4756ab81)

Author SHA1 Message Date
Melanie Thielker 9f4a77e814 The missing option in OpenSim.ini.example... 2008-08-15 13:29:29 +00:00
Melanie Thielker dfc553d0a4 Fix up master avatar handling for estate owners. Introduces a new
hierarchical rights structure. MasterAvatar: Owner of the region server
(may be null), net gods (users with GodLevel 200), Estate owner
(from database). Look at Opensim.ini.example to enable net gods.
Estate owner will default to master avatar.
2008-08-15 13:13:39 +00:00
Jeff Ames 53b0ef82b3 Minor formatting cleanup. 2008-08-15 10:29:17 +00:00
Melanie Thielker 6717839d65 Fixes a case where neighboring region info cannot be obtained
and the region server tries to output the region information
using the unobtainable RegionInfo.
Caused a crash in GS1GridServices.cs, line 928
2008-08-15 10:26:03 +00:00
Jeff Ames dde21314e7 Update svn properties, formatting cleanup, fix a couple compiler warnings. 2008-08-15 10:24:04 +00:00
Melanie Thielker e1620c5cc3 Fixes a case where, when inventory is not currently accessible due
to other issues, detaching an attachment would cause an exception.
2008-08-15 10:07:45 +00:00
Dr Scofield d96701a0e4 From: Richard Alimi <ralimi@us.ibm.com>
The following patch allows an asset to be added via the REST interface.
2008-08-15 07:45:23 +00:00
Dr Scofield 08c5c71200 From: Richard Alimi <ralimi@us.ibm.com>
The following patch implements adding prims to a region using the Xml2
format.
2008-08-15 07:33:58 +00:00
Dr Scofield 9df18bb544 From: Richard Alimi <ralimi@us.ibm.com>
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-15 07:28:28 +00:00
Dr Scofield 8d479fe5af From: Richard Alimi <ralimi@us.ibm.com>
The following patch makes some enhancements to loading/saving the Xml2
format.

- Add streamed version of functionality for saving prims to Xml2
  format. The streamed version (optionally) allows for saving the
  prims whose positions appear within a particular bounding box.

- Expose stream versions of LoadPrimsFromXml2 and SavePrimsToXml2 in
  the Scene class

- Extend loading from Xml2 (the streamed version) to optionally start
  scripts for the loaded scene objects)
2008-08-15 07:20:38 +00:00
Dr Scofield 8606a86d5c From: Richard Alimi <ralimi@us.ibm.com>
The following patch allows spaces in usernames and passwords in HTTP Basic
authentication for REST services.
2008-08-15 07:14:17 +00:00
Dr Scofield e6e01cee17 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that disables the addition of the Content-Length
HTTP response header when a chunked response is being sent.
2008-08-15 07:09:48 +00:00
Mike Mazur 60acc370fc Thanks, krtaylor, for a patch that fixes llListSort() and llListRandomize() failing with stride less than 1. Fix issue 1893. 2008-08-15 00:55:16 +00:00
Melanie Thielker 4041194db9 Refactor: Make the tree creation function take a UUID for the owner
Change the tree populator module to supply a sensible value
2008-08-14 21:31:38 +00:00
Melanie Thielker 7161689a97 Adds UserFlags and GodLevel to the user data store and plumbs then in.
This will have no effect unless both the UGAI and the region are
this revision or later
2008-08-14 19:59:32 +00:00
Melanie Thielker c2f1771c63 Make the estate owner work. Changes permissions checks to allow the
estate owner user the ability to add and remove estate managers,
and have EM rights outside of that.
2008-08-14 18:08:22 +00:00
Melanie Thielker 35aeb9010a Mantis #1953
Thank you, HomerHorwitz, for a patch that changes login location handling
to use the sim UUID if it has already been stored.
2008-08-14 16:48:51 +00:00
Melanie Thielker 17715da311 Add the UserStore migrations to the TP fixes patch 2008-08-14 11:15:11 +00:00
Dahlia Trimble 230c80be54 Thanks, BlueWall, for a patch that:
Binary distributions of OpenSim are not able to get the version info because they lack the ../.svn/entries file. This file exists in the ./bin./svn directory, which would be in a binary distribution. The included patch changes the path from ../.svn/entries to .svn/entries, which allows the version information to be show in "help/about"
2008-08-14 10:23:00 +00:00
Dahlia Trimble 1bf60fa1ac updated some prim parameters to project maintained versions 2008-08-14 08:59:13 +00:00
Melanie Thielker e3157e61aa Mantis #1946
Thank you, HomerHorwitz, for a patch that corrects and improves TP
to landmark and home position handling.
2008-08-14 00:04:37 +00:00
Justin Clarke Casey fb4eb05ae1 * minor: make it clear on the console when a client is being logged out because that client has not responded to pings 2008-08-13 21:45:17 +00:00
Melanie Thielker 0a18d544c5 Mantis #1936
Thank you, gsky, for a patch that corrects the threading model
to use the multithreaded apartment in the grid servers and
region server.
2008-08-13 19:22:32 +00:00
Charles Krinke 9f9e7d98ea Mantis#1942. Thank you kindly, Tyre for a patch that:
updates llTriggerSound() so it accepts an object inventory name too
This adds the same functionality like Xantor's patch for llPlaySound()
2008-08-13 15:01:45 +00:00
Charles Krinke 4a2d5d92cc Mantis#1941. Thank you kindly, Tyre for a patch that
makes progress in extracting the line number of LSL
script execution errors.
2008-08-13 14:58:26 +00:00
Charles Krinke 3278ab8397 Mantis#1856. Thank you kindly, HomerHorwitz for a patch that:
Fixes this Mantis bug with llTakeControls() & ControllingClient() API.
2008-08-13 14:52:14 +00:00
Melanie Thielker dd1fc5e3fe Add a Find(Predicate) method to the cache to look for items by data
other than LLUUID.
2008-08-13 14:34:33 +00:00
Charles Krinke bf363c0ded Mantis#1934. Thank you Tyre for a patch that:
This patch implements the LSL script function 
llTeleportAgentHome()
2008-08-13 14:24:37 +00:00
Charles Krinke 9d93668a0a mantis#1927. Thank you kindly, Leaf for a patch that:
Makes progress on fixing scripts in child prims of
attachments not being scheduled for execution.
2008-08-13 14:19:59 +00:00
Charles Krinke 323ada012d Mantis#1931. Thank you kindly, Kinoc for a patch that:
* Yield Prolog 1.0.1 Released : it passes all but 9 of the 
421 tests in the ISO Prolog test suite (97.8%) .
* support dynamic predicates and rules.
* support 'import' to use external static functions 
improves connection to C# functions
* Matches Yield Prolog r831
2008-08-13 14:13:49 +00:00
Melanie Thielker e46248ab17 Thank you, tyre, for a patch that fixes a null reference in LSL
function llOverMyLand().
2008-08-13 14:13:46 +00:00
Charles Krinke 6ccb9948ab Mantis#1925. Thank you, homerHorwitz for a patch that:
This fixes the coordinates returned by doing a 
llRequestInventoryData on a landmark.
2008-08-13 14:06:21 +00:00
Melanie Thielker 4f8f89a215 Remove the (experimental) suffix from the XEngine line in the sample
config. Change defaults to enable all languages for XEngine.
Change comment on new LSL compiler form (experimental) to (under test).
2008-08-13 13:53:28 +00:00
Melanie Thielker 4b6097756f Port the llParcelMediaQuery forward to the new Shared/ directory
Add a Dictionary for faster lookup of cached items.
2008-08-13 12:20:49 +00:00
Dr Scofield db2481e62a From: Omar Vera Ustariz <ustariz@de.ibm.com>
This patch implements a subset of the llParcelMediaCommandList()
function.
2008-08-13 10:29:27 +00:00
Mike Mazur ba822fe2ab Revert "Thanks, lulurun, for a patch that clears and refreshes and outdated user"
This reverts commit r5823.
2008-08-13 07:51:59 +00:00
Mike Mazur cd89864f4c Thanks, lulurun, for a patch that clears and refreshes and outdated user
profile cache (issue 1919).
2008-08-13 06:08:26 +00:00
Melanie Thielker 71cc458610 Make the estate owner UUID from the database have the same rights
as the region master avatar, unless it's LLUUID.Zero (the default).
2008-08-13 01:17:44 +00:00
Melanie Thielker fa9afd4c91 Fix data format for last commit 2008-08-12 23:15:51 +00:00
Melanie Thielker b0fbef81d0 Minor patch: fix an instance where the estate name, as displayed on the
Covenant page of the estate dialog, could be shown as the master avatar's
name, or even as Test User
2008-08-12 22:55:47 +00:00
Jeff Ames c65415d320 Thanks HomerHorwitz for a patch to enable the Stand Up button when sitting on the ground. (bug #1932) 2008-08-12 21:38:52 +00:00
Justin Clarke Casey 4e555b87f3 * Stop warnings about non existent scene presences/entities being removed on client log off
* This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed).  
* However, it should be possible to do much better cleanup on this code in the future
2008-08-12 19:00:13 +00:00
Mike Mazur 8ea92c0669 Thanks, lulurun, for a patch that addresses inventory problems that occur
occasionally, but are fixed on restart (issue 1919).
This patch introduces the following changes:
1. when a user teleports out of Region A, remove that user's profile
from the Region A user profile cache
2. when a user crosses between regions out of Region A, remove that
user's profile from the Region A user profile cache
3. the user profile cache's session ID member can now be set (written),
and is updated each time a connection with a new avatar is established (ie: a
new avatar enters the region)
4. when a region server looks up a user profile and a cache miss
occurs, fetch the user profile from the user server first instead of
immediately returning null
2008-08-12 06:21:02 +00:00
Melanie Thielker 44adeb4ec8 Remove "static" from the AsyncCommand Manager to make it work properly
in multiple region per sim setups
2008-08-12 02:31:57 +00:00
Jeff Ames f894f5d87b Minor formatting cleanup. 2008-08-12 00:08:41 +00:00
Melanie Thielker f9945bf87f Patch #9163 - Refactor initial packet sending out of InnerScene into
ScenePresence. Pace prim delivery to about 200 updates/s max. Break
a long-held lock that caused the notorious MapBlockQuery XMLRPC timeout
on agent login. Eliminate 60 second timeout at "Waiting for region handshake".
Fix region crossing/teleport response. Fix appearance in primmy regions.
2008-08-11 23:20:14 +00:00
Justin Clarke Casey b627c9c066 * minor: replace hard tabs with soft 4 space tabs in previous patch 2008-08-11 21:33:04 +00:00
Charles Krinke 2cee5abcac Mantis#1921. Thank you kindly, Leaf for a patch that:
llRezObject changed to llRezAtRoot. llRezObject implemented 
to call llRezAtRoot until I can figure out how to calculate 
a bounding box. Partial implementation of llPushObject 
(no angular impulse applied)
2008-08-11 21:27:31 +00:00
Charles Krinke 54af3b4f4d Mantis#1903. Thank you kindly, CMickeyb for a patch that:
patch attached replaces the tree walk algorithm used to build the 
folder hierarchy with a single database query. That is, we replace 
1 database query per folder with 1 query for the root folder's 
properties and 1 query to retrieve the entire collection of folders for a user.
2008-08-10 16:44:25 +00:00
Charles Krinke a9f1561380 Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:
In case you run the server with   mono --debug OpenSim.exe
line numbers are reported as <filename>:<linenumber>, so no 
"at line" is found. That led to an exception, which is caught 
since r5766. The attached patch fixes this for mono;
2008-08-10 16:39:04 +00:00