Skip to content

Releases: gioxx/YOURLS-AlternativeIndex

1.0.4 – Full i18n, complete Italian translation

Choose a tag to compare

@gioxx gioxx released this 05 Jun 16:52
d907c20

What's changed

  • Full i18n: all visible admin panel strings are now wrapped in `yourls__()` — panel headings, field labels, hints, toggle labels, button text, flash messages, error messages
  • Complete Italian locale: `languages/yourls-alternative-index-it_IT.po` + `.mo` with 70 translated strings covering the entire admin UI
  • Italian menu label: the plugin link in YOURLS admin reads Pagina profilo alternativa (the plugin name YOURLS Alternative Index is unchanged everywhere else)
  • Update notice: banner strings (New version available, View details on GitHub) are now also translatable
  • Boot function: single `yai_boot()` on `plugins_loaded` guarantees the textdomain is loaded before any `yourls__()` call
  • Update check: simplified per-request static cache (no persistent DB layer)

1.0.3

Choose a tag to compare

@gioxx gioxx released this 03 Jun 18:38
9e23499

What's changed

  • Footer redesigned to match plugin template: left-aligned with flex layout
    • Left side: plugin page link (yourls.gioxx.org) and GitHub repository link
    • Right side: "↑ Back to top" scroll button
  • Removed text-align:center from footer — consistent left alignment

1.0.2

Choose a tag to compare

@gioxx gioxx released this 29 May 20:07
2a76f7c

What's changed

Security

  • Filter output for the plugin page title is now HTML-escaped; the update badge is rendered from trusted template code instead of an unescaped filter return value
  • html_url from the GitHub API response is now guarded with isset() + fallback to YAI_GITHUB_RELEASES_URL
  • Version string in the update notice uses htmlspecialchars() (HTML content context) instead of yourls_esc_attr()

Bug fixes

  • Avatar URL preview <img> now only sets src when $avatar_mode === 'url', preventing a spurious external HTTP request on every page load after switching to a different avatar mode
  • Clearing the avatar/background URL field no longer triggers a GET to the admin page (removeAttribute('src') instead of src = '')
  • Removed redundant nonce creation for the htaccess-remove form (reuses the existing $nonce_config)

New features

  • Image URL preview with size warning: entering a URL in the Avatar URL or Background Image URL fields now shows a live preview; if the image exceeds 600×600 px a warning is displayed suggesting to reduce dimensions before saving

Code quality

  • All style="display:none" inline attributes in PHP replaced with a .yai-panel--hidden CSS utility class
  • Textarea Custom CSS moved from inline style="..." to a .yai-custom-css-field CSS rule
  • Panel toggles in JS use classList instead of style.display
  • yai_page_title_with_badge() refactored: badge rendering moved to the template; filter remains available for third-party title overrides via plugin_page_title_alternative_index
  • New yai_has_update() helper centralises the update-check logic

1.0.0 — Initial Release

Choose a tag to compare

@gioxx gioxx released this 24 May 15:28
8805a66

🌐 YOURLS Alternative Index — First Release

Transform the unused YOURLS root URL into a Linktree-style profile page.

Features

  • Linktree-style profile page served at your YOURLS root URL (/)
  • Profile section: display name, tagline/bio, avatar (URL, upload, or Gravatar)
  • Social icons row: X/Twitter, Instagram, Facebook, LinkedIn, GitHub, YouTube, TikTok, Mastodon, Bluesky, Threads, Pinterest, Twitch, Discord, Telegram, WhatsApp, and more
  • Featured link buttons: full-width cards with optional emoji, title, and URL
  • Custom colors: background, accent, and text colors with live preview
  • Background image: external URL or upload, with frosted-glass card effect and adjustable transparency
  • Custom CSS: inject your own styles for full control
  • Enable/disable toggle: turn the page on or off without deactivating the plugin
  • Update notifications: checks GitHub for new releases and shows a badge in the admin panel

Installation

  1. Download the zip below
  2. Unzip into user/plugins/alternative-index/
  3. Activate in the YOURLS admin panel under Plugins
  4. Go to Plugins → Alternative Index and configure your page

Requires YOURLS 1.9+ and PHP 7.4+