Skip to content

Commit

Permalink
Merge branch 'main' into feat/subscriber-emails
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored Jan 22, 2025
2 parents 70964e8 + 85c6189 commit 20139e9
Show file tree
Hide file tree
Showing 107 changed files with 2,317 additions and 337 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build-api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Build API Reference

on:
schedule:
- cron: '0 7 * * *'
workflow_dispatch:

env:
DOCS_REPOSITORY: cachethq/docs
DOCS_BRANCH: 3.x

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo

- name: Install dependencies
run: composer install

- name: Install Scramble PRO
run: |
composer config repositories.scramble-pro '{"type": "composer", "url": "https://satis.dedoc.co"}'
composer config http-basic.satis.dedoc.co ${{ secrets.SCRAMBLE_USERNAME }} ${{ secrets.SCRAMBLE_KEY }}
composer require dedoc/scramble-pro:0.7.0-alpha.1 --dev
- name: Checkout documentation repository
uses: actions/checkout@v4
with:
token: ${{ secrets.DOCS_API_TOKEN }}
repository: ${{ env.DOCS_REPOSITORY }}
ref: ${{ env.DOCS_BRANCH }}
path: 'docs-repository'

- name: Build API docs
run: php vendor/bin/testbench scramble:export --path=docs-repository/api-reference/openapi.json

