Commit Graph

370 Commits (7ea6dfecd9ede7f5f8ad169d9e6777404d97b164)

Author SHA1 Message Date
Melanie Thielker 66e25abbfe Plumb conifg into the client views. Add config option to configure packet
dropping.
2009-05-02 17:31:49 +00:00
Charles Krinke 280d2cbf4a Thank you kindly, BlueWall, for a patch that:
Move json stats to non-published resource name
Remove well-known resource name for json stats, 
creating dynamic uris with private keys and add 
a user configurable resource name for region owner usage.
2009-05-02 16:28:30 +00:00
Charles Krinke 47640aca22 Thank you kindly, MCortez for a patch that solves:
Different people using Hippo 0.5.1 report that trying 
to send group instant messages crashes the viewer 
(Hippo 0.5.1). This is the case even for empty groups 
or if all group members are online.
2009-05-02 16:16:27 +00:00
Melanie Thielker 62bcf0e694 Numerous packet improvements.
Don't allow packets to be resent before they have actually been sent for the
first time. Switch from serializing a packet to get it's length to the LibOMV
provided Length property. Fix resend timing. Fix the use of dangling references
to Acked packets. Fix the packet handler to play nice with the packet pool.
Fix the packet pool. Add data block recycling to the packet pool. Packet pool
is now ENABLED by default. Add config option to disable packet and data block
reuse. Add ObjectUpdate and ImprovedTerseObjectUpdate to the packets being
recycled.
2009-05-02 13:16:41 +00:00
Melanie Thielker 0f721da5f1 Add a tweakable for the prim queue preload 2009-05-01 19:33:18 +00:00
Charles Krinke 8944ab910c Thank you kindly, MCortez for a patch that:
The attached patch provides the necessary infrastructure to support 
security and authentication features of the xmlrpc server.
* Read/Write keys for accessing a Group's xmlrpc service.
* Requiring user session verification for write operations.
2009-04-29 22:31:00 +00:00
Dr Scofield a89f60d4c9 From: Alan Webb <alan_webb@us.ibm.com> & Dr Scofield <drscofield@xyzzyxyzzy.net>
- Adds an admin_modify_region call to allow changing of parcel voice
  settings and changing of public/private status
- add boolean "public" and boolean "enable_voice" to
  admin_create_region XmlRpc call to allow specifying of
  public/private status and to allow enabling voice for all parcels;
  also added config variables to allow setting of defaults for those
