Commit Graph

321 Commits (bbbe9e73cca2a0ed5d35db1b054b8ed4cd23bfea)

Author SHA1 Message Date
Jeff Ames 606e831ff5 Formatting cleanup. 2009-10-01 09:38:36 +09:00
John Hurliman 5dfd2643df * Change the signature of the agent set appearance callback to prevent unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes
* Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures
* Properly handle appearance updates that do not have a TextureEntry set
2009-09-30 15:53:03 -07:00
Melanie 400abed271 Add RebakeAvatarTexturesPacket to the client view 2009-09-30 21:33:20 +01:00
Jeff Ames ee205e7e81 Formatting cleanup. 2009-10-01 01:17:47 +09:00
Jeff Ames f00126dc2d Add copyright header. Formatting cleanup. 2009-09-29 08:32:59 +09:00
Michael Cortez 4eb07232e0 Group Membership information is sent out from two different locations, refactored out the filtered membership list code and used it in both locations. 2009-09-18 20:54:03 +01:00
Michael Cortez 65b9084c65 Add a little debugging for filtered groups lists based on requester 2009-09-18 20:54:01 +01:00
Michael Cortez 3b511d5138 Try to filter the groups list returns for User A, when sending to User B, based on User A's preferences for ShowInProfile. 2009-09-18 20:53:58 +01:00
Michael Cortez 247fdd1a4d Add additional instrumentation so that when there is an xmlrpc call failure, the actual xml that was returned from the groups service can be logged. 2009-09-18 20:53:56 +01:00
Michael Cortez 841cd69af7 Remove debug messages from some areas that have been highly tested, and debug info is no longer nessesary. 2009-09-18 20:53:53 +01:00
Michael Cortez 0e07a7ef10 Adding additional debug to output the group powers specified when updating a group role. This will be used to solve some issues with the Group Powers enum. 2009-09-18 20:53:50 +01:00
Michael Cortez 61699275ed Add additional debugging to help track down bug with notices not going to group owner/founder. 2009-09-18 20:53:47 +01:00
Michael Cortez 0cb012aae5 Revert "Thank you, mcortez, for a patch to address showing users in group list"
This reverts commit 69ef95693a.
2009-09-18 20:53:44 +01:00
Rob Smart 4f3975f04e addition of a new script function osSetParcelSIPAddress(string SIPAddress), now including iVoiceModule
This patch allows the land owner to dynamically set the SIP address of a particular land parcel from script. This allows predetermined SIP addresses to be used, making it easier to allow non OpenSim users to join a regions voice channel.

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
2009-09-18 15:47:15 +02:00
Melanie 69ef95693a Thank you, mcortez, for a patch to address showing users in group list
Removed patch 0005, which was unrelated and likely accidental, and further
didn't apply.
2009-09-17 15:38:17 +01:00
John Hurliman f42d085ab1 SceneObjectGroup cleanup. Removes the default constructor and unnecessary null checks on m_rootPart 2009-09-16 15:06:08 -07:00
Teravus Ovares (Dan Olivares) dc925416d7 * fix missing lock on XMLRPC GroupsModule 2009-09-14 16:30:14 -04:00
dr scofield (aka dirk husemann) 05756e1fb9 warnings safari. 2009-09-02 11:06:18 +02:00
dr scofield (aka dirk husemann) ef6c0bd7d8 cleanup. 2009-09-01 10:28:29 +02:00
dr scofield (aka dirk husemann) 3195af39a7 cleaning up RegionReadyModule:
- wrong namespace
- converted to "new" region module
2009-08-31 14:59:28 +02:00
Jeff Ames 158ad39df0 Add copyright header. Formatting cleanup. 2009-08-21 15:47:55 +09:00
Adam Frisby bd7757de22 * oops. Mistake with value return. 2009-08-21 15:15:15 +10:00
Adam Frisby f7c5eca978 * Moves NPC Creation across AppDomains to prevent a major perfomance issue. 2009-08-21 15:12:50 +10:00
Adam Frisby 98da8e9b16 * Make cache, actually cache. 2009-08-21 14:20:05 +10:00
Adam Frisby 29e2067ec3 * Implements a cache in NPCModule for Appearance. 2009-08-21 14:10:21 +10:00
Adam Frisby bce98f9670 * Fixing an issue with NPC's and Circuit Codes. 2009-08-21 13:12:51 +10:00
Adam Frisby 01f394d203 * Fleshes more of NPCModule out.
* Implements some OSSL commands:
        key osNpcCreate(string user, string name, vector position, key cloneFrom);
        void osNpcMoveTo(key npc, vector position);
        void osNpcSay(key npc, string message);
        void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Adam Frisby e83b00a3df * Implements a bunch of stuff in NPCModule 2009-08-21 08:51:43 +10:00
