Commit Graph

1559 Commits (704c67527b738c99de9cc9a4108d7b3520a58caf)

Author SHA1 Message Date
UbitUmarov 0bbe7bab7b add new funtion bool MoveMoney(UUID fromUser, UUID toUser, int amount, MoneyTransactionType type, string text). this should be called async allowing time for money module to process it. If returns true, the transation did sucess, so if its use was to pay something, the payed item/service must be provided without fail, otherwise another method is needed so a refund is possible 2017-07-26 19:01:11 +01:00
UbitUmarov ad46a29d9e Ooopsss 2017-07-15 20:59:16 +01:00
UbitUmarov 4b7f79e296 fixes and changes on TreePopulatorModule. Please read OpenSimDefaults.ini
[Trees] section. Does need more work, and some hardcode settings may not
be the optimal still"
2017-07-15 04:07:03 +01:00
UbitUmarov 70da902732 changes to AutoBackModule. Store folder and number of days expire is now also only defined in OpenSim.ini and so same for all regions. 2017-06-21 13:35:36 +01:00
UbitUmarov 36442c004f changes to AutoBackModule. Add option ALL to dooarbackup to save all regions in instance 2017-06-21 03:56:43 +01:00
UbitUmarov 651952e01e changes to AutoBackModule. Time interval is now unique and only definable on OpenSim.ini. All enabled regions will be saved in sequence whne it expires. Interval is time since last region save end, so will not follow wall clock. This reduces the chance of overlapped saves. Console command renamed to dooarbackup to be more distint from db backup. Lost the region load checks, to put back later 2017-06-21 03:31:07 +01: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 eca89c6e61 remove some more dead scene options 2017-06-07 18:15:15 +01:00
UbitUmarov c8b3925085 remove nonsense SendPeriodicAppearanceUpdates. if we need such a thing, then a lot is broken. Remove duplicated CleanTempObjects() call, rename BackupWaitCallback thread as BackupWorker ( still didn't found cause for mantis 8783) 2017-06-07 18:04:02 +01:00
UbitUmarov d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
UbitUmarov f31fe66ce1 fix bad move on xmlgroups 2017-05-05 01:53:02 +01:00
UbitUmarov 9e12ef9234 let all clients get a group title update on create group 2017-05-05 01:39:38 +01:00
UbitUmarov 3402819888 do the same in the cases we are just moving parts around and not changing their caches (ie their taskInventory) 2017-05-04 12:08:10 +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 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