For IT administrators deploying Constly with an MDM or Group Policy.

Managed settings for Constly (IT administrators)

An organization can set four things for Constly through its device management: macOS configuration profiles or Windows Group Policy. The first three have been there since 4.13.0; LicenseKey is new in 4.21.0. Linux has no managed settings.

Key Value What it does
UpdateFeedURL an https URL with no user name and no {{placeholders}} Constly checks this feed instead of https://downloads.constly.com/updater.json.
ProxyURL http://host:port, with no user name or password Constly’s update, licence and Pandoc download requests go through this proxy.
AutoUpdate off or notify off: no automatic update checks. notify: Constly checks on launch and every few hours, and asks before downloading. Either value locks “Check for updates automatically” in Settings, marked “Managed by your organization”. Check for Updates… works either way: Constly ▸ Check for Updates… on a Mac, ⚙ ▸ Check for Updates… on Windows.
LicenseKey the licence key from your purchase email, starting constly-v1. Constly is licensed on this machine without anyone typing the key.

All four are strings.

The licence key

LicenseKey is for a Business licence: one key for the whole order, set on every machine that is to use it.

What these keys can’t do

They only change where Constly connects, whether it checks on its own, and which licence key it uses. No key turns off certificate checks, adds a trusted root, allows plain http or skips the update’s signature check. Every update is still verified against Constly’s own signing key. From the release after 4.13.0, that signature also names the build’s version, and Constly installs an update only when it is the version the feed announced, so a feed can’t pass an older genuine build off as a newer one. Constly 4.13.0 and earlier take the feed’s version at its word, and a feed can still withhold updates, so an UpdateFeedURL should point at a feed your organization trusts. Your company root certificate belongs in the system trust store, through your MDM’s certificate payload or Group Policy; Constly trusts what the operating system trusts.

A Kerberos/Negotiate or NTLM proxy sign-in comes from the operating system, so ProxyURL never carries credentials. Basic is different on each system:

Without ProxyURL, Constly uses the HTTPS_PROXY (or ALL_PROXY) environment variable if it is set, and otherwise the system’s own proxy settings, including PAC and auto-discovery.

Consented web images fetched for an export don’t use these settings in 4.13.0.

A value that isn’t valid

Constly fails closed and says so:

LicenseKey is the exception, because Constly never stops working over a licence: a value that isn’t a valid key is ignored. The machine is then licensed by a key typed on it, if there is one, and otherwise shows the purchase reminder. A key that has the right shape but isn’t a genuine licence, or has been refunded, is ignored in the same way and named in the app log (Save Diagnostics… includes it).

Save Diagnostics… (Help ▸ Save Diagnostics… on a Mac, ⚙ ▸ Save Diagnostics… on Windows) writes a --- network --- section with a managed: line naming each key as no, set, or invalid with the reason. It shows hosts only, never the value’s path, query or any user name, and never the licence key.

macOS

Constly reads the com.constly.app preference domain and only counts values that macOS reports as forced, which means a configuration profile delivered them. A user’s defaults write com.constly.app … is ignored.

com.constly.app.mobileconfig is a sample profile. Remove the keys you don’t manage, set the values, give both PayloadUUIDs new values (uuidgen), and deploy it through your MDM, or as a custom settings payload for the com.constly.app domain.

Windows

Constly reads SOFTWARE\Policies\RunTheWall\Constly, value by value, from HKEY_LOCAL_MACHINE first and then HKEY_CURRENT_USER. Each value is a REG_SZ; a value of another type counts as invalid.

Constly reads the policy each time it makes a request, so a change applies from the next update check without a restart. The automatic-check schedule reads AutoUpdate when Constly starts, and Settings when it opens. LicenseKey is read when Constly starts and when the licence panel opens.