Justin Clark-Casey (justincc) eb78ac343e Apply http://opensimulator.org/mantis/view.php?id=3538
Add ability to silence IRC relay of region joins and quits from certain users
This is useful for admins who wish to remain hidden, or service bots.
Thanks RemedyTomm
2009-08-17 19:48:32 +01:00
Adam Frisby 30c4aa55e6 Added additional configuration options for MRM Security. See OpenSim.ini.example under the [MRM] section. 2009-08-18 00:58:42 +10:00
Adam Frisby 58d9d6026e Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-18 00:23:27 +10:00
Adam Frisby 8c101d24df * Implementing a bunch of Unimplemented MRM stubs. 2009-08-18 00:23:02 +10:00
Jeff Ames 58d2775ff2 Add copyright header. Formatting cleanup. 2009-08-17 02:05:12 +09:00
Adam Frisby fa921ec147 * Implements AppDomain Security for MRM Scripts.
* Added permissionLevel attribute to [MRM] section in OpenSim.ini. Default is 'Internet', however may be any of the following (case sensitive), FullTrust, SkipVerification, Execution, Nothing, LocalIntranet, Internet, Everything. For previous functionality, set to FullTrust or Execution.
2009-08-17 02:25:00 +10:00
Adam Frisby cbd454d692 * Implements ISecurityCredential member on SPAvatar, SPAvatarAttachment
* Disables 'event not used' warning for IRCClientView; cuts OpenSim total warnings back.
2009-08-16 22:01:18 +10:00
Adam Frisby c2be3edd2d * Refactor: Moves IAvatarAttachment into IAvatarAttachment.cs instead of IAvatar.cs 2009-08-16 21:49:53 +10:00
Adam Frisby b28e826541 * Implements ISecurityCredential on all uses of SOPObject.cs except Avatar Attachments. 2009-08-16 21:41:57 +10:00
Adam Frisby adae13cd18 * [MRM] Added permission checks to MRM Events (ie, requires edit permission to bind to OnTouch) 2009-08-16 21:36:33 +10:00
Adam Frisby 8621dc405e * Fixes potential NulRef in MRM Security Checks. 2009-08-16 21:23:39 +10:00
Adam Frisby aea4d7c63b Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2009-08-16 21:21:38 +10:00
Adam Frisby 975c49a399 * [MRM] Implements permission checks on IObject implementations in SOPObject.cs. Does not implement security on IObjectInventory yet. 2009-08-16 21:20:45 +10:00
Jeff Ames 2b630470b0 Add copyright headers. Formatting cleanup. 2009-08-16 17:30:13 +09:00
Jeff Ames 9d9fcac038 Misc cleanup. 2009-08-16 17:14:21 +09:00
Adam Johnson a42569d896 Thanks dmiles for a patch that adds PacketType.RequestMultipleObjects Packet Handler - ref mantis #4010 2009-08-16 15:06:06 +09:00
Adam Frisby 9090a90769 * Beginnings of a Security Credential system in MRM. This will eventually lead to trusted execution of untrusted MRMs. 2009-08-16 03:48:16 +10:00
Melanie eba23048ca Replace the Replaceable modules name 2009-08-10 23:08:22 +01:00
Jeff Ames bc6ec3b564 Formatting cleanup. 2009-08-09 00:43:13 +09:00
Melanie 7fc9358ec3 Patch from otakup0pe:
A better solution for making the FreeSwitch module cooperate with
existing installations
2009-08-08 03:29:00 +01:00
Teravus Ovares (Dan Olivares) 2b990a61bf This is the second part of the 'not crash on regionsize changes'. This lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions. 2009-08-07 20:31:48 -04:00
Melanie 3219e648cc From: Snowcrash <Snowcrash.short@gmail.com>
Date: Wed, 5 Aug 2009 12:45:56 +0200
Subject: [PATCH] A few minor tweaks to the MRM API's in order to make it possible for MRM's to run in a separate AppDomain without poluting the primary appdomain of OpenSim

