Feature #1984
closedAllow CP Voucher submission via URL so they can be distributed as QR code
100%
Description
In addition to the web form, allow the submission of voucher via URL e.g.
http://pfsenseip:8000/index.php?redirurl=xyz&v=voucher
Considering the numerous forum posts about shortening pfsense vouchers and the proliferation of handheld devices with bar-code scanning apps, it'd be cool to be able to distribute vouchers as a URL stored in QR code.
Quoting from http://en.wikipedia.org/wiki/QR_code
apps for scanning QR codes can be found on nearly all smartphone devices. QR codes storing addresses and Uniform Resource Locators (URLs) may appear in magazines, on signs, on buses, on business cards, or on almost any object about which users might need information. Users with a camera phone equipped with the correct reader application can scan the image of the QR code to display text, contact information, connect to a wireless network, or open a web page in the telephone's browser.
During the month of June 2011, according to one study, 14 million mobile users scanned a QR code or a barcode. Some 58% of those users scanned a QR or bar code from their home, while 39% scanned from retail stores; 53% of the 14 million users were men between the ages of 18 and 34.
While the adoption of QR codes in some markets has been slow to begin (particularly in markets such as the United States, where competing standards such as Data Matrix exist), the technology is gaining some traction in the smartphone market. Many Android, Nokia, Blackberry handsets, and the Nintendo 3DS, come with QR code readers installed. QR reader software is available for most mobile platforms. Moreover, there are a number of online QR code generators which enable users to create QR codes for their own needs.
Files
Updated by Viktor Gurov over 4 years ago
This PR allow the submission of voucher via such URL:
http://pfsenseip:8002/index.php?zone=zone_name&redirurl=redir_url&voucher=voucher_code
Updated by Jim Pingle over 4 years ago
- Status changed from New to Pull Request Review
- Target version set to 2.5.0
Updated by Renato Botelho about 4 years ago
- Assignee set to Viktor Gurov
Viktor, could you please update PR with changes suggested by jimp?
Updated by Renato Botelho about 4 years ago
- Status changed from Pull Request Review to Feedback
PR has been merged. Thanks!
Updated by Viktor Gurov about 4 years ago
- % Done changed from 0 to 100
Applied in changeset 53ea4b8b8b0c4a05c3d11bae8d26504e17e161dd.
Updated by Viktor Gurov almost 4 years ago
Updated by Alhusein Zawi almost 4 years ago
- File result.png result.png added
url http://pfsenseip:8002/index.php?zone=zone_name&redirurl=redir_url&voucher=voucher_code
pfsenseip:192.168.1.11
zone_name: test
url http://192.168.1.11:8002/index.php?zone=test&redirurl=redir_url&voucher=voucher_code
result : attached
Updated by Jim Pingle almost 4 years ago
- Status changed from Feedback to Pull Request Review
Updated by Renato Botelho almost 4 years ago
- Status changed from Pull Request Review to Feedback
PR has been merged. Thanks!
Updated by Viktor Gurov almost 4 years ago
- Status changed from Feedback to Resolved
works as expected on 2.5.0.a.20201203.0939
I can use link "http://192.168.0.1:8002/index.php?zone=cpzone1&redirurl=http://slackware.org&voucher=vsdR76cLUYd3" to fill in the voucher code and successfully login