Commit Graph

1546 Commits

Author SHA1 Message Date
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
eb11505d19 add bool CanObjectEnterWithScripts(SceneObjectGroup sog, ILandObject land) permissions check 2017-04-03 16:10:05 +01:00
Melanie Thielker
5587ee4500 Merge branch 'melanie' 2017-03-31 14:50:14 +01:00
Melanie Thielker
75915bd0f3 Add the ability to post to and act uponconfiguration in etcd
Etcd is a distributed, highly available name-value store that is
the basis of many clustered applications. However, it can also be
run on a standalone machine. Using etcd allows live monitoring
and possibly changing configuration while the sim is running.
2017-03-31 14:38:41 +01:00
Melanie Thielker
202fcc7d6f Merge branch 'melanie' 2017-02-01 16:34:49 +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
Melanie Thielker
a17db1b3cd Comment two very spammy debug messages that the usr can't do anything about
Make a third one conditional.
2017-01-30 12:58:15 +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
4b9c94a3aa bug fix: wrong enabled check 2017-01-27 13:10:57 +00:00
UbitUmarov
56e3aaefde Permissions modules where made NONShared modules. Make them so, removing incoerences and their potencial bugs 2017-01-27 12:32:01 +00:00
UbitUmarov
c673ef7e3c replace calls to SOG.GetEffectivePermissions() by the new SOG.EffectiveOwnerPerms, some of those inline permissions checks should be reviewed and pass by permissions module 2017-01-22 23:05:39 +00:00
UbitUmarov
c0231fe169 Oops.. fix the null on the correct place.. jenkis may now fail for another reason 2017-01-21 00:18:25 +00:00
UbitUmarov
48f137599f fix a null ref on jenkins 2017-01-20 23:36:35 +00:00
UbitUmarov
dac32c4e5a change CanObjectEntry() to use a SOG 2017-01-20 14:26:24 +00:00
UbitUmarov
69bcbd856b change CanDuplicateObject 2017-01-19 19:01:56 +00:00
UbitUmarov
db2fbf6516 add more calls to effective permissions aggregation, some paths may still be missing on objects changes, but remove the aggregation on check paths, so all can be tested. 2017-01-17 13:24:09 +00:00
UbitUmarov
a5c693e302 start adding calls to effective permissions aggregation on changes; rearrange code in DuplicateObject(); 2017-01-17 00:41:30 +00:00
UbitUmarov
180add745c replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart 2017-01-16 20:27:39 +00:00
Melanie Thielker
86d057852d Fix custom dialogs working when bin/ is read-only 2017-01-07 01:16:56 +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
Melanie Thielker
f021c64eb0 Refactor: Rename IImprovedAssetCache to IAssetCache as the old IAssetCache is long gone. 2016-12-29 12:34:09 +00:00
UbitUmarov
7cf2e81223 reinforce gc.collect on region load to also do pending finalizers 2016-12-29 00:47:02 +00:00
UbitUmarov
364d58635b avoid a null ref 2016-12-14 03:02:57 +00:00
Mandarinka Tasty
ec883d0f15 New OSSL function: osNpcSetProfileImage(LSL_Key npc, string image); This patch gives possibility to set image in created NPC's profile. You can use UUID of the texture or name of texture included in prim's inventory.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-14 00:24:52 +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
Mandarinka Tasty
5b7986e6be Setting precise date of creation in NPC's profile.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-12-10 22:45:11 +00:00
UbitUmarov
d4e285b1a1 add osNpcSetProfileAbout(LSL_Key npc, string about) to set NPCs profile About text. requires OsNpcCreate rights 2016-12-06 17:05:02 +00:00
UbitUmarov
51104be6d4 remove SOG.FromPartID from main code and flag it obsolete 2016-12-04 17:56:47 +00:00
UbitUmarov
72e20028d1 safeguard against unknown material replacemet 2016-11-23 20:26:14 +00:00
Melanie Thielker
b43717a397 Coding standards: A local variable may not use the prefix m_ 2016-11-22 11:47:50 +00:00
UbitUmarov
385a265971 supress some warnings by explict(confirm) the hide of parent fields 2016-11-22 09:35:37 +00:00
UbitUmarov
94d2422230 change the clock source on udp outgoing, remove some dead code 2016-11-09 10:21:02 +00:00
UbitUmarov
6bc76860d1 avoid a null ref, few changes to udp updates send 2016-11-05 23:56:55 +00:00
Mandarinka Tasty
72db2d064a It looks, that attachments show console command incorrectly returns Item ID. In fact, FromItem ID is returned. So I have added proper Item ID to be returned. There are cases, that FromItem ID is also useful, so I keep it for compatibility.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2016-11-05 13:47:29 +00:00
UbitUmarov
7494d7726a change math on GetParcelMaxPrimCount and GetSimulatorMaxPrimCount to reduce round errors, limit both to region max prims. consider ObjectBonus on last one also. Change a variable name in PrimLimitsModule to make it more clear 2016-10-11 01:14:53 +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
b5e7816b77 try to reduce the amount of assets created editing materials 2016-09-04 07:25:55 +01:00
UbitUmarov
6526de04cb make sure materials are cached. Split POST and PUT handlers for better readability 2016-09-04 04:19:10 +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
95970d7788 use known name a group ejetee if its local client 2016-08-24 00:06:47 +01:00
UbitUmarov
133fce98e7 change ODEs topcolliders code ( still bad), plus a few memory leaks 2016-08-22 20:28:15 +01:00
UbitUmarov
cc322861ca minor locking issue 2016-08-22 07:14:33 +01:00
Kevin Cozens
1b2e240bf8 Collect any group join fees. Pass group name when applying join/create fees. 2016-08-18 15:38:39 -04:00
Kevin Cozens
847d351bf5 Fixed grammer in a comment 2016-08-18 15:38:39 -04: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
Kevin Cozens
df8f189f5c Fixed typo in two group messages 2016-08-17 22:44:40 -04:00
UbitUmarov
57aac3d77e remove OptionalModules\ViewerSupport\SimulatorFeaturesHelper ShouldSend() since it cannot be used 2016-08-14 03:56:44 +01:00
UbitUmarov
9aa2484f0d to do that don't use slideexpiration; add cap event ChatterBoxForceClose 2016-08-11 08:38:39 +01:00
UbitUmarov
b16d6c0302 stop renewing xml cache entries expires. Let them expire or grid changes will ignored as long something keeq requesting (like group profiles refreshs). reduce the expire time more ignoring folish config. 2016-08-11 04:52:25 +01:00