Dylan Wagstaff 3812057b00 Add ability for commenters to enter a URL without a protocol
When posting a comment on the a page with this module applied, there is
an optional input for the commenter to give their URL,presumably their
website. However this input currently validates (via JavaScript) to
allow URLs only iff they have a protocol.

Common use cases when someone is asked for their website in my
experience is to then receive a URL without a protocol, confounded in
that most web browsers will accept this form and automatically add the
http protocol, where a webserver may then redirect to https by default.
This means that all the magic happens behind the scenes and most folks
don't particularly care to think about protocols when entering web
addresses.

Yest this input will only validate true and allow comment submission if
they do.

So now it will allow a protocol-less entry into the URL box.
2019-01-11 15:01:34 +13:00
2017-09-14 11:12:07 +12:00
2017-07-19 16:04:34 +01:00
2015-11-19 13:24:59 +13:00
2018-06-11 12:15:09 +12:00
2016-01-01 06:42:13 +13:00

Comments

Build Status Scrutinizer Code Quality Code Coverage

Introduction

This module provides commenting functionality for Pages and other DataObjects on your SilverStripe site.

For more documentation about the module see the provided documentation located inside the docs folder.

Requirements

  • SilverStripe ^4.0

Note: This branch is compatible with SilverStripe 4. For a SilverStripe 3 release, please see the 2.x release line.

Installation

composer require silverstripe/comments

See docs/en/Installing.md

Contributing

Translations

Translations of the natural language strings are managed through a third party translation interface, transifex.com. Newly added strings will be periodically uploaded there for translation, and any new translations will be merged back to the project source code.

Please use https://www.transifex.com/projects/p/silverstripe-comments/ to contribute translations, rather than sending pull requests with YAML files.

See the "i18n" topic on doc.silverstripe.org for more details.

Description
No description provided
Readme 3.7 MiB
Languages
PHP 91.9%
JavaScript 3.7%
Scheme 2.9%
SCSS 1.5%