JILS-25: Automatically turn URLs into Hyperlinks



Issue Information

Issue Type: New Feature
 
Priority: Minor
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: Jira Issue Listing Script (JILS)
Resolution: Done (2016-04-29 15:06:10)
Affects Version: 0.01b,
Target version: 0.01b,

Created: 2014-11-10 01:10:39
Time Spent Working


Description
When URLs are included in comments/issue descriptions, JIRA turns them into Hyperlinks.

It can be quite handy at times, so is probably worth implementing, especially given how simple the regex should be to create.


Issue Links

Toggle State Changes

Activity


Marking as related to JILS-4 as that's also concerned with processing comments/issue descriptions in much the way JIRA does.
Have implemented support for automatically converting URLs into hyperlinks. Need to decide whether to use rel="nofollow" on those links.
btasker changed status from 'Open' to 'In Progress'

Repo: Jira-Issue-Listing
Commit: 9493c239f9f52a3f958b36280935d82b1cd857b3
Author: Ben Tasker <github@<Domain Hidden>>

Date: Mon Nov 10 23:29:58 2014 +0000
Commit Message: Automatically converted URLs into hyperlinks. See JILS-25



Modified (-)(+)
-------
utils.class.php




Webhook User-Agent

GitHub-Hookshot/0687198


View Commit

Decided using nofollow is probably a good idea, to avoid the possibility of reference links hitting Search Engine rankings somehow.

Have also added a CSS class (_autolink_) to the URLs converted by the regex so that they can (if wanted) be styled independently.

Repo: Jira-Issue-Listing
Commit: bd798b0b738df59a6238bc4cf323e26c96db7545
Author: Ben Tasker <github@<Domain Hidden>>

Date: Tue Nov 11 00:28:18 2014 +0000
Commit Message: Added a CSS class and rel=nofollow to autolinks. See JILS-25



Modified (-)(+)
-------
utils.class.php




Webhook User-Agent

GitHub-Hookshot/0687198


View Commit

btasker changed status from 'In Progress' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'
Re-opening to assign to a version
btasker removed 'Done' from resolution
btasker changed status from 'Closed' to 'Reopened'
Assigning to v0.01b
btasker added '0.01b' to Version
btasker added '0.01b' to Fix Version
Re-Closing
btasker changed status from 'Reopened' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'