Commit Graph

462 Commits (8acb60df0d6695f17f08e5f4a9fc17247ce45e17)

Author SHA1 Message Date
Justin Clarke Casey 45430a5403 * Refactor: move UpdateFolder into CachedUserInfo 2008-05-03 19:27:34 +00:00
Justin Clarke Casey 1087542705 * Refactor: Move bulk of CreateFolder from UserProfileCacheService into CachedUserInfo
* Remove unused/superseded methods from GridInventoryService
2008-05-03 18:57:02 +00:00
Sean Dague 1b7f1c956c plumb in connection string to the user database paths. mysql and mssql
just ignore this for now, but it lets us get connect strings to sqlite
and nhibernate.
2008-05-02 18:59:12 +00:00
Justin Clarke Casey 1de6cffa28 * Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
2008-05-01 20:47:33 +00:00
Adam Frisby 20a9bf08f5 * Rolled back a few changes. 2008-05-01 18:04:42 +00:00
Adam Frisby fc6c4dc399 * Cleaning code still. 2008-05-01 16:41:01 +00:00
Adam Frisby 01f31fd933 * Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
2008-05-01 16:23:53 +00:00
Adam Frisby a1c8aa4050 * Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces. 2008-05-01 15:36:39 +00:00
Adam Frisby 4692e92312 * Assorted spring cleanings. 2008-05-01 14:45:56 +00:00
Adam Frisby 25a49ac4de * Spring cleaned a bunch of '//TODO: unused' marked functions. 2008-04-30 23:11:07 +00:00
Teravus Ovares a9cc76e0ef * Long awaited patch from A_Biondi Mantis 923. Kept alive by Melanie. Thanks A_Biondi and Melanie!
* This builds but might not work.   JustinCC will examine..   it may work out of the box.
2008-04-30 16:08:24 +00:00
Justin Clarke Casey 40176c12f9 * Implement full grid mode Trash empty
* Now, emptying the trash should remove folders and the items they contain as well as items which were not in a subfolder.
* This will only work once both the region and grid servers have reached this revision.
* You may also need to clear your cache before this will work
* Refactoring to follow.
2008-04-23 22:13:57 +00:00
Sean Dague 3f95804911 add a database_connect field for the asset server config
which will let you specify a connection string.  Required
for Nhibernate, optional for sqlite (there is a sane default), 
ignored for mysql and mssql until someone implements the 
Iniatialise(string) method.
2008-04-23 20:57:18 +00:00
Sean Dague 3dd98a112f allow for Inventory database source to be specified in main
configs.  This works with sqlite and nhibernate backends, and
stays with default seperate ini files for mysql and mssql until
someone writes those.
2008-04-23 20:48:23 +00:00
Justin Clarke Casey 4db839c3b8 * Implement proper emptying of trashcan on standalone
* On standalone, folders (and their items) should now be persistently deleted on trash emptying, as well as immediate child items
* An implementation for grid mode will follow.
2008-04-23 17:04:15 +00:00
Justin Clarke Casey 269a2e4b88 * Allow folder renaming to complete after an agent inventory has been received by a region from the inventory service
* This replaces the old behaviour of failing straight away, which could cause lost updates if the inventory service was slow in responding
* This is the first baby step to making all inventory requests behave this way, to reduce inventory lossage
2008-04-22 17:24:13 +00:00
Adam Frisby fef3b36894 * Optimised using statements and namespace references across entire project (this took a while to run). 2008-04-21 07:09:17 +00:00
Justin Clarke Casey 73f60f395a * Extra log line to notify the user console when a new user inventory skeleton has been successfully created. 2008-04-20 23:07:20 +00:00
Justin Clarke Casey 3d3eec436a * Remove user profile from cache when they log out from a region.
* A much more significant fix is required to clean up the cache when a user moves out of a region, but really better handling of delayed inventory cache updates needs to be 
written first, and possibly better affinity to cut down agent inventory requests when the move is between two regions hosted on the same server.
2008-04-20 20:36:06 +00:00
Justin Clarke Casey dcaf457bb8 * Change user inventory create from explicit 'create user' command on the console from sync to async
* Catch more error conditions and provide more messages when things go wrong
2008-04-20 19:07:42 +00:00
Justin Clarke Casey e755727a0f * Change lazy user inventory creation on first login to synchronous rather than async.
* Add more error checking so that we don't proceed if there has been a problem with inventory retrieval
2008-04-20 18:45:03 +00:00
Justin Clarke Casey d3cd2b0ae4 * On grid mode, if the inventory service is responding but returning an empty response to a whole agent inventory request, then post an inventory login failure message.
IMO, this is better than allowing the agent to login with an apparantly blank inventory.
2008-04-20 18:19:34 +00:00
Justin Clarke Casey afb06c7b88 * Refactor: Remove redundant try/catch from asset request since this is now handled by the base http server 2008-04-18 15:41:13 +00:00
Teravus Ovares 244bfcde5b * Implements 'Set Home to Here'
* Implements 'Teleport Home'
* User Server has to be updated for it to save your home in grid mode
* home position accuracy is in int because the grid comms ExpectUser method tries to convert to Uint and crashes if it gets a float.  Added a convert to decimal in ExpectUser but to avoid a breaking change with old revisions, kept the save value in int for now.   Eventually it needs to be a float, but lets release another incremental version before doing that.
2008-04-17 05:07:14 +00:00
Justin Clarke Casey e65b6f4dcd * Tiny, tiny, login message refinement to reduce human parsing requirements 2008-04-15 22:44:18 +00:00
Justin Clarke Casey 379ac9c92a * Make it easier to follow logins on the user server by changing and tidying up log messages 2008-04-15 22:41:34 +00:00
Justin Clarke Casey 39165f3de4 * Send a meaningful response to both the user server console and the client if a login fails because the inventory service has failed. 2008-04-15 18:10:42 +00:00
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Justin Clarke Casey b3f783ae05 * Reduce publicly exposed fields on InventoryCollection, which was causing duplicate sets of inventory data to be sent over the grid
* Won't actually fix anything, since we were handling the problem anyway
* Also add more doc, fix up debugging messages, etc
2008-04-11 20:37:26 +00:00
Justin Clarke Casey a5176c2e2c * Change inventory async response deliver to deliver all items and folders at once, rather than each individual
* This is required in order to work towards eliminating some inventory race conditions and to better deal with situations where a grid inventory server is slow or not responding.
2008-04-11 18:13:10 +00:00
lbsa71 cbf9fcfac5 * Discerned between AddProfile and UpdateProfile in region registration
:: Believe it or not, but INSERT/UPDATE is actually a better pattern than REPLACE, since, with INSERT/UPDATE you can catch erroneous UPDATES to non-INSERTed items as well as catch erroneous re-INSERTS. in 95% of the cases, you SHOULD have a clear INSERT context, and a clear and separate UPDATE context. If you think your case falls within the 5%, maybe you should re-evaluate your code. ::
2008-04-11 09:56:22 +00:00
Justin Clarke Casey b41abbd50e * Minor: really just comment and subsequent indentation adjustment. Preparation for handling inventory problems where the inventory server receives a request and never responds, or is late in responding 2008-04-10 17:44:19 +00:00
Justin Clarke Casey 5ad4c79a4e * Refactor GetUsersInventory() 2008-04-10 16:04:19 +00:00
Justin Clarke Casey ded704ef1f * Minor inventory message cleanup and documentation 2008-04-10 15:22:01 +00:00
Sean Dague 55ac1c6dce renaming of attributes in UserAgentData for readability 2008-04-10 14:50:52 +00:00
Sean Dague ef7dfae41c changing UserAgentData to use properties. This caused more
grief than expected, as monodevelop doesn't like to refactor 
properties of properties.
2008-04-10 14:37:17 +00:00
Sean Dague 25fea01b92 further renaming of properties for clarity 2008-04-10 14:09:30 +00:00
Sean Dague c176caeb05 moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious
use of out params.
2008-04-10 13:53:06 +00:00
Teravus Ovares a253ac0830 Patch by lulurun - 0000916: support secondlife client's "-url sim/x/y/z" option
Thanks lulurun!
2008-04-10 09:56:59 +00:00
Sean Dague a6d27e0929 further refactor and rename of InventoryFolderBase properties
to reflect what they really are.
2008-04-08 23:26:31 +00:00
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
Sean Dague f436815107 Refactor InventoryItemBase to do the following:
* wrap fields as Properties
 * rename some fields/properties to more sensible names
 * set style to PropName to match more standard C# approach
