Skip to content

Commit

Permalink
first round
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaneri committed Dec 18, 2024
1 parent 2bec4c4 commit aca1440
Show file tree
Hide file tree
Showing 30 changed files with 394 additions and 549 deletions.
6 changes: 3 additions & 3 deletions examples/OpenApi-TuttiFrutti.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
.PARAMETER DisableTermination
Prevents the server from being terminated.
.PARAMETER IgnoreServerPsConfig
.PARAMETER IgnoreServerConfig
Ignores the server.psd1 configuration file when starting the server.
This parameter ensures the server does not load or apply any settings defined in the server.psd1 file, allowing for a fully manual configuration at runtime.
Expand Down Expand Up @@ -55,7 +55,7 @@ param(
$DisableTermination,

[switch]
$IgnoreServerPsConfig
$IgnoreServerConfig
)

try {
Expand All @@ -73,7 +73,7 @@ try {
}
catch { throw }

Start-PodeServer -Threads 1 -Quiet:$Quiet -DisableTermination:$DisableTermination -IgnoreServerPsConfig:$IgnoreServerPsConfig -ScriptBlock {
Start-PodeServer -Threads 1 -Quiet:$Quiet -DisableTermination:$DisableTermination -IgnoreServerConfig:$IgnoreServerConfig -ScriptBlock {
Add-PodeEndpoint -Address localhost -Port $PortV3 -Protocol Http -Default -Name 'endpoint_v3'
Add-PodeEndpoint -Address localhost -Port $PortV3_1 -Protocol Http -Default -Name 'endpoint_v3.1'
New-PodeLoggingMethod -Terminal | Enable-PodeErrorLogging
Expand Down
6 changes: 1 addition & 5 deletions src/Locales/ar/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,7 @@
suspendedMessage = 'معلق'
runningMessage = 'يعمل'
openHttpEndpointMessage = 'افتح أول نقطة نهاية HTTP في المتصفح الافتراضي.'
suspendingRunspaceMessage = 'إيقاف تنفيذ المسارات'
resumingRunspaceMessage = 'استئناف تنفيذ المسارات'
waitingforSuspendingMessage = 'انتظار الإيقاف...'
waitingforResumingMessage = 'انتظار الاستئناف...'
terminatedMessage = 'تم الإنهاء'
terminatedMessage = 'تم الإنهاء'
showMetricsMessage = 'عرض المقاييس'
clearConsoleMessage = 'مسح وحدة التحكم'
serverMetricsMessage = 'مقاييس الخادم'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/de/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Angehalten'
runningMessage = 'Läuft'
openHttpEndpointMessage = 'Öffnen Sie den ersten HTTP-Endpunkt im Standardbrowser.'
suspendingRunspaceMessage = 'Suspension der Runspaces'
resumingRunspaceMessage = 'Fortsetzung der Runspaces'
waitingforSuspendingMessage = 'Warten auf das Suspendieren ...'
waitingforResumingMessage = 'Warten auf das Fortsetzen ...'
terminatedMessage = 'Beendet'
showMetricsMessage = 'Metriken anzeigen'
clearConsoleMessage = 'Konsole löschen'
Expand Down
6 changes: 1 addition & 5 deletions src/Locales/en-us/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,11 @@
suspendedMessage = 'Suspended'
runningMessage = 'Running'
openHttpEndpointMessage = 'Open the first HTTP endpoint in the default browser.'
suspendingRunspaceMessage = 'Suspending Runspaces'
resumingRunspaceMessage = 'Resuming Runspaces'
waitingforSuspendingMessage = 'Waiting for suspending ...'
waitingforResumingMessage = 'Waiting for resuming ...'
terminatedMessage = 'Terminated'
showMetricsMessage = 'Show Metrics'
clearConsoleMessage = 'Clear the Console'
serverMetricsMessage = 'Server Metrics'
totalUptimeMessage = 'Total Uptime:'
uptimeSinceLastRestartMessage = 'Uptime Since Last Restart:'
totalRestartMessage = 'Total Number of Restart:'
totalRestartMessage = 'Total Number of Restarts:'
}
6 changes: 1 addition & 5 deletions src/Locales/en/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,11 @@
suspendedMessage = 'Suspended'
runningMessage = 'Running'
openHttpEndpointMessage = 'Open the first HTTP endpoint in the default browser.'
suspendingRunspaceMessage = 'Suspending Runspaces'
resumingRunspaceMessage = 'Resuming Runspaces'
waitingforSuspendingMessage = 'Waiting for suspending ...'
waitingforResumingMessage = 'Waiting for resuming ...'
terminatedMessage = 'Terminated'
showMetricsMessage = 'Show Metrics'
clearConsoleMessage = 'Clear the Console'
serverMetricsMessage = 'Server Metrics'
totalUptimeMessage = 'Total Uptime:'
uptimeSinceLastRestartMessage = 'Uptime Since Last Restart:'
totalRestartMessage = 'Total Number of Restart:'
totalRestartMessage = 'Total Number of Restarts:'
}
4 changes: 0 additions & 4 deletions src/Locales/es/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Suspendido'
runningMessage = 'En ejecución'
openHttpEndpointMessage = 'Abrir el primer endpoint HTTP en el navegador predeterminado.'
suspendingRunspaceMessage = 'Suspendiendo los espacios de ejecución'
resumingRunspaceMessage = 'Reanudando los espacios de ejecución'
waitingforSuspendingMessage = 'Esperando para suspender ...'
waitingforResumingMessage = 'Esperando para reanudar ...'
terminatedMessage = 'Terminado'
showMetricsMessage = 'Mostrar métricas'
clearConsoleMessage = 'Limpiar la consola'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/fr/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Suspendu'
runningMessage = "En cours d'exécution"
openHttpEndpointMessage = 'Ouvrez le premier point de terminaison HTTP dans le navigateur par défaut.'
suspendingRunspaceMessage = 'Suspension des Runspaces'
resumingRunspaceMessage = 'Reprise des Runspaces'
waitingforSuspendingMessage = 'En attente de la suspension ...'
waitingforResumingMessage = 'En attente de la reprise ...'
terminatedMessage = 'Terminé'
showMetricsMessage = 'Afficher les métriques'
clearConsoleMessage = 'Effacer la console'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/it/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Sospeso'
runningMessage = 'In esecuzione'
openHttpEndpointMessage = 'Apri il primo endpoint HTTP nel browser predefinito.'
suspendingRunspaceMessage = 'Sospensione degli spazi di esecuzione'
resumingRunspaceMessage = 'Ripresa degli spazi di esecuzione'
waitingforSuspendingMessage = 'Attesa per sospensione ...'
waitingforResumingMessage = 'Attesa per ripresa ...'
terminatedMessage = 'Terminato'
showMetricsMessage = 'Mostra metriche'
clearConsoleMessage = 'Cancella la console'
Expand Down
16 changes: 6 additions & 10 deletions src/Locales/ja/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,11 @@
suspendedMessage = '一時停止中'
runningMessage = '実行中'
openHttpEndpointMessage = 'デフォルトのブラウザで最初の HTTP エンドポイントを開きます。'
suspendingRunspaceMessage = 'ランスペースの停止'
resumingRunspaceMessage = 'ランスペースの再開'
waitingforSuspendingMessage = '停止待機中...'
waitingforResumingMessage = '再開待機中...'
terminatedMessage = '終了しました'
showMetricsMessage = 'メトリクスを表示'
clearConsoleMessage = 'コンソールをクリア'
serverMetricsMessage = 'サーバーメトリクス'
totalUptimeMessage = '総稼働時間:'
uptimeSinceLastRestartMessage = '最後の再起動からの稼働時間:'
totalRestartMessage = '再起動の総数:'
showMetricsMessage = 'メトリクスを表示'
clearConsoleMessage = 'コンソールをクリア'
serverMetricsMessage = 'サーバーメトリクス'
totalUptimeMessage = '総稼働時間:'
uptimeSinceLastRestartMessage = '最後の再起動からの稼働時間:'
totalRestartMessage = '再起動の総数:'
}
4 changes: 0 additions & 4 deletions src/Locales/ko/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = '일시 중지됨'
runningMessage = '실행 중'
openHttpEndpointMessage = '기본 브라우저에서 첫 번째 HTTP 엔드포인트를 엽니다.'
suspendingRunspaceMessage = '런스페이스 일시 정지'
resumingRunspaceMessage = '런스페이스 재개'
waitingforSuspendingMessage = '일시 정지 대기 중...'
waitingforResumingMessage = '재개 대기 중...'
terminatedMessage = '종료됨'
showMetricsMessage = '메트릭 표시'
clearConsoleMessage = '콘솔 지우기'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/nl/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Gepauzeerd'
runningMessage = 'Actief'
openHttpEndpointMessage = 'Open het eerste HTTP-eindpunt in de standaardbrowser.'
suspendingRunspaceMessage = 'Wstrzymywanie przestrzeni roboczych'
resumingRunspaceMessage = 'Wznawianie przestrzeni roboczych'
waitingforSuspendingMessage = 'Oczekiwanie na zawieszenie ...'
waitingforResumingMessage = 'Oczekiwanie na wznowienie ...'
terminatedMessage = 'Beëindigd'
showMetricsMessage = 'Toon statistieken'
clearConsoleMessage = 'Console wissen'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/pl/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Wstrzymany'
runningMessage = 'Działa'
openHttpEndpointMessage = 'Otwórz pierwszy punkt końcowy HTTP w domyślnej przeglądarce.'
suspendingRunspaceMessage = 'Wstrzymywanie przestrzeni roboczych'
resumingRunspaceMessage = 'Wznawianie przestrzeni roboczych'
waitingforSuspendingMessage = 'Oczekiwanie na zawieszenie ...'
waitingforResumingMessage = 'Oczekiwanie na wznowienie ...'
terminatedMessage = 'Zakończono'
showMetricsMessage = 'Pokaż metryki'
clearConsoleMessage = 'Wyczyść konsolę'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/pt/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = 'Suspenso'
runningMessage = 'Executando'
openHttpEndpointMessage = 'Abrir o primeiro endpoint HTTP no navegador padrão.'
suspendingRunspaceMessage = 'Suspensão dos Runspaces'
resumingRunspaceMessage = 'Retomada dos Runspaces'
waitingforSuspendingMessage = 'Esperando para suspender ...'
waitingforResumingMessage = 'Esperando para retomar ...'
terminatedMessage = 'Terminado'
showMetricsMessage = 'Mostrar métricas'
clearConsoleMessage = 'Limpar o console'
Expand Down
4 changes: 0 additions & 4 deletions src/Locales/zh/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,6 @@
suspendedMessage = '已暂停'
runningMessage = '运行中'
openHttpEndpointMessage = '在默认浏览器中打开第一个 HTTP 端点。'
suspendingRunspaceMessage = '暂停运行空间'
resumingRunspaceMessage = '恢复运行空间'
waitingforSuspendingMessage = '等待暂停...'
waitingforResumingMessage = '等待恢复...'
terminatedMessage = '已终止'
showMetricsMessage = '显示指标'
clearConsoleMessage = '清除控制台'
Expand Down
1 change: 1 addition & 0 deletions src/Pode.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@
'Suspend-PodeServer',
'Resume-PodeServer',
'Get-PodeServerState',
'Test-PodeServerState',
'Enable-PodeServer',
'Disable-PodeServer',

Expand Down
Loading

0 comments on commit aca1440

Please sign in to comment.