Commit Graph

7597 Commits (e9cef70f892bfbf4aad0e4471a958367766d849a)

Author SHA1 Message Date
Justin Clarke Casey 6caebb6c93 * refactor: Establish an IEntityInventory interface for SceneObjectPartInventory.cs and expose that from SceneObjectPart rather than the original object 2008-11-25 16:47:50 +00:00
Jeff Ames de052c48d1 Add copyright headers. Minor formatting cleanup. 2008-11-25 16:10:08 +00:00
Jeff Ames 518a8b9f2a Update svn properties. 2008-11-25 16:00:55 +00:00
Justin Clarke Casey fbf90b1ece * minor: eliminate mono compiler warnings 2008-11-25 15:41:42 +00:00
MW 3223a4d16d made the messaging server OpenMessage_Main constructor public (from private) so it can be subclassed. 2008-11-25 15:19:46 +00:00
Justin Clarke Casey e187972377 * Apply http://opensimulator.org/mantis/view.php?id=2640
* This is Diva's hypergrid patch, as perviously discussed on the opensim-dev mailing list
* Applied some minor prebuild.xml jiggling to resolve a dependency issue
* Thanks Diva!
2008-11-25 15:19:00 +00:00
lbsa71 dbe64197ae * Adding some virtual hooks and making some privaets protected for great justice. 2008-11-25 11:46:15 +00:00
lbsa71 0f5112ffff * Adding the incoming url as Param[2] in the XmlRpcRequest 2008-11-25 11:45:34 +00:00
lbsa71 4cfa8b0a10 * First step in refactoring the login code - extracting the authentication 2008-11-25 11:44:31 +00:00
Homer Horwitz 62c263d32b WIP: Adding a few things to PresenceModule. Not quite finished yet. 2008-11-24 22:07:45 +00:00
Homer Horwitz c13bf719e1 - Evaluate config only once
- Fixed some locking issues
2008-11-24 20:43:16 +00:00
Adam Frisby 6fb254965d * Added some debug information when console commands fail. 2008-11-24 16:23:45 +00:00
Adam Frisby 2a8ff937d5 * Removed more locks on Entities
* Entities should now in theory be lock-free externally.
* Other properties may cause blocking however[?].
* ScenePresence maintains separate locks so isn't fixed by this commit.
2008-11-24 15:14:33 +00:00
Adam Frisby 2305ef61a5 * Refactored a number of locks into EntityManager to limit the scope of the locks. 2008-11-24 15:09:25 +00:00
Adam Frisby 47829849d9 * Swaps Scene.Entities Dictionary for EntityManager.
* Important Changes: Scene.Entities is now IEnumerable directly. You do not need to use Entities.Values, you can Enumerate on .Entities directly. (So 'foreach Scene.Entities' vs 'foreach Scene.Entities.Values').
* Locks: Entities maintains it's own internal locking states. This means you do not need to lock entities anymore. I'll be going through and removing locks on it systematically.
2008-11-24 14:45:05 +00:00
Adam Frisby 202406c522 * Makes EntityManager IEnumerable - meaning we should be good to go to enable this. 2008-11-24 13:14:52 +00:00
Adam Frisby eb8650fc14 * Adding EntityManager.cs
* Not referenced anywhere yet.
* Designed to replace Dictionary<UUID,EntityBase> within SceneGraph.Entities
* Allows indexed access and better handling of locks.
* Someone needs to implement IEnumerable on this before we can switch it over.
2008-11-24 12:58:41 +00:00
MW 0be9ff1949 Some refactoring from about a week ago that I forgot to commit, of AssetTransactionModule to cut down on number of classes and to work towards having a base AssetXferUploader class than can be shared with EstateTerrainXferHandler 2008-11-24 10:03:18 +00:00
Dahlia Trimble d8bb20fc1c Thanks SachaMagne for a patch which adds the following console commands:
login-enable : Allow login at sim level (opensim.exe)
login-disable: Stop any login BUT keep the logged avt 
login-status : Return the actual status
2008-11-24 09:53:49 +00:00
Melanie Thielker 95fec14201 Remove code from an experimantal patch that wasn't supposed to be committed 2008-11-23 21:03:54 +00:00
Melanie Thielker fba9e3f513 Don't serve texture preview from other people's objects if you
havenever seen that texture before.
2008-11-23 20:39:51 +00:00
Melanie Thielker bb982ab57f Try to keep autoreturn from IM spamming users if the prims take a bit
longer to be deleted
2008-11-23 06:57:38 +00:00
Melanie Thielker ed300f21f0 05:24:49 - [PRESENCE]: Logging off 888760cb-a3cf-43ac-8ea4-8732fd3ee2bb because the region they were in has gone
Or, in other words, a region crash/restart no longer messes up presence.
2008-11-23 06:44:43 +00:00
Melanie Thielker cbd0221870 Plumb in the presence notifications and region shutdown/restart messages
from the presence module to the message server, through the user server
and on into the database. This should fix the "Already logged in" issue
that grids see after a sim crashes, or a user crashes out of a sim.
Not yet a 100% solution for friends, but getting there.
2008-11-23 05:16:07 +00:00
Charles Krinke 02fd7751d9 Mantis#2660. Thank you kindly, Ruud Lathrop for a patch that:
This patch adds the option of adding the email when you create 
a new user. This works in Gridmode as none Gridmode. This 
option is also added to RemoteAdminPlugin. With a new handler 
you can create a user with a email.
2008-11-23 03:38:40 +00:00
Melanie Thielker 0460c19bcd Add error handling to catch the WebExceptions thrown if you have
no messaging server
2008-11-23 00:36:39 +00:00
Melanie Thielker e082f10884 Adding root agent position messages to the message server 2008-11-22 23:54:53 +00:00
Melanie Thielker 7aa32ac6e0 Add root agent tracking to presence module 2008-11-22 23:38:25 +00:00
Melanie Thielker 2fa072b579 Next step in the presence module - some core plumbing included at
no extra cost
2008-11-22 22:56:00 +00:00
Dahlia Trimble 336fc239bb Increase IRC login timeout to 25 - it was 10 which was causing reconnect loops on slow responding servers. 2008-11-22 21:12:10 +00:00
Melanie Thielker bf885b2035 Adding region up/down notifications to the PresenceModule. Messaging
Server portion remains to be implemented
2008-11-22 20:29:00 +00:00
Melanie Thielker 84db1e1290 Change the presence event signatures 2008-11-22 19:40:15 +00:00
Melanie Thielker 29803efda4 Check in the presence module skeleton 2008-11-22 19:25:12 +00:00
Melanie Thielker 26cbe5649d Move user server -> message server notifications into a separate thread
to make the user server more responsive
2008-11-22 18:54:58 +00:00
Homer Horwitz a7b01140db Enclose the inter-region IM sending in a try-catch for now to find possibly missed exceptions. 2008-11-22 18:33:02 +00:00
Homer Horwitz 6566da2962 - Add a warning if the agent data of the destination of an IM isn't found
- Add a warning if the region info of the region the user is in isn't found
- Remove one possibility for a silently dropped IM.
2008-11-22 18:10:59 +00:00
Homer Horwitz 1148d9a11c Removing some direct console output for outputting ImprovedInstantMessage packets. 2008-11-22 17:42:23 +00:00
Melanie Thielker 1c89c348b7 Fix build break 2008-11-22 16:09:58 +00:00
Melanie Thielker e982a24f77 Remove a redundant check and add checking for attachments in parcels that
have no entry set, part 1
2008-11-22 15:58:52 +00:00
Jeff Ames 25d6b18bcd Update svn properties, minor formatting cleanup. 2008-11-22 02:33:18 +00:00
Melanie Thielker c71863d83e First stage group permissions plumbing 2008-11-22 01:58:36 +00:00
Melanie Thielker 691c4bc756 Mantis #2442
Attempt to reinstate the Object Entry flag in parcel settings
2008-11-22 00:23:48 +00:00
Melanie Thielker 48cf76efe7 Introducing IPresenceModule 2008-11-21 22:47:24 +00:00
Homer Horwitz 0d2e5827c5 - No need to build a list of regions and then only the first one.
- I first did lock on m_scenes for that access, but as m_scenes (currently) is
  only changed in Initialise (and locked there), and PostInitialise is called
  after the calls to Initialise, there shouldn't be a need to lock here.
- Trying out git-svn dcommit. Hope this works.
2008-11-21 22:21:49 +00:00
Melanie Thielker ba723a4cf6 Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
the internals of the permissions module adapter sane
2008-11-21 22:14:57 +00:00
Justin Clarke Casey c0cd681608 * Comment out unused access time method in MSSQL
* This should probably be being called in FetchAsset() instead as for all the other databases, but I lack the means to test MSSQL
2008-11-21 21:24:39 +00:00
Justin Clarke Casey 915593bfbc * refactor: Rip out SOP inventory from the partial into a separate class
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
2008-11-21 21:16:42 +00:00
Justin Clarke Casey 02105c9c2a * Extend sog delete to inventory test to crank the normally async sog deleter by hand
* After the crank, assert that the object has now been removed from the scene
2008-11-21 18:46:24 +00:00
Jeff Ames ecac5c9c5a Update svn properties, minor formatting cleanup. 2008-11-21 18:44:48 +00:00
Justin Clarke Casey 7dce464113 * Largely revert the last revision and improve on the previous way of doing things
* Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost
* Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition
* This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated.  But this is better than the alternative
2008-11-21 18:33:09 +00:00