2008-04-07 23:15:35 +00:00
Sean Dague c774cd1169 remove the debug files, these must have been added by accident 2008-04-07 21:08:40 +00:00
Sean Dague 86cf07f1c4 changing more references to OpenSim.Data 2008-04-02 15:38:44 +00:00
MW 0e789a9a01 Set default terrain to complete flat terrain (at 26 height). Even flat terrain as default seems better than the messed up terrain I was getting. 2008-04-02 11:03:44 +00:00
Teravus Ovares b790a16e98 * Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey 7ec3bb71e6 * Remove the quit command from the inventory console which was actually adding a new inventory instead 2008-04-01 17:11:00 +00:00
Justin Clarke Casey 93303072dd * Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
* This mirrors the grid behaviour
2008-03-31 18:29:08 +00:00
Justin Clarke Casey 2fddd775f4 * Stop the grid inventory service sending all folder and item details twice
* This change will have no functional impact - we were already filtering out the dupes on the other end.
2008-03-30 00:45:04 +00:00
Justin Clarke Casey a6999f8a5d * Refactor: Remove unused inventory methods, some of which weren't properly implemented anyway. 2008-03-29 23:07:48 +00:00
Justin Clarke Casey 9acec3506f * CODE: Add phat warning to RootFolders http request since it no longer does what it used to do (not that the name was actually accurate in the first place) 2008-03-29 22:27:55 +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
lbsa71 7f11079f57 * Refactored out common http handler operations 2008-03-28 21:43:46 +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 c538ea5024 * Increase timeout for initial simulator login from 16 to 30 seconds
* Comments, capitalization
2008-03-26 17:21:46 +00:00
Justin Clarke Casey ad6783ff40 * Massaging CAPS setup/teardown log messages
* Leaving quite a few debug messages in for now to help deal with bugs arising
2008-03-25 22:04:41 +00:00
Jeff Ames 9d1b42c39a Comment out unused private methods. 2008-03-25 03:49:08 +00:00
Jeff Ames d2b1a8aa1e Minor formatting / svn properties cleanup. 2008-03-25 01:45:23 +00:00
Johan Berntsson 39f340e687 XmlRpcCommand refactoring 2008-03-24 01:37:00 +00:00
Johan Berntsson 12a32b0608 Added a plugin loader in GridServer 2008-03-24 01:21:01 +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
Charles Krinke 1e452dacf4 Comment out an unused 'str' and add a WriteLine to use
an "Exception e" with e.ToString() to eliminate 2 warnings.
2008-03-21 17:06:31 +00:00
Jeff Ames bf8b5844f2 Formatting cleanup. Minor refactoring. 2008-03-18 14:51:42 +00:00
Teravus Ovares 42857fe4e9 * Added the ability to type the partial name of a region in the start location box and go to that region if it's there. If no close match was found, it sends you home. This is tested on mySQL. There's untested code on grids that are based on sqlite and MSSQL. The SQL statements *should* be right, but your results may very.
* Ex, if you want to go to Wright Plaza, you simply need to type Wright Plaza in the start location in the client when you log-in.
2008-03-18 05:44:25 +00:00
Jeff Ames 47180080f0 Formatting cleanup. 2008-03-18 05:16:43 +00:00
Jeff Ames 175dc285ff Added copyright messages. Set svn:eol-style. Minor cleanup. 2008-03-18 03:51:59 +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
Jeff Ames 825c89e7ac Replaced some Console.WriteLine calls with writes to log. 2008-03-17 17:10:53 +00:00
Sean Dague dba37a8722 From: Alan M Webb <awebb@vnet.ibm.com>
Here's a diff of the changes I have made in support of the following LSL
script functions. 

