Commit Graph

28583 Commits (ad531ecb5388e2dc0efa321d9497f451633bef40)

Author SHA1 Message Date
Melanie Thielker ad531ecb53 Handle the case where grid gods and local gods should coexit
Thou shalt have no other gods beside me, your one and true god.
2017-01-06 01:52:42 +00:00
Melanie Thielker 9b93068054 Sync viewer on make root 2017-01-06 01:27:30 +00:00
Melanie Thielker a61a41ad92 Send GodLevel to viewers on login 2017-01-06 01:22:36 +00:00
Melanie Thielker 78ed9c81ff UserLevel must have a trusted source 2017-01-06 01:06:44 +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 46bffad558 Add GodController class 2017-01-05 23:52:47 +00:00
UbitUmarov 05902d2958 inform viewers of current godlevel; put back a small delay on teleport arrivel to give time to viewers to sync 2017-01-05 22:27:53 +00:00
UbitUmarov 83c9776cbc allow initial automatic level to be changed by request. Since viewers still dont get real level, one will need to ask for god level then disable it to syncronize the viewer with real level. 2017-01-05 21:32:26 +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
UbitUmarov 1a35af229c remove code i started but didn't finish 2017-01-05 19:59:48 +00:00
Melanie Thielker b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Melanie Thielker e88e2945e9 Make it possible to disable the bakes module in the way it is described in config comments 2017-01-05 18:53:02 +00:00
UbitUmarov a0c9f84994 Merge branch 'master' of opensimulator.org:/var/git/opensim 2017-01-05 18:08:12 +00:00
Melanie Thielker de16ce35a3 Make the estate communications handler selectable
Still defaults to the core EstateModule if not configured differently
2017-01-05 18:05:06 +00:00
UbitUmarov cbc3501246 a few changes to Gods ( ie administrators) control 2017-01-05 18:02:59 +00:00
Melanie Thielker e0a6691932 Rename the files and classes from XEstate to Estate
The names conflict with it's ancestor module and the code is nothing
like the out of core XEstateModule, so it should not be named the same.
2017-01-05 17:59:21 +00:00
UbitUmarov 40e982f6e7 a few changes to estates port handling 2017-01-05 17:11:03 +00:00
UbitUmarov d43a3bec19 a few changes to estates and estate teleportHome (used kick) 2017-01-05 16:27:17 +00:00
Melanie Thielker f4a51116f6 Fix some permissions checks in groups
The code checked the permissions of a person being added to a role
rather than those of the person doing the adding. Also, limited
permission role removal wasn't implemented.
2017-01-05 14:17:00 +00:00
Melanie Thielker 53fe204eed Create all tables ad InnoDB by default
MyISAM isn't properly replicated using row based replication. With the
advances in clustering, these systems are becoming more prevalent and
MyISAM isn't up to the task anymore.
2017-01-05 13:35:13 +00:00
Mandarinka Tasty af1b00db41 The robust command login reset should return config value: MinLoginLevel. Defaultly, it returns 0.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 21:52:49 +00:00
Geir Nøklebye af93822465 PGSQL fixed a missing cast to uuid in XInventoryData
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 21:18:58 +00:00
Mandarinka Tasty ed641b22b3 Show details of scene objects with given ownerId.
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2017-01-04 19:20:06 +00:00
Melanie Thielker b0db575220 Set a sensible default for the MaxAgentGroups parameter
MaxAgentGroups is in the [Groups] section, but is read by the login
service. If the login service and the groups service don't share the
same ini file, that will be sent to the viewer as zero and groups will
not work.
2017-01-04 19:13:59 +00:00
Melanie Thielker 995242b351 Suppress misleading message when logging in locally
The gatekeeper and travel info address will not actually be set there,
stop OpenSim from showing a blank address. It's confusing.
2017-01-03 18:31:17 +00:00
Melanie Thielker 504a69906b Suppress error messages in the log if functions are not enabled. Just return failure instead. 2017-01-03 14:05:37 +00:00
Melanie Thielker 65dfb62b74 Merge branch 'master' of opensimulator.org:/var/git/opensim 2017-01-02 19:31:23 +00:00
Melanie Thielker 966e50d90c Add the HGRemoteAssetService. Allows to use any asset service with HG 2017-01-02 19:30:40 +00:00
Melanie Thielker f03a6bbc61 Create a generic way for passing constructor args to plugins
The old syntax didn't allow for any parameters except for services
listed in the ServiceList. Now, services loaded by other services can
also be made to use different ini sections or have additional paramters.
Syntax is: [<ExtraParam>@]...<DllName>[:<ClassName>]
2017-01-02 17:47:20 +00:00
Diva Canto 7abb0477ed Replaced OpenMetaverse libs/xmls with new ones. Also added a file in openmetaverse_data that was added recently to libomv and was missing. 2016-12-31 08:58:06 -08:00
UbitUmarov da08e2e5f5 mantis 8106: improve avatar walk in mouselook 2016-12-30 19:13:18 +00:00
Melanie Thielker f510898188 Fake accepting materials (Type == -2) on FSAssets.
Materials are created with an MD5 hash based UUID in order to
stop proliferation of orphaned assets. Therefore a UUID collision
is expected on materials and should not have been treated as an
error.
2016-12-30 14:33:15 +00:00
UbitUmarov 1507c5230b remove a gc.collect that isn't very usefull (on the right engine this
time)
2016-12-30 05:15:50 +00:00
UbitUmarov ee485187db remove a gc.collect that isn't very usefull 2016-12-30 04:57:34 +00:00
UbitUmarov 2836f16ae1 fix typos 2016-12-30 02:14:16 +00:00
Mandarinka Tasty aee3f273f0 Serving robots.txt from bin Idea of solution for http://opensimulator.org/mantis/view.php?id=7392
Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2016-12-29 22:32:08 +00:00
Melanie Thielker e0b5135010 Add a MaxRetries option to the inventory connector.
If clustered services are used, another try would go to another server
and may succeed.
2016-12-29 16:29:44 +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
Melanie Thielker feca9fd153 Add an option to update the file access time even when an asset is found in cache.
When the cache is shared between multiple sims, it is often more
efficient to have a single expire job run from cron. Updating
file access times is vital to the functioning of such setups.
2016-12-29 11:53:38 +00:00
UbitUmarov c78da183b2 expire also from weak references 2016-12-29 03:25:12 +00:00
UbitUmarov 3a310d77c8 forgot one gc.collect wait for finalizers 2016-12-29 03:12:50 +00:00
UbitUmarov 1ffcc59818 gc is also a unwanted cache, so use it. With this, memcache with short expires is no longer needed 2016-12-29 03:10:10 +00:00
UbitUmarov 7cf2e81223 reinforce gc.collect on region load to also do pending finalizers 2016-12-29 00:47:02 +00:00
UbitUmarov 73b2c82427 adjust camera collision detection checks for new FS 2016-12-28 12:19:05 +00:00
UbitUmarov 65b4e17a80 robust textures add missing returns or redir case 2016-12-26 19:38:13 +00:00
UbitUmarov bf1f4d1384 fix typos (thanks you know who) 2016-12-25 16:51:54 +00:00
UbitUmarov 293b65ac82 FloatSamCache: dont use slideexpire on current libovm expirecache. Change example settings to use memory cache with short expire time. ( 20% to 40% mem cache hit rates observed 2016-12-25 05:46:16 +00:00
Melanie Thielker 8d0b592e5d Add en explanation to osslEnable.ini for GRID_GOD 2016-12-23 20:41:10 +00:00