Commit Graph

551 Commits (98b5e5062e73727111d40700dcc1acf87887949a)

Author SHA1 Message Date
Teravus Ovares 0f25e8298b * Add a nasty hack to try and give the HttpServer a few extra lives until we dig more into what's causing it to stop listening. 2008-12-18 11:44:53 +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
Justin Clarke Casey 30684094a3 * Update DotNetOpenMail to 0.5.8b (taken from http://sourceforge.net/project/showfiles.php?group_id=129974&package_id=143561&release_id=419713) 2008-12-11 18:14:38 +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
Homer Horwitz 7083be07b0 Allow empty statements in LSL (; followed by ;). Fixes Mantis#2320 2008-12-07 19:20:45 +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
Tedd Hansen 7ee209c900 Fixed crash (configsection has to be first XML root child element stupid Microsoft thing) 2008-12-05 12:45:08 +00:00
Tedd Hansen 081383c8cb Garbage Collector
* Enabled GC server
* Enabled concurrent collections
2008-12-05 12:42:32 +00:00
Jeff Ames d324389dd9 Update svn properties. 2008-12-03 04:41:31 +00:00
Justin Clarke Casey 000206bfe9 * Put back NHibernate.Mapping.Attribute.dll even though according to the discussion in http://opensimulator.org/mantis/view.php?id=2710 it should no longer be needed (and it
doesn't exist any more in the NHibernate-2.0.1 package)
2008-12-02 15:40:37 +00:00
Justin Clarke Casey dde32f1130 * Reapply http://opensimulator.org/mantis/view.php?id=2710
* This patch gets NHibernate working
*** PLEASE NOTE: This patch now requires the libmono-oracle2.0-cil library to be installed on Ubuntu (to stop the System.Data.Oracle missing failure) ***
* Not sure what the dependency is on other distros.  Adding this info to http://opensimulator.org/wiki/Build_Instructions would be most welcome
* Adds Castle.* libraries that were missing last time (note, dlls have been added from http://downloads.sourceforge.net/nhibernate/NHibernate-2.0.1.GA-bin.zip)
2008-12-02 15:22:58 +00:00
Justin Clarke Casey 80520206fc * Unforunately it turns out not to be that simple. Revert the rest of r7560 for now. 2008-12-01 18:42:14 +00:00
Justin Clarke Casey 3b143088c0 * Temporarily revert nhibernate.dll to the previous one
* This resolves problems on Linux detailed in http://opensimulator.org/mantis/view.php?id=2734 where System.Data.Oracle libraries can't be found
* On a quick look I can't see that these exist on mono 1.9.1
2008-12-01 18:27:24 +00:00
Adam Frisby 4ed7ca62b1 * From Mantis#2701 - Implements NHibernate data adapter, adds support for MsSql2005 to NHibernate.
* Patch courtesy of Adminotech and realXtend. Thanks!
2008-12-01 07:50:38 +00:00
Dahlia Trimble 07ee2c3504 Revert r7548 and r7549 until someone with prebuild-fu can help structure the dependencies 2008-11-30 03:52:18 +00:00
Dahlia Trimble 37afd69feb Removed remaining meshing code
Add PrimMesher.dll r21
All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-30 03:13:02 +00:00
Melanie Thielker b6fef0fdb8 Add configuration values for scripted prim region crossing 2008-11-29 14:26:42 +00:00
Justin Clarke Casey 7823ca5c8b * minor: Stop startup complaining about a missing MyAssetSet.xml all the time by creating a blank file 2008-11-28 21:12:20 +00:00
Justin Clarke Casey df3f97e61f * minor: delete test log4net file 2008-11-20 19:53:27 +00:00
Justin Clarke Casey 96dfc1c957 * Temporarily check in a test log4net config file to see if that reveals why tests seize up
* And before you ask, I did do a clean before running the tests ;)
2008-11-20 17:49:49 +00:00
Melanie Thielker f39dcc9902 Re-Add OSD DLL (r7382) 2008-11-19 06:51:21 +00:00
Melanie Thielker 9f33df7787 Update the binaries to the latest version as per patch r7382 2008-11-19 06:46:01 +00:00
Melanie Thielker f518ca7feb Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker 3234472d62 Reverting the texture sending patch and the new libOMV. This makes this
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Melanie Thielker 401a250491 Adding the OSD dll 2008-11-18 20:05:13 +00:00
Melanie Thielker 0abb762ecc Patch from jhurliman. Fixing the texture decoding issues in progressive
texture sending. Grain of salt not included.
2008-11-18 20:02:25 +00:00
Justin Clarke Casey 0cb104e290 * Remove old unused libsecondlife and openjpeg libraries
* Thanks to jhurliman for the pointer
2008-11-17 21:22:18 +00:00
Justin Clarke Casey 374ef03ee9 * Actually add the updated libraries this time
* This is why they don't let me out of the big house
2008-11-17 21:06:09 +00:00
Justin Clarke Casey c25a0ea792 * Update libOMV to r2359. This is necessary for the progressive texture patch
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +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
Justin Clarke Casey 1ac613a948 * Update Mono.Addins.dll to 0.4, as per sdague's suggestion
* Everything appears to be okay
2008-11-12 19:33:20 +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
Adam Frisby 448092332c * Adding GlynnTucker.Cache.dll, from http://gtcache.sourceforge.net/
* Licensed under MPL License.
* Adding to be used in the AssetCache, this cache allows you to do things like specify rules on when cache items should be removed (ie 24 hours since last access, etc).
* No code changed in this commit.
2008-11-09 14:14:20 +00:00
Jeff Ames ab749af130 Fix .mdb include in Prebuild. 2008-11-08 13:55:11 +00:00
lbsa71 07386b223d * Removed <if> in <fileset> in NAnt target introduced in 4045. Chi11ken should have a look at this. 2008-11-08 13:00:24 +00:00
lbsa71 c0d69d0ec7 * Rebuildt Prebuild.exe to fix vs2008 not creating Solution
* Wrapped solution streamwrites in using for great justice
2008-11-08 12:15: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 8f3c5dbe5c * Apply second patch in http://opensimulator.org/mantis/view.php?id=2561
* Inserts proper animation state names into data/avataranimations.xml file so that llGetAnimation() works as one would expect.
* Thanks StrawberryFride!
2008-11-05 15:26:10 +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
Justin Clarke Casey 7165dd83fa * Remove OpenSim.Data.SQLite.Tests.dll.config that probably accidentally made it into the build
* Not sure how to remove all those annoying XMLConfigurator errors though
2008-10-30 19:51:29 +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 e2abd2bf55 From: Alan Webb (alan_webb@us.ibm.com)
missing Gesture .dat files to accompany the previous check-in.
2008-10-20 18:23:53 +00:00
Dr Scofield 12640b8d78 From: Alan Webb (alan_webb@us.ibm.com)
Fixing types of gestures and animations.
2008-10-20 18:11:05 +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
Tedd Hansen 9a200da0d2 Updated 32Bit launcher so it works in Visual Studio again. (So developers on 64-bit os can run OpenSim in 32-bit mode) 2008-10-16 15:09:02 +00:00
Teravus Ovares a351d3a22f * ODE.NET Update. No user exposed stuff.... just wrote wrapper routines for new unmanaged dll entrypoints. 2008-10-13 22:18:57 +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
Jeff Ames 1b639ce367 Update Mac OS X ODE binary to opensim-libs r69. 2008-10-13 01:38:19 +00:00
Teravus Ovares 2ede1a3ce7 * This updates ODE to the most up-to-date version as of today. 1558
* Mac users, pray to chi11ken to make you a .dylib version
* This is semi-tuned and post teravus hack.   (Though I didn't apply the terrain pitting fix hack.   I'm still deciding if it's necessary as there was a lot of work over the past several months on the heightfield collider.
* Please use '--enable-shared --disable-demos --disable-asserts' if you are building your own libode in the configure step.   Asserts are pretty much useless for use with .NET
* This also updates ODE.NET as, there were some API changes in May that were just added to ODE.NET today.
2008-10-12 23:47:39 +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 ae265e2f76 * Fixes a http protocol violation in HttpServer in Linux. StringWriter.Append() vs StringWriter.Append("\r\n"); StringWriter.Append() produces "\n" in *nix*
* This doesn't solve anything.   Just gets the protocol right.
2008-10-03 19:54:48 +00:00
Justin Clarke Casey 0487c3158b * minor: restore the standard startup logo text now I understand why things were appearing in the wrong order 2008-10-03 15:44:44 +00:00
Justin Clarke Casey 3ffd77f70b * oops, fix region startup to be in the correct sequence (though it appeared to work anyway) 2008-10-03 15:41:27 +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
Sean Dague 2c1ff87d61 remove mysql_connection.ini.example, no one should be using this any
more as you can specify connect strings in opensim.ini per driver.
2008-10-01 18:53:58 +00:00
Dr Scofield c0788b5241 cleaning up example configuration for REST plugins 2008-10-01 18:18:29 +00:00
Teravus Ovares 79b2e5ac71 * Replacing Net.HttpListener with HttpServer.
* This is a HUGE update..  and should be considered fraut with peril.
* SSL Mode isn't available *yet* but I'll work on that next.
* DrScofld is still working on a radical new thread pump scheme for this which will be implemented soon.
* This could break the Build!  This could break your Grid!
2008-09-30 16:56:33 +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 25dfb61818 * Uploading xunit as per request from sdague
* We'd like to remove this dependency asap
2008-09-30 14:47:31 +00:00
Teravus Ovares 1842e81218 Updates HttpServer with the updated version. Adds ProtocolVersion, Removed dependency on xunit.
This might break the build..  it might not..  we'll see haha.
2008-09-30 09:02:02 +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
Teravus Ovares 16b6738cda * Patch from JHurliman
* Updates to libomv r2243, 
* Remove lots of unnecessary typecasts
* Improves SendWindData()
Thanks jhurliman. 
* Will update OpenSim-libs in 10 minutes..
2008-09-26 17:25:22 +00:00
Melanie Thielker c58473456a Sample ini update 2008-09-25 19:34:34 +00:00
Teravus Ovares 4004172106 * Adds some Wind
* A little wind wouldn't hurt anyone, right?    This is the 'slightly breezy' setting..    hopefully you won't notice 'much' of a difference.
* It turns out the terrain patch routine is similar enough to the wind version that it can be used to hack together a breeze generator with a few mods.
* Not much configuration..   yet.  You only get breeze updates in the general vicinity of your camera now to keep bandwidth usage down.. and we're not talking about 'much' movement at the moment.
* initial version...      could use improvement I'm sure.
2008-09-25 11:46:05 +00:00
Mike Mazur 39b7afdf8b Revert "update HttpServer.dll to r15903"
This reverts commit 6488.
2008-09-25 10:48:44 +00:00
Dahlia Trimble 85ff004fb5 update HttpServer.dll to r15903 2008-09-25 08:20:31 +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
Sean Dague 59c7d72146 commit the .config to see if that gets us over the bamboo hump 2008-09-23 21:56:34 +00:00
Sean Dague d06626ca21 remove demofilter which apparently was added by something I did way in the past? (at
least svn blame thinks so).
2008-09-23 18:38:22 +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
Jeff Ames 6e6465f6c1 Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code. 2008-09-13 21:39:26 +00:00
Teravus Ovares 8d39d806aa Newtonsoft Json.NET 1.3.1 for upcoming use in comms. 2008-09-11 01:50:31 +00:00