Commit Graph

7339 Commits (fa28d1ab7de3e2b384b76f922f1801e82f513abf)

Author SHA1 Message Date
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
Justin Clarke Casey e261c97470 * On delete to inventory, actually remove the group from the scene before the async stage.
* Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene)
* Put in an incomplete 'delete object o inventory' test to assert that this happens
2008-11-21 18:17:01 +00:00
Justin Clarke Casey 82aa8e0327 * minor: Remove comparison of UUID struct against null picked up as a warning 2008-11-21 17:35:34 +00:00
Justin Clarke Casey c2d3d8d88e * Improve and correct messages given to the user when permission is denied for a particular OSSL function
* I don't believe that the extra information given is anything that couldn't be worked out by trial and error
2008-11-21 17:28:57 +00:00
Melanie Thielker ee4d4d784e Fully implement object return from the parcel dialog 2008-11-21 07:33:13 +00:00
Melanie Thielker 46278b34b1 Allow selecting group objects and selecting objects by owner from the
parcel dialog.
2008-11-21 05:35:35 +00:00
Melanie Thielker e9ad6f7913 Plumb in the list if user IDs to the land module to allow selection
of objects by owner name
2008-11-21 04:41:39 +00:00
Melanie Thielker 0092ecbce7 Prevent a null reference when giving items. 2008-11-21 00:54:32 +00:00
idb d262a9adbf Update CONTRIBUTORS 2008-11-20 23:21:15 +00:00