- name: Commit and push generated specification
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Generated API specification from ${{ github.repository }}/${{ github.ref}}@${{ github.sha }}"
repository: "docs-repository"
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"twig/twig": "^3.0"
},
"require-dev": {
"dedoc/scramble": "0.12.0-alpha.1",
"larastan/larastan": "^3.0",
"laravel/pail": "^1.1",
"orchestra/testbench": "^9.5.1",
Expand Down
6 changes: 5 additions & 1 deletion config/cachet.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
*/
'middleware' => [
'web',
// \Cachet\Http\Middleware\AuthenticateRemoteUser::class,
],

'api_middleware' => [
Expand Down Expand Up @@ -136,12 +137,15 @@
|
*/
'supported_locales' => [
'de' => 'Deutsch',
'de_AT' => 'Deutsch (AT)',
'de_CH' => 'Deutsch (CH)',
'de_DE' => 'Deutsch (DE)',
'en' => 'English',
'en_GB' => 'English (UK)',
'nl_NL' => 'Nederlands',
'pt_BR' => 'Português (BR)',
'zh_CN' => '简体中文',
'zh_TW' => '繁體中文',
'ph' => 'Filipino',
],
];
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"prettier-plugin-blade": "^2.0.0",
"prettier-plugin-tailwindcss": "^0.5.11",
"tailwindcss": "^3.4.13",
"vite": "^5.0"
"vite": "^5.4"
}
}
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions public/build/manifest.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"resources/css/cachet.css": {
"file": "assets/cachet-ah9G5dFs.css",
"file": "assets/cachet-Df9g2n5M.css",
"src": "resources/css/cachet.css",
"isEntry": true
},
"resources/css/dashboard/theme.css": {
"file": "assets/theme-DyVQFgyW.css",
"file": "assets/theme-CYlkUfJB.css",
"src": "resources/css/dashboard/theme.css",
"isEntry": true
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
'visibility' => [
'expanded' => 'Immer ausgeklappt',
'collapsed' => 'Immer eingeklappt',
'collapsed_unless_incident' => 'ingeklappt - außer bei aktivem Vorfall',
'collapsed_unless_incident' => 'Eingeklappt - außer bei aktivem Vorfall',
],
'list' => [
'headers' => [
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
'form' => [
'url_label' => 'Payload URL',
'url_helper' => 'Ereignisse werden an diese URL gesendet.',
'secret_label' => 'Secret',
'secret_label' => 'Geheimschlüssel',
'secret_helper' => 'Das Payload wird mit diesem Geheimnis signiert. Weitere Informationen findest Du in der *Webhook-Dokumentation*.',
'description_label' => 'Beschreibung',
'event_selection_label' => 'Alle Ereignisse senden?',
'events_label' => 'Ereignisse',
'edit_secret_label' => 'Secret bearbeiten',
'update_secret_label' => 'Secret aktualisiseren',
'edit_secret_label' => 'Geheimschlüssel bearbeiten',
'update_secret_label' => 'Geheimschlüssel aktualisieren',
],
'attempts' => [
'heading' => 'Versuche',
Expand Down
31 changes: 31 additions & 0 deletions resources/lang/de_CH/api_key.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

return [
'resource_label' => 'API Schlüssel|API Schlüssel',
'show_token' => [
'heading' => 'Dein API Token wurde generiert',
'description' => 'Bitte kopiere deinen API Token. Aus Gründen der Sicherheit, wird dieser nicht erneut angezeigt.',
'copy_tooltip' => 'Token kopiert!',
],
'abilities_label' => ':ability :resource',
'form' => [
'name_label' => 'Token Name',
'expires_at_label' => 'Abgelaufen am',
'expires_at_helper' => 'Läuft ab um Mitternacht. Frei lassen für keinen Ablauf.',
'expires_at_validation' => 'Das Ablaufdatum muss in der Zukunft liegen.',
'abilities_label' => 'Berechtigungen',
'abilities_hint' => 'Frei lassen, gibt dem Token volle Berechtigung.',
],
'list' => [
'actions' => [
'revoke' => 'Widerrufen',
],
'headers' => [
'name' => 'Token Name',
'abilities' => 'Berechtigungen',
'created_at' => 'Erstellt am',
'expires_at' => 'Läuft ab am',
'updated_at' => 'Aktualisiert am',
],
],
];
14 changes: 14 additions & 0 deletions resources/lang/de_CH/cachet.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

return [
'support' => [
'section_heading' => 'Cachet unterstützen',
'consider_supporting' => 'Bitte erwäge, Cachet über GitHub-Sponsoren zu unterstützen.',
'keep_up_to_date' => 'Bleibe über die aktuellsten Nachrichten und Veröffentlichungen auf dem Laufenden, indem Du dem *Cachet-Blog* folgst.',
'work_in_progress_text' => 'Cachet befindet sich in der aktiven Entwicklung. Änderungen sind noch vorbehalten.',
],
'powered_by' => 'Unterstützt von',
'open_source_status_page' => 'Die Open-Source-Statusseite.',
'all_times_shown_in' => 'Alle Zeiten werden angezeigt in *:timezone*.',
'rss_feed' => ':name RSS-Feed',
];
39 changes: 39 additions & 0 deletions resources/lang/de_CH/component.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php

return [
'resource_label' => 'Komponente|Komponenten',
'list' => [
'headers' => [
'name' => 'Name',
'status' => 'Status',
'order' => 'Reihenfolge',
'group' => 'Gruppe',
'enabled' => 'Aktiviert',
'created_at' => 'Erstellt am',
'updated_at' => 'Aktualisiert am',
'deleted_at' => 'Gelöscht am',
],
'empty_state' => [
'heading' => 'Komponenten',
'description' => 'Komponenten stellen die verschiedenen Teile Deines Systems dar, die den Status Deiner Statusseite beeinflussen können.',
],
],
'last_updated' => 'Letzte Aktualisierung :timestamp',
'view_details' => 'Details anzeigen',
'form' => [
'name_label' => 'Name',
'status_label' => 'Status',
'description_label' => 'Beschreibung',
'component_group_label' => 'Komponentengruppe',
'link_label' => 'Link',
'link_helper' => 'Ein optionaler Link zur Komponente',
],
'status' => [
'operational' => 'Funktionsfähig',
'performance_issues' => 'Leistungsprobleme',
'partial_outage' => 'Teilausfall',
'major_outage' => 'Schwerer Ausfall',
'unknown' => 'Unbekannt',
],

];
29 changes: 29 additions & 0 deletions resources/lang/de_CH/component_group.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

return [
'resource_label' => 'Komponentengruppe|Komponentengruppen',
'incident_count' => ':count Vorfall|:count Vorfälle',
'visibility' => [
'expanded' => 'Immer ausgeklappt',
'collapsed' => 'Immer eingeklappt',
'collapsed_unless_incident' => 'Eingeklappt - außer bei aktivem Vorfall',
],
'list' => [
'headers' => [
'name' => 'Name',
'visible' => 'Sichtbar',
'collapsed' => 'Ausgeklappt',
'created_at' => 'Erstellt am',
'updated_at' => 'Aktualisiert am',
],
'empty_state' => [
'heading' => 'Komponentengruppen',
'description' => 'Gruppiere verwandte Komponenten',
],
],
'form' => [
'name_label' => 'Name',
'visible_label' => 'Sichtbar',
'collapsed_label' => 'Ausgeklappt',
],
];
80 changes: 80 additions & 0 deletions resources/lang/de_CH/incident.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?php

return [
'title' => 'Vorfälle',
'resource_label' => 'Vorfall|Vorfälle',
'status' => [
'investigating' => 'Untersuchung',
'identified' => 'Identifiziert',
'watching' => 'Beobachtung',
'fixed' => 'Behoben',
'reported' => 'Gemeldet',
],
'edit_button' => 'Vorfall bearbeiten',
'new_button' => 'Vorfall hinzufügen',
'no_incidents_reported' => 'Keine Vorfälle gemeldet.',
'timeline' => [
'past_incidents_header' => 'Vergangene Vorfälle',
'recent_incidents_header' => 'Jüngste Vorfälle',
'no_incidents_reported_between' => 'Keine Vorfälle gemeldet zwischen :from und :to',
'navigate' => [
'previous' => 'Vor',
'today' => 'Heute',
'next' => 'Weiter',
],
],
'list' => [
'headers' => [
'name' => 'Name',
'status' => 'Status',
'visible' => 'Sichtbar',
'stickied' => 'Angeheftet',
'occurred_at' => 'Aufgetreten am',
'notified_subscribers' => 'Benachrichtigte Abonnenten',
'created_at' => 'Erstellt am',
'updated_at' => 'Aktualisiert am',
'deleted_at' => 'Gelöscht am',
],
'actions' => [
'record_update' => 'Update aufzeichnen',
'view_incident' => 'Vorfall anschauen',
],
'empty_state' => [
'heading' => 'Vorfälle',
'description' => 'Vorfälle werden verwendet, um den Status Deiner Dienste zu kommunizieren und zu verfolgen.',
],
],
'form' => [
'name_label' => 'Name',
'status_label' => 'Status',
'message_label' => 'Nachricht',
'occurred_at_label' => 'Aufgetreten am',
'occurred_at_helper' => 'Wenn dieses Feld leer gelassen wird, wird der Zeitstempel der Erstellung des Vorfalls verwendet.',
'visible_label' => 'Sichtbar',
'user_label' => 'Benutzer',
'user_helper' => 'Benutzer, welcher den Vorfall gemeldet hat.',
'notifications_label' => 'Abonnenten benachrichtigen?',
'stickied_label' => 'Vorfall anheften?',
'guid_label' => 'Vorfall-UUID',
'add_component' => [
'action_label' => 'Komponente hinzufügen',
'header' => 'Komponenten',
'component_label' => 'Komponente',
'status_label' => 'Status',
],
],
'record_update' => [
'success_title' => 'Vorfall aktualisiert - :name',
'success_body' => 'Ein Update zu einem Vorfall wurde veröffentlicht.',
'form' => [
'message_label' => 'Nachricht',
'status_label' => 'Status',
'user_label' => 'Benutzer',
'user_helper' => 'Wer diesen Vorfall gemeldet hat.',
],
],
'overview' => [
'total_incidents_label' => 'Vorfälle insgesamt',
'total_incidents_description' => 'Anzahl aller Vorfälle',
],
];
31 changes: 31 additions & 0 deletions resources/lang/de_CH/incident_template.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php

return [
'resource_label' => 'Vorfallvorlage|Vorfallvorlagen',
'list' => [
'headers' => [
'name' => 'Name',
'slug' => 'Schlagwort',
'engine' => 'Methode',
'created_at' => 'Erstellt am',
'updated_at' => 'Aktualisiert am',
'deleted_at' => 'Gelöscht am',
],
'empty_state' => [
'heading' => 'Vorfallvorlage',
'description' => 'Vorfallvorlagen werden zum Erstellen wiederverwendbarer Vorfallmeldungen verwendet.',
],
],
'form' => [
'name_label' => 'Name',
'slug_label' => 'Schlagwort',
'template_label' => 'Vorlage',
'engine_label' => 'Methode',
],
'engine' => [
'laravel_blade' => 'Laravel Blade',
'laravel_blade_docs' => 'Laravel Blade Dokumentation',
'twig' => 'Twig',
'twig_docs' => 'Twig Dokumentation',
],
];
Loading

0 comments on commit 20139e9

Please sign in to comment.