Not released yet. PeltyCMS is under development and not released yet; these docs describe the upcoming release and may change.
PeltyCMS Developer docs
User docsDevelopers
v0.1.0

Developer docs/Bundled addons

hCaptcha

hCaptcha captcha.

FieldValue
Addon idcaptcha-hcaptcha
Kindcaptcha
Provideshcaptcha
Enginewasm
ABI0.2.0
Version0.1.0
AuthorMythicalSystems
Sourceextensions/addons/captcha-hcaptcha
Permissions (shown at install)network.outbound

#Capabilities

CapabilityValue
httpapi.hcaptcha.com, hcaptcha.com, $setting:verify_url
secretsnone

#Events and hooks

WhatValue
Listens to (events)none
Hooksnone
Emitsnone
Mixinsnone
Scheduled jobsnone

#Settings and secrets

SettingTypeRequired
site_keytextno
secret_keysecretno
min_scorenumberno
verify_urltextno

Secrets (stored encrypted, never returned by the API): none.

Outbound HTTP allowed to: api.hcaptcha.com, hcaptcha.com, $setting:verify_url. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.

#addon.json

extensions/addons/captcha-hcaptcha/addon.jsonJSON
{
  "abi": "0.2.0",
  "author": "MythicalSystems",
  "capabilities": {
    "http": [
      "api.hcaptcha.com",
      "hcaptcha.com",
      "$setting:verify_url"
    ],
    "secrets": []
  },
  "description": "addons.desc.captcha.hcaptcha",
  "engine": "wasm",
  "id": "captcha-hcaptcha",
  "kind": "captcha",
  "name": "hCaptcha",
  "permissions": [
    "network.outbound"
  ],
  "provides": "hcaptcha",
  "settings": [
    {
      "default": "",
      "key": "site_key",
      "kind": "text",
      "label": "addons.captcha.setting.site_key",
      "required": false
    },
    {
      "default": "",
      "key": "secret_key",
      "kind": "secret",
      "label": "addons.captcha.setting.secret_key",
      "required": false
    },
    {
      "default": 0.5,
      "key": "min_score",
      "kind": "number",
      "label": "addons.captcha.setting.min_score",
      "required": false
    },
    {
      "default": "",
      "key": "verify_url",
      "kind": "text",
      "label": "addons.captcha.setting.verify_url",
      "required": false
    }
  ],
  "version": "0.1.0",
  "wasm": "addon.wasm"
}