chore: Recover v1.6.0-rc.2 source from production image

The v1.6.0 work (webmentions, reply contexts, rate limiter, migration
010) was built and deployed as git.thesatelliteoflove.com/phil/starpunk:v1.6.0-rc.2
but never committed. This restores the application code from /app in
the running container so later work builds on what production runs.
Tests and docs for v1.6.0 were not in the image and are not recovered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PhilandClaude Opus 5.5 committed 2026-10-31 11:17:51 -06:00
1 parent 06a8aabc01
commit d3fa5b7a2a
24 files changed
+3982 -78

No files matched your search

+262
View File
@@ -191,3 +191,265 @@ small { display: block; margin-top: var(--spacing-xs); color: var(--color-text-l
aspect-ratio: 16 / 9; /* Wider aspect on mobile */
}
}
/* Webmention Styles (v1.6.0 Phase 5) */
/* Reply Context */
.reply-context {
margin-bottom: var(--spacing-md);
padding: var(--spacing-sm);
border-left: 3px solid var(--color-link);
background: var(--color-bg-alt);
}
.reply-context .reply-label {
font-size: 0.875rem;
color: var(--color-text-light);
display: block;
margin-bottom: var(--spacing-xs);
}
.reply-context blockquote {
margin: 0;
padding: 0;
}
.reply-context .p-content {
font-style: italic;
margin-bottom: var(--spacing-xs);
}
/* Webmentions Section */
.webmentions {
margin-top: var(--spacing-lg);
padding-top: var(--spacing-lg);
border-top: 1px solid var(--color-border);
}
.webmentions h2 {
margin-bottom: var(--spacing-md);
}
.webmention-group {
margin-bottom: var(--spacing-lg);
}
.webmention-group h3 {
font-size: 1rem;
margin-bottom: var(--spacing-sm);
color: var(--color-text-light);
}
/* Reply Webmentions */
.webmention-reply {
margin-bottom: var(--spacing-md);
padding: var(--spacing-sm);
background: var(--color-bg-alt);
border-radius: 4px;
}
.webmention-author {
display: flex;
align-items: center;
gap: var(--spacing-sm);
margin-bottom: var(--spacing-xs);
}
.webmention-author img {
border-radius: 50%;
}
.webmention-author a {
font-weight: bold;
}
.webmention-date {
font-size: 0.875rem;
color: var(--color-text-light);
}
/* Facepile */
.facepile {
display: flex;
align-items: center;
flex-wrap: wrap;
}
.facepile .face {
display: block;
width: 32px;
height: 32px;
border-radius: 50%;
overflow: hidden;
border: 2px solid var(--color-bg);
margin-left: -8px;
}
.facepile .face:first-child {
margin-left: 0;
}
.facepile .face img {
width: 100%;
height: 100%;
object-fit: cover;
}
.facepile .face-initial {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
font-size: 14px;
font-weight: bold;
color: white;
}
.facepile .face-overflow {
margin-left: var(--spacing-xs);
font-size: 0.875rem;
color: var(--color-text-light);
}
/* Generic Mentions */
.webmention-mention {
margin-bottom: var(--spacing-sm);
padding: var(--spacing-xs);
background: var(--color-bg-alt);
border-radius: 4px;
}
.webmention-mention p {
margin: var(--spacing-xs) 0 0 0;
font-size: 0.875rem;
color: var(--color-text-light);
}
/* Admin Webmention Styles */
.filter-tabs {
display: flex;
gap: var(--spacing-sm);
margin-bottom: var(--spacing-md);
border-bottom: 1px solid var(--color-border);
}
.filter-tabs a {
padding: var(--spacing-sm) var(--spacing-md);
text-decoration: none;
color: var(--color-text-light);
border-bottom: 2px solid transparent;
}
.filter-tabs a.active {
color: var(--color-link);
border-bottom-color: var(--color-link);
}
.bulk-actions {
display: flex;
gap: var(--spacing-sm);
margin-bottom: var(--spacing-md);
}
.webmention-table {
width: 100%;
border-collapse: collapse;
}
.webmention-table th,
.webmention-table td {
padding: var(--spacing-sm);
text-align: left;
border-bottom: 1px solid var(--color-border);
}
.webmention-table th {
background: var(--color-bg-alt);
font-weight: bold;
}
.badge {
display: inline-block;
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
border-radius: 4px;
background: var(--color-bg-alt);
}
.badge-reply { background: #DBEAFE; color: #1E40AF; }
.badge-like { background: #FECACA; color: #991B1B; }
.badge-repost { background: #D1FAE5; color: #065F46; }
.badge-bookmark { background: #FEF3C7; color: #92400E; }
.badge-mention { background: #E5E7EB; color: #374151; }
.status-badge {
display: inline-block;
padding: 0.25rem 0.5rem;
font-size: 0.75rem;
border-radius: 4px;
font-weight: 600;
}
.status-pending { background: #FEF3C7; color: #92400E; }
.status-approved { background: #D1FAE5; color: #065F46; }
.status-hidden { background: #E5E7EB; color: #6B7280; }
.status-valid { background: #D1FAE5; color: #065F46; }
.status-invalid { background: #FECACA; color: #991B1B; }
.status-error { background: #FECACA; color: #991B1B; }
.pagination {
display: flex;
align-items: center;
gap: var(--spacing-md);
justify-content: center;
margin-top: var(--spacing-lg);
}
.detail-card {
background: var(--color-bg-alt);
padding: var(--spacing-md);
border-radius: 4px;
margin-bottom: var(--spacing-lg);
}
.detail-row {
margin-bottom: var(--spacing-md);
}
.detail-row strong {
display: block;
margin-bottom: var(--spacing-xs);
color: var(--color-text-light);
}
.content-preview {
padding: var(--spacing-sm);
background: white;
border: 1px solid var(--color-border);
border-radius: 4px;
margin-top: var(--spacing-xs);
}
.moderation-actions {
margin-top: var(--spacing-lg);
}
.moderation-actions h3 {
margin-bottom: var(--spacing-sm);
}
.error-text {
color: #991B1B;
}
.empty-state {
text-align: center;
padding: var(--spacing-lg);
color: var(--color-text-light);
}
.empty-state .text-muted {
font-size: 0.875rem;
}