UbitUmarov
fcb435deb4
make sure we drop requests if DoHTTPGruntWork fails
2017-05-22 05:53:59 +01:00
UbitUmarov
a2c2456076
remove LongPoll type and queues. Events should now have reduced latency also. About previus commit, it maybe a modified ingen-e3s-v1.33 script that is broken, and not the original version, can't tell
2017-05-21 02:11:53 +01:00
UbitUmarov
c74e0e2d9b
remove a Paralell.For (actually not used). That kind of fine gained multitask makes no sense on already heavy multitasked server application like opensim. CPU cores are already busy or needed elsewhere.
2017-05-15 18:10:08 +01:00
UbitUmarov
156707edfb
clear land object on delete
2017-05-14 06:27:29 +01:00
UbitUmarov
cb21caae77
fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox.
2017-05-14 01:44:04 +01:00
UbitUmarov
25ca8695f3
find parcels by GlobalID.. well most time
2017-05-13 20:21:56 +01:00
UbitUmarov
16f02cb6fd
we can't allow abort to change only one dic
2017-05-13 16:34:29 +01:00
UbitUmarov
9ea49d107d
fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara
2017-05-13 15:58:35 +01:00
UbitUmarov
604b966d84
some conditional dispose on http requests inputstream
2017-05-08 00:40:15 +01:00
UbitUmarov
d0912b6151
let StreamReader be in using statements
2017-05-07 00:47:45 +01:00
UbitUmarov
a96c0f760a
having the file open then let PermissionsToString know about Export
2017-04-30 14:42:39 +01:00
UbitUmarov
0d59a29dc7
save some nanoseconds if unfolding will not change anything ( export default mks it rare, but looks nice)
2017-04-30 14:39:20 +01:00
UbitUmarov
b67904a651
remove a redundant operation
2017-04-30 14:31:46 +01:00
UbitUmarov
522695c821
update folded permitions if taking from world, or after unfold
2017-04-29 22:09:45 +01:00
UbitUmarov
04117d9f75
recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use easys code readability
2017-04-29 19:07:04 +01:00
UbitUmarov
ba4e13ef55
a few changes to permissions folding... we are testing. at this point only use master for TESTING also
2017-04-28 20:03:44 +01:00
UbitUmarov
1b8c71c965
give more information on Fatal Error during region startup
2017-04-26 16:15:33 +01:00
UbitUmarov
7c5376f224
move mesh pbs creation code out of mesh upload code into to PrimitiveBaseShape.cs
2017-04-25 14:21:01 +01:00
UbitUmarov
0f7ffc56ce
several changes for osTeleportObject
2017-04-15 10:46:18 +01:00
UbitUmarov
63383bf3c5
add functions to send entity updates imediatly, except for avatars (or now) they should be use to bypass normal delayed updates, for debug
2017-04-14 21:55:37 +01:00
UbitUmarov
443fc60cdf
store the physics inertia override in Mysql and add it to serializer. run prebuild is required
2017-04-01 17:49:17 +01:00
Melanie Thielker
5587ee4500
Merge branch 'melanie'
2017-03-31 14:50:14 +01:00
Melanie Thielker
6463ab7d79
If a DNS resolution fails on an outbound request, simply allow it
2017-03-31 14:44:22 +01:00
Melanie Thielker
adcb1d8798
Allow setting the stats log file location in OpenSim.ini rather than app.exe.config
2017-03-31 14:38:41 +01:00
Melanie Thielker
202fcc7d6f
Merge branch 'melanie'
2017-02-01 16:34:49 +00:00
Melanie Thielker
a5151bb337
Refactor asset handling as per Ubit's suggestion
2017-02-01 16:31:01 +00:00
Melanie Thielker
5ceb315e34
Secure sim stats with an (optional) password.
...
There is way too much in these stats to expose them to the world, at
least for some of us.
2017-02-01 15:30:17 +00:00
Melanie Thielker
5a18ea31cf
Make negative asset caching actually work
...
Also fixes some merge artefacts in HGAssetBroker where cached assets
were requested but not actually used and completely squelch a materials
debug message because there is nothing the user can do to fix it anyway.
2017-01-30 13:59:05 +00:00
UbitUmarov
0091c37ed3
several changes relative to objects return and parcel prim counts: avoid null refs, report correct count of returned objects, make obkects counts by ownership coerent with return rules, etc
2017-01-27 20:21:24 +00:00
UbitUmarov
d62854cbd3
set a sane default region ObjectCapacity
2017-01-21 00:30:42 +00:00
UbitUmarov
733072b6a3
chance new effective permissions code to ease aggregation on demand( ie on changes). But still doing full aggregation on checks, so still heavy
2017-01-16 19:01:41 +00:00
Melanie Thielker
568614af2c
Remove the last instance of the legacy slam but being set
...
New objects now get only the real slam bit.
2017-01-16 14:53:42 +00:00
UbitUmarov
e475e65828
use of PermissionMask Bit3 for slam was a recent mistake, so make it only bit4 and move folded export to its more natural place as bit3
2017-01-15 13:43:54 +00:00
UbitUmarov
e28ac282eb
oops fix FolderMask acording
2017-01-14 16:49:56 +00:00
UbitUmarov
1ff831c45b
make the Slam bit actually be the two previus used ones, to try to minimize compatibilty issues
2017-01-14 16:33:51 +00:00
UbitUmarov
fb86e41561
fix incoerent definition of Slam bit (bits 3 and 4 used in diferent
...
places.) this may still be wrong on other places; Do not loose folded
permitions, WARNING MASTER IS NOW UNSTABLE. permissions are still broken"
2017-01-14 14:21:50 +00:00
Melanie Thielker
c74fa02d87
Harmonize case in Permissions enum
2017-01-13 17:09:08 +00:00
UbitUmarov
e0ab0b3b6b
change GenerateClientFlags(...) to work with a scenepresence; make use of the new IsGod to check its God rights; remove the non standard estate manager right to move other ppl prims i added on last commits; coment out a test method i added sometime ago
2017-01-11 01:02:57 +00:00
Melanie Thielker
6d44ee9099
Change improperly named isNPC to be IsNPC as a property should be uppercase
2017-01-07 20:30:51 +00:00
Melanie Thielker
4385d7d693
Fix errors introduced by incomplete understanding of what folded perms are
2017-01-06 13:17:43 +00:00
UbitUmarov
e5a3d85bc7
fix/simplify validation of god_data update field
2017-01-06 03:45:47 +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
UbitUmarov
1fb01a0099
add config option automatic_gods. With this option true, users that can be Gods will have that level automaticly without the need request on viewer; Propagate current god level to nearby regions (with local checks)
2017-01-05 21:21:15 +00:00
Melanie Thielker
b16abc8166
Massive tab and trailing space cleanup
2017-01-05 19:07:37 +00:00
UbitUmarov
cbc3501246
a few changes to Gods ( ie administrators) control
2017-01-05 18:02:59 +00:00
Melanie Thielker
07b48fd58c
Add negative caching to flotsam cache. Prevents scripts from hammering the asset server
2016-12-29 15:47:46 +00:00
Melanie Thielker
ec4c258794
Actually rename the file, too
2016-12-29 12:36:13 +00:00
Melanie Thielker
f021c64eb0
Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone.
2016-12-29 12:34:09 +00:00
UbitUmarov
679d52ced6
add missing file
2016-12-23 19:41:57 +00:00
UbitUmarov
b6266c6a1d
check if a parcelID is a encoded position data or a true UUID. This may fail, just reducing the odds.
2016-12-23 14:23:07 +00:00
UbitUmarov
330369f904
take UserProfileModule out on onMakeRoot event, add some caching
2016-12-21 22:27:48 +00:00
UbitUmarov
9b9f93c4b2
and yes HG uri again
2016-12-16 20:31:07 +00:00
UbitUmarov
e2d46c060c
ok.. another try on the HG uri
2016-12-16 03:38:20 +00:00
Melanie Thielker
69776aa70c
Remove the AllowAlternatePorts option. It wasn't implemented anyway.
...
Instead, handle the port being 0 as "any port" and assign a random
port for regions in that case.
2016-12-13 19:47:26 +00:00
Melanie Thielker
1388ac2ef7
Rename charterMember to membershipType to show what it actually is.
...
This field started out as a simple flag in the protocol to indicate a
user being a SL charter member. It has since then taken on additional
functionality that means that the name is no longer appropriate.
2016-12-12 11:09:38 +00:00
Melanie Thielker
bebfbd0600
Only ask for the new parameter when starting from scratch.
...
It is set to false implicitly on existing regions.
2016-12-12 10:14:16 +00:00
Melanie Thielker
9ef9dde0f3
Make resolving the IP on startup optional.
...
Adds ResolveAddress boolean to regions.ini
2016-12-12 10:08:31 +00:00
Melanie Thielker
ba61b64c42
If a region address is resolveable to a single address, resolve it on
...
startup and use that address
This change facilitates running opensim within containers and VMs where
the external address isn't that of the VM/container but that of the
host.
2016-12-11 20:51:40 +00:00
Melanie Thielker
5ad8bceb1d
Fix OpenSim bombing when a MySQL connection string doesn't contain a password.
...
Passwordless connection is perfectly legal and makes sense within a
container.
2016-12-10 18:36:10 +00:00
UbitUmarov
18ff3eb227
JsonRpc: don't try to connect to a empty uri
2016-12-08 23:56:14 +00:00
Mandarinka Tasty
7c566dca5a
The new Constant: integer OBJECT_REZZER_KEY = 32;
...
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-04 17:18:56 +00:00
UbitUmarov
cfb98050f7
a few changes to cache.cs ( currently not much used )
2016-12-01 03:43:49 +00:00
UbitUmarov
5202ae7bb4
revert changes to asset desc size, my bad.. this field will possible go away in future
2016-11-24 14:39:08 +00:00
UbitUmarov
b3eda582ec
add to SynchronousRestFormsRequester a keepalive disable option, and make use of it on some friends conns
2016-11-23 19:30:55 +00:00
UbitUmarov
59f6353ac1
close a resource on jobengine.close()
2016-11-22 22:29:13 +00:00
AliciaRaven
1a6cddf807
Minor fix to region default landing point sanity check
2016-11-22 21:23:01 +00:00
AliciaRaven
94e48838d5
Include new Region.ini option for DefaultLandingPoint for teleports with no coords specified.
...
This is useful when using a Telehub would be to restrictive as it would block landmarks and map teleports. This location is only ever used when no coordinates are provided. If config value not set, the previous default of 128,128 is used.
2016-11-22 15:31:45 +00:00
UbitUmarov
7524c7729f
change asset description max size
2016-11-22 01:34:07 +00:00
UbitUmarov
8c19ea910a
remove a wrong virtual dec ( no overides, and cant really have if used on a constructor like in assetlandmark)
2016-11-21 23:34:33 +00:00
AliciaRaven
1d998a770b
Change some minor log messages to debug level in Rest client code.
2016-11-20 13:52:06 +00:00
Melanie Thielker
28f7d429fc
REST console v2. This is an incompatible protocol change. It degrades gracefully.
2016-11-19 02:28:31 +00:00
UbitUmarov
ba7904a3a8
a few more changes on potencial mem issues
2016-11-18 00:12:09 +00:00
UbitUmarov
e21ac8b3c4
counting issus safeguard
2016-11-17 20:59:13 +00:00
UbitUmarov
35b37510fc
explicitly remove some references, and other useless changes
2016-11-17 19:15:28 +00:00
UbitUmarov
8599a9a1ca
add a missing dispose
2016-11-17 17:37:22 +00:00
UbitUmarov
e77f913116
minor: dont let rcvd agentupdates time jump back
2016-11-16 22:34:56 +00:00
UbitUmarov
ae17b5d203
reduce calls to physics world cast rays for camera collision check
2016-11-14 03:21:07 +00:00
Diva Canto
4c76a061c7
Flip master to 0.9.1
2016-10-24 09:21:44 -07:00
UbitUmarov
d550b485f1
viewer crash bug fix: fis the udp packets split of SendEstateList() large lists; Enforce size limits on the estate lists since currently required for viewers compatibily; improve handling of changes with large selected items. This is still bad, users may need to close and reopen the region/estate information to get correct Allowed and Banned lists after a change. This happens because of viewer resent/outOfOrder packets that completly break this lists updates protocol
2016-10-24 10:23:31 +01:00
UbitUmarov
8a3958ad04
dont let ignored AgentUpdates change their throttles. Apply respective movement to physics on the handling thread, not heartbeat, avoiding missing transitions that should get into physics. Make some usefull sp state flags visible everywhere
2016-10-05 13:17:23 +01:00
UbitUmarov
a6df626868
add a version tag to wind and cloud data updates to iclient
2016-09-23 13:03:16 +01:00
UbitUmarov
4dc787eb32
store all terrain in Variable2DGzip format
2016-09-17 19:13:46 +01:00
UbitUmarov
38ba839eb3
watchdog timeouts: replace a silly List copy i added doing it a better way
2016-08-25 23:31:18 +01:00
UbitUmarov
d5f376a4b1
send selected objects Proprieties udp part outside update queues and as a physics single caps message per selection request
2016-08-25 09:51:34 +01:00
UbitUmarov
991dd5f471
first step changing Object Select code
2016-08-25 06:56:25 +01:00
UbitUmarov
7ce6430a86
put back the console comand i remove since it is not a repetion
2016-08-25 04:55:01 +01:00
UbitUmarov
387d564aad
do similar changes to unused checksManager
2016-08-24 07:41:11 +01:00
UbitUmarov
fc45942026
remove redundate console comand add, change stat deregister
2016-08-24 06:57:21 +01:00
UbitUmarov
32396742f8
reduce unnecessary allocation of new items
2016-08-24 06:26:31 +01:00
UbitUmarov
35cc0420c8
fix a use of string Trim()
2016-08-24 00:20:45 +01:00
UbitUmarov
a2c80b20d7
try to make mono happy
2016-08-22 08:35:39 +01:00
UbitUmarov
9953dad3a9
workaround potencial memory leak
2016-08-22 08:16:06 +01:00
UbitUmarov
0f4d54b8b2
put back the dangerous resp.ReuseContext = true option, that for some odd reason OSgrid nginx configuration seems to need
2016-08-21 20:52:31 +01:00
UbitUmarov
ac542715f1
add caps HomeLocation ; add client SendAlertMessage(string message, string info), where info in info message field. only minimal testing done
2016-08-18 12:45:11 +01:00
UbitUmarov
b64f25e631
add a missing cast to ulong in RegionGridLocToHandle (mantis: 7994)
2016-08-13 00:16:50 +01:00
UbitUmarov
a30f75cfdc
fix entity update flags update
2016-08-07 21:13:58 +01:00
UbitUmarov
ff0ccf9c67
several changes related to culling option
2016-08-07 21:13:01 +01:00
UbitUmarov
23578635df
more changes relative to incorrect use of activegroupid
2016-08-05 15:19:42 +01:00
UbitUmarov
a90079bc92
cancel sending group powers on crossings, they are no longer needed.
2016-08-04 22:54:29 +01:00
UbitUmarov
598e4ed7c9
rearrange handlers convertion math, harcoding the grid unit size of 256m, also inviting jit to use cpu barrel shifters.
2016-07-31 02:53:35 +01:00