Thorsten Witteler
e8417c6a0e
add index file to user data
...
add data files to page folder
2017-10-19 17:42:20 +02:00
Flavio Copes
228ac73ba8
Fix comment form processing
2017-05-11 19:42:43 +02:00
Andy Miller
fbf7ee0bc8
Use existing Utils::startsWith() method
2016-09-28 09:39:53 -06:00
Flavio Copes
7b4f3a4e8d
Fix showing comments older than one week in the "latest comments" view
2016-09-16 09:51:01 +02:00
Flavio Copes
f945d98cfb
Fix missing Twig template error if route is excluded but twig is loaded
2016-09-15 18:08:52 +02:00
Flavio Copes
9ade9bb637
Allow comments to work fine on Form 2.0 too
2016-09-15 15:18:14 +02:00
Flavio Copes
e4e1c79d1a
Fix issue in storing comments cache when cache is enabled #33
2016-08-12 13:27:50 +02:00
Christian Hanne
e3510fbf26
Added check for user object to form submission. ( #30 )
2016-07-25 17:06:35 +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
60c8d091e6
Rework a bit the organization of the code. Added cache for comments
2016-06-29 18:56:06 +02:00
Flavio Copes
a95d0abd84
Prevent a missing template problem on ignored routes
2016-05-30 11:16:08 +02:00
Flavio Copes
9d38761d44
Allow translating the comments form
2016-03-24 09:03:28 +01:00
Flavio Copes
cdee9fa1fa
Avoid adding the onTwigTemplatePaths if it's not enabled on this page
2016-01-10 14:59:12 +01:00
Flavio Copes
a6476ab527
Increase priority for onPageInitialized in the comments plugin over the form plugin one
2015-12-20 10:14:51 +01:00
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
50d3b3c3c5
Fix error when user/data/comments does not exist, fix #2
2015-11-11 11:00:50 +01:00
Flavio Copes
27158eaea0
Use onAdminMenu instead of the deprecated onAdminTemplateNavPluginHook
2015-10-29 19:21:34 +01: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
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
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
5f50c08970
Works with the Form plugin
2015-10-13 23:39:13 +02:00
Flavio Copes
15df3e7edc
Optionally send email notifications to set emails
2015-10-08 22:19:15 +02:00
Flavio Copes
b9eb895a45
Fix route
2015-10-08 18:12:48 +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
a178946aba
Improve the backend to show comments
2015-10-07 23:53:36 +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
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