[PR #73] [MERGED] update: Add custom domain support with automatic fallback validation #97

Closed
opened 2026-05-07 00:18:05 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/plugins/pull/73
Author: @FlexKleks
Created: 1/3/2026
Status: Merged
Merged: 1/3/2026
Merged by: @Boy132

Base: mainHead: main


📝 Commits (2)

  • e53dece Add custom domain support with automatic fallback validation
  • d762559 Add PHPStan type hint for getCustomDomainOptions

📊 Changes

6 files changed (+148 additions, -12 deletions)

View changed files

📝 pastefox-share/README.md (+21 -7)
📝 pastefox-share/config/pastefox-share.php (+1 -0)
📝 pastefox-share/lang/en/messages.php (+10 -0)
📝 pastefox-share/plugin.json (+1 -1)
📝 pastefox-share/src/Filament/Components/Actions/UploadLogsAction.php (+58 -4)
📝 pastefox-share/src/PasteFoxSharePlugin.php (+57 -0)

📄 Description

Hey, here's a change to my “PasteFox Share” plugin.

Changes

  • Add custom domain support for paste URLs
  • Add automatic API key validation (falls back to anonymous upload if key is invalid/expired)
  • Add automatic custom domain validation (falls back to pastefox.com if domain is inactive/removed)
  • Add translations for all settings page strings
  • Bump version to 1.1.0

Custom Domains

Users can now select a verified custom domain from their PasteFox account to use for paste URLs. The plugin automatically validates that the domain is still active before using it.

Fallback Behavior

If the configured API key or custom domain becomes unavailable, the plugin gracefully falls back to:

  • Anonymous uploads (7-day expiration, public visibility)
  • Default pastefox.com domain

Summary by CodeRabbit

  • New Features

    • Added Custom Domain support to share pastes from your own verified domain.
    • Domain selection now available in plugin settings (requires API key); verified domains shown, inactive ones disabled.
    • Automatic fallback to pastefox.com if a custom domain is unavailable.
  • Chores

    • Updated plugin version to 1.1.0.
    • Added translations and UI text for custom domain management.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/plugins/pull/73 **Author:** [@FlexKleks](https://github.com/FlexKleks) **Created:** 1/3/2026 **Status:** ✅ Merged **Merged:** 1/3/2026 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`e53dece`](https://github.com/pelican-dev/plugins/commit/e53dece0675c6d4d443f7e8a36e998869f038939) Add custom domain support with automatic fallback validation - [`d762559`](https://github.com/pelican-dev/plugins/commit/d762559fafa7a76a43deadee7d35132fd1c6e1d1) Add PHPStan type hint for getCustomDomainOptions ### 📊 Changes **6 files changed** (+148 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `pastefox-share/README.md` (+21 -7) 📝 `pastefox-share/config/pastefox-share.php` (+1 -0) 📝 `pastefox-share/lang/en/messages.php` (+10 -0) 📝 `pastefox-share/plugin.json` (+1 -1) 📝 `pastefox-share/src/Filament/Components/Actions/UploadLogsAction.php` (+58 -4) 📝 `pastefox-share/src/PasteFoxSharePlugin.php` (+57 -0) </details> ### 📄 Description Hey, here's a change to my “PasteFox Share” plugin. ## Changes - Add custom domain support for paste URLs - Add automatic API key validation (falls back to anonymous upload if key is invalid/expired) - Add automatic custom domain validation (falls back to pastefox.com if domain is inactive/removed) - Add translations for all settings page strings - Bump version to 1.1.0 ## Custom Domains Users can now select a verified custom domain from their PasteFox account to use for paste URLs. The plugin automatically validates that the domain is still active before using it. ## Fallback Behavior If the configured API key or custom domain becomes unavailable, the plugin gracefully falls back to: - Anonymous uploads (7-day expiration, public visibility) - Default pastefox.com domain <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Custom Domain support to share pastes from your own verified domain. * Domain selection now available in plugin settings (requires API key); verified domains shown, inactive ones disabled. * Automatic fallback to pastefox.com if a custom domain is unavailable. * **Chores** * Updated plugin version to 1.1.0. * Added translations and UI text for custom domain management. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:05 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/plugins#97
No description provided.