Files
landing-api/config/services.php
Josep Piguillem d30dd971d7
Some checks failed
Tests / lint (push) Has been cancelled
Tests / test (push) Has been cancelled
Tests / test-postgres (push) Has been cancelled
Tests / mcp (push) Has been cancelled
Open a TaskStream board when a project is created through the API
`taskstream: true` on POST /v1/projects also creates the project in
TaskStream, public, as the caller (their Pireon token is passed on), and
the answer carries `taskstream_key` and `taskstream_url`. The key is
`taskstream_key` or one made from the default-language slug.

The board is opened before the project is saved: if TaskStream refuses
it, nothing is created here and the reason comes back as a validation
error (502 when TaskStream does not answer). Machine tokens need the
server's own TASKSTREAM_TOKEN. Updates ignore the flag, and duplicates do
not inherit the link.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-07 21:12:36 +02:00

58 lines
1.8 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Resend, Postmark, AWS, and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'postmark' => [
'key' => env('POSTMARK_API_KEY'),
],
'resend' => [
'key' => env('RESEND_API_KEY'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
/*
| TaskStream, the collective's issue tracker. Creating a project here can
| open its board there too (`taskstream: true`); it is made public.
*/
'taskstream' => [
'api_url' => env('TASKSTREAM_API_URL', 'https://api.taskstream.pireon.dev'),
'web_url' => env('TASKSTREAM_WEB_URL', 'https://taskstream.pireon.dev'),
/*
| TaskStream only understands Pireon tokens. A person signed in with
| one has it forwarded, so the board is theirs; a machine token means
| nothing there, so its requests use this one instead — a Pireon
| personal access token. Without it, they cannot ask for a board.
*/
'token' => env('TASKSTREAM_TOKEN'),
'timeout' => (int) env('TASKSTREAM_HTTP_TIMEOUT', 10),
],
];