Justin Clarke Casey
313a635d1e
* Fix opensim region server shutdown.
2008-05-09 13:21:12 +00:00
Adam Frisby
ba8ff761c0
* Reduced sleep durations in a number of files.
2008-05-08 04:47:38 +00:00
Adam Frisby
80cbd468ea
* Some refactorings.
...
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Justin Clarke Casey
250fb6f5db
* Move shutdown processing to base OpenSimServer, overriding the method where appropriate
...
* This also means that the command quit (as well as shutdown) will now close down grid servers (instead of only being in place for the region server)
2008-05-07 16:24:15 +00:00
Justin Clarke Casey
9655cf2807
* Refactor: Break out permissions code into a separate region PermissionsModule
2008-05-05 20:14:53 +00:00
Justin Clarke Casey
27a7391d6b
* Add ability to defer item actions for AddItem() and DeleteItem(). This won't be useful until we let the client cache (again?)
2008-05-03 23:33:20 +00:00
Justin Clarke Casey
56827894e9
* Refactor RemoveItem()
2008-05-03 23:23:46 +00:00
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