aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/AssetService (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-07-08When loading library asset set, only store an asset if it's different from ↵Justin Clark-Casey (justincc)1-3/+12
an existing one with the same id. We compare existing and loaded asset by doing an SHA1 on both, so that a changed library asset will still update the store. This cuts asset library load time from 10 seconds to <1 sec. Note, a fix on the previous commit revealed a bug where a library script cannot be copied except on the first login after a cache clear. This is unrelated to this commit and needs to be fixed at some subsequent time.
2011-05-06minor: slightly shorten "show digest" printing codeJustin Clark-Casey (justincc)1-5/+5
2011-05-06on asset "show digest" command, print out the asset type name (e.g. texture) ↵Justin Clark-Casey (justincc)1-1/+1
as well as its number
2011-05-06Say which filename an asset has been dumped to on a successful dumpJustin Clark-Casey (justincc)1-2/+6
2011-05-06remove the NDesk.Options using since didn't end up needing itJustin Clark-Casey (justincc)1-1/+0
2011-05-06Add "dump asset" command to the asset service for debugging purposes.Justin Clark-Casey (justincc)1-0/+43
This command dumps the asset with the given id to a file with the same name.
2011-04-15Make all the objects in a coalescence reappears after being loaded from an ↵Justin Clark-Casey (justincc)1-1/+9
IAR. This still doesn't work proprerly since some required textures/contained item assets might be missing. From pure code inspection, it looks like the uuid gatherer may get most asset uuids because the scene object serializer naively pulls non-root parts from all contained scene objects into one mega-object. However, root part uuids may well still be missing, and there may be other odd artifacts from this bug. It appears that storing the size of the coalescence and the offsets is redundant, since one can work out this information from the position data already in the scene object groups.
2011-02-12TypoDiva Canto1-1/+1
2010-11-25WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto1-33/+40
capability to preserve creator information on HG asset transfers. Added a new HGAssetService that is intended to be the one outside the firewall. It processes and filters the assets that go out of the grid. Also fixed the normal AssetService to do special things for the main instance (console commands, etc). Moved HGInventoryService to OpenSim.Services.HypergridService. Changed the way the login service gets the ServiceURL configs.
2010-05-09* Fixed spamming the assets table with map tiles. The tile image ID is now ↵Diva Canto1-0/+5
stored in regionsettings. Upon generation of a new tile image, the old one is deleted. Tested for SQLite and MySql standalone. * Fixed small bug with map search where the local sim regions weren't found.
2010-05-09Implement the "delete" path for assets. Adds a new option to allow remote ↵Melanie1-0/+11
asset deletion in robust handler.
2010-05-09Add a field asset_flags and a corresponding enum to the asset database. ThisMelanie1-0/+1
CHANGES THE ASSET SERVER PROTOCOL and means you CAN NOT MIX PRIOR VERSIONS WITH LATER ONES. It may also eat your babies, yada, yada, yada. The usual cautions for migrations to the assets table apply. Coding: Can not guarantee nut free.
2010-04-27* Thanks cmickeyb, for a patch that sanity checks if the response from ↵John Hurliman1-1/+4
m_Database.GetAsset(assetID) is null in AssetService.cs
2010-04-08* Adds IAssetService.GetCached() to allow asset fetching from the local ↵John Hurliman1-0/+5
cache only * Adds GetTextureModule that implements the "GetTexture" capability, aka HTTP texture fetching. This is a significantly optimized path that does not require any server-side JPEG2000 decoding, texture priority queue, or UDP file transfer * Sanity check for null reference in LLClientView.RefreshGroupMembership()
2010-02-15Formatting cleanup.Jeff Ames1-2/+2
2010-02-12Fix http://opensimulator.org/mantis/view.php?id=4224Justin Clark-Casey (justincc)1-3/+5
This resolves the problem where eyes and hair would turn white on standalone configurations When a client receives body part information, for some insane reason or other it always ends up uploading this back to the server and then immediately re-requesting it. This should have been okay since we stored that asset in cache. However, the standalone asset service connector was not checking this cache properly, so every time the client made the request for the asset it has just loaded it would get a big fat null back in the face, causing it to make clothes and hair white. This bug did not affect grids since they use a different service connector.
2009-10-14* Minimized the number of times textures are pulled off the priority queueJohn Hurliman1-6/+11
* OnQueueEmpty is still called async, but will not be called for a given category if the previous callback for that category is still running. This is the most balanced behavior I could find, and seems to work well * Added support for the old [ClientStack.LindenUDP] settings (including setting the receive buffer size) and added the new token bucket and global throttle settings * Added the AssetLoaderEnabled config variable to optionally disable loading assets from XML every startup. This gives a dramatic improvement in startup times for those who don't need the functionality every startup
2009-10-01Formatting cleanup.Jeff Ames1-2/+2
2009-08-19* Switching IAssetData to follow the new naming schema, removing the ↵Kunnis1-5/+5
separate insert and update methods.
2009-08-09Add "show digest <id>" console commdn to the ROBUST asset handlerMelanie1-0/+75
R.O.B.U.S.T.# show digest b8d3965a-ad78-bf43-699b-bff8eca6c975 Name: Terrain Dirt Description: Type: 0 Content-type: image/jp2 0000: FF-4F-FF-51-00-2F-00-00-00-00-00-80-00-00-00-80
2009-06-23Fix the AssetServiceBase bug I introduced by reordering configuration loadMelanie Thielker1-2/+2
order. Thanks, Grumly57, for pointing it out. The point of the original change was to let the more specific setting override the less specific one, actually, I disabled the use of the less specific one.
2009-06-22Committing the meat of the user server interface and the bones of the ↵Melanie Thielker1-10/+12
service implementation
2009-06-15Moving these nice HG connectors to their homes.diva1-179/+0
2009-06-10Heart surgery no.2: the inventory service hooks. diva1-9/+25
Several improvements in the connectors themselves. Several improvements in configurations. Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames3-3/+3
LICENSE.txt.
2009-05-23This should make HG asset transfers work much better. It now uses ↵diva1-2/+3
HGUuidGatherer, which is a subclass of UuidGatherer. Hence, on-line HG asset transfers use exactly the same UUID collection code as save oar/xml. If it doesn't work, it's Justin's fault :D
2009-05-22Bug fix in HGAssetService. POSTs back home (standalone) should now work.diva1-1/+1
2009-05-22cleaning out warnings.Dr Scofield1-1/+1
NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
2009-05-18Finished HG Service Store. Not fully functional because of problems with ↵diva1-1/+12
asset.ID insisting on being a UUID string.
2009-05-18Move the connectors under services for reasons of application logic. RemoveMelanie Thielker1-1/+1
the user server skeleton in preparation for introducing a generic server
2009-05-17Renaming [ServiceConnectors] back to [Modules].diva1-4/+11
2009-05-17HG asset transfers starting to work -- GETs only for now. diva2-13/+68
2009-05-15* Resolve bug where save oar would never complete if any assets were missingJustin Clarke Casey1-0/+4
2009-05-15Heart surgery on asset service code bits. Affects OpenSim.ini configuration ↵diva1-1/+1
-- please see the example. Affects region servers only. This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing. Known problems: * HG asset transfers are borked for now * missing texture is missing * 3 unit tests commented out for now
2009-05-11Plumb the HG asset broker. More naming changes to clarify things. Lots moreMelanie Thielker2-0/+109
config options.
2009-05-10Connect up the new asset cache and introduce an asynchronous call pathMelanie Thielker1-0/+14
for asset retrieval (full asset only) to ease migration to the new system
2009-05-09FInish basic asset server functionality on the new asset serverMelanie Thielker1-3/+17
2009-05-08The new asset server now actually serves existing assetsMelanie Thielker1-1/+7
2009-05-08More additions to the nextgen reference UGAIMMelanie Thielker2-0/+170