feat: wordmark on every beep + self-hosted Gitea updates (v1.7.0)

- Show the Beep wordmark bottom-right of every beep and reply, beside the
  delete button (delete stays furthest right).
- Add Beep_Updater: WordPress-native plugin updates backed by the Gitea
  releases API, with token auth for the private repo, "View details"
  changelog, archive-folder normalization, and a "Check for updates" link.
- Bump version to 1.7.0; sync readme.txt stable tag + changelog.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Krystie
2026-06-07 02:13:50 -07:00
parent d2c8ca6a47
commit 2788dc8d96
6 changed files with 384 additions and 11 deletions
+14 -8
View File
@@ -267,15 +267,18 @@ function beep_render_post($post) {
title="Quote">
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor"><path d="M8 5H6v2H4v12h2v-2h2v2h8V9h-2V7h-2v2H8V5zm10 0v2h2v12h-2v-2h-2v2H8V9h2v2h2V7h2V5h2z"/></svg>
</a>
<?php if ($can_delete) : ?>
<div class="beep-delete-row">
<div class="beep-post-footer">
<img class="beep-post-wordmark"
src="<?php echo esc_url(Beep_Settings::get('logo_url') ?: BEEP_URL . 'assets/beep-wordmark.png'); ?>"
alt="Beep">
<?php if ($can_delete) : ?>
<button class="beep-delete-link"
data-beep-delete="<?php echo (int) $post->ID; ?>"
type="button"
aria-label="Delete this beep"
title="Delete">&times;</button>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
<?php if ($can_interact) : ?>
<?php echo beep_render_reply_form($post->ID, 0); ?>
@@ -398,15 +401,18 @@ function beep_render_reply($comment, $all_comments = [], $depth = 0, $post_id =
</div>
<?php echo beep_render_reply_form($post_id, $comment->comment_ID); ?>
<?php endif; ?>
<?php if ($can_delete) : ?>
<div class="beep-delete-row">
<div class="beep-post-footer beep-reply-footer">
<img class="beep-post-wordmark"
src="<?php echo esc_url(Beep_Settings::get('logo_url') ?: BEEP_URL . 'assets/beep-wordmark.png'); ?>"
alt="Beep">
<?php if ($can_delete) : ?>
<button class="beep-delete-link"
data-beep-delete-reply="<?php echo (int) $comment->comment_ID; ?>"
type="button"
aria-label="Delete this reply"
title="Delete">&times;</button>
</div>
<?php endif; ?>
<?php endif; ?>
</div>
<?php
// Recursively render children