feat(#159): Link shortening (Bitly, Rebrandly, YOURLS) #186

Merged
jmiller merged 1 commits from feature/159-link-shortening into dev 2026-06-28 16:14:27 +00:00
Owner

Summary

  • New LinkShortenerHelper with Bitly v4, Rebrandly, and YOURLS support
  • {url_short} template placeholder via CrossPostDispatcher::buildArticleMeta()
  • Component config fields: shortener selection, API key, YOURLS URL/token
  • 12 new language strings for the config fieldset
  • Always returns original URL on failure (never breaks posts)

Test plan

  • Configure Bitly API key in component config, verify {url_short} resolves to bit.ly link
  • Configure Rebrandly, verify short link generation
  • Configure YOURLS with self-hosted instance, verify short link
  • Set shortener to "None", verify {url_short} returns original URL
  • Test with invalid API key -- verify posts still send with original URL

Closes #159

## Summary - New `LinkShortenerHelper` with Bitly v4, Rebrandly, and YOURLS support - `{url_short}` template placeholder via `CrossPostDispatcher::buildArticleMeta()` - Component config fields: shortener selection, API key, YOURLS URL/token - 12 new language strings for the config fieldset - Always returns original URL on failure (never breaks posts) ## Test plan - [ ] Configure Bitly API key in component config, verify `{url_short}` resolves to bit.ly link - [ ] Configure Rebrandly, verify short link generation - [ ] Configure YOURLS with self-hosted instance, verify short link - [ ] Set shortener to "None", verify `{url_short}` returns original URL - [ ] Test with invalid API key -- verify posts still send with original URL Closes #159
jmiller force-pushed feature/159-link-shortening from 6817ac54af to 4ecf640796 2026-06-28 16:09:54 +00:00 Compare
jmiller force-pushed feature/159-link-shortening from 48a141c590 to 3003c1f669 2026-06-28 16:13:05 +00:00 Compare
jmiller added 1 commit 2026-06-28 16:14:18 +00:00
feat(#159): add link shortening support (Bitly, Rebrandly, YOURLS) with {url_short} placeholder
Universal: PR Check / Branch Policy (pull_request) Successful in 1s
Universal: PR Check / Validate PR (pull_request) Failing after 4s
Universal: PR Check / Secret Scan (pull_request) Successful in 4s
Universal: Auto Version Bump / Version Bump (push) Successful in 9s
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 2s
Joomla: Metadata Validation / Validate Joomla Metadata (pull_request) Successful in 33s
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
45afb1f0b1
Authored-by: Moko Consulting
jmiller force-pushed feature/159-link-shortening from e0989f88cc to 45afb1f0b1 2026-06-28 16:14:18 +00:00 Compare
jmiller merged commit 9fa2560ce4 into dev 2026-06-28 16:14:27 +00:00
jmiller deleted branch feature/159-link-shortening 2026-06-28 16:14:28 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteCross#186