Releases: toineenzo/YOURLS-Links-Per-Page
Release list
v1.2.2 — Dark-mode fixes + footer on settings page
A small UI patch release for the settings page. No functional plugin changes — runtime behavior (the admin_view_per_page filter) is identical to v1.2.1.
What changed
- Dark-mode hint readability — the "Enter an integer between 1 and 999" helper text under the input was hard-coded to dark grey, which rendered nearly invisible on dark themes like Sleeky. It now inherits the active theme's text colour with reduced opacity.
- Save button matches YOURLS' native styling — the previous
<button class="button primary lpp-save">with custom padding overrides has been replaced with a plain<input type="submit" class="button lpp-save">, so the button now picks up whatever the active admin theme defines for.button. - Footer on the settings page — small version + author line at the bottom of the settings screen, matching the convention used by the Link Front Page plugin.
Install / upgrade
Drop-in replacement for v1.2.1 — same install layout.
cd /path/to/yourls/user/plugins
unzip /path/to/YOURLS-Links-Per-Page-v1.2.2.zipSaved per-page value persists across upgrades.
Assets
Two zips, built and uploaded by the release-test workflow once the e2e + Sleeky matrix passes:
| File | Use for |
|---|---|
YOURLS-Links-Per-Page-v1.2.2.zip |
Production installs (plugin.php, LICENSE, README.md) |
YOURLS-Links-Per-Page-v1.2.2-debug.zip |
Reproducing CI runs / contributing (full repo snapshot) |
Full changelog: v1.2.1…v1.2.2
v1.2.1 — PHPUnit unit tests + usage-focused README
A test-infrastructure and documentation release. No functional plugin changes — runtime behavior is identical to v1.2.0.
What changed
- PHPUnit unit-test suite added via YOURLS-test-suite-for-plugins, covering the settings save flow and the validation/clamp logic for the per-page count.
- README rewritten to be usage-focused — quickstart, screenshots, and configuration lead. CI / dev notes moved further down.
Install / upgrade
Same layout as v1.2.0 — the install zip wraps everything in a Links-Per-Page/ folder.
cd /path/to/yourls/user/plugins
unzip /path/to/YOURLS-Links-Per-Page-v1.2.1.zipSaved per-page value persists across upgrades (stored in YOURLS options, not the plugin folder).
Assets
Two zips, built and uploaded by the release-test workflow once the e2e + Sleeky matrix passes:
| File | Use for |
|---|---|
YOURLS-Links-Per-Page-v1.2.1.zip |
Production installs (plugin.php, LICENSE, README.md) |
YOURLS-Links-Per-Page-v1.2.1-debug.zip |
Reproducing CI runs / contributing (full repo snapshot) |
Full changelog: v1.2.0…v1.2.1
v1.2.0 — PHP 8.4 / YOURLS 1.10 polish + e2e tests
First public release on GitHub. The plugin existed at version 1.1 in plugin.php for a while but was never tagged or released; this is the "ship it properly" version.
✨ Highlights
- PHP 8.4 / YOURLS 1.10 ready —
declare(strict_types=1), typed return values everywhere,filter_input(FILTER_VALIDATE_INT, …)for the form input. - Output is escaped — every echoed value goes through
yourls_esc_html/yourls_esc_attr. - Saner defaults & validation — accepted range tightened to 1–999 server-side (the input already enforced it client-side); invalid values now reset to 50 with a warning notice.
- End-to-end tested in CI — every push spins up a YOURLS-on-PHP-8.4-Apache container in Docker, mounts the plugin, and runs a Playwright suite that covers plugin activation, the settings form (success / warning / no-change states), and that the saved value actually changes the YOURLS admin link table pagination. The suite runs twice via a strategy matrix — once with the Flynntes/Sleeky-backend admin theme, once without — so both common admin-UI configurations are verified.
📦 Install layout
The release ships two zips:
| File | What it is |
|---|---|
YOURLS-Links-Per-Page-v1.2.0.zip |
Install-ready. Plugin runtime only (plugin.php, LICENSE, README.md) wrapped in a Links-Per-Page/ folder. |
YOURLS-Links-Per-Page-v1.2.0-debug.zip |
Full repo snapshot — also wraps everything in Links-Per-Page/. Used by the CI suite, useful for reproducing failures locally. |
Drop in to user/plugins/ so the path is user/plugins/Links-Per-Page/plugin.php.
🐛 Fixes
- README's documented config URL
?page=lpp_configwas wrong — the actual slug is?page=links_per_page_settings. README + tests now agree. - Submitting an unchanged value used to show a generic "no changes made" message that read odd; it now reads
No change — value is still N links per page.
⬇️ Installation
cd /path/to/yourls/user/plugins
unzip /path/to/YOURLS-Links-Per-Page-v1.2.0.zip…or pull from git into a directory called Links-Per-Page:
git clone https://github.com/toineenzo/YOURLS-Links-Per-Page.git Links-Per-PageThen activate Links Per Page under Manage Plugins. Configure at Manage Plugins → Links Per Page.
Full first-release diff is the entire repo at this tag.