{% extends "base.html" %} {% block title %}Integrations{% endblock %} {% block content %} {% comment %} External-service inventory (core.integration_registry). Credentials appear by NAME with a set / not-set flag only; values never reach this template. {% endcomment %}
{{ summary.total }} service{{ summary.total|pluralize }} in the inventory. {% for status, count in summary.by_status.items %}{% if count %}{{ status }}: {{ count }}{% endif %}{% endfor %}
{{ key_rotation }}. Credential presence is checked on this server ({{ local_app }}) only.
| Service | Status | Owner | Credentials | Connection test |
|---|---|---|---|---|
|
{{ row.service }}
{{ row.category }} · {{ row.apps|join:", " }}
{% for c in row.consumers %}{{ c.app }}: {{ c.purpose }} {% endfor %}
{% if row.notes %}{{ c.source }}{{ row.notes }} {% endif %}
|
{{ row.status }} |
{{ row.owner }}
{% if row.owner_basis %} {{ row.owner_basis }} {% endif %}
|
{% for c in row.credentials %}
{{ c.name }} ({{ c.app }}, {{ c.role }})
{% if c.present is None %}other app
{% elif c.present %}set
{% else %}not set{% endif %}
{% if c.note %}{{ c.note }}{% endif %}
|
{% for t in row.tests %}
{{ t.label }}
{% if t.registered %}
{% else %}
not registered
{% endif %}
{% if t.last %}
{% if t.last.ok %}Passed{% else %}Failed
{{ t.last.error_class }}{% endif %}
{{ t.last.what }}
{{ t.last.created_at|date:"Y-m-d H:i" }}{% if t.last.tested_by %} by {{ t.last.tested_by.get_username }}{% endif %}{% if t.last.http_status %} · HTTP {{ t.last.http_status }}{% endif %}{% if t.last.latency_ms is not None %} · {{ t.last.latency_ms }} ms{% endif %}
{% else %}
Not tested yet
{% endif %}
|
| No services configured in ERP_INTEGRATIONS. | ||||
Provider accounts of {{ connected.company|default:"your company" }}. Credentials are stored encrypted and never shown again.
Your user has no company, so there are no accounts to show.
{% else %} {% for row in connected.accounts %}{{ row.account.last_error }}{% endif %}
{{ row.webhook_path }}{{ c.kind }} set {{ c.updated_at|date:"Y-m-d H:i" }}{% if c.subject %} · {{ c.subject }}{% endif %}{{ row.last_check.error_class }}{% endif %}
{{ row.last_check.what }} {{ row.last_check.created_at|date:"Y-m-d H:i" }}
{% else %}Not tested yet{% endif %}
No connected accounts.
{% endfor %} {% if connected.can_change and connected.available %} {% endif %} {% endif %}Outbound: Fincas POSTs each subscribed event to the URL, signed with the subscription's secret (X-Golden-Signature) and numbered with X-Golden-Delivery-Id. A test delivery sends webhook.ping once.
Your account resolves to no company, so there are no subscriptions to show.
{% else %} {% for row in webhooks.subscriptions %}{{ row.subscription.description|default:"No description" }} · events: {{ row.subscription.subscribed_events|join:", "|default:"none" }}
{% if row.subscription.is_active %}Active{% else %}Disabled{% endif %} {% if row.last %}Last delivery: {{ row.last.event_type }} {% if row.last.success %}ok{% else %}failed{% endif %} ({{ row.last.response_status_code|default:"no answer" }}) {{ row.last.created_at|date:"M j, Y H:i" }}{% if row.last.delivery_id %} · id {{ row.last.delivery_id }}{% endif %}{% else %}No deliveries yet.{% endif %}
No webhook subscriptions.
{% endfor %} {% if webhooks.can_change %}