Fix bin/publish: copy docs.dist from project root

Fix bin/publish: use correct .env path for rspade_system
Fix bin/publish script: prevent grep exit code 1 from terminating script

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-21 02:08:33 +00:00
commit f6fac6c4bc
79758 changed files with 10547827 additions and 0 deletions

0
resources/js/.placeholder Executable file
View File

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Unauthorized'))
@section('code', '401')
@section('message', __('Unauthorized'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Payment Required'))
@section('code', '402')
@section('message', __('Payment Required'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Forbidden'))
@section('code', '403')
@section('message', __($exception->getMessage() ?: 'Forbidden'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Not Found'))
@section('code', '404')
@section('message', __('Not Found'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Page Expired'))
@section('code', '419')
@section('message', __('Page Expired'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Too Many Requests'))
@section('code', '429')
@section('message', __('Too Many Requests'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Server Error'))
@section('code', '500')
@section('message', __('Server Error'))

View File

@@ -0,0 +1,5 @@
@extends('errors::minimal')
@section('title', __('Service Unavailable'))
@section('code', '503')
@section('message', __('Service Unavailable'))

View File

@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title')</title>
<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-weight: 100;
height: 100vh;
margin: 0;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.content {
text-align: center;
}
.title {
font-size: 36px;
padding: 20px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
<div class="content">
<div class="title">
@yield('message')
</div>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,225 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ $title }} - Access Required</title>
{{-- Bootstrap 5 CDN - Same URL as Bootstrap5_Bundle for caching --}}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css"
integrity="sha512-SbiR/eusphKoMVVXysTKG/7VseWii+Y3FdHrt0EpKgpToZeemhqHeZeLWLhJutz/2ut2Vw1uQEj2MbRF+TVBUA=="
crossorigin="anonymous">
<style>
body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.gatekeeper-container {
background: white;
border-radius: 10px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
max-width: 900px;
width: 100%;
margin: 20px;
overflow: hidden;
}
.gatekeeper-row {
display: flex;
min-height: 500px;
}
.gatekeeper-info {
flex: 1;
padding: 40px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
display: flex;
flex-direction: column;
justify-content: center;
}
.gatekeeper-info h1 {
font-size: 2rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.gatekeeper-info p {
font-size: 1.1rem;
line-height: 1.6;
opacity: 0.95;
margin-bottom: 1rem;
}
.gatekeeper-info .feature-list {
margin-top: 2rem;
}
.gatekeeper-info .feature-list li {
margin-bottom: 0.75rem;
opacity: 0.9;
}
.gatekeeper-form {
flex: 1;
padding: 40px;
display: flex;
flex-direction: column;
justify-content: center;
}
.form-header {
text-align: center;
margin-bottom: 30px;
}
.form-header h2 {
color: #333;
font-weight: 600;
font-size: 1.75rem;
}
.form-header p {
color: #666;
margin-top: 10px;
}
.logo-container {
text-align: center;
margin-bottom: 2rem;
}
.logo-container img {
max-height: 60px;
width: auto;
}
.error-message {
background-color: #f8d7da;
border-color: #f5c6cb;
color: #721c24;
padding: 12px;
border-radius: 4px;
margin-bottom: 20px;
}
.form-control:focus {
border-color: #667eea;
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
padding: 10px 20px;
font-weight: 500;
transition: all 0.3s;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}
@media (max-width: 768px) {
.gatekeeper-row {
flex-direction: column;
}
.gatekeeper-info {
min-height: auto;
padding: 30px;
}
.gatekeeper-info h1 {
font-size: 1.5rem;
}
}
</style>
</head>
<body>
<div class="gatekeeper-container">
<div class="gatekeeper-row">
{{-- Left Column: Information --}}
<div class="gatekeeper-info">
@if($logo)
<div class="logo-container mb-4">
<img src="{{ $logo }}" alt="Logo">
</div>
@endif
<h1>{{ $title }}</h1>
<p>{{ $subtitle }}</p>
<ul class="feature-list list-unstyled">
<li>🔒 Restricted Access</li>
<li>🚧 Development Preview</li>
<li>🧪 Testing Environment</li>
</ul>
<div class="mt-auto">
<small class="opacity-75">
This is a preview environment. Features may be incomplete,
and any data entered may be lost during updates.
</small>
</div>
</div>
{{-- Right Column: Login Form --}}
<div class="gatekeeper-form">
<div class="form-header">
<h2>Access Required</h2>
<p>Please enter the access password</p>
</div>
@if($error)
<div class="error-message">
{{ $error }}
</div>
@endif
<form method="POST" action="/_gatekeeper/login">
@csrf
<input type="hidden" name="redirect" value="{{ $redirect }}">
<div class="mb-3">
<label for="password" class="form-label">Access Password</label>
<input type="password"
class="form-control form-control-lg"
id="password"
name="password"
required
autofocus
placeholder="Enter access password">
</div>
<div class="d-grid">
<button type="submit" class="btn btn-primary btn-lg">
Grant Access
</button>
</div>
</form>
<div class="text-center mt-4">
<small class="text-muted">
If you don't have the password, please contact the site administrator.
</small>
</div>
</div>
</div>
</div>
{{-- Bootstrap 5 JavaScript Bundle --}}
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/js/bootstrap.bundle.min.js"
integrity="sha512-i9cEfJwUwViEPFKdC1enz4ZRGBj8YQo6QByFTF92YXHi7waCqyexvRD75S5NVTsSiTv7rKWqG9Y5eFxmRsOn0A=="
crossorigin="anonymous"></script>
</body>
</html>

View File

@@ -0,0 +1 @@
Hello world

83
resources/views/vendor/ignition/errorPage.php vendored Executable file
View File

@@ -0,0 +1,83 @@
<!DOCTYPE html>
<?php /** @var \Spatie\Ignition\ErrorPage\ErrorPageViewModel $viewModel */ ?>
<html lang="en" class="<?= $viewModel->theme() ?>">
<!--
<?= $viewModel->throwableString() ?>
-->
<head>
<!-- Hide dumps asap -->
<style>
pre.sf-dump {
display: none !important;
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="noindex, nofollow">
<title><?= $viewModel->title() ?></title>
<script>
(function() {
// Livewire modals remove CSS classes on the `html` element so we re-add
// the theme class again using JavaScript.
document.documentElement.classList.add('<?= $viewModel->theme() ?>');
// Process `auto` theme as soon as possible to avoid flashing of white background.
if (document.documentElement.classList.contains('auto') && window.matchMedia('(prefers-color-scheme: dark)').matches) {
document.documentElement.classList.add('dark');
}
})();
</script>
<style><?= $viewModel->getAssetContents('ignition.css') ?></style>
<?= $viewModel->customHtmlHead() ?>
</head>
<body class="scrollbar-lg antialiased bg-center bg-dots-darker dark:bg-dots-lighter">
<script>
(function() {
window.data = <?=
$viewModel->jsonEncode([
'report' => $viewModel->report(),
'shareableReport' => $viewModel->shareableReport(),
'config' => $viewModel->config(),
'solutions' => $viewModel->solutions(),
'updateConfigEndpoint' => $viewModel->updateConfigEndpoint(),
])
?>;
})();
</script>
<!-- The noscript representation is for HTTP client like Postman that have JS disabled. -->
<noscript>
<pre><?= $viewModel->throwableString() ?></pre>
</noscript>
<div id="app"></div>
<script>
(function() {
<!--
<?= $viewModel->getAssetContents('ignition.js') ?>
-->
})();
</script>
<script>
(function() {
window.ignite(window.data);
})();
</script>
<?= $viewModel->customHtmlBody() ?>
<!--
<?= $viewModel->throwableString() ?>
-->
</body>
</html>