Jeff Ames
80d8e2889e
Update svn properties. Formatting cleanup. Remove a compiler warning.
2008-07-23 13:24:25 +00:00
Johan Berntsson
ce4bcb5065
The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode.
2008-07-23 09:46:04 +00:00
Johan Berntsson
344c9caeb6
thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service )
2008-07-23 06:59:02 +00:00
Melanie Thielker
4ff529bdaf
Patch #9146 (No Mantis)
...
Prevent an exception caused by inventory server fetch requests
2008-07-12 18:26:25 +00:00
Melanie Thielker
f629fdb88d
Patches #9143 and #9144 (Mantis #1723 )
...
Changes the permissions module to make scripts permissive only when intended
Adds security checks to asset transfers to prevent hacked clients fron
requesting script sources.
Adds security checks to llClientView to verify all aspects of ownership
and permissions for inventory based script retrieval.
2008-07-12 06:24:43 +00:00
Justin Clarke Casey
7fa00f9ecd
* remove redundant sync locking in AssetServerBase since this is already being done by the lower database layers
2008-07-07 19:32:21 +00:00
Justin Clarke Casey
1813946937
* remove unused CommitAssets() hook for now
2008-07-07 19:18:44 +00:00
Justin Clarke Casey
0b2fcbfec4
* Start scripts loaded from an archive
2008-07-07 18:54:11 +00:00
Justin Clarke Casey
9052c43319
* Drop InvType from the assets table since it is no longer used
...
* Migration should be automatic on sqlite and mysql
* Migration is not automatic on mssql, you will need to drop the invType column manually
* Migration should be fine, but as for any db change, I would recommend making sure you have backups before moving past this revision
2008-07-02 16:20:54 +00:00
Sean Dague
721988adcd
add the ability to cherry pick expire something from the asset
...
cache. Bandaid until we rethink the caches a bit more.
2008-06-30 15:05:30 +00:00
MW
b0330a0bb5
disabled the multiple inventory server support in login service again.
...
And reverted CachedUserInfo back to revision 5262.
I don't think most of the inventory problems that people are reporting are due to these, but its easier to deal with one set of potential problems at a time, and I'm not going to get any time in the week to work on this anyway.
2008-06-29 20:39:34 +00:00
MW
031b3d5314
small change to see if that helps with the inventory problems.
2008-06-28 23:05:08 +00:00
MW
86defd0a69
plumbing for multiple inventory servers. Mostly done on the region server side.
...
TODO next is to make the login server read/write a users inventory from the correct server (the inventory url set in a userprofile)
On the region side, although not tested with multiple servers it should work if that inventory url was set, and the inventory servers urls have been added to the CommunicationsManager, using CommunicationsManager.AddInventoryService(string hostUrl)
2008-06-28 15:13:17 +00:00
Charles Krinke
1cd6b71b60
Mantis#1594. Thank you, Melanie for a patch that:
...
Fixes:
- Wearable icon and name sreset to default on copy/paste
- Cache is not updated when renaming/moving folders
- Partial refactor to make inventory less dependen on AssetBase having a "Name" field
- Add llGiveInventoryList() function
2008-06-26 02:46:29 +00:00
Teravus Ovares
cb29926e3c
* Refactors call to OutPacket out of AssetCache and into LLClientView
2008-06-18 23:04:15 +00:00
Justin Clarke Casey
4c2171ec82
* Allow archiver to save and load objects within other objects to arbitrary levels
...
* This currently has various bugs which are more to do with the way its been hacked together than the feature itself (e.g. on save-oar, ghost prims will appear of the saved
contained items). These will be found and eliminated in subsequent patches.
* Not yet ready for use
2008-06-16 21:59:39 +00:00
Justin Clarke Casey
4af6286512
* Start recording asset request failures
...
* This includes problems such as connection failures and timeouts. It does not include 'asset not found' replies from the asset service.
2008-06-14 17:47:25 +00:00
Justin Clarke Casey
d6519924ba
* refactor: catch asset service request exceptions at the AssetServerBase level rather than in the GridAssetClient
...
* this is to enable logging of asset request exceptions soon
2008-06-13 18:04:01 +00:00
Charles Krinke
7821cca2f5
Mantis#1514. Thank you kindly, Boscata for an InventoryServer patch
...
to allow the InventoryServer to work with MSSQL..
2008-06-11 14:02:16 +00:00
Justin Clarke Casey
3794f25ebd
* minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
...
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-06-10 23:35:04 +00:00
Sean Dague
5f6b26d9ba
provide slightly more sane defaults in the file based asset loader
2008-06-02 20:28:26 +00:00
Jeff Ames
5752c1f5c2
Formatting cleanup.
2008-05-28 03:44:49 +00:00
Charles Krinke
2cea74181a
Thank you very much, Xantor for a patch that:
...
If a request is made for an asset which is not in the cache yet,
but has already been requested by something else, queue up the
callbacks on that requester instead of swamping the asset server
with multiple requests for the same asset.
2008-05-27 13:40:00 +00:00
Justin Clarke Casey
61bba6375c
* Fix mantis 1325. This is a minor issue where 'show assets' would not work fully in the region console
2008-05-22 00:49:17 +00:00
Justin Clarke Casey
1f57fd4bec
* Minor: Tidy ups and logging tweaks.
2008-05-22 00:41:03 +00:00
Charles Krinke
01b5425a2d
Thank you kindly, Melanie for a patch that avoids a null
...
ref in inventory give and also now causes items to appear
in the correct folders now, no longer in the root folder.
2008-05-19 20:05:10 +00:00
Justin Clarke Casey
f6add412d6
* Refactor: Eliminate empty if clause from AssetCache.GetAsset()
2008-05-18 19:56:25 +00:00
Justin Clarke Casey
63ddbfb979
* Eliminate occurences of "Got a texture uuid ... with no sender object to handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
2008-05-16 18:10:04 +00:00
Justin Clarke Casey
c2581c9577
* Cache knowledge in the region server that the asset service has reported an asset to be missing
...
* This prevents repeated requests for the same missing asset to the asset server, hopefully reducing the load a little
2008-05-16 17:47:34 +00:00
Justin Clarke Casey
772f88d2e5
* Removing unnecessary LLUUID.Zero check from AssetCache
...
* This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
2008-05-16 16:37:31 +00:00
Jeff Ames
65c5efe43b
Formatting cleanup.
2008-05-16 01:22:11 +00:00
Teravus Ovares
e8478dadc8
* Experiment in Zerocoding.
2008-05-10 10:28:49 +00:00
Justin Clarke Casey
3f345bf685
* Removing polling delay for non-CAPS inventory fetch if the client has not yet received data from the inventory service
...
* Replaced instead with the system now used by other requests where the fetch request is placed on a queue and service when the data comes in
2008-05-09 21:33:19 +00:00
Justin Clarke Casey
6e2c7da018
* Minor: Insert utility function to format raw xml strings into indented xml for debugging purposes
2008-05-09 15:51:02 +00:00
Justin Clarke Casey
fe8f9a4b25
* Restoring some initial inventory lookup polling delays in order to deal with situations seen on osgrid
2008-05-09 13:36:08 +00:00
Adam Frisby
4fa0cbdfbb
* You can haz more spring cleaning.
...
* Eventually this codebase will be clean. >_>
2008-05-08 05:35:01 +00:00
Adam Frisby
ba8ff761c0
* Reduced sleep durations in a number of files.
2008-05-08 04:47:38 +00:00
Justin Clarke Casey
e35e83312d
* Increase number of poll attempts an inventory items request will make under CAPS
2008-05-07 15:53:27 +00:00
Justin Clarke Casey
5ab392d0ee
* Refactor: A final root folder special case removal, this time in HandleFetchInventoryDescendents[CAPS]
2008-05-04 01:14:21 +00:00
Justin Clarke Casey
6c62985fd5
* Refactor: Do the root case removal thing again, this time in ItemReceive()
2008-05-04 01:04:49 +00:00
Justin Clarke Casey
9646258fdf
* Refactor: Simplify CachedUserInfo.FolderReceive() by removing root folder special case
2008-05-04 00:53:01 +00:00
Justin Clarke Casey
0f716e3ac4
* Simplify CreateFolder() by folding previous special root case into FindFolder()
2008-05-04 00:06:34 +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
688940e810
* Refactor: Renaming item and folder tree search methods to have Find*() prefixes
2008-05-03 22:39:33 +00:00
Justin Clarke Casey
068163b14b
* Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which arguably should be split)
2008-05-03 19:50:49 +00:00
Justin Clarke Casey
45430a5403
* Refactor: move UpdateFolder into CachedUserInfo
2008-05-03 19:27:34 +00:00
Justin Clarke Casey
45a71bb045
* Make user profile cache service complain if the caller assumes a profile exists when in fact it does not
2008-05-03 19:12:17 +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
Justin Clarke Casey
a5dfca8958
* Refactor: remove redundant userId parameter from UpdateItem() and DeleteItem()
...
* Put warning in remove folder method about non implementation (not that this is used anyway - may be legacy)
2008-05-03 18:13:32 +00:00