llSetScriptState
llGetScriptState
llCSV2List
llListRandomize
llList2ListStrided
llListFindList
llResetOtherScript
llGetScriptName

It was necessary to modify ExecutorBase in support of the ScriptState
implementations.

I also modified SceneObjectPart and SceneObjectPart.Inventory to
corrects a quoting mismatch in the commentary that through off live
parsing of the files.

I also simplified the State definition at the start of BuiltinCommands.
2008-03-17 15:11:36 +00:00
lbsa71 95e4d1ae5e * made some privates protected 2008-03-12 11:18:43 +00:00
lbsa71 e2dfd919bc * made GridManager class public 2008-03-12 11:11:52 +00:00
lbsa71 df104e6f84 * Renamed Main.cs to GridServerBase.cs 2008-03-12 10:16:28 +00:00
lbsa71 3f45cfc591 * Refactored out exe bit out of Grid Server for great justice 2008-03-12 10:13:19 +00:00
lbsa71 f1b8712da3 * Refactored some internals in Grid Server Main 2008-03-12 09:50:12 +00:00
lbsa71 d873a043dd * Refactored out creation of LoginResponse
* Refactored out ErrorResponse
2008-03-12 09:37:39 +00:00
lbsa71 47ed69c933 * Extracted RegionProfileData from Request
* Introduced ValidateNewRegion and ValidateOverwrite
2008-03-12 09:17:23 +00:00
lbsa71 da854b9691 * minor refactoring 2008-03-12 08:44:36 +00:00
Adam Frisby b40957b57c * Applying patch from Mantis #607 - Grid Server crash. Thanks Diva. 2008-03-11 15:48:50 +00:00
Adam Frisby 4d9ed39444 * Four more warnings bite the dust. 2008-03-05 21:50:58 +00:00
Jeff Ames d2806090ae Cleaned up a couple compiler warnings. 2008-03-04 10:12:39 +00:00
Johan Berntsson 279e0061c5 Merged 3Di code that provides scene and avatar serialization, and plugin support for region move/split/merge. See ThirdParty/3Di/README.txt. Unless the new modules are used there should be no noticeable changes when running OpenSim. 2008-03-04 05:31:54 +00:00
Jeff Ames cd6f4a57e7 Added copyright heaaders. Minor cleanup. 2008-03-04 04:11:37 +00:00
Adam Frisby 358a4963d3 * More compiler warning nukage. 2008-03-03 09:56:30 +00:00
Adam Frisby 415fc22e5e * Removed a bunch of compiler warnings. 2008-03-03 09:54:39 +00:00
Teravus Ovares fe49c96ee0 * Applying Ahzz's profile patch. Thanks Ahzz!
* Fixed a few bugs in the patch that are sim crashers.
* There's still a bug in mySQL mode/ grid mode where the main userprofile text doesn't save.
2008-03-03 08:30:36 +00:00
Charles Krinke 7794fc3766 Change handler001 through handler009 to more
appropriate names consisten with their use.
All done with all 94 handlers from handler001
through handler094. Hopefully we can move 
forward without numbered handlers.
2008-03-02 22:28:48 +00:00
Teravus Ovares bf82148152 * Added base thread pool based presence informing to the message server.
* Not ready yet for use.
2008-02-26 09:16:31 +00:00
Teravus Ovares cb828c9824 * More Message server stuff. Still not ready. 2008-02-26 08:31:00 +00:00
Teravus Ovares b831a91852 * Message Server Linkages (still not ready for use so don't start it yet) 2008-02-25 06:33:14 +00:00
Teravus Ovares 582964800c * Moved all events except gridcomms and regioncomms over to Event Delegate instances to prevent event race conditions 2008-02-22 19:44:46 +00:00
Tedd Hansen 7102ac7769 "threads" command now works. I've added manual tracking of threads (only if compiled in DEBUG mode)... Its ugly and even requires a separate thread to track the treads, but it will be very valuable in debugging. 2008-02-21 10:43:24 +00:00
Jeff Ames a8cfbbe963 Minor cleanup. 2008-02-20 18:38:20 +00:00
Justin Clarke Casey b331e96e25 Remove "Loading inventory" messages from item inventory loads 2008-02-19 20:21:25 +00:00
Tedd Hansen 47c909ca0a Playing "Name that thread". Adding names and isbackground=true to all threads so it will be easier to debug. 2008-02-19 12:02:53 +00:00
Justin Clarke Casey 359f84ee43 * Output XmlRpc error message if user server gets a fault response from the region server on login
* This will make it more obvious if one accidentally starts one's region server in standalone rather than grid mode but then tries to login to a grid (as I am wont to do)
* We are now sending back a fault code (-32601) if no xmlrpc method is found rather than an ordinary message
2008-02-18 18:48:55 +00:00
Justin Clarke Casey b37b71b273 * Make RegionProfileData.RequestSimProfileData static
* Minor documentation bits
2008-02-18 17:31:05 +00:00
Justin Clarke Casey 500d259c25 * Do not allow a user to be created if one with the same name already exists 2008-02-18 15:50:18 +00:00
Charles Krinke df04345e3f Thank you very much, Diva for a patch to increase the
grid server reliability.
2008-02-17 02:03:27 +00:00
lbsa71 2d066c4136 * Took a stab at getting keys to work as intended
[Provided by openlifegrid.com]
2008-02-14 13:09:33 +00:00
lbsa71 cf6e268d6d * Added more debugging output to GridManager to pin down the key exchange weirdness
[Provided by openlifegrid.com]
2008-02-14 13:02:41 +00:00
Adam Frisby f3afa68a2a * Made new Framework.Constants class, added RegionSize member.
* Converted all instances of "256" spotted to use RegionSize instead. Some approximations used for border crossings (ie 255.9f) are still using that value, but should be updated to use something based on RegionSize.
* Moving Terrain to a RegionModule, implemented ITerrainChannel and TerrainModule - nonfunctional, but will be soon.
2008-02-14 12:16:33 +00:00
Tedd Hansen 44385800cf Changed UserServer create user password input to cleartext so we can see what the all the fuzz/blur is about. Make sure that you hide your monitor and that there are no black vans with large antennas parked outside while you type the password.
Actually, turn off your monitor while typing password. Then press reset button on your computer.
2008-02-14 10:04:14 +00:00
lbsa71 952cdd4166 * Added some more comprehensive log entries on region login.
[Provided by openlifegrid.com]
2008-02-13 21:05:26 +00:00
lbsa71 b05409b03f * Minor guard for null case.
[Provided by openlifegrid.com]
2008-02-13 20:51:59 +00:00
Jeff Ames e207284fef Clean up logging calls using String.Format explicitly 2008-02-10 01:57:59 +00:00
Jeff Ames 49622dfbc5 Update version numbers to 0.5 2008-02-07 04:41:08 +00:00
Charles Krinke d6f4656032 Shorten root inventory create folder message. 2008-02-07 03:06:34 +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
Jeff Ames 99844ee4c0 Added copyright statements. 2008-02-05 03:20:51 +00:00
Justin Clarke Casey baefa05b57 * Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc)
* DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers.  More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
2008-02-04 18:52:24 +00:00
Justin Clarke Casey a1c9349d47 Refactor only: serve stats objects directly through StatsManager singleton 2008-02-04 16:22:58 +00:00
Brian McBee e2680342d1 Turn on fastMode for map block queries to grid server if and only if grid is running MYSQL as the data source. 2008-02-02 18:25:17 +00:00
Charles Krinke 6a1d9e8da1 Thank you very much daTwitch for your first contribution to the C# simulator.
This is the beginnings of support for storage of region owner in the MySQLManager
table and the use of "owner_uuid".
2008-02-02 16:43:57 +00:00
Tedd Hansen 667197f24d Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
Fixed ScriptEngine.Common startup problems.
2008-02-02 00:59:22 +00:00
Justin Clarke Casey a4bf98f4ba * Add asset/texture cache statistics to region server console
* You can type 'stats' at the REGION# prompt to get this information in grid or standalone mode
* Don't take these numbers as gospel yet, since for some reason textures displayed from inventory which require downloading from the server are being recorded as assets 
rather than textures
* But I don't have any reason to believe they aren't broadly accurate.
* I've put these in so I can tell whether the high memory usage on regions is down to the asset/texture cache
* This will require a prebuild
* DEV: Only adds needed to be implemented since, as far as I can tell, assets cached are currently never released.  For my part, seeing large cache memory numbers will 
provoke me to think about doing something about this.
* DEV: Now switched to using a singleton to get the stats reporters rather than threading the object through various layers
* DEV: Will refactor the other server stats reporters to do this in one of the next commits
2008-01-31 00:42:31 +00:00
Justin Clarke Casey 881f295e70 * Add 'asset not found' statistics to grid asset server stats 2008-01-30 22:13:47 +00:00
Justin Clarke Casey a70e9c8c2c * Minor asset server message tweak 2008-01-30 18:36:59 +00:00
Justin Clarke Casey a5b719e161 * Deal with asset requests with malformed guids to the asset server in more user-friendly way than throwing an Exception
* Compact status messages to reduce verbosity and be more informative
2008-01-30 18:33:44 +00:00
Justin Clarke Casey beefbb46d2 * Add total logouts (and total logins) to server side user stats
* Passing the stats collector through object chains is not ideal - this will change when more stats come in
* This change will need a prebuild
2008-01-28 22:00:38 +00:00
Justin Clarke Casey fa5fe6b7f6 * Move AssetStatsReporter to Framework.Statistics
* The hooks are still plugged in too high at the asset server, but then next layer down is the database and this may be refactored soon.
* This change will requires a prebuild
2008-01-28 19:49:07 +00:00
Jeff Ames 429d14f3e5 Removed ScriptServer.csproj from svn. 2008-01-26 09:36:19 +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
Justin Clarke Casey dfbfa856bb * Timer wants, ms, not secs!
* May also be another bug lurking
2008-01-23 19:12:15 +00:00
Justin Clarke Casey 257f2b5583 * Add very very very basic initial statistical information collection to asset server
* stats can be seen by typing stats on the asset server command line
* Currently collecting only raw requests for today and yesterday
* And I haven't yet tested the 24 hour rollover
2008-01-23 19:09:50 +00:00
Teravus Ovares a3851b3812 * Added hooks for logout to all IUserService and all that implement it.
* Added a Logout message with a name on the console
* Added a *fixme* message to figure out why the current agent session is null
* After updating you may notice that there's a login <user> and also a logout<user>
2008-01-20 23:08:50 +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
Adam Frisby f59f4e476d * Made it so that if you don't specify a key, the defaults will not be assumed.
* If you wish to turn off key authentication, set the values to "" (null) in the grid config, and do the same in clients.
2008-01-12 19:28:50 +00:00
Adam Frisby 0b0df333dc * In the interests of making life difficult for everyone, the Grid Server now actually checks your authentication keys rather than ignoring them. 2008-01-12 19:23:56 +00:00
Tedd Hansen 33d82aa532 Added license to new files 2008-01-12 14:40:28 +00:00
Tedd Hansen bacbade369 Major reorganizing of DotNetEngine. Moved common script engine parts to ScriptEngine.Common, only .Net-specific code in DotNetEngine. AppDomains, event handling, event execution queue and multithreading, script load/unload queue, etc has been moved to ScriptEngine.Common.
Loads of things has been put into interfaces instead of the specific class.
We are now one step closer to ScriptServer, and its very easy to implement new script languages. Just a few lines required to make them a OpenSim script module with all its glory.
2008-01-12 14:30:22 +00:00
Jeff Ames 730f0d9311 Set svn:eol-style. 2008-01-12 11:10:53 +00:00
Tedd Hansen 39880f2b45 Added references for last commit 2008-01-12 11:07:49 +00:00
Tedd Hansen a993d0d335 ScriptServer communication is ok. Script is creatd on onrez. But since it can not access Scene it sort of crashes right away ;)
Added some sample placeholders for implementing rest of LSL events.
2008-01-12 10:25:08 +00:00
Tedd Hansen e7dbaad04f New ScriptServer protocol successfully implemented.
Still needs hooking up for all commands in both ends, separation of local and remote LSL-commands, etc.
2008-01-12 01:14:31 +00:00
Tedd Hansen 1e9a66cbaa ScriptServer communication protocol (v1), primitive RPC-like TCP client/server 2008-01-12 00:48:58 +00:00
Jeff Ames 5a6fd21a2c Whitespace cleanup. 2008-01-10 06:49:29 +00:00
Jeff Ames 82af9b7a78 Set svn:eol-style. 2008-01-09 23:28:50 +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
Tedd Hansen 40dc26e28a Did someone say missing files? Thanks Sakai 2008-01-09 17:30:40 +00:00
Tedd Hansen 260145a7e6 Dynamic loading of ScriptEngine in ScriptServer
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
2008-01-09 17:13:02 +00:00
Teravus Ovares e1aa83e965 * Added a hashtable based HTTP processor in preparation of the web_login_key
* Added the web_login_key to the users table
* Added happy configurable http error message pages
* This update is large enough to have 'awe' value..    so backup your users or weep.
* Not tested on MSSQL, even though I added code to update the tables!
2008-01-09 04:13:04 +00:00
Teravus Ovares f7437b7b5e * Added the files for work units for the purpose of sending out updates to regions. 2008-01-08 06:55:57 +00:00
Teravus Ovares ad411d52a8 * Added more methods to MessageService 2008-01-08 06:02:56 +00:00
Teravus Ovares 05fbed403c * Switched over to RegionProfileData from using RegionInfo because RegionInfo was missing the httpURI on the MessageService.
* Fixed some code, added a method.
2008-01-08 04:53:12 +00:00
Teravus Ovares 0678a4d52d * Message Server stuff. 2008-01-07 19:30:10 +00:00
mingchen 1718c39e10 *Added ability to update only necessary data on insertRegion for the grid server. 2008-01-07 15:23:00 +00:00
Teravus Ovares bbac579849 * More message server methods 2008-01-07 07:48:35 +00:00
Teravus Ovares f43e75762a * Adding More to the MessageServer classes.
* Don't forget to prebuild
2008-01-07 01:39:26 +00:00
Teravus Ovares 04dbcee74c * A few more Message Server comms related updates 2008-01-06 20:10:29 +00:00
Brian McBee 9985d53681 Added code to gridserver to prevent new region from connecting at X,Y location already used by an existing region. 2008-01-06 19:59:58 +00:00
Teravus Ovares b8efd5f294 * Added some userserver glue for communications with the message server
* Added some code for the message server, fixed a few references and starting to flesh it out.
2008-01-06 18:18:19 +00:00
Jeff Ames 3d7e6fc6d8 Set svn:eol-style. 2008-01-06 11:17:57 +00:00
Tedd Hansen 966f639ad6 Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.
Some debug info for startup added to find bugs. ++
2008-01-05 15:48:02 +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
Teravus Ovares b86d119721 * Added shell Messaging Server. Don't run the MessagingServer yet or you might end up with problems later. 2008-01-05 02:41:30 +00:00
Tedd Hansen 8d15890554 And another log-instead-of-crash... when creating user fails. 2008-01-05 02:10:37 +00:00
Tedd Hansen 198dea28ad Full .dll-name in config option for ScriptEngine. Loading only scriptengine specified in config.
ScriptServer will still not start!
2008-01-02 15:58:33 +00:00
lbsa71 20653830fb * Refactored out function to load specified AssetSet Xml
This commit dedicated to 'Mohawk - Bad Girls (Need Love Too)'
2008-01-02 07:13:34 +00:00
lbsa71 7909d80821 * Added using as per mail to see if that does anything for Ursulas build issues. Thanks Ursula! 2008-01-02 06:51:29 +00:00
Teravus Ovares 3738bc8899 * Updates UserServer
* Updates OSG1UserServices
* Friends list is now persistent in grid mode.
* You can add, new friends and remove them
2008-01-02 00:54:50 +00:00
Justin Clarke Casey e0cf45fe21 Move unused inventory files into the attic 2007-12-31 20:09:47 +00:00
Jeff Ames 3c9505199a Set svn:eol-style and svn:ignore. 2007-12-31 12:00:40 +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
Tedd Hansen 5b8620d82f Comments + fix = in theory stand alone script server + "RemoteSevrver" ScriptEngine (as opposed to "DotNetEngine") should work for a single region. It will however not work because it doesn't have two-way communication. 2007-12-30 22:57:27 +00:00
Tedd Hansen 6055db2bc3 server->script event path almost ready for remote scriptengine (translation table between local script ID and remote script ID missing) 2007-12-30 22:37:07 +00:00
Justin Clarke Casey 592c39a7b0 Remove now dead code 2007-12-28 22:21:53 +00:00
Justin Clarke Casey 4ae10034bd Factor out common asset loading from AssetServerBase and Grid/AssetServer/Main 2007-12-28 22:13:43 +00:00
Justin Clarke Casey 7cf9a8d4f9 Move inventory contents configuration files to bin/inventory folder 2007-12-28 18:01:20 +00:00
lbsa71 efd90b56b7 * Optimized usings
* shortened references
* Removed redundant 'this'
* Normalized EOF
2007-12-27 21:41:48 +00:00
Charles Krinke c34b5e9071 Clean up the region initialization GridServer messages a bit. 2007-12-23 04:42:55 +00:00
Charles Krinke 1a679c8cd9 Simplify GridServer mainmap log messages. 2007-12-23 01:09:21 +00:00
Justin Clarke Casey 96dbe9fea0 Remove a now unnecessary bit of inventory log verbosity 2007-12-22 20:21:15 +00:00
Teravus Ovares 13f85c9d82 * Fixed UserServer crash when it's passed 00000000000000000000000000 as the UUID.
* It turns out that by proxy, this means that you won't have to look up people's UUID anymore in grid mode, If the UUID is LLUUID.Zero, it tries to look up avatar by name.
2007-12-21 19:00:07 +00:00
Charles Krinke 1eb46424c7 Comment out "METHOD BY UUID CALLED" WriteLine as it is
obscuring the UserServer console for now.
2007-12-20 22:38:22 +00:00
Teravus Ovares 8aae909412 * Added a configuration parameter on the Grid Server to disallow forceful banlists.
* Added a way for Grid based configuration parameters to (generally used in overriding functionality) to get to the regions on Registration.
2007-12-20 06:31:03 +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
Adam Frisby 7948033565 * Removed redundant code in RestService.cs
* Removed unchecked TryParse, replaced with Parse as we were not checking for success and could lead to weirdness if an exception is ignored.
* Removed unused variable m_newAvatar
* Removed several unused try{}catch(Exception e){}'s.
* Added null assignment in simpleapp to prevent warning.
2007-12-18 08:41:23 +00:00
Charles Krinke 030d735b7e More subtle message tuning of log messages. 2007-12-16 22:51:17 +00:00
Charles Krinke f426423f21 A bit more tuning of UserServer messages. 2007-12-16 22:15:36 +00:00
Charles Krinke b56c61ce0a Comment out an unneeded "Home Location" message. 2007-12-16 21:21:44 +00:00
Charles Krinke 0eec2ad030 Improve UserServer login messages for logging. 2007-12-16 20:33:04 +00:00
Justin Clarke Casey c63369017f * Make inventory operations sync rather than async. This is to alleviate race conditions such as that in mantis #190
* Make inventory messages more verbose.  Hopefully they aren't now too verbose
* This may resolve some grid instability but it's likely there's much more out there.
2007-12-15 19:42:23 +00:00
Brian McBee 8a8c89a0f3 Grid Inventory feature upgrade: renaming folders should now be correct, subfolders work, moving folders works.
Tested only in MYSQL, but may work in MSSQL and sqlite.
Probably not working in standalone mode.
2007-12-15 04:57:14 +00:00
MW 1173a14fbf Added some extra debug console output to Inventory Server and region OGS1 inventory requests. 2007-12-14 11:45:27 +00:00
Teravus Ovares 79935881aa * Patch from Justincc that swaps out LLUUIDs for Guid on the inventory REST calls 2007-12-14 07:55:33 +00:00
Jeff Ames bb408af14d Fix possible array indexing exception in inventory server 2007-12-11 18:45:07 +00:00
Jeff Ames 712efda9b9 added copyright notices 2007-12-11 01:26:06 +00:00
Jeff Ames af6eb67999 saved OpenSim source code from the giant rampaging unterminated copyright notice of doom 2007-12-10 05:25:16 +00:00
Sean Dague 0855066968 This patch fixes mantis 105. Basically, it stops the index exception when
no root folder is found and it makes the user server wait longer for the
inventory server to do its work.

