aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/InventoryService (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Send the config section name up to the service classes themselves ↵Diva Canto2012-03-271-2/+10
| | | | (XInventory and Assets).
* Fix avatar parameter updating for viewer 3 and maybe 2.Justin Clark-Casey (justincc)2011-09-231-5/+9
| | | | | | | | | When a slider parameter is changed, the viewer uploads a new shape (or other asset) and the item is updated to point to it. Viewer 1 uploaded the data in the initial request itself, so the asset references was almost always correctly updated. However, viewer 3/2 always uploads data in a subsequent xfer, which exposed a race condition where the viewer would make the item update before the asset had uploaded. This commit shuffles the order of operations to avoid this race, the item is updated with the new asset id instead of the old one while the upload was still taking place. A second race had to be fixed where avatar appearance would also be updated with the old asset id rather than the new one. This was fixed by updating the avatar appearance ids when the appearance was actually saved, rather than when the wearables update was made.
* For default everyone permissions on library items, make notecards and ↵Justin Clark-Casey (justincc)2011-07-231-1/+2
| | | | | | | | | | scripts non-modifiable (but still copyable, etc). Users should not be given the impression that they can modify these items. This still does not solve the issue where library items cannot be dragged into prims or user inventory any time after they are initially seen. Curiously, manually copying and pasting still appears to work. On the surface, this seems to have something to do with library item caching on the client, since deleting the cache allows drag to work again once Not sure what the exact problem is.
* Remove manually permissions settings on all current library items so that ↵Justin Clark-Casey (justincc)2011-07-231-4/+4
| | | | | | | they use the defaults instead. Some items had completely wrong permissions - this is easier than correcting them all. The ability to set permissions in xml is retained since there are use cases for this (e.g. to create no-mod library scripts)
* Revert "Don't load current/next/everyone/base permissions from the library ↵Justin Clark-Casey (justincc)2011-07-231-11/+26
| | | | | | | | item xml files - always use PermissionMask.All instead (which was the existing default)." There actually are uses for this. I will correct the perms instead since some entries appear to be wrong. This reverts commit 667b54f5a2a04fa5a2859397868d270eab3913f1.
* Don't load current/next/everyone/base permissions from the library item xml ↵Justin Clark-Casey (justincc)2011-07-231-26/+11
| | | | | | files - always use PermissionMask.All instead (which was the existing default). Library items always need the same permissions, so it doesn't make sense to load them from the xml files. This just opens the door to permissions mistakes.
* Fix give inventory tests to use different users rather than (accidentally) ↵Justin Clark-Casey (justincc)2011-06-041-2/+6
| | | | the same user. Extend TestGiveInventoryItem() to test giving back the same item.
* HG inventory transfers over the profile working.Diva Canto2011-05-271-5/+5
|
* fix bug where outfit folder links could not be deletedJustin Clark-Casey (justincc)2011-05-261-4/+4
|
* Allow item links to be deleted even when other deletes and purges are disabled.Justin Clark-Casey (justincc)2011-05-191-6/+28
| | | | | | | If these links are not deleted, then they will build up in the player's inventory until they can no longer log in. Accidental deletion of links due to bugs or other causes is potentially inconvenient but on a par with items being accidentally moved. When a link is deleted, the target of the link is never touched. This is a general solution that accounts for the use of links anywhere in the user's inventory.
* Accidentally committed too earlyJustin Clark-Casey (justincc)2011-05-181-24/+6
| | | | | | Revert "Allow item links to be deleted even when other deletes and purges are disabled." This reverts commit 491279f99afc65860d44765ee7829c7dd5e4e38e.
* Allow item links to be deleted even when other deletes and purges are disabled.Justin Clark-Casey (justincc)2011-05-171-6/+24
| | | | | | | If these links are not deleted, then they will build up in the player's inventory until they can no longer log in. Accidental deletion of links due to bugs or other causes is potentially inconvenient but on a par with items being accidentally moved. When a link is deleted, the target of the link is never touched. This is a general solution that accounts for the use of links anywhere in the user's inventory.
* Commented verbose debug message.Diva Canto2011-04-241-1/+1
|
* WARNING: LOTS OF CONFIGURATION CHANGES AFFECTING PRIMARILY HG CONFIGS. Added ↵Diva Canto2010-11-251-302/+0
| | | | 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.
* Added creator info across the board -- TaskInventoryItems and InventoryItems ↵Diva Canto2010-11-211-2/+2
| | | | | | themselves. Tested. Seems to be working, main tests pass. Nothing done for IARs or HG transfers yet -- this only works for OARs for the time being. New migration in inventory table in order to make CreatorID varchar(255).
* Formatting cleanup.Jeff Ames2010-09-121-2/+2
|
* minor: remove mono compiler warningJustin Clark-Casey (justincc)2010-09-031-1/+1
|
* Fix cast issueMelanie2010-09-021-1/+1
|
* Allow increasing the version in system foldersMelanie2010-09-021-1/+7
|
* Update: Allow the version to increase onlyMelanie2010-09-021-1/+2
|
* Disallow modification of system folders. Prevent changing the type of foldersMelanie2010-09-021-1/+16
| | | | and prevent resetting the version number
* Add automated test at the opensim 'api' level to check that a given item ↵Justin Clark-Casey (justincc)2010-08-241-1/+8
| | | | | | goes to the correct directory Also removes some mono compiler warnings
* Fix bug in llGiveInventory() where items were disappearing on relogJustin Clark-Casey (justincc)2010-08-231-1/+13
| | | | | This was a regression - the code to look up the correct type folder was no longer being called if items were added without a parent folder set This may have been broken since commit bd49985a on 2010-05-02
* Remove various warnings and improve logging messages. No functional changes.Justin Clark-Casey (justincc)2010-08-231-1/+6
|
* Allow the trash folder itself to be passed to PurgeFolderMelanie Thielker2010-08-061-0/+3
|
* Add some optionsMelanie2010-07-241-0/+11
|
* Fix some inventory issuesMelanie2010-07-241-0/+29
|
* Fix obvious bug in XInventoryService.GetFolderItems() which was preventing ↵Justin Clark-Casey (justincc)2010-07-141-2/+4
| | | | the iar module from being able to save single item iars
* Buglet fix in HG inventory. Make sure that GetRootFolder for non-HG ↵Diva Canto2010-06-292-3/+10
| | | | xinventory is the folder "My Inventory". Also changed the Suitcase folder name to "My Suitcase".
* Changed XInventoryData's CreatorID to a string.Diva Canto2010-06-081-2/+2
|
* Fixes mantis #4691Diva Canto2010-05-161-1/+1
|
* Started redoing HGInventoryBroker for XInventory and with multi-protocol in ↵Diva Canto2010-04-291-3/+3
| | | | mind. Unfinished.
* Merge branch 'minor-stuff'Melanie2010-04-281-1/+1
|\
| * Removed unused var from InventoryService.cs (-1 warning)AlexRa2010-04-281-1/+1
| |
* | XInventory connector/handler showing signs of life. Tested, but needs more ↵Diva Canto2010-04-271-4/+4
|/ | | | testing.
* Added UserAccount, Avatar and Authentication to Data.Null, so that OpenSim ↵Diva Canto2010-02-141-0/+1
| | | | can run out-of-the-box. #WaitingForSQLite
* Create root inventory folder with proper type (9) instead of -1Melanie2010-02-081-1/+1
|
* * Simplified the configuration by having [DatabaseService] in itDiva Canto2010-01-311-1/+1
| | | | | * Fixed configuration issue for HGInventoryServerInConnector * Corrected typos in debug messages
* * Bug fix in XInventoryData -- groupOwned is an int in the DBDiva Canto2010-01-311-2/+8
| | | | * Bug fix in InventoryServerInConnector -- m_config
* * Added a few files that were missing in the repo.Diva Canto2010-01-312-25/+327
| | | | * New HGInventoryService which allows restricted access to inventory while outside
* Fixed more appearance woes that showed up using remote connectors. ↵Diva Canto2010-01-121-0/+1
| | | | Appearance is now being passed with AgentCircuitData, as it should be.
* Merge branch 'master' into presence-refactorMelanie2010-01-042-1/+520
|\
| * Finish conversion if XInventoryServiceMelanie2010-01-041-12/+46
| |
| * First stage port of the XInventoryServiceMelanie2010-01-041-0/+474
| |
| * Prevent the creation of duplicate inventory folders in the case of a loginMelanie2010-01-011-1/+12
| | | | | | | | database issue. Now the login will instaead fail later.
* | The Library Service is now working. UserProfileCacheService.LibraryRoot is ↵Diva Canto2010-01-011-0/+283
|/ | | | obsolete. Didn't delete it yet to avoid merge conflicts later -- want to stay out of core as much as possible.
* * Request from Adam to add InfoFormat logging to the InventoryService for ↵Teravus Ovares (Dan Olivares)2009-11-221-0/+1
| | | | when deleting folders by folderID occurs
* Formatting cleanup.Jeff Ames2009-10-011-1/+1
|
* Fixes seven leaky .BeginInvoke() callsJohn Hurliman2009-09-031-1/+1
|
* Pull out distinct cache system folders and drop cache methods in InventoryCacheJustin Clark-Casey (justincc)2009-08-281-0/+2
|