Commit Graph

26 Commits

Author SHA1 Message Date
Thorsten Witteler cace16f606 change nonce action from "form" to "comments" 2017-10-23 13:39:31 +02:00
Thorsten Witteler de3a683cbe prepare ajax 2017-10-20 15:08:26 +02:00
Thorsten Witteler 1bc97a31e7 nested template 2017-10-19 19:40:02 +02:00
Thorsten Witteler 9387fba6ed nested template 2017-10-19 18:53:40 +02:00
Flavio Copes 42ff556420 Fix issue with scope for autofilled values 2017-05-12 14:40:51 +02:00
Flavio Copes 228ac73ba8 Fix comment form processing 2017-05-11 19:42:43 +02:00
Flavio Copes 4e88431863 Fix #41 using Comments in a Gantry-powered theme did not escape the comment form token correctly 2017-01-09 10:12:23 +01:00
Flavio Copes 9ade9bb637 Allow comments to work fine on Form 2.0 too 2016-09-15 15:18:14 +02:00
Flavio Copes 3a09f47bc6 Fix #28 Check if Login plugin is installed before checking for user object 2016-07-19 12:04:17 +02:00
Flavio Copes ee608539d4 Handle logged in users by not requiring username/email
Still post them as hidden to overcome validation, but still overwrite
the values in backend to avoid manipulation
2016-06-30 14:08:59 +02:00
Flavio Copes 9d38761d44 Allow translating the comments form 2016-03-24 09:03:28 +01:00
Flavio Copes 825cfe1b1b Fix #12 Avoid double encoding comment text output and author name, already filtered and escaped when stored 2015-12-11 12:19:55 +01:00
Flavio Copes ff621707e2 Merge pull request #5 from getgrav/feature/nonce
Add nonce validation
2015-11-13 18:57:46 +01:00
Paul Bovis 87aff18ae9 change form action to work with multilang 2015-11-13 10:46:28 -07:00
Flavio Copes ab3d25cc22 Add nonce validation 2015-11-10 16:25:18 +01:00
Flavio Copes 13252376e4 Add enable_on_routes and disable_on_routes config options
Example usage:

enable_on_routes:
  - '/blog'

disable_on_routes:
  - /blog/blog-post-to-ignore
  - /ignore-this-route
  #- '/blog/daring-fireball-link'
2015-10-15 18:04:02 +02:00
Flavio Copes f064eb3bbb Drop unneeded param 2015-10-15 15:43:29 +02:00
Flavio Copes 5f50c08970 Works with the Form plugin 2015-10-13 23:39:13 +02:00
Flavio Copes 0b6232a280 Allow frontend translations. Added italian 2015-10-09 17:39:02 +02:00
Flavio Copes 15df3e7edc Optionally send email notifications to set emails 2015-10-08 22:19:15 +02:00
Flavio Copes 5790ac019e Wrap js 2015-10-07 23:53:40 +02:00
Flavio Copes adc6d19022 Error Message box instead of alert() 2015-10-07 22:27:06 +02:00
Flavio Copes c0a003ccda Added optional captcha 2015-10-07 20:18:44 +02:00
Flavio Copes e0e1782067 Frontend Validation. Sanitize values in the back. 2015-10-07 16:23:32 +02:00
Flavio Copes 5fd4cd6ac5 Store page name in the comments file 2015-10-07 15:43:16 +02:00
Flavio Copes c18914d3e3 Going on with the Comments plugin
Added a frontend form, store comments under data/, basic visualization
options
2015-10-06 19:23:02 +02:00