From Justin Casey (IBM)
2007-12-08 14:27:12 +00:00
Sean Dague 7f4d033490 This small patch means that the inventoryserver for grid mode now
retrieves items in the agent's root inventory folder.

From Justin Casey (IBM)
2007-12-07 15:59:26 +00:00
Jeff Ames 73599c0f25 removed obsolete Verbose() function 2007-12-06 18:17:44 +00:00
Jeff Ames 4bde56457f removed some duplicate hard-coded port numbers. changed ports to uint. 2007-12-06 01:41:41 +00:00
MW d2736437d4 Some refactoring of the RestObjectPoster (and related classes). 2007-12-05 19:02:57 +00:00
Teravus Ovares a553e6f67c * Avatar picker works in grid mode now.
* To test, click the communicate button, then click the 'add' button and type a name.  You will get a list of closely matching avatar names.
* Before this'll work on your sim in grid mode, the UGA needs to be updated.  If it isn't updated, then you'll get a message on the sim console when searching like, 'got invalid queryid'.
2007-12-04 16:07:59 +00:00
Adam Frisby 91c1e8a734 * Fixed a whole bunch of console messages. 2007-12-04 10:13:13 +00:00
Adam Frisby be7ae3dd3e * Removed 12 compiler warnings. 2007-12-04 08:18:09 +00:00
MW 80609c2b15 Some refactoring , mainly on Inventory code. 2007-12-02 13:59:15 +00:00
MW b92df4aaaf New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly. 2007-12-02 10:21:17 +00:00