- fixing cut-and-paste artefacts
2009-04-29 09:05:01 +00:00
diva d8313e314f Getting rid of -hypergrid=true on the command line. This config now goes inside OpenSim.ini in the Startup section. This makes the HG compatible with -background, and prepares the way for further work on HG-related config vars. Might help with mantis #3527. 2009-04-27 00:16:59 +00:00
Melanie Thielker c9c4dcdaf0 Adapt the opensim.ini example to reflect the php file names actually used
in wiredux to reduce confusion a bit
2009-04-26 18:17:00 +00:00
Melanie Thielker e8c8cd52b8 Fix another typo in the ini example 2009-04-25 16:59:28 +00:00
Melanie Thielker 0317f42c63 Fix a typo in OpenSim.ini.example 2009-04-25 16:52:15 +00:00
Teravus Ovares 2ebedc5c29 * update example to reflect optional Well known hostname. 2009-04-22 06:09:11 +00:00
Melanie Thielker bd522720f7 Change the default for FreeSwitch Voice to disable. Most people don't have
the server, after all.
2009-04-22 02:17:59 +00:00
Charles Krinke 5ea4faa6f2 Thank you kindly, MCortez, for a patch that:
* Refactors the xmlrpc calls to a single location to 
make it easier to debug and include alternative 
xmlrpc call mechanisms
* Includes an alternative xmlrpc call mechanism that 
sets HTTP Keep-Alive to false which solves nearly all 
System.Net exceptions on some windows environments
2009-04-21 20:44:17 +00:00
Dr Scofield 4a8313f14c culling AsteriskVoiceModule and SIPVoiceModule, now that we have
working FreeSwitchVoiceModule and soon will have a fully working
VivoxVoiceModule.
2009-04-21 16:06:16 +00:00
Dahlia Trimble 5f1fa0d3d7 Added a "force_simple_prim_meshing" option to the ODE settings in OpenSim.ini which will use meshes for collisions with simple prim shapes rather than internal ODE algorithms. This may help with Mantis #2905 and Mantis #3487 for those experimenting with capsule settings.
Note that this will increase memory usage and region startup time.
2009-04-19 01:21:38 +00:00
Charles Krinke 659b55905d Thank you kindly, MCortez, for a patch that:
Added is a patch that adds a rough Groups implementation. This patch allows 
the creation, adding and maintaining Groups, Roles and Members. Work has begun 
on a very naive implementation of messaging, and minimal support for notifications 
{no attachments yet}. Proposals are not yet supported, but are on the to-do list.
This implementation is not active by default, and must be configured in 
OpenSim.ini to become active.
2009-04-18 21:33:48 +00:00
Sean Dague 8a2362c474 add some stub config to OpenSim.ini.example for freeswitch. This needs
quite a bit of explaining before people can probably figure this out,
which will be coming in the wiki.
2009-04-17 20:07:22 +00:00
idb 988737b182 Correct Opensim.ini.example to reflect the default settings for clouds.
Fixes Mantis #3421
Change the agent/avatar events subscriptions to just OnNewClient. The data only needs to be sent once and keeping track of log ins/movements is not required. This will also send cloud data to child agents so that they can see clouds above neighbouring regions not just regions that they have visited.
2009-04-11 10:18:20 +00:00
Melanie Thielker ae6f265729 Add an optional region module which will supply a script event,
xmlrpc_uri(string) in response to a OpenRemoteDataChannel call. The string
is the fully qualified URI to post XMLRPC requests for that script to.
2009-04-10 21:26:36 +00:00
Justin Clarke Casey 7c04c1e44c * Apply http://opensimulator.org/mantis/view.php?id=3427
* Return different values for llCloud() over time based on a cellular automation system.
* Thanks aduffy70!
2009-04-10 14:56:58 +00:00
Justin Clarke Casey 1066aa6998 * Remove Autooar module pending it's migration to the forge 2009-04-09 19:49:33 +00:00
Justin Clarke Casey 513ae92bbb * Apply http://opensimulator.org/mantis/view.php?id=3406
* Makes Second Life environment sensor ranges and maximum response number configurable
* Thanks Intimidated
2009-04-07 19:15:26 +00:00
Melanie Thielker fb900f6055 Applying Intimidated's patch to fix anim handling.
Fixes Mantis #3417
2009-04-06 18:02:12 +00:00
idb e7d4ea134e Applied a patch from mcortez with settings for the new wind module.
Fixes Mantis #3382
2009-04-05 10:35:25 +00:00
diva 3c9cba1627 Added CreateObject(regionhandle, userID, itemID) to post objects that are to be fetched from the user's inventory server and rezzed in the region. Added all code necessary to fetch the item and the asset, and rez it inworld. The access to the item is uncap-ed and unverified -- I may place it later either under a cap or with auth verification. But in this model regions don't have the user's inventory, so they would have to guess the item IDs.
Added safemode config to Standalone Hypergrid, similar effect to AllowRegionAccessToInventory in Inventory Server. Everyone should have these vars set to their default values except me!
2009-04-05 03:27:50 +00:00
Homer Horwitz 8136cf4075 Thanks jonc, for a patch that adds rendering of classic clouds.
First part of Mantis #964, the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Dahlia Trimble 59a6dfbf5a Correction to "user" example config option for IRC 2009-04-02 03:47:56 +00:00
Melanie Thielker a1fe54baa0 Add a "user" config option to the IRC module config. Like all other IRC
config options, this has NO default, if you use the IRC module, you MUST
add this setting to your ini file.
2009-04-01 12:28:46 +00:00
Melanie Thielker 76ca096384 Add a PIDFile in [Startup], which the PID will be written to 2009-04-01 12:13:42 +00:00
Jeff Ames 54ccca1e2c Update svn properties, add copyright header, formatting cleanup. 2009-03-31 02:00:33 +00:00
Melanie Thielker 404bfdc9a6 Finish the offline IM module (still needs a server). Add rudimentary
support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
2009-03-29 00:48:34 +00:00
Melanie Thielker 0ff7c85a5d Add a module skeleton for offline IM storage. No functionality yet. 2009-03-28 02:58:12 +00:00
Justin Clarke Casey 561f241564 * minor: move RegionSettingsSerializer into OpenSim.Framework.Serialization 2009-03-27 18:13:34 +00:00
Justin Clarke Casey 3d21b2480e * Apply http://opensimulator.org/mantis/view.php?id=3347
* This puts in example [Wind] settings into OpenSim.ini.example to match the patch which introduced those settings from last week
* Thanks maimedleech
2009-03-27 17:17:12 +00:00
Dr Scofield b2de81ebac From: Christopher Yeoh <yeohc@au1.ibm.com>
Attached is a patch which enabled through an OpenSim.ini option the ability
to read long notecard lines. Currently although the data is read from
the notecard it is truncated at 255 characters (same as for the LL servers.
This patch allows the setting of that limit to a different value.

    ; Maximum length of notecard line read
    ; Increasing this to large values potentially opens
    ; up the system to malicious scripters
    ; NotecardLineReadCharsMax = 255

this allows for save/restore functionality using notecards without
having to worry about very short line length limits.
2009-03-17 07:03:53 +00:00
Dr Scofield fa619bdf8c From: Christopher Yeoh <yeohc@au1.ibm.com>
Patch to RegionReady which adds a field which adds to the message
whether the region is ready due to a server startup or due to an oar
file loading.
2009-03-12 18:51:28 +00:00
Dr Scofield e80e0887f2 - renaming OpenSim.ini.example to OpenSim.ini.example.preview as
the config reorg is still under discussion
    - re-installing complete OpenSim.ini.example for the time being
2009-03-12 18:00:18 +00:00
Justin Clarke Casey 6d5f79c29f * Preliminary preview of a split of a split for OpenSim.ini.example into separate .ini.example files in a config/ directory 2009-03-11 21:30:30 +00:00
Justin Clarke Casey acad0328b2 * Make all coded defaults match settings in OpenSim.ini.example
* 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)
2009-03-11 18:02:22 +00:00
idb 93a697b24d Correct a typo, purely cosmetic.
FixesMantis #3263
2009-03-07 14:39:42 +00:00
idb 23b247c519 Added the ability to set User-Agent in llHTTPRequest. No new default value has been set since having no User-Agent seems to work well but the facility is now available to set this if required. Using something based on the pattern of SLs User-Agent may well cause problems, not all web servers respond well to it. See the notes in the SL Wiki http://wiki.secondlife.com/wiki/LlHTTPRequest
Fixes Mantis #3143
2009-03-07 12:58:00 +00:00
Teravus Ovares 5a49c772ca * Making the minimum ground offset for flying a configurable offset in the OpenSim.ini. This is the code that causes you to rise off the ground when you press the fly button and attempts to keep you above ground automatically when flying in a simulator.
* minimum_ground_flight_offset, by default is 3 meters, as per Kitto Flora  See OpenSim.ini.example for an example.
2009-03-07 07:17:43 +00:00
Adam Frisby f3aac0fa4a * Fleshed out the MRM Module a little.
* Please don't use this yet, it represents a very heavy security risk if you enable it.
2009-03-04 22:14:40 +00:00
Mike Mazur 3a9173843e Comment out HttpProxy and HttpProxyExceptions in OpenSim.ini.example.
Fixes Mantis #3221. Thanks cmickeyb for the patch.
2009-02-25 04:37:33 +00:00
Melanie Thielker d76178f302 Thank you, robsmart, for a patch that allows the shard to be set.
The built-in default is OpenSim, unless a user server url is given, then
that is used, unless "shard" is also goven, then shard takes precedence.
The defult in OpenSim.ini is "OpenSim" for compatibility.
2009-02-21 00:14:47 +00:00
diva 142ad8826a Safe to remove remoting_listener_port out of OpenSim.ini. 2009-02-20 04:15:10 +00:00
Sean Dague f4bec00057 From: Alan Webb <awebb@linux.vnet.ibm.com>
The change makes two principal implementation changes:

