Open a TaskStream board from the panel's project form
Some checks failed
Tests / test (push) Has been cancelled
Tests / test-postgres (push) Has been cancelled
Tests / mcp (push) Has been cancelled
Tests / lint (push) Has been cancelled

A "TaskStream" section on the create form (toggle and optional key,
suggested from the slug) opens the board before saving, as the person
signed in, with the Pireon token of their session. A refusal shows on the
key field and a TaskStream outage as a notification; either way nothing is
saved. The created notification carries the link, and the edit page has
an "Open in TaskStream" button.

Documented in the user manual (and its PDF) and the README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 23:01:55 +02:00
parent cdfc8763a5
commit b32d6bf001
10 changed files with 282 additions and 4 deletions

View File

@@ -527,9 +527,11 @@ registrarla en `config/git.php`, sin tocar nada más.
## Tableros en TaskStream
Al crear un proyecto por la API, `taskstream: true` le abre también un tablero
en [TaskStream](https://taskstream.pireon.dev), el gestor de tareas del
colectivo, y la respuesta trae el enlace:
Al crear un proyecto, la casilla «Crear también en TaskStream» del panel o
`taskstream: true` en la API le abren también un tablero en
[TaskStream](https://taskstream.pireon.dev), el gestor de tareas del colectivo.
El panel avisa con el enlace y, al editar, ofrece «Abrir en TaskStream»; la API
lo devuelve en la respuesta:
```json
POST /api/v1/projects
@@ -548,7 +550,7 @@ POST /api/v1/projects
responde, 502. Así no quedan proyectos a medias ni webhooks de algo que no
existe.
- **A nombre de quien lo pide**: TaskStream acepta los mismos tokens de Pireon
que esta API, y se le pasa el de quien llama. Un token de máquina (`pmt_…`)
que esta API, y se le pasa el de quien llama (en el panel, el de su sesión). Un token de máquina (`pmt_…`)
allí no significa nada, así que esas peticiones usan `TASKSTREAM_TOKEN`; sin
él, no pueden pedir tablero.
- Solo al crear: en una edición los dos campos se ignoran, y un proyecto