Commit Graph

63 Commits (1178eddffcfb5e34a82fb9dc8e2feb9f909e56f1)

Author SHA1 Message Date
Sean Dague 5ee75998ce more refactoring, this time on InventoryFolderBase
* wrap attributes in properties
 * clean up names a little bit
 * clean up name styles
2008-04-07 23:27:05 +00:00
Teravus Ovares a0a0229fdf * Set Svn Properties eol-style: |337 2008-03-31 23:54:49 +00:00
Justin Clarke Casey 875211b262 * Various 1.19.0.5 grid inventory request fixes. These will only take affect once the region and the grid servers have upgraded to this revision
* You may also need to clear your cache before seeing any effect.
* These fixes may or may not affect inventory on the RC client.
* These fixes should make non-root folders work better, stop inventory failure on first login, allow trash to be emptied and make texture picker in object edit view work properly
* Fixes are 1) make initial root folder request wait for async inventory delivery, 2) deliver all folders in the initial login skeleton, not just the root child ones and 3) deal 
with situations where we receive child folders from the inventory service before their parent is received.
2008-03-29 22:18:44 +00:00
Justin Clarke Casey c8f79eb9b4 * Refactor: Rename CreateInventoryData() to GetInventorySkeleton()
* Replace the unused default GetInventorySkeleton() impleemntation with an abstract declaration - less confusing this way imho
* Add some comments
2008-03-28 16:39:38 +00:00
Justin Clarke Casey 512e52be4c * Remove pointless boolean on AgentInventory.CreateRootFolder() 2008-03-28 16:27:29 +00:00
Justin Clarke Casey ca6e557075 * minor: check in the rest of a comment I forgot to finish off in the last revision 2008-03-23 21:32:30 +00:00
Justin Clarke Casey da531fa9e1 * Start passing around a region server's http port in RegionInfo.
* This means that caps methods (editing scripts, poss map functions, etc) on non-home regions should now work with servers which are listening for http ports on a non default 
(9000) port.  
* If you are running a region server, this may only work properly once your grid server upgrades to this revision
* PLEASE NOTE: This shouldn't cause inter-region problems if one end of the connection hasn't upgraded to this revision.  However if it does, the instability will persist until 
the grid and region (and possibly all the region's neighbours) have upgraded to this revision.
* This revision also adds extra login related messages, both for success and failure conditions
2008-03-23 21:21:39 +00:00
Jeff Ames bf8b5844f2 Formatting cleanup. Minor refactoring. 2008-03-18 14:51:42 +00:00
Teravus Ovares 443c66b432 Since we don't yet have a reliable way to release the lock that prevents a user from logging in a second time if they're already registered as logged in;
* If a user logs in and they are noted as agentOnline.  Set agentOnline = false and send a 'you're already logged in' message to the user asking them to wait 5 minutes.  These 5 minutes are not enforced (because there's no foolproof interlock release yet without the grid operator getting a support call for every little sim crash).  When the user gets the message, they can log-in immediately after it, but the user can expect weird results if they don't wait 5 minutes and log-in to the region they were in previously.
2008-03-18 06:03:50 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames 9f7639fd6d Formatting cleanup. 2008-03-18 03:41:05 +00:00
Teravus Ovares 4e30f862af Building on Joha's update...
* Server now listens to the client's start location request for 'home' or 'last' and sends the user to the home location or the last location.
2008-03-18 03:09:38 +00:00
Johan Berntsson 040a887b9c Last position will be stored in the DB on logout, and the avatar can continue from the same position in the next login (only with MySQL at the moment) 2008-03-18 01:38:07 +00:00
Jeff Ames a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Jeff Ames 001ce95e4c Clean up more unnecessary String.Format calls 2008-02-13 03:38:18 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Justin Clarke Casey a1c9349d47 Refactor only: serve stats objects directly through StatsManager singleton 2008-02-04 16:22:58 +00:00
Justin Clarke Casey 90c853685c * Add very basic initial login stats to the user server
* Typing 'stats' on the command line will given total number of successful logins today and yesterday
* A little bit more to come, probably
* Refactoring will follow next
2008-01-25 19:24:25 +00:00
Brian McBee 17c25796b8 checking return code may make failed teleports fail more gracefully. 2008-01-19 20:34:54 +00:00
Adam Frisby b25f9f322c * Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's
* Added Copyright headers to a bunch of files missing them
* Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
2008-01-15 02:09:55 +00:00
Teravus Ovares 901f403823 * Just an update to the default login form 2008-01-10 23:31:37 +00:00
Teravus Ovares a962653e04 * After fighting with it a bit more, Opensim is now compatible with the most recent release client(RC) on the linden labs download page.
* Don't forget, you need -loginuri *and* -loginpage
* Ex: -loginpage http://10.1.1.2:8002/?method=login -loginuri http://10.1.1.2:8002/
* The ?method=login is important, don't forget to add it
* If you customize your http_loginform.html file, be sure to keep the form post address as is.
2008-01-10 04:37:03 +00:00
Teravus Ovares 85fe8ed085 * This update enables the web_login method.
* Remember, the client doesn't support web_login to other grids in the current RC, however the next RC will.
2008-01-09 22:05:28 +00:00
Teravus Ovares 49fe4eb3cd * This may be broken.. it hasn't been tested, however I wanted to get the last database changes in before sdauge changes them significantly. 2008-01-09 18:57:03 +00:00
Teravus Ovares db3edff5d5 * Applying jhurliman's LLSD login enablement patch.
* I'm keeping it deactivated until some issues are resolved.
* I'm patching it in deactivated so the patch doesn't get outdated
* I've deactivated it by commenting out the handler for the application/xml+llsd content type.
* While I've tested this as much as possible on my setup and found the deactivated code doesn't cause any problems, consider this update experimental (event though it's deactivated)
2008-01-05 06:05:25 +00:00
Justin Clarke Casey b8975ecbd9 Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
directory 
and linked in by an entry to inventory/Libraries.xml
2007-12-31 23:20:49 +00:00
Teravus Ovares 3180432deb * Added database and UserManagerBase glue for FriendsList management
* Don't forget to run prebuild
2007-12-31 22:56:43 +00:00
Justin Clarke Casey 5ef1433e95 Correctly output library inventory folder type and version information 2007-12-31 18:26:24 +00:00
Justin Clarke Casey 60fa75ac04 Standard library folders can now be configued in the xml in inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently
showing up as texture folders, even though they are configured with the same types as the agent inventory folders.  This should be resolved soon.
2007-12-31 03:33:21 +00:00
Justin Clarke Casey 76e74a7667 Add an extra check that we don't create new inventory folders for a user that already has a root folder 2007-12-30 19:40:44 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Justin Clarke Casey 997a2907e2 Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached).  These
were working before so they must have broken in the last month.  Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
Jeff Ames be2ad79e52 Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532 2007-12-20 05:43:02 +00:00
Charles Krinke 5bec7f5ff3 Clean up the Login message on UserServer console just
before CustomizeResponse is called (this one redundant).
2007-12-16 23:37:40 +00:00
Justin Clarke Casey 2061f55007 Reposition 'user profile not found' messages to stop spurious messages caused by other usermanager usage
This should stop the regular spurious messages in the grid user console
2007-12-16 13:57:08 +00:00
Adam Frisby 01db4cd71d * More console message fixes
* Tagged Verbose("msg",...) as obsolete. Please use Verbose("AREA","msg",...) instead.
2007-12-04 10:22:09 +00:00
Adam Frisby be7ae3dd3e * Removed 12 compiler warnings. 2007-12-04 08:18:09 +00:00
Sean Dague d2fe290bb6 return of the inv-lib-root patch from Justin Casey (IBM)
Should fix libsl login ability.  No long breaks my login
to test environment.
2007-11-30 15:27:56 +00:00
Teravus Ovares 3ab3392def * This extends my first hack to clear out the useragent table for that specific user.
* This helps people who have multiple records in their useragent table.
* This update should be looked at..  because really what it should be doing is initiating a grid wide logoff.
2007-11-30 02:14:29 +00:00
Teravus Ovares 5eb091ceee * Temporary fix for 'User already online' issue in standalone mode.
* Revert this once we get a working logoff.
2007-11-30 01:20:31 +00:00
Sean Dague d3ab5ad506 revert r2510, this seems to break normal logins, at least from
Linux clients.
2007-11-29 20:20:11 +00:00
Sean Dague af9eb87ad1 return an appropriate inv_lib_root, which the libsl folks have
identified as the reason libsl can't currently connect to OpenSim.

Patch from Justin Casey (IBM)
2007-11-29 17:14:06 +00:00
Jeff Ames 6d7ce67db1 fixed duplicate login in standalone mode (mostly untested in grid mode) 2007-11-29 07:22:11 +00:00
Adam Frisby 3a5ae43d5e * Fixed compile issue. 2007-11-09 02:13:07 +00:00
Adam Frisby c93f7188c7 * Added a mutex to the LoginService allowing only a single login simultaneously. (queues)
* This is a temporary fix to prevent an issue with adjohn reported when attempting to login large numbers of users in a short period of time.
* A rewritten login service is on the cards.
2007-11-09 01:59:18 +00:00
lbsa71 67e12b95ea * Optimized usings
* Shortened type references
* Removed redundant 'this' qualifier
2007-10-30 09:05:31 +00:00
MW 3d8219f6c7 as per the "Filesystem cleanup for OpenSim repository" mailing list thread. Have flattened the OpenSim.Framework project/namespace. The problem is that the namespace is still wrong as its "OpenSim.Framework" while the directory is "OpenSim\Framework\General" , so we need to decide if we change the directory or correct the namespace.
Note this has lead to a big flat project, but I think a lot of the files we most likely don't even use any longer. And others belong in other projects/namespaces anyway.
2007-10-29 21:46:25 +00:00
Adam Frisby 3143768468 * Removed plenty more untagged console messages. Everything now has shiny groups. :) 2007-10-22 22:37:39 +00:00
Adam Frisby 5dad0ed729 * Return of R2162. /Take that SVN!/ 2007-10-22 21:57:32 +00:00
Sean Dague 6acaabefc3 revert r2162 as it completely clobbered all the work on
the ChatModule by MW and myself.  Couldn't find Adam online
after that rev went in.
2007-10-22 15:37:54 +00:00