Releases: gioxx/YOURLS-ChangeNotifier
Release list
1.3.3 – Fix plugin page link localization
Bug fixes
- Plugin page link not translated: the "Manage notifications" link in the YOURLS plugin list remained in English even with YOURLS set to Italian, because
yourls_register_plugin_page()was called beforeynm_load_textdomain()— the textdomain was not yet loaded when the string was evaluated. Movedynm_load_textdomain()to the top ofynm_boot(), before any use ofyourls__(). - "Back to top" footer link not translated: the string was hardcoded instead of wrapped in
yourls__(). Italian translation: "Torna all'inizio".
1.3.2 – Fix false update notice + Italian translation
Bug fixes
- False update notice: The "new version available" banner would still appear even after updating the plugin, because
update_availablewas calculated only once and cached for 12 hours. It is now recalculated at runtime by comparing the cachedlatest_versionwithYNM_VERSION, so it disappears immediately after the update without waiting for the cache to expire.
Nuove funzionalità
- Italian translation (
it_IT): Addedyourls-change-notifier-it_IT.poand.mofiles containing all 105 strings translated into Italian. The plugin will display in Italian on YOURLS installations where the language is set toit_IT.
1.3.1 – i18n fixes and complete .pot file
What's changed
- Fixed 3 hardcoded strings in the debug log section that were not wrapped in
yourls__(): Debug Log, Clear log, and the parenthetical note about the log file - Populated
languages/yourls-change-notifier.potwith all 105 translatable strings — the file was previously empty (header only), making it impossible to produce translations
1.3.0 — Resend, update check & visual alignment
What's new in 1.3.0
✉️ Resend API support
A third email delivery method joins PHP mail() and SMTP: Resend. No SMTP configuration needed — just an API key and a verified sender address. Falls back to PHP mail() automatically if the API call fails.
🔔 Automatic update check
The plugin now checks GitHub Releases for new versions and shows a banner on the settings page and a badge next to the page title when an update is available. The check is cached for 12 hours and uses in-process memoization to avoid redundant database reads.
🎨 Visual alignment
The admin interface has been overhauled to match the shared YOURLS plugin design standard:
- Consistent panel palette (
#fffbackground,#d9e6efborder,border-radius: 10px) - Gradient applied to the title text only, never to the emoji
- All action buttons converted to
<button>elements with the aligned style - Section headings (
h3/h4/h5) now have explicitfont-sizeandfont-weightto prevent YOURLS base styles from shrinking them - All inline
style=""attributes replaced with dedicated CSS classes - Asset cache-busting via
filemtime()instead of the static version string - Footer redesigned: left-aligned, official plugin page link + GitHub link on the left, ↑ Back to top on the right
🐛 Bug fixes
- CSS specificity:
.reset-button(danger zone) was being overridden by the higher-specificity.form-section .buttonrule — reset buttons were appearing white instead of red - Update cache: API failures were previously cached for 12 hours, silencing valid update notices after a transient network error
use_smtpboolean: radio value was coerced to 0/1 boolean on save, making it impossible to extend to a third method
🗂️ Structural
require_oncemoved to the top ofplugin.phpbefore function definitions.gitattributesadded for LF line-ending normalizationlanguages/yourls-change-notifier.pottemplate added
1.2.0
What's Changed in 1.2.0 (#1)
✨ Highlights
- New full admin panel to configure notifications, email delivery, and security settings.
- Email notifications for Create / Edit / Delete events (admin UI + API flows).
- Dual delivery mode: PHP
mail()or full SMTP (host, port, SSL/TLS, auth, custom sender). - Debug mode with dedicated logging and automatic log rotation.
🔐 Security and Settings Access
- Added password protection for plugin settings.
- Progressive anti-lockout setup flow: password protection is enabled only after minimum safe prerequisites are met.
- New real-delivery verification for test emails: technical send success is not enough; a one-time confirmation link click is now required.
- If recipients change, test confirmation state is invalidated and a new send + confirmation is required.
- Admin password recovery via email with expiring one-time reset links.
- Improved auth persistence on shared hosting (stronger session/cookie fallback).
🛠️ UX and Maintainability
- Admin menu label updated to “Manage notifications” for clarity.
- Logout button made explicit: “Logout from Change Notifier”.
- Clearer test email status in UI: last send, confirmed delivery, pending/expired confirmation.
- Light refactor and modularization:
- main class moved to
inc/class-yn-notify-mail.php - admin assets extracted to
assets/admin.cssandassets/admin.js
Full Changelog: 1.1.0...1.2.0
and thank goodness for Codex, because writing README files and news messages always takes up a lot of time 😁
1.1.0
- This is the first public version of the plugin.
Full Changelog: https://github.com/gioxx/YOURLS-ChangeNotifier/commits/1.1.0