3812057b00
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. |
||
---|---|---|
_config | ||
.tx | ||
css | ||
docs/en | ||
javascript | ||
lang | ||
scss | ||
src | ||
templates | ||
tests | ||
thirdparty/jquery-validate | ||
_config.php | ||
.codecov.yml | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.scrutinizer.yml | ||
.travis.yml | ||
.upgrade.yml | ||
code-of-conduct.md | ||
composer.json | ||
license.md | ||
package.json | ||
phpcs.xml.dist | ||
phpunit.xml.dist | ||
README.md | ||
webpack.config.js | ||
yarn.lock |
Comments
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
Related
- silverstripe/silverstripe-comments-notifications: Comment admin email notifications module
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.