UbitUmarov
073098e1b6
a few more changes on universal id
2022-03-15 02:03:06 +00:00
UbitUmarov
a46f0b4fd4
a few changes on universal id
2022-03-15 01:41:49 +00:00
UbitUmarov
e043d8a2eb
use array.Empty<byte>
2022-03-12 15:21:24 +00:00
UbitUmarov
9d390564a9
avoid a possible null ref; cosmetics
2022-02-09 23:08:58 +00:00
UbitUmarov
fc8c08ec8a
cosmetics
2022-01-29 18:28:33 +00:00
UbitUmarov
fbbcc1edd7
== string.Empty is .Lenght == 0
2022-01-13 20:31:52 +00:00
UbitUmarov
da928d6099
!= UUID.Zero is slow
2022-01-09 02:28:51 +00:00
UbitUmarov
357f20eb14
== UUID.Zero is slow
2022-01-08 23:35:56 +00:00
UbitUmarov
a101d58a5c
missing files
2020-11-26 12:23:40 +00:00
UbitUmarov
7b77609537
shut up HG STATUS NOTIFIER
2020-06-21 17:09:33 +01:00
UbitUmarov
8526f938f7
move /friends handler
2020-04-27 00:23:59 +01:00
UbitUmarov
fdecf80016
mantis 8654: exclude NPCs from some Friends ops
2020-02-01 15:26:58 +00:00
UbitUmarov
3491af440f
missing files...
2019-04-30 23:01:37 +01:00
UbitUmarov
afb1d6cdd7
take friends out of basicDOSprot (too little, too late)
2018-11-14 17:49:05 +00:00
UbitUmarov
d9a300fa8e
some cleanup.. remove some stats that only some do look at once on a lifetime
2017-06-14 20:19:13 +01:00
UbitUmarov
fb427daa34
avoid a null ref
2017-05-11 19:06:49 +01:00
UbitUmarov
d0912b6151
let StreamReader be in using statements
2017-05-07 00:47:45 +01:00
Melanie Thielker
e58903be6f
Correct casing on isGod and isViewerUIGod
2017-01-07 20:38:30 +00:00
UbitUmarov
effa32cfa4
replace godlevel compares by the new faster bool isViewerUIGod
2017-01-07 18:41:46 +00:00
Melanie Thielker
1e9cbf5c97
During login cancel, don't error out here on a null client.
2017-01-07 00:37:13 +00:00
Melanie Thielker
ad8915f154
Restructure god level and permissions
...
Create a class GodController which controls all aspects of god level,
viewer modes and user levels at ScenePresence level.
2017-01-06 00:55:14 +00:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
UbitUmarov
181b1ad82b
HG: fix the never ending avatar confirmation when 2 users from same grid made friendship on another grid
2016-12-04 23:02:40 +00:00
UbitUmarov
5861355577
do friends recaching on MakeRoot for normal tps, delay it on crossings
2016-08-04 17:39:10 +01:00
UbitUmarov
bb8e271081
fix a typo
2016-08-04 17:29:47 +01:00
UbitUmarov
800044cead
take friends out of onMakeRoot if crossing
2016-07-26 22:30:51 +01:00
Melanie Thielker
ea8f3c83bf
Finally remove the requirement for an InventoryItem/FolderBase object to
...
be passed into inventory queries.
This makes the API more homogenous and also will more clearly show
coding
errors related to HG inventory where the .Owner field has a meaning
for a query but wasn't always set.
2016-07-04 03:35:48 +01:00
UbitUmarov
1982d72320
Make changes to a friend rights reach him on another sim; find on map does show the region. Issues: precise location on region still not avaiable and object edit permitions on viewers edit are not being updated (but are enforced by region). friends information is updated, and warnings are displayed. Only did minor testing...
2015-10-26 22:42:48 +00:00
Diva Canto
d00f73c3a4
Deleted OpenSim.Framework.Communications. Moved its two remaining files to OpenSim.Framework.
2015-09-04 14:39:23 -07:00
Diva Canto
959872315f
WARNING: massive refactor to follow libomv's latest changes regarding inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum.
...
This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter.
All tests pass, but fingers crossed!
2015-08-08 12:12:50 -07:00
Justin Clark-Casey (justincc)
ec8d21c434
Label all threadpool calls being made in core OpenSimulator. This is to add problem diagnosis.
...
"show threadpool calls" now also returns named (labelled), anonymous (unlabelled) and total call stats.
2014-11-25 23:23:10 +00:00
Justin Clark-Casey (justincc)
fc878a33ed
refactor: consistently put all test classes in the OpenSim.Tests.Common package rather than some in OpenSim.Tests.Common.Mock
...
the separate mock package was not useful and was just another using line to always add
2014-11-25 23:21:37 +00:00
Oren Hurvitz
99ac770abb
Close streams immediately when we finish using them
2014-07-21 08:30:03 +01:00
Oren Hurvitz
4cac87d9f4
Fixed: when a user logged-in, sometimes he didn't get notified of the Online status of friends, so they continued to appear Offline.
...
This happened because these notifications (the UDP packets) can only be sent to Root Agents. But the notifications were done in OnClientLogin(), at which point the client is still a Child Agent. Since a FireAndForget is used, it became a race condition as to whether the packets would be sent before or after the client became a Root Agent.
To fix this, we now only send the notifications once the client becomes a Root Agent for the first time.
2014-04-21 16:56:49 +01:00
teravus
75fdd6054d
* Refactor
...
* Break out common BasicDOSProtector code into separate class.
2013-10-07 23:19:50 -05:00
teravus
f76cc6036e
* Added a Basic DOS protection container/base object for the most common HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler
...
* Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice.
* Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers
* Added CircularBuffer, used for CPU and Memory friendly rate monitoring.
* DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.
2013-10-07 21:35:55 -05:00
Justin Clark-Casey (justincc)
e19defde36
Add "show caps stats by user" and "show caps stats by cap" console commands to print various counts of capability invocation by user and by cap
...
This currently prints caps requests received and handled, so that overload of received compared to handled or deadlock can be detected.
This involves making BaseStreamHandler and BaseOutputStream record the ints, which means inheritors should subclass ProcessRequest() instead of Handle()
However, existing inheriting classes overriding Handle() will still work, albeit without stats recording.
"show caps" becomes "show caps list" to disambiguate between show caps commands
2013-07-08 22:03:07 +01:00
Diva Canto
ca26583e6b
Delete some verbose debug messages
2013-07-04 15:17:06 -07:00
Diva Canto
bf214122cd
More debug, same issue
2013-07-04 11:53:22 -07:00
Diva Canto
ec9ffbb89a
More debug, same issue
2013-07-04 11:36:10 -07:00
Diva Canto
0cc0a2485c
More debug related to the previous commit
2013-07-04 11:18:05 -07:00
Diva Canto
ae42c93f9a
Now trying to find a cause of freeze at login related to friends status notifications.
2013-07-04 10:59:21 -07:00
Diva Canto
98a2fa8e35
HG Friends: this was commented some commits ago, but it shouldn't have been.
2013-07-04 10:23:20 -07:00
Diva Canto
5eb78aad96
Revert "HG Friends: debug an issue where the friends data stored in the DB is incomplete."
...
This reverts commit 27cdfb7b84 .
2013-07-04 09:17:01 -07:00
Diva Canto
27cdfb7b84
HG Friends: debug an issue where the friends data stored in the DB is incomplete.
2013-07-04 08:47:45 -07:00
Diva Canto
1e97972f78
Revert "One more debug mantis #6625 "
...
This reverts commit 8fa5d12fcb .
Conflicts:
OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
2013-06-30 07:25:13 -07:00
Diva Canto
c462e0a51c
Fixed previous debug message
2013-06-29 21:30:07 -07:00
Diva Canto
8fa5d12fcb
One more debug mantis #6625
2013-06-29 21:26:58 -07:00
Diva Canto
0c97021565
More debug for mantis #6625 . It looks like the home friends list is being fetched on HG TPs.
2013-06-29 21:05:45 -07:00
Donnie Roberts
045c26f626
In LocalFriendshipTerminated, send the original client's agentId to the friend being removed instead of the friend's own id.
2013-06-07 18:43:00 +01:00