Skip to content

Releases: gioxx/YOURLS-ChangeNotifier

1.3.3 – Fix plugin page link localization

Choose a tag to compare

@gioxx gioxx released this 04 Jun 21:06
ff72fa3

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 before ynm_load_textdomain() — the textdomain was not yet loaded when the string was evaluated. Moved ynm_load_textdomain() to the top of ynm_boot(), before any use of yourls__().
  • "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

Choose a tag to compare

@gioxx gioxx released this 04 Jun 20:48
88a778d

Bug fixes

  • False update notice: The "new version available" banner would still appear even after updating the plugin, because update_available was calculated only once and cached for 12 hours. It is now recalculated at runtime by comparing the cached latest_version with YNM_VERSION, so it disappears immediately after the update without waiting for the cache to expire.

Nuove funzionalità

  • Italian translation (it_IT): Added yourls-change-notifier-it_IT.po and .mo files containing all 105 strings translated into Italian. The plugin will display in Italian on YOURLS installations where the language is set to it_IT.

1.3.1 – i18n fixes and complete .pot file

Choose a tag to compare

@gioxx gioxx released this 04 Jun 20:36
003c71b

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.pot with 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

Choose a tag to compare

@gioxx gioxx released this 03 Jun 18:31
fe54b37

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 (#fff background, #d9e6ef border, 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 explicit font-size and font-weight to 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 .button rule — 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_smtp boolean: radio value was coerced to 0/1 boolean on save, making it impossible to extend to a third method

🗂️ Structural

  • require_once moved to the top of plugin.php before function definitions
  • .gitattributes added for LF line-ending normalization
  • languages/yourls-change-notifier.pot template added

1.2.0

Choose a tag to compare

@gioxx gioxx released this 01 Mar 15:55
47b5111

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.css and assets/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

Choose a tag to compare

@gioxx gioxx released this 25 Sep 12:19
  • This is the first public version of the plugin.

Full Changelog: https://github.com/gioxx/YOURLS-ChangeNotifier/commits/1.1.0