Justin Clark-Casey (justincc)
3d0ded051c
Add debug ability to ignore reliably sent packets that are not acknowledged.
...
This is controlled via the console command "debug lludp client set process-unacked-sends true [<avatar-first-name> <avatar-last-name>]"
For debug purposes to see if this process for very bad connections is causing general outbound udp processing delays.
Relates to http://opensimulator.org/mantis/view.php?id=7393
2015-01-29 19:09:38 +00:00
AliciaRaven
f0bccb3d77
Fix OfflineIMEmail value overwriting every time its called. The request was 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-29 19:09:35 +00:00
Justin Clark-Casey (justincc)
f07828784b
Replace the tabs that have crept into isolated places in config and config example files with spaces
2015-01-29 19:09:30 +00:00
Justin Clark-Casey (justincc)
b7d2d497fe
minor: Comment out log line for the SimulatorFeatures cap request for now to reduce log verbiage. Please revert if still required.
2015-01-29 19:09:26 +00:00
Justin Clark-Casey (justincc)
9907b429d6
minor: Fix some CR line endings in Scene.Inventory.cs
2015-01-29 19:09:21 +00:00
Justin Clark-Casey (justincc)
1797601fec
minor: correct SceneCommunicationService.LogHeader spelling
...
Relates to http://opensimulator.org/mantis/view.php?id=7337
2015-01-29 19:09:11 +00:00
Justin Clark-Casey (justincc)
c3dd46ca87
minor: comment out unusued logging objects in some pCampbot behaviour classes
2015-01-29 19:09:05 +00:00
Justin Clark-Casey (justincc)
f1204c4752
Make failures in PollServiceHttpRequest.DoHTTPGruntWork() actually log the exception on error
2015-01-29 19:09:02 +00:00
Justin Clark-Casey (justincc)
202533c8ed
minor: In AttachmentsModule.UpdateKnownItem use the existing IInventoryAccessModule reference that other methods are already using rather than fetching its own copy.
2015-01-29 19:08:56 +00:00
Justin Clark-Casey (justincc)
979afbd748
Make XEngine.SaveAllState() actually do this instead of script maintenance
2015-01-29 19:08:49 +00:00
Justin Clark-Casey (justincc)
d748c0896d
minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()
2015-01-29 19:08:38 +00:00
Justin Clark-Casey (justincc)
7317092733
For scripts in attachments, don't save .state files apart from the initial one as these are ignored since .state is saved in the attachment's asset.
...
This eliminates pointless work and exceptions when an appdomain is unloaded whilst an attachment script state is persisted.
Adds test for this case.
Relates to http://opensimulator.org/mantis/view.php?id=7407
2015-01-29 19:08:30 +00:00
Justin Clark-Casey (justincc)
e9901ecfda
minor: Suppress the log messages when user profiles data is requested for an NPC or an HG user with no set server URI to avoid log spam.
...
Messages concerning failure to contact a given user profiles service are preserved by logging within called code with the agent ID.
If the "No Presence - foreign friend" log message is important then please revert.
Relates to http://opensimulator.org/mantis/view.php?id=7414
2015-01-29 19:08:20 +00:00
Justin Clark-Casey (justincc)
b22c072c40
Fix a recent regression with HG asset posting to other grids where the assets were no longer being posted.
...
Addresses regression from 08606ae
(Thu Jan 8 2015)
2015-01-15 23:44:34 +00:00
Justin Clark-Casey (justincc)
beef41f24c
Stop simulators attempting to contact registered but offline regions (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-14 19:45:19 +00:00
Diva Canto
72814245be
Also deleted the option of setting Cap_WebFetchInventoryDescendents from OpenSim.ini.example
2015-01-14 06:33:15 -08:00
Diva Canto
8cc590cf80
And finally renamed the classes themselves.
2015-01-13 22:21:50 -08:00
Diva Canto
034fc325c0
Renamed the folder too.
2015-01-13 21:25:11 -08:00
Diva Canto
a626de696a
Renamed these 2 files, because their names are misleading. This is no longer called WebFetchInventoryDescendents, and we no longer use that cap; the viewers use FetchInvventoryDescendents2.
2015-01-13 21:24:01 -08:00
Justin Clark-Casey (justincc)
9363d4c784
Use ToString() on uuids returned in PGSQLUserProfilesData.GetUserImageAssets(). These are Guids rather than strings so casting to string generates a casting exception.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-14 00:00:02 +00:00
Justin Clark-Casey (justincc)
02f2352ad5
Fix PGSQLUserProfilesData.GetUserPreferences error when no usersettings yet exist by inserting missing ID parameter.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 23:52:52 +00:00
Justin Clark-Casey (justincc)
71d73777d9
Revert "Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarProperties()"
...
This reverts commit fdecf4f610
.
2015-01-13 21:53:28 +00:00
Justin Clark-Casey (justincc)
8f37a61912
Revert "Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarInterests()"
...
This reverts commit f31feef6c1
.
2015-01-13 21:53:18 +00:00
Justin Clark-Casey (justincc)
39989eda3b
Revert "Remove quotes from column selection in PGSQLUserProfilesData.GetUserImageAssets()"
...
This reverts commit bd9539c2a7
.
2015-01-13 21:53:04 +00:00
Justin Clark-Casey (justincc)
38f2b89248
Revert "Remove misstaken quotes from column selection in PGSQLUserProfilesData.GetUserAppData()"
...
This reverts commit 0794a40378
.
2015-01-13 21:52:43 +00:00
Justin Clark-Casey (justincc)
f9d2121bcf
Revert "Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()"
...
This reverts commit 59c0df962a
.
This is necessary to preserve the casing of column names, otherwise pgsql converts everything to lowercase.
TIL, Unlike mysql, a quoted column still refers to the column itself...
2015-01-13 21:50:11 +00:00
Justin Clark-Casey (justincc)
24695dc05b
Fix PGSQLUserProfilesData.UpdateUserPreferences() imviaemail and visible casts. These should be left as bools, not converted to strings.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 21:40:49 +00:00
Justin Clark-Casey (justincc)
46e8a99526
Change PGSQLUserProfilesData.UpdateUserPreferences() to directly pass the UUID to the uuid parameter instead of its ToString()
...
This may well be the cause behind "operator does not exist: uuid = character varying" pgsql errors.
If so, the other instances will also be changed.
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 21:13:57 +00:00
Justin Clark-Casey (justincc)
492d49eb08
Fix MySQL and PGSQL *UserProfilesData.GetUserAppData() calls to correctly set the UserId parameter instead of the non-existing Id parameter when writing a record because none yet exists.
...
SQLite version is already correct for this.
2015-01-13 20:33:36 +00:00
Justin Clark-Casey (justincc)
59c0df962a
Remove quotes from column selection in PGSQLUserProfilesData.SetUserAppData()
...
This may have been preventing it from working.
2015-01-13 20:27:37 +00:00
Justin Clark-Casey (justincc)
55ae9a7d10
Remove extraneous colon when setting TagId parameter in PGSQLUserProfilesData.GetUserAppData()
2015-01-13 20:15:37 +00:00
Justin Clark-Casey (justincc)
55e081548c
Fix bug where gathering the clientstack..OutgoingPacketsQueuedCount stat would fail with a casting exception for scenes with NPCs
...
Present since 51eb8fa
(Oct 2 2014)
2015-01-13 19:27:29 +00:00
Justin Clark-Casey (justincc)
0794a40378
Remove misstaken quotes from column selection in PGSQLUserProfilesData.GetUserAppData()
2015-01-13 19:20:27 +00:00
Justin Clark-Casey (justincc)
bd9539c2a7
Remove quotes from column selection in PGSQLUserProfilesData.GetUserImageAssets()
...
This may have been preventing it from working.
2015-01-13 18:57:32 +00:00
Justin Clark-Casey (justincc)
f31feef6c1
Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarInterests()
...
This may have been preventing it from working.
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-13 18:54:41 +00:00
Justin Clark-Casey (justincc)
fdecf4f610
Remove quotes from column selection in PGSQLUserProfilesData.UpdateAvatarProperties()
...
This may have been preventing it from working.
2015-01-13 18:52:49 +00:00
Justin Clark-Casey (justincc)
0cc75a0a3c
Remove quotes from column selection in PGSQLUserProfilesData.GetAvatarNotes()
...
This may have been preventing it from working.
2015-01-13 18:50:34 +00:00
Justin Clark-Casey (justincc)
b38a552fd6
Remove quotes from field selection in PGSQLUserProfilesData.GetAvatarPicks()
...
This may have been preventing it from working.
2015-01-13 18:47:51 +00:00
Justin Clark-Casey (justincc)
43b094f549
minor: correct two exception messages in PGSQLUserProfilesData where I copy/pasted AgentInterestsUpdate twice
2015-01-13 18:42:04 +00:00
Justin Clark-Casey (justincc)
02dcfcf537
Remove the locking in PGSQLUserProfilesData which was buggy (Lock object wasn't set!) and is unnecessary.
...
Relates to http://opensimulator.org/mantis/view.php?id=7398
2015-01-12 23:39:27 +00:00
Justin Clark-Casey (justincc)
0c31eb0a5d
Add the missing deleted and re-added JobEngine class from the previous commit 8e1e8a0
2015-01-12 20:59:58 +00:00
Justin Clark-Casey (justincc)
8e1e8a0920
Make the performance controlling job processing threads introduced in conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions.
2015-01-12 20:56:37 +00:00
Diva Canto
2fd252f5a9
SimulatorFeatures: the viewer also takes GridName in OpenSim extras. Added that (plus GridURL, in case viewers want to use it too) to the GridService that gives out that info to simulators.
2015-01-10 10:32:33 -08:00
Diva Canto
20b34135cb
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2015-01-09 08:32:40 -08:00
Diva Canto
e2dd15625f
Added GetDisplayNames capability. For now, we don't actually use display 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-09 08:31:56 -08:00
Justin Clark-Casey (justincc)
38590a4fad
Get PGSQL UserProfilesData to log the exception trace for debugging rather than just the exception message.
2015-01-09 00:19:48 +00:00
Justin Clark-Casey (justincc)
dbd500db42
minor: Add event name to existing debug output when a script event fails with an exception. To aid debugging.
2015-01-08 22:59:29 +00:00
Justin Clark-Casey (justincc)
801a86ca03
When inspecting a script or notecard, also try to look up any assets embedded therein.
...
This is primarily to fix an issue where inventory items for NPC attachments would not be saved in archives as the assets referenced in the appearance notecard were not checked in this manner.
Relates to http://opensimulator.org/mantis/view.php?id=7376
2015-01-08 20:36:03 +00:00
Justin Clark-Casey (justincc)
08606ae409
Make the IteratingUuidGatherer the only UuidGatherer.
...
This UUID gatherer provides a superset of the previous gatherer's functionality
as it also allows the caller to control gathering iterations for load purposes.
2015-01-08 20:21:40 +00:00
Diva Canto
9dc4b2c479
Commented out clear_registry_ because (1) it isn't clearing up anything anymore -- mono addins moved to suffix -002 at least since BlueWall updated it; (2) we shouldn't clear the registry, period. People who run many sims from the same bin folder need to configure each sim to use its own RegistryLocation, just like they configure them to use their own port.
2015-01-07 20:01:54 -08:00