DZ-Dot Admin Settings

From dataZoa Wiki
Jump to: navigation, search

The dZ-Dot has several settings which lie dormant until an admin turns them on or changes them for various debugging and testing purposes. This document will describe these settings and how to use them

General Notes: All options have defaults set for typical/appropriate consumer use. All options can be edited/enabled/set by admins via browser console command: localStorage.setItem("dZ_SETTINGNAME", VALUE); Admin set values are domain (even sub-domain) specific (meaning you'll need to turn them on for any site you wish to test) Admin set values remain in effect until removed by the admin via: localStorage.removeItem("dZ_SETTINGNAME"); If any admin setting are not at their default then dZ-Dots will appear red instead of green to warn the admin of this fact.

Verbosity (Integer)

For internal use only. Level of messages to log in console. 0=Off, 1=Error, 2=Warning, 3=InfoL1, 4=InfoL2, 5=InfoL3, 5+=InfoLObsessive...

Default = 0

ForcedUpdate (Boolean)

For internal use only. While True source files will be forcibly re-fetched with every page load even if they otherwise would be retrieved from cache.

Default = False

Requires dZ-Dot version 5.0.2+ to use (was broken in earlier versions of current releases)

BetaSwitch (Boolean)

For internal use only. While True a different set of source files (marked as BETA in "/Apps/dZDot/") will be fetched/used. Additionally, implies ForcedUpdate=True to ensure beta resources are not cached.

Default = False

Requires dZ-Dot version 5.0.2+ to properly imply ForcedUpdate=True (was broken in earlier versions of current releases)

ServerLocation (String)

Location where source files are downloaded from. IMPORTANT - Should always use https for security!

Default =
https://tsresolver0.com/Apps/dZDot/

Due to extension security reasons there's a limited number of locations this can be mapped to which will work. Essentially the only alternatives are dataZoa, dataHydra or dataThen. Thus, when testing new Algs/Includes/Excludes... it may be simpler to map tsresolver0.com elsewhere (like the test TSR server) via your computer's hosts file. Don't forget to reset your hosts files when done testing or your browser (esp. Chrome) may fail to update resource files appropriately (meaning such testing is best done via Firefox).

UploadDomain (String)

Domain where uploads and login checks are sent to.

Default = "https://www.datazoa.com"

Due to extension security reasons there's a limited number of locations this can be mapped to which will work. Essentially the only alternatives are dataZoa, dataHydra or dataThen. However, these are the most like needed options for testing purposes.

ZealotCap (Integer)

Number of link beyond which the Zealot menu option will be disabled.

Default = 150

This is not technically an admin setting. It's the first user setting which dataZoa will test the dZ-Dot about and which users can set as a preference at dataZoa. At least that is the goal, as of this writing (July 2016) users can't actually set this preference though a mechanism does exist for dataZoa to tell the dZ-Dot about such settings. All of that said, admins can override both the default and/or users settings for this option just like the others listed.