Commit Graph

7152 Commits (b0e55577fff91d005574a0ab6de5a3087f104589)

Author SHA1 Message Date
Homer Horwitz b0e55577ff Revert the rest of r7468 2008-11-25 18:59:10 +00:00
Homer Horwitz 143342e169 Revert last patch. I'll try to be on the right branch, next time, before a
dcommit.
2008-11-25 18:51:21 +00:00
Homer Horwitz 72c28c5120 Local changes 2008-11-25 18:39:36 +00:00
Justin Clarke Casey 759a667247 * Make a step on removing direct access to TaskInventoryDictionary from other packages 2008-11-25 17:15:21 +00:00
Justin Clarke Casey 11f7471d9c * Remove direct access to Inventory.Serial 2008-11-25 17:01:18 +00:00
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