Commit Graph

147 Commits

Author SHA1 Message Date
Paul Bovis 5800cb87bc change instances of gmdate to date
I changed all instances of gmdate (lines 180, 190 and 320) to date. This way, the date reported in the comments will respect the server's local time as set by date.timezone in php.ini (for apache2, at least).
2015-11-16 08:42:17 -07:00
Flavio Copes 30545e79c0 Add fr lang (e1d1b70e1e) 2015-11-13 18:59:27 +01:00
Flavio Copes ea8e5d4fe2 Merge pull request #4 from joomline/patch-1
Update languages.yaml RU
2015-11-13 18:58:04 +01:00
Flavio Copes ff621707e2 Merge pull request #5 from getgrav/feature/nonce
Add nonce validation
2015-11-13 18:57:46 +01:00
Flavio Copes d93361d821 Merge branch 'develop' into feature/nonce 2015-11-13 18:57:26 +01:00
Flavio Copes 750727911e Merge pull request #6 from bovisp/patch-1
change form action to work with multilang
2015-11-13 18:54:24 +01:00
Paul Bovis 87aff18ae9 change form action to work with multilang 2015-11-13 10:46:28 -07:00
Flavio Copes dc4481dd8f 1.0.1 release 2015-11-11 11:01:55 +01:00
Flavio Copes 50d3b3c3c5 Fix error when user/data/comments does not exist, fix #2 2015-11-11 11:00:50 +01:00
Flavio Copes ab3d25cc22 Add nonce validation 2015-11-10 16:25:18 +01:00
joomline 74bf8473c5 Update languages.yaml RU 2015-11-07 11:49:36 +02:00
Flavio Copes 27158eaea0 Use onAdminMenu instead of the deprecated onAdminTemplateNavPluginHook 2015-10-29 19:21:34 +01:00
Andy Miller 884049ff22 Merge branch 'release/1.0.0' 2015-10-21 16:34:32 -06:00
Andy Miller d813b9280e Merge branch 'release/1.0.0' into develop 2015-10-21 16:34:32 -06:00
Andy Miller 0cae7d9a37 version update 2015-10-21 16:34:21 -06:00
Flavio Copes 29adbc56cb Start processing for comments only if comments are enabled on that route 2015-10-19 18:14:15 +02:00
Flavio Copes ba09e9a865 Show the recently commented pages 2015-10-18 11:12:28 +02:00
Flavio Copes 85bb5c2ef4 Improve plugin readme. Uncomment config options for captcha and email 2015-10-16 17:17:44 +02:00
Flavio Copes 7d7dbd1644 Order comments by timestamp in admin 2015-10-16 14:59:22 +02:00
Flavio Copes 9c3d9860b9 Fix hardcoded admin route 2015-10-16 14:59:07 +02:00
Flavio Copes 05ba2c0215 Merge pull request #1 from getgrav/feature/use-form-plugin
Work with the Form plugin
2015-10-15 18:05:24 +02: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 fe66c4bfd6 Fix order of events preventing new comment from appearing immediately 2015-10-15 15:43:45 +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 6ce186584e Change email. Small improvements 2015-10-09 19:34:51 +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 e64ba59404 Improve readme 2015-10-08 18:37:22 +02:00
Flavio Copes b9eb895a45 Fix route 2015-10-08 18:12:48 +02:00
Flavio Copes 68acc600b6 Drop recaptcha key 2015-10-08 17:34:09 +02:00
Flavio Copes 24f710828e Show load more only if needed 2015-10-08 17:33:43 +02:00
Flavio Copes 1c1f6f6d16 Refine backend 2015-10-08 17:30:18 +02:00
Flavio Copes 61677d06d4 Enable comments plugin only on its route 2015-10-08 17:29:48 +02:00
Flavio Copes 5790ac019e Wrap js 2015-10-07 23:53:40 +02:00
Flavio Copes a178946aba Improve the backend to show comments 2015-10-07 23:53:36 +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 d3438f190f Fix recursion in subfolders 2015-10-07 19:32:06 +02:00
Flavio Copes adec98c198 Show lang in admin 2015-10-07 16:40:26 +02:00
Flavio Copes e0e1782067 Frontend Validation. Sanitize values in the back. 2015-10-07 16:23:32 +02:00
Flavio Copes 9b60894114 Improve rendering comments 2015-10-07 15:43:28 +02:00
Flavio Copes 80341af3f7 Cleanup 2015-10-07 15:43:22 +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
Flavio Copes 978abff176 Go on with comments 2015-09-14 14:48:17 +02:00
Flavio Copes b7ce57b541 First commit 2015-09-13 20:32:44 +02:00