[1] It removes the hard coded set of possible asset server client
implementations, allowing any arbitrary implementation that has been
identified to the PluginLoader as an appropriate extension. The
extension point for asset server client extension
is /OpenSim/AssetServerClient. All of the old configuration rules have
been preserved, and any of the legacy configuration values will still
work as they did before, except the implementation is now loaded as a
plug-in, rather than as a hard-coded instantiation of a specific class.
The re-hashing of IAssetServer as an extension of IPlugin made upgrading
of the implementation classes a necessity.

Caveat: I have not been able to meaningfully test the crypto-grid
clients. I believe they should work correctly, but the refactoring
necessary to handle plug-in based initialization (vs constructor-based
initialisation) admits the possibility of a problem.

[2] The asset cache implementation, previously introduce as a hard-code
class instantiation is now implemented as an IPlugin. Once again the
previous (configurationless) behavior has been preserved. But now it is
possible for those interested in experimenting with cache technologies
to do so simply by introducing a new extension for the asset cache
extension point (/OpenSim/AssetCache).

I've tested all of the configuration settings, after applying the patch
to a newly extracted tree, and they seem to work OK.
2009-02-16 12:20:31 +00:00
Melanie Thielker 7ea2812a9e Thank you, DoranZemlja, for a patch that addresses some moe llGetNextEmail
issues.
Fixes Mantis #3145.
2009-02-15 01:06:03 +00:00
Dr Scofield f70e580f86 From: Christopher Yeoh <yeohc@au1.ibm.com>
This changeset add the RegionReady module code. The module sends a
message on a configurable channel when an oar file has finished
loading or if the script engine has emptied its queue for the first
time (eg server startup). Config is something like this:

[RegionReady]
enabled = true
channel_notify = -800

