Melanie Thielker
4b6097756f
Port the llParcelMediaQuery forward to the new Shared/ directory
...
Add a Dictionary for faster lookup of cached items.
2008-08-13 12:20:49 +00:00
Justin Clarke Casey
4e555b87f3
* Stop warnings about non existent scene presences/entities being removed on client log off
...
* This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed).
* However, it should be possible to do much better cleanup on this code in the future
2008-08-12 19:00:13 +00:00
Mike Mazur
8ea92c0669
Thanks, lulurun, for a patch that addresses inventory problems that occur
...
occasionally, but are fixed on restart (issue 1919).
This patch introduces the following changes:
1. when a user teleports out of Region A, remove that user's profile
from the Region A user profile cache
2. when a user crosses between regions out of Region A, remove that
user's profile from the Region A user profile cache
3. the user profile cache's session ID member can now be set (written),
and is updated each time a connection with a new avatar is established (ie: a
new avatar enters the region)
4. when a region server looks up a user profile and a cache miss
occurs, fetch the user profile from the user server first instead of
immediately returning null
2008-08-12 06:21:02 +00:00
Justin Clarke Casey
d0480a87c3
* Remove warnings
2008-08-09 21:24:27 +00:00
Justin Clarke Casey
6630706dd9
* Reinstate grid receive and send keys to user server config
...
* Looks like these weren't so unused after all - oops!
* Remove message from grid server config
2008-08-09 21:01:33 +00:00
Justin Clarke Casey
e73b9c5f0a
* minor: oops, forgot the code that actually ends up eliminating the unused configuration elements from the last checkin
2008-08-09 20:43:14 +00:00
Justin Clarke Casey
0fd2bde111
* minor: remove unused grid send/receive keys from user server configuration
2008-08-09 20:41:18 +00:00
Justin Clarke Casey
f1c897695b
* minor: Remove unused message from the asset server configuration
2008-08-09 20:30:56 +00:00
Justin Clarke Casey
52d5369a87
* minor: get rid of send and receive keys from inventory server
...
* these are not used
2008-08-09 19:59:01 +00:00
Justin Clarke Casey
a78e5ea142
* Change _Config.xml node selection code to allow comments
2008-08-09 19:51:49 +00:00
Justin Clarke Casey
3242b09344
* Make session security (secure inventory) configuration FALSE by default
...
* This will not affect existing configurations where the configuration question has already been answered
2008-08-09 18:33:45 +00:00
Justin Clarke Casey
00473fcfee
* minor: remove redundant welcome message from inventory grid server configuration
2008-08-09 17:40:48 +00:00
Justin Clarke Casey
adfccd0ee0
* Add line to log notifying of inventory -> user grid server trust failure
...
* add code comments
2008-08-09 17:09:37 +00:00
Melanie Thielker
b5a9b904dc
Sorry, thoughtI had added that :/
...
Missing file from pervious commit
2008-08-08 12:19:11 +00:00
Melanie Thielker
eaff580abe
Patch #9160
...
Refactor proxy encode/decode methods out of the PacketPool into
their own class.
2008-08-08 11:04:24 +00:00
lbsa71
22f09fbd21
* All CheckRegion within an instance would use the same, global, bool for 'Available', which would lead to intermittent failures on parallell teleport requests.
...
* Solidified CheckRegion somewhat, adding a second try if the first failed.
2008-08-08 10:59:32 +00:00
Mike Mazur
97d5b5a1eb
De-coupling the IClientAPI interface and ClientManager class from the
...
libsl/libomv Packet, as other client stacks could use other data types to pass
packets around. Starting with InPacket() here, more to come.
2008-08-08 09:19:23 +00:00
Jeff Ames
657af5e611
Update svn properties, minor formatting cleanup.
2008-08-08 06:39:35 +00:00
Melanie Thielker
c4eac71e54
Committing first draft of the universal cache. This is by no means
...
finished, but it does work for memory caching items in aggressive
mode. Supports several paramters, including TTL.
2008-08-07 16:40:50 +00:00
Jeff Ames
0718aa0b7f
Minor formatting cleanup.
2008-08-07 12:55:46 +00:00
Justin Clarke Casey
f2c456c23d
* Make currently selected region appear in the region console prompt
...
* This region is used for single region commands (such as save-xml2)
2008-08-05 17:28:23 +00:00
Justin Clarke Casey
32486dcaf5
* refactor: change console base 'component name' to 'default prompt' since that's the only thing it's being used for
2008-08-05 17:06:35 +00:00
Justin Clarke Casey
ec8f2d836c
* minor: correct spelling, remove warning
2008-08-01 21:15:38 +00:00
Melanie Thielker
12c5bfa3e0
Estate series, patch 9 ( #9157 )
...
Adds the new access semantics and the new flag (allow only age verified)
Plumbs in the abuse email address from sim to viewer. The other way around,
libomv appears to be lacking support for the data field in the packet.
Includes a migration, run prebuild!
2008-08-01 21:08:00 +00:00
Justin Clarke Casey
c952dd465c
* minor: add to the thread tracker the thread with which the thread tracker tracks threads
2008-08-01 20:52:32 +00:00
Justin Clarke Casey
e32c0930c2
* Register main thread as console thread with thread tracker
2008-08-01 20:29:05 +00:00
Justin Clarke Casey
89898a2a6a
* minor: get rid of count number from 'show threads' display since they all have IDs
2008-08-01 20:21:49 +00:00
Justin Clarke Casey
10e0df0a2d
* correct bug from last commit - for now don't drop cached user profile when an agent is downgraded to a child agent
...
* since upgrading to a root agent doesn't currently re-retrieve the user profile
2008-08-01 19:24:48 +00:00
Justin Clarke Casey
43b2ff1d11
* Drop cached inventory from the local region when a user crosses out into a remote region
...
* May resolves inventory problems that occur when the user moves between two regions`
* e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item
* Not yet implemented for teleport
2008-08-01 18:49:48 +00:00
Justin Clarke Casey
de4e3bfede
* minor: eliminate some unused variables in InventoryFolderImpl
2008-08-01 16:22:26 +00:00
Melanie Thielker
43f3b9ad7b
Patch #8 in the estate series. Introduces the concept of an estate
...
owner (alongside the master avatar) and provides storage fo the
abuse email address. No user functionality yet.
This patch includes a migration.
2008-08-01 02:14:34 +00:00
Mike Mazur
6f975f6eeb
Thanks, Zaki, for a patch that addresses unhandled exceptions in the
...
PluginLoader when servers are started in parallel.
2008-08-01 01:14:40 +00:00
Mike Mazur
15669281fa
Apply updated patch from issue 1871. Thanks sempuki.
2008-07-31 23:53:24 +00:00
Justin Clarke Casey
900a656420
* refactor: rearrange path inventory manipulation so that input tidying can be used for item paths as well
2008-07-31 18:23:17 +00:00
Justin Clarke Casey
465e77b618
* refactor: eliminate unused SubFoldersCount
2008-07-31 17:35:47 +00:00
Justin Clarke Casey
a62b906a7b
* allow inventory folders to be located by path
...
* first pass method impl
2008-07-31 17:32:13 +00:00
Justin Clarke Casey
078643a017
* refactor: Change CachedUserInfo.HasInventory to HasReceivedInventory to make actual function clearer
2008-07-31 16:05:50 +00:00
Justin Clarke Casey
58af0fabeb
* minor: reduce coupling by passing in only session id to CachedUserInfo
2008-07-31 15:53:07 +00:00
Melanie Thielker
c441a03ea3
Thank you, HomerHorwitz, for a patch that implements llSetCameraParams/llClearCameraParams.
...
Fixes Mantis #1867
2008-07-31 12:31:31 +00:00
Mike Mazur
2270b25265
Thanks, sempuki, for a patch that moves all Grid Server's plugins to
...
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Adam Frisby
2f8acdbe50
* Applying Mantis #1852 - Plugin Provider refactoring. Courtesy of Ryan/Sempuki.
2008-07-30 08:17:19 +00:00
lbsa71
8edab95bad
* Refactored some heavily duplicated RequestSimProfileData functions
...
* Changed InventoryUrl and GridServerURL type to Uri instead of string - to address '/' issues.
2008-07-29 19:52:58 +00:00
Justin Clarke Casey
e595959d97
* refactor: move create user console command parsing down to OpenSim.cs from CommunicationsManager
2008-07-29 17:39:15 +00:00
Charles Krinke
bfa1fd768b
Mantis#1849. Thank you kindly, Kinoc for a patch that:
...
- LLSDLoginMethod should error out in similar way to XMLRPC login for already logged in condition
- Have LLSDLoginMethod mirror the sequence of the XMLRPC for easier side by side compare
- Log messages report which process XML or LLSD generated them for easier debugging
2008-07-29 03:43:31 +00:00
Dr Scofield
03efaff60e
moving GridInfo application plugin into a common standalone/grid
...
service, adding a plain REST GET handler returning XML (no LLSD),
adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-28 12:18:48 +00:00
lbsa71
f417a03414
Mantis#1817. Thank you kindly, sacha magne, for a patch that:
...
* Fixes a simulator crash when an asset file is missing on loading asset library.
2008-07-27 13:59:07 +00:00
lbsa71
1784918034
* Added safeguard to ensure valid inventoryserver uri.
2008-07-27 13:34:34 +00:00
MW
a7db55717b
enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
...
doing the look up is still enabled by default.
2008-07-25 17:59:34 +00:00
Justin Clarke Casey
fd4e703f25
* Remove dumb bug I put in which meant that an archive save would never complete if there were any missing assets
2008-07-25 15:18:24 +00:00
Dr Scofield
f2bc404e70
squasing warning.
2008-07-25 12:59:41 +00:00
Dr Scofield
f7e636570f
adding copyright statement.
2008-07-25 11:31:33 +00:00
Dr Scofield
2d727ebc63
completing rename of ChatFromViewerArgs to OSChatMessage
2008-07-25 10:09:02 +00:00
Dr Scofield
24e15088ea
renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage
2008-07-25 10:05:50 +00:00
Dr Scofield
7025a8040e
From: awebb
...
Further improvements to the REST handlers.
2008-07-25 09:56:35 +00:00
Mike Mazur
84cc69573b
Thanks, lulurun, for a patch that adds an authenticated session cache to reduce
...
"check_auth_session" requests from inventory server to user server.
2008-07-25 07:16:27 +00:00
Melanie Thielker
06e0e513cf
Add GetGroupPowers() and a dictionary to hold them to ClientView and
...
IClientAPI. No user functionality
2008-07-25 03:45:17 +00:00
Justin Clarke Casey
cdd3537706
* refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton
2008-07-24 17:19:33 +00:00
Justin Clarke Casey
77297ed6cc
* Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1
2008-07-24 15:56:50 +00:00
Justin Clarke Casey
29e8fcd13c
* minor: Rename IInterGridInventoryServices since it's inter service rather than inter grid
2008-07-24 15:20:57 +00:00
Dr Scofield
1d7e29cc2c
oops...forgot to svn add OSHttpHttpHandler.cs last week.
...
NOTE: this code is work-in-progress, it's not live. it's so far
harmless and just wants to play. it should not bite anyone (yeah,
that's what they all say, i know...)
2008-07-24 14:35:04 +00:00
Justin Clarke Casey
9af05d0bc3
* refactor: break out inter grid inventory services further
...
* more to follow
2008-07-23 22:18:09 +00:00
Sean Dague
cf317f5c33
refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
...
are stored in the db.
2008-07-23 22:14:29 +00:00
Justin Clarke Casey
4452ed60f8
* refactor: split out inventory services which are only used between non-region services
...
* more to follow
2008-07-23 21:40:06 +00:00
Sean Dague
aad92e1368
turn fields -> properties in TaskInventoryItem
2008-07-23 19:28:18 +00:00
Sean Dague
df361be35f
make privates private
2008-07-23 15:58:44 +00:00
Sean Dague
090159defc
refactored LandData to use properties, and cleaned up the naming on
...
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
Jeff Ames
80d8e2889e
Update svn properties. Formatting cleanup. Remove a compiler warning.
2008-07-23 13:24:25 +00:00
MW
9b51bb545e
Changed it so the avatar's rotation is now sent as part of a full avatar update.
...
This should fix the wrong rotation on existing sitting avatar when logging in bug.
2008-07-23 11:07:59 +00:00
Johan Berntsson
ce4bcb5065
The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode.
2008-07-23 09:46:04 +00:00
Johan Berntsson
3b35332957
adding files that were not included in r5589
2008-07-23 07:27:11 +00:00
Johan Berntsson
344c9caeb6
thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service )
2008-07-23 06:59:02 +00:00
Mike Mazur
6256078876
Thanks, sempuki, for a patch that adds .addin.xml for MSSQL and SQLite users.
2008-07-23 05:53:54 +00:00
Mike Mazur
a0930aa80d
Thanks, sempuki, for a patch that moves control of Mono.Addins from source attributes to external XML files. Fix issues 1682 and 1786.
2008-07-23 03:08:31 +00:00
Melanie Thielker
f112cebde2
Refactor the packet scheduling out of ClientView. Add intelligent
...
resending, timeouts, packet discarding. Add notification event for
packet discarding. Add priority scheduling for packet queues.
Add outgoing duplicate detection facility. Correct packet sequencing.
Make provisions for automatic server side throttle adjustments (comes
in next installment)
2008-07-22 17:58:42 +00:00
Justin Clarke Casey
a1d481d0f6
* minor: Make create user command appear on the region console only if the region is running standalone
2008-07-22 16:21:16 +00:00
MW
fb096dfbd5
added experimental packet tracker (LLPacketTracker.cs), which can be told to track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events.
...
Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch.
The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet.
2008-07-21 15:13:34 +00:00
Dr Scofield
6a7d544497
pulling query handling through the handlers. adding (non-functional,
...
work-in-progress) HttpHandler.
NOTE: non-active code. does not glow in the dark. non-combustible.
2008-07-18 19:28:52 +00:00
Dr Scofield
0ea73384d4
simplifying OSHTtpHandler (a bit), adding query string matching,
...
adapting OSHttpXmlRpcHandler accordingly.
NOTE: this code is not live.
2008-07-18 15:31:28 +00:00
Dr Scofield
a6e2589537
force Culture to en-US in BaseHttpserver.HandleRequest() --- this
...
fixes mantis #1748 and #1771 .
2008-07-18 14:40:07 +00:00
Dr Scofield
3fb0a08619
fixing warnings in EstateSettings and correcting coding style:
...
* warning was:
OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only
* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
2008-07-18 10:33:10 +00:00
Mike Mazur
e0e0db3660
Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763).
2008-07-18 04:51:41 +00:00
Melanie Thielker
263633e274
Patch #9151
...
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Sean Dague
a580d7ee35
add plywood texture as a constant, as we need it in a couple of places
...
and it's super cryptic to have random UUIDs hanging out.
2008-07-17 19:58:41 +00:00
Sean Dague
6084a7ea3e
Revert "git merge"
...
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague
dd144e12ba
git merge
2008-07-17 18:59:06 +00:00
Sean Dague
0a01be9a86
more safety checks
2008-07-17 18:59:01 +00:00
Sean Dague
db9e6584bf
add a null check for safety
2008-07-17 18:58:58 +00:00
Dr Scofield
6ca23c1123
rearranging variables in OSHttpRequest and adding Query property.
2008-07-17 16:51:23 +00:00
Dr Scofield
ed4241583f
morphing OSHttpHandler interface into an abstract base class. adding
...
HTTP method matching support. adapting OSHttpXmlRpcHandler
accordingly. dropping OSHttpXmlProcessor delegate in favour of good
old XmlRpcMethodHandler delegate (was the same signature).
2008-07-17 12:54:15 +00:00
Sean Dague
d9523b4e1a
change fields to private so everyone will use properties
2008-07-16 15:18:13 +00:00
Sean Dague
f3173735fa
Revert "refactoring of PrimitiveBaseShape to properties"
...
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16 15:10:35 +00:00
Sean Dague
1e447478b8
refactoring of PrimitiveBaseShape to properties
2008-07-16 14:41:57 +00:00
Sean Dague
e2d02cbf65
further property refactoring of PrimitiveBaseShape
2008-07-16 14:41:53 +00:00
Sean Dague
c6b1a190bc
refactoring primitive base shape to use properties
2008-07-16 14:41:49 +00:00
Justin Clarke Casey
d75cacb050
* Expose client statistics to the console via 'show stats'
...
* Potentially useful for diagnostics without needing to log in a client
* Packet queue statistics commented out for now pending a better way to cope with the information overload
2008-07-15 18:07:23 +00:00
Dr Scofield
00c15eb0c4
cleanup: fixing CamelCase issue with RestDeserialiseHandler.
2008-07-15 13:33:31 +00:00
Dr Scofield
8b933e53c0
fixes handler scoring method. XmlRpc code path now fully working with
...
HttpServer. :-)
2008-07-15 13:06:30 +00:00
Dr Scofield
b77bcb6660
fixes a couple of issues i introduced yesterday, one of them MapBlock queries crashing.
2008-07-15 11:46:13 +00:00
Charles Krinke
8fcd9532ab
Mantis#1745. Thank you kindly, Lulurun for a patch that:
...
Fixes simulator webmap functionality.
2008-07-15 02:59:23 +00:00
Dr Scofield
7692f3e18f
further work in progress on the HttpServer side: XmlRpc handler path
...
almost complete and soon to be ready for testing; OSHttpResponse code
out.
2008-07-14 12:18:32 +00:00