aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-14Allow SmtpClients and other SSL users to work with our cert handler installedMelanie1-9/+25
2012-01-14Allow SmtpClients and other SSL users to work with our cert handler installedMelanie1-9/+25
2012-01-14Extend scripts show command to accept a single item UUID parameter to ↵Justin Clark-Casey (justincc)1-40/+47
display one script's status Usage is now scripts show [<script-item-uuid>]
2012-01-14Register the UrlModule for script engine events OnScriptRemoved and ↵Justin Clark-Casey (justincc)4-13/+21
OnObjectRemoved just once in the UrlModule itself, rather than repeatedly for every script. Doing this in every script is unnecessary since the event trigger is parameterized by the item id. All that would happen is 2000 scripts would trigger 1999 unnecessary calls, and a large number of initialized scripts may eventually trigger a StackOverflowException. Registration moved to UrlModule so that the handler is registered for all script engine implementations. This required moving the OnScriptRemoved and OnObjectRemoved events (only used by UrlModule in core) from IScriptEngine to IScriptModule to avoid circular references.
2012-01-13Cleaned up the LookAt code in SOP and SOG. Added support for incrementallyMic Bowman3-49/+34
rotating physical objects. This does not use physics. Currently the rate of change is determined as 1 / (PI * Strength).
2012-01-13Fix improper code formatting introduced in 6214e6a217cfBo Iwu1-24/+40
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2012-01-13Fix llRotLookAt and llLookAt for non-physical objects. Per conversationMic Bowman1-7/+23
with Melanie and Nebadon, SL behavior seems to be that non physical objects snap to the request rotation.
2012-01-13Update RegionReadyModuleBlueWall3-7/+98
Fix triggering of alerts when rezzing first script to an empty region, add login disable when loading oars.
2012-01-12Undo some prior workBlueWall2-96/+0
Move some added fuctions out of core into the addon module to keep things clean
2012-01-12Move some interfaces to a more apropriate placeBlueWall2-0/+73
2012-01-13Change the default osNpcCreate() to create an 'owned' npc rather than an ↵Justin Clark-Casey (justincc)1-1/+1
'unowned' one. An owned NPC is one that only the original creator can manipulate and delete. An unowned NPC is one that anybody with access to the osNpc* methods and knowledge of the avatar id can manipulate. This is to correct an oversight I made in the original reimplementation where I mistakenly assumed that avatar IDs could be treated as private. I am not anticipating that many people were deliberately making use of unowned npcs due to their insecure nature. If you do need an unowned NPC please call the new overloaded osCreateNpc() function with the option OS_NPC_NOT_OWNED.
2012-01-13Removing osNpcCreateOwned(). Please use osNpcCreate(string user, string ↵Justin Clark-Casey (justincc)3-12/+0
name, vector position, string notecard, int options) instead with option OS_NPC_CREATOR_OWNED Please note that correct option name is OS_NPC_CREATOR_OWNED not OS_NPC_CREATE_OWNED as mistakenly put in a previous commit.
2012-01-12Add missing assert to confirm owner delete succeeded to the end of ↵Justin Clark-Casey (justincc)1-0/+2
TestOsNpcRemoveOwned()
2012-01-12Add api level test for removing an owned npcJustin Clark-Casey (justincc)1-2/+55
2012-01-12Fix typoMelanie1-1/+1
2012-01-12Disable unowned NPCsMelanie1-0/+3
2012-01-12Add ossl level test for removing an unowned npcJustin Clark-Casey (justincc)1-0/+115
2012-01-12Add remove test for unowned avatarsJustin Clark-Casey (justincc)1-0/+20
2012-01-12Add osNpcCreate(string firstname, string lastname, LSL_Vector position, ↵Justin Clark-Casey (justincc)4-0/+15
string notecard, int options) variant. This will be documented soon. Options can currently be OS_NPC_CREATE_OWNED - creates a 'creator owned' avatar that will only respond to osNpc* functions made by scripts owned by the npc creator OS_NPC_NOT_OWNED - creates an avatar which will respond to any osNpc* functions that a caller has permission to make (through the usual OSSL permission mechanisms). options is being added to provide better scope for future extensibility without having to add more functions The original non-options osNpcCreate() function will continue to exist.
2012-01-12Allow all NPCs to show up on sensors as all osNpc* script methods now check ↵Justin Clark-Casey (justincc)1-6/+9
for ownership permission before executing. As per #opensim-dev irc discussion.
2012-01-12Add permissions checks for owned avatars to all other osNpc* functions.Justin Clark-Casey (justincc)3-25/+52
This is being done outside the npc module since the check is meaningless for region module callers, who can fake any id that they like.
2012-01-12Renamed one var and deleted commented code. No functional changes.Diva Canto2-34/+3
2012-01-12refactor: Move existing npc owner checks to NPCModule.CheckPermissions() ↵Justin Clark-Casey (justincc)3-18/+45
methods and expose on interface for external calls.
2012-01-12HG: normalize all externalized user ULRs to be the Home URL, i.e. the ↵Diva Canto5-16/+23
location of the user's UAS. This corrects an earlier design which had some cases pointing to the profile server. WARNING: CONFIGURATION CHANGES in both the sims (*Common.ini) and the Robust configs (Robust.HG.ini). Please check diff of the example files, but basically all vars that were pointing to profile should point to the UAS instead and should be called HomeURI.
2012-01-12Allow update of stored entries within User Management Module-this is needed ↵Bo Iwu1-48/+52
for proper work of HG friends. See http://opensimulator.org/mantis/view.php?id=5847
2012-01-12Remove ViewObjectInventory method unsupported by coreMelanie1-17/+0
2012-01-11Adapt a cast to using the new TeleportFlagsMelanie1-1/+1
2012-01-11If deserializing a scene object fails during IAR load then ignore the object ↵Justin Clark-Casey (justincc)2-2/+5
rather than halting the IAR load with an exception.
2012-01-10Add a check to see if an asset exists before recreating it whileMic Bowman1-0/+6
loading an archive. This does add an extra roundtrip to the asset server if loading new assets but it protects against overwriting (and potentially corrupting) existing assets.
2012-01-10minor: Fix wrong column length in image queues reportJustin Clark-Casey (justincc)1-2/+2
2012-01-10rename "show image queue" to "show image queues" in line with other udp info ↵Justin Clark-Casey (justincc)1-29/+8
commands. Eliminate redundant one line methods
2012-01-10Add "show image queue <first-name> <last-name>" region console commandJustin Clark-Casey (justincc)3-6/+107
This is so that we can inspect the image download queue (texture download via udp) for debugging purposes.
2012-01-10HG landing points: this hopefully fixes some confusion that was making HG ↵Diva Canto1-5/+6
avies always land in 0,0
2012-01-10Add avatar names to appearance log messagesJustin Clark-Casey (justincc)1-3/+3
2012-01-10correct very minor typo in "debug scene" helpJustin Clark-Casey (justincc)1-1/+1
2012-01-10Teleport DebuggingBlueWall2-2/+17
Move setting from ini to existing facitilies - thanks justincc toggle with console command: debug teleport
2012-01-10Add "app find <uuid-or-start-of-uuid>" command to find the appearance using ↵Justin Clark-Casey (justincc)1-0/+50
a particular baked texture, if any. This is for debugging to relate texture console entries back to particular users on the simulator end.
2012-01-10HG Friends: fixed bug introduced by 571efeddb20f38bb4164074b3c217be5387ca2e0 ↵Diva Canto1-2/+2
(r/17672)
2012-01-09Add some run-time debugging supportBlueWall2-1/+6
Add configuration option - DEBUG to enable debugging methods. This is temporary for helping users testing teleport routing be able to report back the data with the test cases. We can remove when finished with this, or leave it if it proves to be useful. Users: set DEBUG = true in OpenSim.ini to get more information from teleport routing. The default is false. It presently prints the TeleportFlags value.
2012-01-09Use our TeleportFlagsBlueWall2-22/+30
Switch to our TeleportFlags enum instead of LibOMV because we need to define a type for HG Logins. Also moved some debugging in ScenePresence into a function to make it simpler to enable/disable.
2012-01-09TP Routing debugBlueWall1-2/+5
Fix test to checking against bitfield instead of int
2012-01-09Fix teleport routing for incoming HG+OwnerBlueWall1-18/+19
Incoming HG owner/estate manager, etc. is routed according to the rules defined for teleports within the local grid. Left some commented debugging code inside so we can test other cases. Will remove when tings are settled in.
2012-01-09Debugging HG teleport routingBlueWall1-0/+18
Add some temporary debugging to the teleport routing to get a better view of what happens when HG jumps are made.
2012-01-09Fix HG teleport routingBlueWall1-2/+4
Needed to breakout the ViaHGLogin check to it's own section. For some reason it would not factor in when combined with the other teleport flag types.
2012-01-09Fix a build breakMelanie1-1/+1
2012-01-09Add the HG case to landing point checksMelanie1-1/+1
2012-01-08Update teleport routing to match AvinationMelanie1-1/+2
2012-01-08Update teleport routing to match AvinationMelanie1-16/+58
2012-01-08Fix teleport routingBlueWall1-0/+17
Route non-owner avatars according to land settings
2012-01-07Fix threat level setting on osNpcPlayAnimationMelanie1-1/+1