The module also knows if there was an error with startup.
2009-02-11 14:35:07 +00:00
Dr Scofield 97bc64d8e5 dropping obsolete XIRC section from OpenSim.ini.example 2009-02-10 14:38:57 +00:00
Dr Scofield 5bb6c440f6 fix region_limit example in OpenSim.ini.example 2009-02-10 14:32:35 +00:00
Justin Clarke Casey a6b21a3b83 * minor: Apply second patch from http://opensimulator.org/mantis/view.php?id=3089
* This adds more explanation for the new proxy settings in OpenSim.ini.example
* Also does some formatting correction
* I did some additional reformatting on top of that
2009-02-06 21:56:50 +00:00
Dahlia Trimble 28820e6185 Thanks cmickyb for a patch (Mantis#3089) that adds support for proxy in http requests 2009-02-06 01:25:59 +00:00
Justin Clarke Casey a1da605706 * Introduce a new "default" option for asset_database in the [STORAGE] section
* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
2009-02-04 18:56:12 +00:00
Justin Clarke Casey 1c0df5e40f * Address http://opensimulator.org/mantis/view.php?id=3076 by actually eliminating the redundant enable = true commented example
* Comment out some startup verbosity from the module if we haven't enabled it
2009-02-03 20:16:15 +00:00
Justin Clarke Casey a4d70e9aad * Make the fact that there is a setting to control which instant message module is used explicit in OpenSim.ini.example 2009-02-02 17:33:47 +00:00
Justin Clarke Casey 176920f8d3 * Make it more obvious that there is an enabled switch for chat in OpenSim.ini.example.
* Add default information for other chat settings
2009-02-02 17:27:23 +00:00
Teravus Ovares 519818edd8 * Changing the ode collision filter to 'off by default' instead of 'on by default'. It needs to be improved more. 2009-02-02 13:57:54 +00:00
Teravus Ovares aabaa35af7 * Adding the Tree module configuration options to OpenSim.ini.example
* Adding an option to use the tree module to manage the trees in the simulator (grow/reproduce/die)
* Setting it to off by default in an effort to reduce the number of threads in use by default
* You can also turn it on in a 'one off' way with 'tree active true' on the console. To 'one off' turn it off, it's 'tree active false'.  The permanent way to do that, however is in the opensim.ini.
2009-02-02 06:04:03 +00:00
Justin Clarke Casey 951c08933a * In OpenSim.ini.example, list defaults for AllowOSFunctions and OSFunctionThreatLevel and change existing OpenSim.ini.example settings 2009-01-30 21:04:23 +00:00
Dr Scofield 10f7e534c9 + adding URI substitution for concierges broker URI 2009-01-26 21:34:44 +00:00
Dahlia Trimble 37b63636ee Added an optional password for the IRC module 2009-01-18 10:50:53 +00:00
Charles Krinke a9988fa6cf Include the changes from StrawBerryFride's patch to
OpenSim.ini.example.
2009-01-10 04:23:23 +00:00
diva 12946b5d78 Folded HG regionhandle lookup into the normal RESTInterregionComms, to avoid proliferation of "modes". 2008-12-31 00:49:34 +00:00
diva a3e2e03f7b Final part for implementing SendChildAgentDataUpdate with modules. This is the part that uses the modules in Scene and related classes. This commit breaks compatibility of sim-sim SendChildAgentUpdates with older versions of OpenSim. 2008-12-29 22:22:05 +00:00
Justin Clarke Casey 266d0fbaae * Apply http://opensimulator.org/mantis/view.php?id=2927 with some changes
* This allows configuration of the assetset and library control file paths to be other than ./inventory/Libraries.xml and ./assets/AssetSets.xml
* This is controlled via the LibrariesXMLFile and AssetSetsXMLFile configuration settings in [StandAlone] in OpenSim.ini (in standalone)
and via the user and asset config xml files for grid mode
* Thanks to SirKimba for the patch
2008-12-29 16:56:48 +00:00
Teravus Ovares ec2dc354b4 * Applying Nlin's NINJA Joint patch. v2. Mantis# 2874
* Thanks nlin!
* To try it out, set ninja joints active in the ODEPhysicsSettings
and use the example at:
* http://forge.opensimulator.org/gf/download/frsrelease/142/304/demo-playground.tgz.
* Don't forget to change the .tgz to .oar and load it with load-oar.
2008-12-26 12:58:02 +00:00
Sean Dague a02efe6dcc after much discussion, and overwhelming +1 on the -dev list, switch the
default script engine to XEngine.  This won't change anything if you
already specified the default in your OpenSim.ini.
2008-12-11 20:32:57 +00:00
Justin Clarke Casey 02906d30ec * minor: reindent bits of OpenSim.ini.example 2008-12-11 19:17:53 +00:00
Sean Dague 04e8d624d6 From: Christopher Yeoh <yeohc@au1.ibm.com>
The attached patch ads an OpenSim.ini option (AutomaticLinkPermission)
which when enabled makes PERMISSION_CHANGE_LINKS to be granted to
scripts by default. When enabled llGetPermissions will always return it
as granted and llCreateLink//llBreakLink will succeed without
doing llRequestPermissions. ONLY ENABLE THIS IN TRUSTED ENVIRONMENTS.

The patch also fixes a minor bug in llCreateLink
related to a potential dereference of a null client object.
2008-12-09 13:24:01 +00:00
Adam Frisby 888151833b * Added primitive exception logging capabilities.
* Disabled by default (see OpenSim.ini.example for how to enable)
* Saves exceptions to a folder on disk (default "crashes") when enabled.
* These reports can then be uploaded or posted to help debug an error.
2008-12-09 03:06:26 +00:00
Melanie Thielker 5746f42951 And change OpenSim.ini.example back. Too many copies out there already to take the easy way out 2008-12-06 18:39:44 +00:00
Jeff Ames a5bd2b2136 Fix typo in OpenSim.ini.example (#2764) 2008-12-06 11:40:53 +00:00
Melanie Thielker b6fef0fdb8 Add configuration values for scripted prim region crossing 2008-11-29 14:26:42 +00:00
Justin Clarke Casey 6052ed4707 * Add allowed_script_editors to OpenSim.ini in the same fashion as allowed_script_creators.
* This allows one to override normal OpenSim permissions and prevent non-gods from editing any scripts.  This allows edit ability 
to be rescinded after it has been given, and prevents the security hole where a single script with liberal perms would allow code changes.
* The default setting remains the existing one of never overruling normal edit permissions.
* These two settings may be enough to stop non-gods entering artbirary script code in a closed grid/standalone configuration.
2008-11-17 19:55:32 +00:00
Melanie Thielker 928d003bf5 Change the semantics of the Allow_* os function control. Omitting a function
causes defautlt behavior. "true" now means usable unconditionally, "false"
means disabled, and a list of UUIDs restricts it.
This changes SECURITY! If you used "true" here before, you shoudl review
your setup!
2008-11-17 04:23:03 +00:00
Homer Horwitz 21b69ac515 Mantis #2621: Thanks idb, for a patch that will persist regularily changed objects better.
Objects will be persisted now MinimumTimeBeforePersistenceConsidered seconds
after the last change, but latest MaximumTimeBeforePersistenceConsidered after
the first change (both are configurable in OpenSim.ini.example and are set to
60 and 600 as default).
2008-11-15 17:52:00 +00:00
Justin Clarke Casey e3770cfee6 * Allow new script creation to be locked down to only gods if specified in OpenSim.ini
* This doesn't allow complete script lockdown of a sim, many avenues (copying, editing) are still uncloseable at the moment
* Default remains to allow all users to create scripts (subject to existing permissions if enabled)
2008-11-14 18:43:40 +00:00
Justin Clarke Casey 165fcd1aac * Switch default permissions back to false (so they are not on) as they were two revisions ago, since it sounds like this was our agreed position from some time back
* Make the default also false (to match what is in OpenSim.ini.example)
2008-11-14 15:48:34 +00:00
Justin Clarke Casey 8372880c75 * Hook up create new object event in the permissions module
* Switch default for serverside_object_permissions from false to true - it seems more natural that we enforce permissions by default rather than not!
* Add some explanation in OpenSim.ini.example for serverside_object_permissions
2008-11-14 15:36:46 +00:00
Justin Clarke Casey ef601d805a * First part of a series of patches
* Intension is to provide a way to lock down script creation to administrators/gods only
* Defaults will remain as they are at the moment
2008-11-13 18:52:16 +00:00
Justin Clarke Casey 219015d699 * Attempt to make OpenSim.ini.example a bit more readable by
*   Some rearrangement within sections
*   Indenting section contents
* Also, correct indentation levels in PermissionsModule
2008-11-13 17:22:18 +00:00
Teravus Ovares 29fe003152 * Updates defaults to disclude cs/vb/js from the allowed compilers by default 2008-11-12 03:56:03 +00:00
Melanie Thielker 89570e1637 Add ClampPrimSize option to ensure no prim can exceed the set size. This
will allow people who don't want megaprims in their sim to prevent them
from being created. Any prim rezzed or pulled across the border will be
clamped to the size specified in OpenSim.ini if this option is set.
2008-11-11 03:10:28 +00:00
Dr Scofield 6df113845e this changeset adds an option to RemoteAdmin to limit the number of
regions that XmlRpcCreateRegion will create: if region_limit is != 0
then XmlRpcCreateRegion will only create a new region if the number of
regions already existing is below region_limit.
2008-11-10 17:37:28 +00:00
Justin Clarke Casey fc36d7fdf2 * Set default client throttle multiplier to 2 (old value was effectively 8). See OpenSim.ini.example for details as to what this means
* Really this should be 1, but I think that this would be too slow compared to a Second Life server until we improve our ability to send textures of variable quality
* This may improve one aspect of sim performance where there are many avatars.  However, there are still other performance problems that are unrelated to this change
* Value may be further tuned
* Removed temporary decals since the multipler setting will stick around now
2008-11-05 19:23:59 +00:00
Justin Clarke Casey 4ff0c39153 * Expose a client_throttle_multiplier setting in OpenSim.ini. This multiplier is applied to all the client throttle settings received by the client
* This should probably be 1, but currently by default it is 8, to reflect what was being eon3 in OpenSim before this revision.  So if the client requested a maximum throttle 
of 1500 kilobits per second, we would actually send out 1500 kilobytes per second
* Adjusting this multiplier down towards 1 may improve your OpenSim experience, though in other situations it may degrade (e.g. if you're using a standalone over high bandwidth 
links)
* This is currently a user setting because adjusting it down may currently reveal other OpenSim bugs.
2008-11-03 21:09:30 +00:00
Homer Horwitz 38e8853e57 Megapatch that fixes/adds: friend offer/deny/accept, friendship termination,
on-/offline updates, calling cards for friends.
This adds methods in the DB layer and changes the MessagingServer, so a full
update (incl. UGAIM) is necessary to get it working. Older regions shouldn't
break, nor should older UGAIM break newer regions, but friends/presence will
only work with all concerned parts (UGAIM, source region and destination
region) at this revision (or later).
I added the DB code for MSSQL, too, but couldn't test that.
BEWARE: May contain bugs.
2008-11-01 22:09:48 +00:00
Dr Scofield b222d11b12 From: Alan Webb (alan_webb@us.ibm.com)
XIRCBrigeModule is transient, will merge it with IRCBridgeModule:
extends/refactors IRCBridgeModule to support channel-per-region (if
desired).
2008-10-30 15:31:44 +00:00
Jeff Ames 1342e89a8f Update Sun options in OpenSim.ini.example. Minor cleanup in SunModule.cs. 2008-10-28 02:34:03 +00:00
Charles Krinke 2462108bfb Thank you kindly, Ewe Loon for a patch that solves:
m_ScriptDelayFactor and m_ScriptDistanceFactor are 
being read from XEngine settings not the settings 
for the scriptengine being used
2008-10-26 17:01:15 +00:00
Dr Scofield 4dcafab286 removing unused method from ConciergeModule. adding attendee list
logic to ConciergeModule. adding XmlRpc method to allow update of
welcome template for a region. documenting [Concierge] "password"
option in OpenSim.ini.example.
2008-10-23 10:21:03 +00:00
Homer Horwitz 029c7a0eab - Fix 3 comments starting with : instead of ; 2008-10-22 17:22:25 +00:00
Teravus Ovares dfc12d591c * Add a config option for filtering collisions. Sometimes, under load, this seems to cause bouncing on really thin flat prim. 2008-10-22 01:52:12 +00:00
Dr Scofield 6df1517b1f fixing OpenSim.ini.example for IRC, adding example for Concierge. 2008-10-21 18:05:03 +00:00
Dr Scofield 72a388a7b6 cleaning up IRCBridgeModule to allow for configuration from in-world,
chat relaying via private channels, and old IRCBridgeModule
behaviour. also cleaning up IRCBridgeModule's OpenSim.ini
configuration variable names (still supporting "old" variable
names). refactored IRCChatModule into IRCConnector and incorporating
watchdog from IRCBridgeModule into IRCConnector.

enabling ChatModule to be used as a super-class and utilizing it in
ConciergeModule.
2008-10-20 17:31:54 +00:00
Homer Horwitz 5f4cad62c5 Add two missing settings to OpenSim.ini.example. 2008-10-17 19:28:49 +00:00
Justin Clarke Casey 138bcf6fff * Apply a modified version of http://opensimulator.org/mantis/view.php?id=2290
* This allows multiple user profile providers to be specified in OpenSim.ini separated by commas
* If multiple providers are specified then a request for a user profile will query each in turn until the profile is either found or all have been queried
* Unfortunately I don't believe this order can currently be specified, which if true is something that will need to be fixed.
* Thanks to smeans for the original patch.
2008-10-17 16:44:05 +00:00
Teravus Ovares f344f26bd8 * Based on user reports, it looks like the OS specific settings have been unified as far as tuning (thank heavens).
* If you're experiencing knee bendiness try the windows settings, as the *nix settings seem to now be incorrect.  (this update does that, but you may have your own opensim.ini settings active.
2008-10-13 01:54:13 +00:00
Dahlia Trimble 37d42890e7 Thanks cmickyb for a patch that enhances the IRC module.
See mantis #2379 for some useful scripts that work with this.
Note that I added another configuration parameter in addition to the patch to allow for legacy behavior in the absence of new configuration settings.
2008-10-11 02:56:03 +00:00
Melanie Thielker 2214b2f578 Commit Diva's new patch for the DataSnapshot. Comment the default
metaverseink search provider to prevent accidental data exposure.
2008-10-11 00:39:43 +00:00
Mike Mazur d3b439af11 - add clientstack_plugin option to OpenSim.ini.example
- remove trailing whitespace
2008-10-08 09:15:28 +00:00
Teravus Ovares 8de395d379 * EventQueueGet is now working.
* Switched it on by default
* Updated OpenSim.ini.example to reflect this
* Caught a UDP Server issue that occurs when the network pipe is saturated
* Still experimental :D
2008-10-03 09:53:49 +00:00
Dr Scofield c0788b5241 cleaning up example configuration for REST plugins 2008-10-01 18:18:29 +00:00
Dr Scofield d683fe36ea more concierge stuff 2008-09-30 16:20:11 +00:00
Dr Scofield eca624dff5 OpenSim.ini.example code for concierge module 2008-09-30 16:16:20 +00:00
Teravus Ovares 21bf26e9b4 * Adds flag to enable/disable EventQueueGet.
* If EventQueueGet is enabled, use that instead of a few UDP packets, if it's disabled use the UDP packets like normal.
* We *really* suggest users do not turn on EventQueueGet yet..  as it's highly experimental, broken, and resource intensive
* Updated OpenSim.ini.example
* Testers of EventQueueGet..   in OpenSim.ini, it's in the [Startup] Section..   change EventQueue = false, to EventQueue = true.
2008-09-27 23:06:28 +00:00
Melanie Thielker c58473456a Sample ini update 2008-09-25 19:34:34 +00:00
Melanie Thielker 9131ba23e1 Add a module selection option for the MapImage Module as well 2008-09-24 22:24:10 +00:00
Melanie Thielker ee8f19dca8 And add the example, too 2008-09-24 21:51:00 +00:00
Melanie Thielker 94aaf67dfa Change the scirpt engine loading mechanism. Script engines are now
ordinary region modules and are able to coexist in one instance.
See http://opensimulator.org/wiki/ScriptEngines for details. There were
changes to OpenSim.ini.example, please note DefaultScriptEngine.
Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21 21:47:00 +00:00
Melanie Thielker ae63b2d2ca Finish up OSSL enable/disable options in XEngine.
Now each function can be allowed, subject to threat level, disabled,
or restricted to certain UUIDs.
2008-09-15 23:50:07 +00:00
Melanie Thielker 2eac6c17f4 Add more granularity and a risk asessment system to the OSSL API in XEngine.
Adds the fix from Mantis #2197 in it's new form.
Stage one of the scripting security changes, more to come.
2008-09-15 15:25:48 +00:00
Teravus Ovares dbbbec48df * This update makes configuring SSL a little easier on Windows XP. It also makes it possible to run a HTTPS server on the region. It also has a junk Certification authority for test purposes.
* There are still a lot of things that are hard coded to use http.   They need to be fixed.
* Also includes directions
* A standard junk PEM file to append to app_settings/CA.pem in the client so SSL will work
2008-09-14 18:39:17 +00:00
Charles Krinke f4261d86c8 Mantis#2121. Thank you kindly, ChrisDown for a patch that solves:
The option to enable the REST Asset and Inventory plugin is missing 
from OpenSim.ini.example. This patch adds the required items without 
enabling the plugins.
2008-09-05 23:15:52 +00:00
Teravus Ovares f5c82186c1 * Adds configurable OGP Name prefix and suffix. See OpenSim.ini.example at the bottom for details. Defaults to an empty string for prefix and '_EXTERNAL' for suffix 2008-09-05 16:54:31 +00:00
Sean Dague d508b1f082 add some stubbing for ini.example for CMS module 2008-09-04 15:34:09 +00:00
Sean Dague a721f2cfe4 make the example OpenSim.ini use sqlite plugin, because so many people
don't read the config and find they aren't saving any of their prims.
2008-09-02 20:17:53 +00:00
Melanie Thielker 788dff7090 Implements the r6005 foes for XEngine as well 2008-08-27 17:19:56 +00:00
Melanie Thielker 1ac6bb3107 Add ScriptDistanceLimitFactor to OpenSim.ini to allow modifcation of
LSL's arbitrary 10 m limit on object movement.
Also implements the 10 m maximum rezzing distance, subhect to the same
factor.
2008-08-27 17:12:55 +00:00
Melanie Thielker 24456e846c Add the same delay factor in the XEngine section for the XEngine 2008-08-25 18:07:29 +00:00
Melanie Thielker 64e4c34c1a Add ScriptDelayFactor under LL-Functions in OpenSim.ini. Defaulted
at 1.0, it allows delays to function as coded. Smaller values will
reduce, larger values will increase the delays. A value of 0 is
permitted and results in on delay being applied.
2008-08-25 17:50:44 +00:00
Teravus Ovares 2912aafe25 * This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format.
* There are a lot of changes and this is quite experimental.  It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings.    Remember, you still need an agent domain..  
* Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
2008-08-25 07:35:17 +00:00
Teravus Ovares 50bf3618a3 * Homer's amazing terrain MapTileRenderer. Thanks Homer!
* By default, texture rendering is on.  This may be affected by using secure assets since your region hasn't registered with the gridserver before it asks for texture assets.  It might also be affected by a slow asset server,  so consider this release experimental.
* Defined interface IMapTileTerrainRenderer.
* Extracted "old" shaded maptile terrain rendering into ShadedMapTileRenderer;
  streamlined it a bit and added "highlight" rendering to its "shadow"
  rendering.
* Added "new" terrain-texture based maptile terrain rendering
  (TexturedMapTileRenderer); made TerrainUtil.InterpolatedNoise public
* Adapted MapImageModule to allow switching between those two by configuration
* Added configuration option to OpenSim.ini.example
2008-08-22 22:04:43 +00:00
Dr Scofield ff2eb24022 - corrects statement about {asset,user,inventory} source configuration
as those all work with MySQL (and are in fact required it seems);
  adds examples as well

- adds region_file_template functionality for the create_region XmlRpc
  call of RemoteAdminPlugin

- cleans up and fixes typo in UserProfileData
2008-08-21 11:04:57 +00:00
Melanie Thielker 1db8f6fbad Patch for Adam: Add two new permissions options to Opensim.ini.example
and the permissions module
2008-08-17 05:05:06 +00:00
Melanie Thielker 9f4a77e814 The missing option in OpenSim.ini.example... 2008-08-15 13:29:29 +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
Dr Scofield 07a259f0bf correcting comment on GridInfo 2008-08-04 12:47:57 +00:00
Justin Clarke Casey 4cf4774b3e * minor: add url pointing back to wiki information for GridInfo section 2008-08-01 21:21:45 +00:00
Justin Clarke Casey 95b06c575e * remove GridInfo section down to the bottom of OpenSim.ini.example and add explanatory information
* this managed to confuse me briefly today (but I am thick :-)
2008-08-01 21:09:33 +00:00
Melanie Thielker 9fca0aca64 Reinstate the configuration option on XEngine's use of the lexical
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
2008-07-28 00:40:35 +00:00
Dr Scofield b5f23b4c9c first cut at a GridInfo plugin (mantis #1825). Currently just spits
out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are 

       platform: OpenSim
       mode: standalone | grid

have fun.
2008-07-25 16:56:46 +00:00
Melanie Thielker 09641bd999 Change the OopenSim.ini default to 256m for nonphysical prims, to
get future public installations on a more sane footing.
2008-07-20 16:50:15 +00:00
Melanie Thielker 8ae7dc628b Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Melanie Thielker a73d87ef16 Introduce a separate connection string for estates, which defaults to the one gi
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18 20:50:47 +00:00
Melanie Thielker d85774c101 Patch #9142 (No mantis)
Add a config option to OpenSim.ini to select between script compilers
in the XEngine without recompile.
Set UseNewCompiler=true in OpenSim.ini and try it out.
Creates the ICodeConverter interface and adapts the new compiler to it.
2008-07-12 01:34:36 +00:00
Justin Clarke Casey 442a938a3f * fix a bug where I was assuming all entities would be SceneObjectGroups - of course, some are ScenePresences
* would be nice to have a separate list in InnerScene in the future since a lot of methods end up screen entities for SOGs
2008-06-27 18:18:44 +00:00
Sean Dague f9f65deb30 add a reference to the enabled = true stanza for
IRC that I found in the source but never made it back
to the example config
2008-06-25 17:50:58 +00:00
Teravus Ovares e02a2e31e0 * Patch from nlin to enable DIF state file writing from the ODEPlugin
* Rebuilt libode.so, ode.dll
* If you roll your own ODE library, make sure to update your opensim-libs.
2008-06-20 04:57:32 +00:00
Teravus Ovares 2b6487c832 * Added Prim drawing to the mainmap tile generation.. you can see blocks representing the prim now on the mainmap.
* It isn't perfect since the blocks are square, however it's pretty good.
* Performance is also pretty good, however, if it takes too long for you, you can disable it in the OpenSim.ini 
* You can see how long it takes in milliseconds on the console when it finishes.
2008-06-12 01:11:57 +00:00
Teravus Ovares ed41ba8a3d * Added a configuration option for allowing god script lsl methods.. such as llSetObjectPermMask. By default it's off. 2008-06-06 21:39:42 +00:00
Justin Clarke Casey 3703034511 * minor: doc tweak on last commit 2008-06-02 18:20:30 +00:00
Justin Clarke Casey c61b779e97 * Add information and documentation about web region loading to OpenSim.ini.example
* Also a very little bit of tidying up of this file - it's becoming a bit of a junkyard
2008-06-02 18:18:20 +00:00
Teravus Ovares 89fa5fd67e Fixed half completed comment in OpenSim.ini.example. 2008-06-02 10:19:22 +00:00
Teravus Ovares 1a47ff8094 * This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active. 2008-05-30 12:27:06 +00:00
Dr Scofield 42cdf3c240 Adding OnChatBroadcast event logic to EventManager providing
a clean interface for Sim broadcasts. Added SimBroadcast support to 
ChatModule.

Removing all code from IRCBridgeModule dealing with agent/client directly.

Cleaning up ChatModule.

Polishing IRC messages, adding support for "/me" (both directions).
2008-05-26 11:56:04 +00:00
Sean Dague ceadfb6eb7 remove the appearance lines from the OpenSim.ini.example. They
don't do anything now.
2008-05-19 21:50:56 +00:00
Teravus Ovares 00a1f0bab0 * This finishes the ODE options section of the OpenSim.ini.example. I've added 44 configurable options!
* This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties.
* The options range from gravity..  to avatar movement speed, to friction management..  to object density.. to update throttling.
2008-05-16 20:16:33 +00:00
Teravus Ovares afd5da6851 * Adds various tweakable avatar control options to the OpenSim.ini.example. 2008-05-15 23:11:31 +00:00
Teravus Ovares 173d13b0a4 * Added about half of the planned ODE physics options to OpenSim.ini.example.
* Some will do cool things, some will make your scene explode dramatically if you're not careful.
2008-05-15 06:35:01 +00:00
Sean Dague 4a07038bbe From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.

currently working:

GET /admin/regions/                 -> returns UUID list of known regions
   GET /admin/regions/<UUID>    -> returns detailed region information

we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
2008-05-14 19:13:54 +00:00
Adam Frisby c9c016e26a * Applying patches from Melanie to cover permissions module. Thanks! 2008-05-14 16:51:16 +00:00
Adam Frisby dc21e8d5e2 * Applying patch #1121 - Fixes for llListen() (Thanks Middlelink!) 2008-05-08 13:41:10 +00:00
Sean Dague 81056717e0 added nhibernate examples 2008-05-06 18:22:26 +00:00
Sean Dague 3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Sean Dague a1cc0e436f changes to allow asset_source to be specified in the opensim.ini
this will work for sqlite and nhibernate, but will be ignored for
mysql and mssql (reverting to their ini files) until someone writes
that bit.
2008-04-23 19:13:06 +00:00
Adam Frisby 8cf42ddb84 * Added support for periodic autosaves - added to SvnBackupModule. Will cause a SVN revision to be saved every X minutes. (Default = 15)
* Added 'Autosave' options to OpenSim.ini.Example 
* Added 'ImportOnStartup' option to OpenSim.ini.example
2008-04-21 04:11:56 +00:00
Adam Frisby a0fc29878e * Added a directory for the SVN module. More about to come.* SVNBackupModule
* See OpenSim.ini.example settings for how to use
* Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim.
* Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list.
* It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files.
* Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
2008-04-17 13:20:06 +00:00
Sean Dague 6f8ff32630 From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have been working on an asterisk voice module that will allow
   us to couple opensim with an asterisk VoIP gateway.

   the patch below consists of
     * AsteriskVoiceModule region module: alternative to the plain-vanilla
       VoiceModule, will make XmlRpc calls out to an asterisk-opensim
       frontend
     * asterisk-opensim.py frontend, living in share/python/asterisk, takes
       XmlRpc calls from the AsteriskVoiceModule
          * account_update: to update/create a new SIP account (on
            ProvisionVoiceAccountRequest)
          * region_update: to update/create a new "region" conference call
            (on ParcelVoiceInfo)
     * a asterisk-opensim test client, living in share/python/asterisk, to
       exercise astersik-opensim.py
   this still does not give us voice in OpenSim, but it's another step on
   this path...
2008-04-15 14:24:15 +00:00
Sean Dague 62d02e079e From: dirk husemann <hud@zurich.ibm.com>
attached is a patch set that
     * adds further robustness checks for the CreateUser and CreateRegion
       XmlRpc
     * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
       expectation IPEndPoint.Address is not sufficient for a comparision,
       IPEndPoint.Address.Address (the long representation) does work
       however.
     * add [RemoteAdmin] section to OpenSim.ini.example
     * fixes XML doc comments
       good night,
       dirk
2008-04-15 14:18:37 +00:00
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Adam Frisby 00b8e04ece * Added a "regionload_regionsdir" option to OpenSim.ini which determines where Region.XML files are stored. If not set, it will default to the usual location. 2008-04-11 04:21:29 +00:00
Teravus Ovares 06967e230f * Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header.  See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Jeff Ames c412a476c2 Update value in OpenSim.ini.example to new DLL name. 2008-04-08 16:22:14 +00:00
Charles Krinke 927003de33 Thank you kindly Diva & KMeisthax for adding the beginnings
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Sean Dague 5e32d86b87 move NullStorage => OpenSim.Data.Null to be consistant with
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Justin Clarke Casey 042cd57e94 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch removes voice code into a region module.  This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Sean Dague 26293d6d9e change references to OpenSim.Data 2008-04-02 15:40:00 +00:00
Justin Clarke Casey 44a5f6647d * Make it a little clearer that the voice config options won't actually do anything yet 2008-03-31 18:52:49 +00:00
Justin Clarke Casey 106fd2f616 * From: Dr Scofield <hud@zurich.ibm.com>
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
lbsa71 f52886f8f5 * Added competely untested MSSQLMapper
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Justin Clarke Casey 297887e1fc * Change opensim.ini.example guidance on asset_database setting to be "local" or "grid"
* See OpenSim.ini.example for more details
* The old sqlite/mssql settings were redundant and effectively ignored anyway.  Hence, there's no need for you to change your current settings, which will still work
* In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations
2008-03-13 01:01:28 +00:00
Justin Clarke Casey 879f51dab4 * Change opensim.ini.example to flesh out database *_plugin options
* Making each have sqlite (uncommented) and mysql (commented) strings
2008-03-13 00:39:53 +00:00
Jeff Ames 6d774339d9 More compiler warning cleanup.
Removed verbose flag, since it doesn't do anything any more.
2008-02-29 10:51:40 +00:00
Tedd Hansen f06a6573bb One more: Async LSL command thread is also shared now. 2008-02-22 22:24:12 +00:00
Tedd Hansen 0fb4374c1a Better timing of MaintenanceThread's tasks (uses less CPU)
Updated OpenSim.ini.example
2008-02-22 19:46:13 +00:00
Jeff Ames f02b314765 Fix exception when reading OpenSim.ini file. 2008-02-20 18:32:41 +00:00
Tedd Hansen 69b1edebf6 Added to OpenSim.ini.example:
; Should avatars in neighbor
 sims see objects in this sim?
see_into_this_sim_from_neighbor=True
2008-02-19 18:41:26 +00:00
Charles Krinke 3df36523cb Thank you very much, Hashbox for:
Changed the public IsAdministrator back to protected, 
now checks Config to see whether it is allowed to run or not. 
Defaults to false (not allowed).
To use add the following to OpenSim.ini
[LL-Functions]
AllowosConsoleCommand=true
2008-02-18 03:14:31 +00:00
Tedd Hansen 169032b4a4 Fixed ScriptEngine config in OpenSim.ini.example that was out of place.
Added some info to failure on GridServices listening port so people can see what actually went wrong.
Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common.
+ some accumulated patches
2008-02-16 07:53:02 +00:00
lbsa71 bcd3a5b28b * Introduced customizable table names on MySQL and MSSQL UserData plug-ins.
[Provided by openlifegrid.com]
2008-02-13 12:06:09 +00:00
Tedd Hansen d1e0b642f4 * Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example)
New keys "appearance_persist" and "appearance_connection_string" are now under [Startup].
* Reorganized OpenSim.ini slightly
2008-02-11 18:04:12 +00:00
Teravus Ovares e6453d9b9d * Changed child_get_tasks to see_into_this_sim_from_neighbor.
* Turned on see_into_this_sim_from_neighbor by default.
* Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-11 05:19:54 +00:00
Tedd Hansen 1d95f0521d Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
MW 755ad9e3e0 First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. 
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby 760ece2595 * Chat Message format patch from kinoc (#443) Thanks! 2008-02-04 10:23:13 +00:00
Tedd Hansen 1fa510d26d And one more patch before sleep
This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
2008-02-02 05:14:50 +00:00
Tedd Hansen b57d9be856 Re-enabled AllowedCompilers function
Added notice in OpenSim.ini that config refresh function is disabled
2008-02-02 05:07:02 +00:00
Tedd Hansen 7bd3ecfc2a Bugfixes. Now it even reads configuration before it uses it! ;) 2008-02-02 04:35:08 +00:00
Tedd Hansen e06ee9fd4b Added load/unload queue size limit
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
2008-02-02 03:11:06 +00:00
Tedd Hansen 8ccc12d642 Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
Added VISUAL BASIC.NET-support
//cs, //lsl and //vb as first characters of script will determine what compiler is used.
Compile warnings are no longer treated as errors. Script will still run.
Added a few useless and useful config options:
Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup
Loads of warnings for incorrect config
2008-02-02 02:35:56 +00:00
Tedd Hansen 34d21ac94b Added some error checking to MaintenanceThread, no-crash (just log) loading of script engines, and support to load multiple script engines 2008-02-02 00:09:55 +00:00
Tedd Hansen d02a90823f SCRIPTING STILL BROKEN
Added comments and regions, restructured code
Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG
All modules should now refresh their configuration runtime
Made all logging in ScriptEngine.Common get script name from actual engine
Renamed LSLLongCmdHandler to AsyncLSLCommandManager
Added auto-recover with 5 sec throttle for new MaintenanceThread
2008-02-01 23:36:36 +00:00
Tedd Hansen a6726b0c9d SCRIPT SUPPORT IS STILL BROKEN.
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed.
Added ability to re-read configuration while OpenSim is running
All regions now sharing one MaintenanceThread
New MaintenanceThread:
- checks for script execution timeout
- re-reads config
- starts/stops threads if thread active count becomes too high/low compared to config
Speed increase on event execution:
- Reuse of try{}catch{} blocks
- Time calculation on event execution
2008-02-01 22:18:55 +00:00
Tedd Hansen 0c0286911d Config option to set number of scripts per AppDomain 2008-02-01 20:52:00 +00:00
Tedd Hansen e14c8f59f7 Added config options:
ScriptThreadPriority to set script thread priority
DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01 20:45:15 +00:00
Tedd Hansen a9c1f3fdb4 Experimental
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
2008-02-01 20:12:25 +00:00
Justin Clarke Casey 2df8918aed * Persistent prim inventory script storage is now turned on by default
* Persistence of things apart from scripts will be implemented later on - I at least want to do some work with asset server stats so loading can be monitored first.
* No MSSQL implementation as of yet
* Progress can be followed at http://opensimulator.org/wiki/OpenSim:Prim_Inventory_Persistence
* Please let me know if you see issues resulting from this change.
2008-01-23 16:44:03 +00:00