Specifically:
Added an explicit method for getting the "globals" of the MRM, removing the need to have the MRM script code loaded into the primary domain, in order to set up proxies
Added a [Serializable] attribute to TouchEventArgs, again in order to remove the need to have MRM script code loaded into the primary domain.

---------

Applied with whitespace changes
2009-08-07 19:04:20 +01:00
Sean Dague ca5da5face Merge branch 'groups-core-contrib' of git://github.com/mcortez/opensim into incoming 2009-08-07 11:07:41 -04:00
Adam Frisby 270ae50d70 * Implements MRM's Stop() interface member.
* MRM Scripts should do appropriate cleanup within this event, to allow for clean shutdowns and script updates. This means unbinding from events you are listening to, and releasing any resources.
2009-08-07 14:17:51 +10:00
Michael Cortez 6244b8c384 Fixing comments re: INI file. 2009-08-06 09:34:30 -07:00
Michael Cortez c73a6ab7e0 Continue with renaming of Groups module components 2009-08-05 14:56:48 -07:00
Michael Cortez 6c65b990a2 Fixes mono Add-In references for the OptionalModules add-in so that groups doesn't throw errors, and so that the add-in is correctly reported as "OptionalModules" rather then as "SampleMoney" 2009-08-05 13:20:46 -07:00
Melanie e8b0f7cf5d Remove bad assembly identification tag 2009-08-05 20:37:10 +01:00
Michael Cortez 989517725d Begin refactoring XmlRpcGroups to a more generic Groups module that allows for replaceable Groups Service Connectors. 2009-08-05 11:15:53 -07:00
Melanie c3dd98b016 Revert the #3899 patch and it's two follow ups 2009-08-04 05:03:32 +01:00
Melanie 1d8df738f6 Update a misspelled name 2009-08-04 04:57:08 +01:00
Melanie 2b8c3f8519 Change the freeswitch out connector (which is pointless) to an in connector 2009-08-04 04:32:44 +01:00
Melanie afc318f30b Add the region module shell for the new freeswitch service 2009-08-04 04:25:17 +01:00
Melanie 1f90d2a2c6 If the FreeSwitch context is unset or "public", then accept any context.
This restores the "out of the box" functionality.
2009-08-04 00:43:49 +01:00
Melanie fa20a2685b Output the Freeswitch context received and the context set up in the
debugging message so a mismatch can be corrected more easily
2009-08-04 00:38:20 +01:00
Teravus Ovares 4cbf0444df * Tweak the caps manager so that the NPCAvatar works again. 2009-08-01 14:26:00 +00:00
Teravus Ovares 64bd9a3354 * Updates libOMV to version 0.7.0
* Uses mantis #3811 as a base (thanks jhuliman) with changes.
* E-mail regarding interface changes sent to the opensim-dev list 
* Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-25 15:49:10 +00:00
Justin Clarke Casey a7c8948292 * Apply http://opensimulator.org/mantis/view.php?id=3855
* Prevent session crashes when something goes wrong with group invite.
* Thanks mcortez.
2009-07-24 20:08:26 +00:00
Jeff Ames a133e83f3a Formatting cleanup. 2009-07-23 15:32:11 +00:00
Melanie Thielker 7c747035ff Thank you, MarcelEdward, for a patch to add paying group join fees.
Applied with changes (original patch would not compile)
Whitespace changes removed
Fixes Mantis #3926
2009-07-21 23:57:56 +00:00
Teravus Ovares 08819bcbea * Created a way that the OpenSimulator scene can ask the physics scene to do a raycast test safely.
* Test for prim obstructions between the avatar and camera.  If there are obstructions, inform the client to move the camera closer.  This makes it so that walls and objects don't obstruct your view while you're moving around.   Try walking inside a hollowed tori.   You'll see how much easier it is now because your camera automatically moves closer so you can still see.
* Created a way to know if the user's camera is alt + cammed or just following the avatar.
* Changes IClientAPI interface by adding SendCameraConstraint(Vector4 CameraConstraint)
2009-07-19 02:32:02 +00:00
Teravus Ovares eb1a6e9b87 * Patch from otakup0pe to help freeswitch play nice with complex existing freeswitch configurations.
* Thanks!  fixes mantis #3899
2009-07-17 21:06:28 +00:00
MW acea31518b fixed the bug where changing the rotation of a selection of prims in a linkset, made each of those prims rotate around its own centre rather than around the geometric centre of the selection like they should do (and like the client expects).
This involved adding a new OnUpdatePrimSingleRotationPosition event to IClientAPI so that we can get the changed position from the client. 
Btw adding new events to IClientAPI is really tedious where you have to copy the change across to at least 5 or 6 other files. 
[Note this doesn't fix the bug where any rotation changes to the root prim (but not the whole linkset) cause rotation errors on the child prims.]
2009-07-17 14:58:54 +00:00
Justin Clarke Casey 5815162d7e minor: remove some mono compiler warnings 2009-07-15 20:49:58 +00:00
Adam Frisby 71ab7a1e2d * Workaround for a bug in Vivox Server r2978, whereby channel-search.channels.count returns 0 instead of the actual channel count. Should not affect more recent versions of Vivox where this issue has been fixed. 2009-07-12 02:16:49 +00:00
Adam Frisby 50ccf914ca * More Vivox Fiddling 2009-07-12 01:56:38 +00:00
Adam Frisby a8b40d47d6 * Patch for previous revision. 2009-07-12 01:31:33 +00:00
Adam Frisby c20a4032e2 * More VivoxModule debugging. 2009-07-12 01:23:49 +00:00
Adam Frisby 199984cbea * Added some noisy debug information to VivoxModule to try debug why GetChannel fails on LBSA/Zaius Plaza. 2009-07-12 01:04:32 +00:00
Jeff Ames cce451d9de Formatting cleanup. 2009-07-11 11:47:33 +00:00
Dr Scofield ab03772d94 fixing addin.xml 2009-07-11 08:17:09 +00:00
Dr Scofield d123c74e37 fixing missing ReplacableInterface 2009-07-11 08:16:59 +00:00
Dr Scofield 7a4abf0def From: Dr Scofield <hud@zurich.ibm.com> & Alan Webb <alan_webb@us.ibm.com>
this commit finally adds the VivoxVoiceModule: it supports positional
as well as conference call type voice (currently only per region
server), region and parcel voice, speaker indication (LL client
family), direct avtar-to-avatar voice chat. NOTE: you need to obtain
an customer admin account from Vivox to be able to use this module ---
DON'T ask me about how to about an admin account, i've NO clue, we
just wrote this code.
2009-07-11 08:16:47 +00:00
Dr Scofield 16b4e38f68 fixing warning re ReplacableInterface() 2009-07-11 08:10:54 +00:00
Melanie Thielker ec1a5d8933 Some module reshuffling, no user functionality yet 2009-07-10 20:46:16 +00:00
Melanie Thielker 8ecfc9a717 Committing the interface change and the addition to the modules to get
the ball rolling on replacable modules. No user functionality yet
2009-07-10 20:17:13 +00:00
Melanie Thielker c310fb11f4 Remove all references to HttpServer from CommsManager (all incarnations)
Change all uses of the HttpServer properties to use the new singleton
2009-07-10 02:22:26 +00:00
Charles Krinke 61008c9c13 Thank you kindly, SnowDrop, for a patch that:
This add a configuration option to the MRM module called "hidden".
if MRM is marked as enabled, the module will additionally check for 
the "Hidden" flag, before registering for client side scriping events.
When MRM is running hidden, it will not respond to client side 
scripting events, giving serverside scripting modules, like MRMLoader 
and MRMAddin the ability to leverage the MRM engine. This way, even 
a possible clientside exploit will not be possible, while still 
allowing the MRM engine to run.
2009-07-08 20:57:26 +00:00
Jeff Ames 1d01d6d919 Formatting cleanup. 2009-07-01 23:37:09 +00:00
Jeff Ames a0a44d8ebc Add copyright headers. 2009-07-01 23:25:59 +00:00
Melanie Thielker 3564271c2d Restore the functionality that was removed in r9928. This lets the load
balancer plugin work again. Create a new method, GetClientEP, to retrieve
only the EndPoint for script usage. Marked the purpose of the method
in IClientAPI.cs with a warning. Also restored the corresponding SetClientInfo
functionality.
2009-07-01 15:47:52 +00:00
Jeff Ames 3f2fba610e Update svn properties. 2009-07-01 10:26:43 +00:00
Charles Krinke 6942eaed5b Thank you kindly, Snowdrop, for a patch that solves:
The current API for MRM is quite sparse, this patch 
supplies basic support for accessing the task 
inventory of object.
2009-06-29 21:47:47 +00:00
Charles Krinke 7bb070be55 Thank you kindly, Snowdrop/Snowcrash for a patch that:
This patch makes the worn attachments accessible to MRM scripting
2009-06-29 18:07:30 +00:00
Charles Krinke 7545f12c5f Thank you kindly, Godfrey, for a patch that:
The new IRCd module causes an error when multiple instances of OpenSim 
are run on the same machine; since the port number (6666) is hardcoded,
the second and subsequent instances crash upon startup because the port 
is already in use. Attached is a patch which adds a Port specifier to the 
[IRCd] section of the config file, which defaults to 6666 if not present.
2009-06-29 14:01:08 +00:00
Sean Dague dfd4e78fc0 From: Rob Smart <SMARTROB@uk.ibm.com>
Makes an avatars personal voice indicator work with Freeswitch (though not other avatars indicators)
2009-06-19 12:21:33 +00:00
Sean Dague 1adeb8ad77 From: Chris Yeoh <yeohc@au1.ibm.com>
This patch ensures that the touch positions are set during touch_end
events (currently only working for touch_start and touch events).
2009-06-19 12:21:20 +00:00
Arthur Valadares f243dddc04 * Corrected CAPS namespaces
* "luke, use the sed"
2009-06-18 14:33:35 +00:00
Charles Krinke 8d24168bef Thank you kindly, M1sha, for a patch that improves the treePopulator module:
(a) Implements the ICommandableModule interface to clean up the user interface
(b) Uses a specification for a 'copse' (collected group of trees) which permits via an xml file: Tree type; Tree Line (high and low), Seed point; Radius of Copse; Number of required trees; Initial size of seeded tree; maximum size of seeded tree; growth rate; freeze growth state
(c) Multiple Copse may be defined for a region
(d) Growth on individual copse may be frozen or restarted, or all growth disabled/enabled
(e) Copse definitions are persistant, they are reloaded from the trees present on a region restart
(f) All trees in a copse may be removed and the copse definition deleted in one command
2009-06-14 16:32:50 +00:00
Justin Clarke Casey 3b4151b042 * remove long unused interregion optional module code 2009-06-12 14:37:56 +00:00
Jeff Ames a23d64dec1 Formatting cleanup. 2009-06-10 04:28:56 +00:00
Jeff Ames c6cef4bad5 Comment out unused variables / private fields to avoid compiler warnings. 2009-06-04 03:58:04 +00:00