aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-01Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto1-0/+22
assets being passed around via HG and archives. No guarantees that all the leaks have been found, but at least it detects and fixes these bad assets upon: (1) storing and getting assets over HG -- assuming the core HG asset service is being used (not the case with OSGrid!) (2) importing assets via OAR and IAR Instantiation of bad assets now should also work, instead of producing an exception, but the bad assets themselves aren't being fixed in the DB. That should be done with a cleaning tool -- see Perl script in Mantis #7657. Virus!
2015-08-01Mantis #7664: Added IHypergridLinker interface to establish a contract about ↵Diva Canto2-2/+8
what implementers need to provide publicly. This is used by 3rd-party addons such as Wifi.
2015-07-31Show last online status of group members from the PresenceService in group ↵Cinder1-5/+5
profiles Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-22Added locking to HypergridLinker, to prevent problems if multiple linking ↵Oren Hurvitz1-6/+14
requests for the same region are handled simultaneously
2015-07-22Added logging in places where regions are searched for by their locationOren Hurvitz2-9/+21
This commit also fixes the log message "Region already exists in coordinates <{0},{1}>": it was actually showing the *requested* coordinates, instead of the coordinates of the previously-existing link.
2015-07-13Prevent multiple instances of the FSAssets service causing problems. Protect ↵AliciaRaven1-33/+46
against secondary instances registering duplicate console commands Also prevents multiple instances each starting a writer thread which will cause major file access exceptions as they fight over the contents of the spool directory. Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-12Bringing FSAssets more inline with current OpenSim standards. * If no ↵AliciaRaven1-29/+51
connection string found in assets config, fallback to using default database config * Create database storage interface to allow other db connectors to be written at some point * Add MySQL migrations file to create the initial db table * Added new config option named DaysBetweenAccessTimeUpdates to reduce db load by only updating access times when fetching assets if the last access time was over the threshold. This idea was taken from XAssets service. * Change log message headers to indicate FS assets is the source not just assets Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-11More cleanup, add missing refs to prebuild, remove refs to stuff notMelanie Thielker1-3/+0
used. Will NOT compile.
2015-07-11Some cleanup, add prebuild project, correct pathMelanie Thielker1-0/+0
2015-07-11Rename for uniformity, add data moduleMelanie Thielker1-1/+1
2015-07-11Add main FSAssetsServiceMelanie Thielker1-0/+664
2015-06-25Fixed bad-ish code in login patchDiva Canto1-5/+6
2015-06-25Changes to Welcome Message sent to clients.Quill Littlefeather1-11/+21
.gitignore | 1 + OpenSim/Services/LLLoginService/LLLoginService.cs | 32 +++++++++++++++-------- 1 files changed, 22 insertions(+), 11 deletions(-) Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-13A few bug fixes for Agent Preferences to actually work. Also added missing ↵Diva Canto2-2/+4
config for standalone.
2015-06-13Refactor AgentPreferences so that database operations happen centrally. the ↵Cinder4-0/+498
opensim way. Signed-off-by: Diva Canto <diva@metaverseink.com>
2015-06-09Avoid registering console commands in every single instance of ↵Diva Canto1-16/+22
GridUserService running on the same process. Only one registers them now.
2015-06-05Upgraded the Simian inventory connector with an item cache, too, so that it ↵Diva Canto1-1/+17
doesn't get awfully out of sync with the improvements I'm making to the robust service connectors, which are being fully leveraged by the simulator. This Simian connector needs more love...
2015-06-05More on mantis #7567. Two things:Diva Canto1-2/+4
- Increase the inventory cache timeout to 20 secs, so that the items will still be there when they are needed by the sim for rezzing - Before rezzing attachs, make a call to GetMultipleItems so to fetch them all at the same time
2015-06-04Mantis #7600. The warning message was not a symptom of a problem, it was ↵Diva Canto1-9/+11
just that the HG client was trying to fetch folders that aren't in the Suitcase, so that fails. This should make the warning message go away in that situation. (fetching those folders will still fail, because they aren't available over HG)
2015-06-04Making the inventory cache static, so that there's less timers.Diva Canto1-1/+1
2015-06-04Mantis #7567. Once again, avoiding prefetching linked items within linked ↵Diva Canto1-1/+9
folders. Also fixing the inventory connector GetMultipleItems, so that if everything is in the cache, it returns successfully rather than unsuccessfully.
2015-06-03Mantis #7567: added an 8-sec expiring item cache to the inventory network ↵Diva Canto1-6/+31
connector. This fixed the problem on my local test grid and generally made things faster. This cache has been needed for a while... there are many parts in the code where the sim gets an item multiple times in a short amount of time (rezzing attachs and objects, for example). Other minor changes: - added the scene as a parameter to the constructor od FetchInvDescHandler, so that I could see in which scene the handler was being called - brought linked items in linked folders back to being prefetched
2015-05-11Added tests for UserAccountService in Robust. In the process fixed a couple ↵Diva Canto1-2/+33
of bugs in the network connectors. For some reason the robust-bound code had a CreateUser method, while the client-bound code had no such method. I assume someone is extending the client-side code with their own connectors. I added the missing method, but didn't add it to the service interface.
2015-05-11Added inventory tests to Robust.Tests.Diva Canto2-7/+11
2015-05-10Knocked off a few compiler warnings regarding unused variables.Diva Canto1-1/+1
2015-05-10Added simple test for IM in Robust too.Diva Canto1-1/+8
Changed Inventory data to use the mock one in Common Tests. (but still not inventory tests)
2015-05-08Another major overhaul of inventory downloading, this time pertaining to ↵Diva Canto4-1/+75
inventory links. Added yet another function to IInventoryService to get multiple items at once, so that fetching collections of linked items is done once per folder instead of once per item.
2015-05-08I shouldn't write code this early in the morning... Fixing a 'duh' on ↵Diva Canto1-1/+1
previous commit.
2015-05-08Additional debug message to help diagnose a warning message and exception ↵Diva Canto1-0/+1
related to previous commit. See http://opensimulator.org/mantis/view.php?id=7054#c28282
2015-05-07Major change in the way inventory is downloaded: added a method throughout ↵Diva Canto5-5/+130
IIventoryService that fetches sets of folders at once. Also added folder id in the InventoryCollection data structure, so that we don't need to go to inventory server again just for that. This reduces the chatter between sims and inventory server by... a lot. On my tests, this reduces initial inventory download down to 30% of what it currently is.
2015-05-05Refactored some code that is used in two different dlls related to SOP ↵Diva Canto1-1/+1
rewriting. Also added some unit tests that relate to mantis #7514
2015-05-02Corrected typo in namespaceDiva Canto1-1/+1
2015-04-29Updated all occurrences of AssemblyVersion("0.8.1.*") to ↵Diva Canto16-16/+16
AssemblyVersion("0.8.2.*")
2015-03-05solving HG IM, HGFriends issues based on falsified GridUser dataFreaky Tech1-0/+1
it does not consider GridUser as a viable source for residents' data. it does not consider Friends, Inventory Creators to be trusted at all. There are lots of broken entries in existence. There are lots of broken creator data fields in assets. The following issues arise from the broken data in the old User Management Module: failing HG IM failing HGFriends Requests Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-03-03corrected handling when XML parsing in Presence Connector failsFreaky Tech1-0/+1
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
2015-02-28minor: Remove mono compiler warnings from EstateDataConnectorJustin Clark-Casey (justincc)1-2/+0
2015-01-22On the GridService, the central simulator features: ensure that the map tile ↵Diva Canto1-1/+7
url ends with '/' because the viewer is dumb and just appends to it.
2015-01-21Don't allow a failure in create a request in HeloService.Connector.Helo() to ↵Justin Clark-Casey (justincc)1-5/+5
propogate up the stack. Relates to http://opensimulator.org/mantis/view.php?id=7421
2015-01-21Fix OfflineIMEmail value overwriting every time its called. The request was ↵AliciaRaven1-3/+3
receiving a blank user prefs object to populate but then was checking for an email address. When this failed the email address was pulled from the User Account service and the empty prefs now including the email was saved before being loaded again to be returned. This was overwriting all other settings in the prefs. This fix returns the existing prefs first before checking the email address is set, and only updates email if missing.
2015-01-14Stop simulators attempting to contact registered but offline regions ↵Justin Clark-Casey (justincc)1-98/+118
(RegionFlags.Persistent but not RegioNFlags.RegionOnline) on startup and when an avatar completes a teleport. This eliminates spurious network calls and failure reporting. This is done by adding RegionFlags to the GridRegion returned data in a backward compatible way as an alternative to multiple IGridService.GetRegionFlags() calls Using a simulator or a grid service older than this commit will just see previous behaviour.
2015-01-10SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added ↵Diva Canto1-0/+13
that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
2015-01-09Added GetDisplayNames capability. For now, we don't actually use display ↵Diva Canto1-0/+96
names, and this cap returns the regular name. But this moves the server side into the newer, preferred, protocol used by the viewer for fetching the names of agents in the scene given their UUIDs. (the old protocol is via UDP). This works fine in my limited tests, but could use further testing by others.
2015-01-06Donation of robust network connectors for estate service, as promised. This ↵Diva Canto3-6/+342
allows to have one central database for estates without having to open the MySql port. This is off by default, so not to disturb everyone's existing installations. To use it, see GridCommon.ini.example [EstateDataStore] section and Robust*.ini.example's new additions. Note that I also made things consistent by removing both the EstateDataService and the SimulationService into their own dlls, just like all other services. They really didn't belong in Services.Connectors, since everything in that component is about network connectors to robust backends. We may have too many dlls, and at some point it might not be a bad idea to merge all services into one single dll, since they all have more or less the same dependencies.
2015-01-02Bug fix in LoadPLugin so that it can take paths to dlls that look like this ↵Diva Canto1-3/+10
"C:\foo\MyDll.dll:MyType" -- the split on : was messing things up.
2014-12-30Renamed VERSION_NUMBER to VersionNumberDiva Canto1-2/+2
2014-12-30This cleans up versioning. Specifically:Diva Canto1-2/+2
- It establishes 4 digits for opensim versions - It uses the same number between opensim releases and mono addins versions It also eliminates the last addin.xml files that were still there, for consistency.
2014-12-30WARNING: BREAKING CHANGES FOR REGION MODULE DEVELOPMENT.Diva Canto1-1/+1
This cleans up Opensim's use of mono addins. In particular, the extension points /OpenSim/RegionModules and /OpenSim/WindModule moved from OpenSim.exe to OpenSim.Region.Framework.dll. From here on, developers of region modules should declare their dlls to be dependent on OpenSim.Region.Framework, starting with version 0.8.1 Additional changes: - Addins version uniformly updated to 0.8.1. These numbers should be compatible with the release numbers or else it becomes very confusing. - Mono addins directives moved from files addins.xml to embedded directives in the class and assembly declarations, to make it all consistent
2014-12-29Updated OpenSim-as-addin version from 0.5 to 0.8.1. The addin version number ↵Diva Canto1-1/+1
doesn't need to match the release version number, but I think it's a very good idea that they do.
2014-12-16Adding command to reset user's email addressBlueWall1-1/+43
2014-12-03minor: Just have one message that displays successful registration of a ↵Justin Clark-Casey (justincc)1-2/+4
region with its parameters rather than 2