Commit Graph

35 Commits

Author SHA1 Message Date
leetNightshade 4698549b88 Changed it so you can only nest on comments with an ID, which means old
comments can't be replied to. OH, I reverted the change from using
CompiledYamlFile because I don't like how the RocketTheme Yaml dump is
setup, it breaks comments up onto multiple lines. Thus, I also removed
the reply button on those comments. You can still attempt to reply to a
comment if you're hacking around the frontend, but as long as the
comment doesn't have an ID it shouldn't work. TODO: Make the backend
comment panel work again.
2019-01-03 19:49:02 -08:00
leetNightshade be0eca0ff5 Merge https://github.com/codeshell/grav-plugin-comments into develop 2019-01-03 16:13:23 -08:00
leetNightshade 94134e2575 Adding gravatar support and nice time display, and classes and div's for
customizing comment formatting.
2018-06-29 17:06:21 -07:00
Ernst a52c1b2f6d Imported Pingbacks can display or be toggled off. You can also display
comments but have adding new ones disabled. TODO: allow disabling
comments on a per page basis.
2017-12-01 17:53:07 -08:00
codeshell ee89c2bdca fix ajax display when posting first comment on a page 2017-10-30 12:53:13 +01:00
codeshell bd1799cc7e add recent comments widget as plugin template (partials/recentcomments.html.twig) 2017-10-30 12:18:50 +01:00
Thorsten Witteler 905c04937c + ajax-delete comments via front end (if logged in with super admin priviledges) 2017-10-25 02:58:07 +02:00
Thorsten Witteler b4ab9a5111 finish nested comment implementation 2017-10-24 02:57:44 +02:00
Thorsten Witteler 0936de7c1d remove sorting from twig template (breaks nested comments) 2017-10-23 16:56:13 +02:00
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