Timo Stollenwerk
8e406ccf2d
remove "display: inline" CSS from reply-button; show reply-button only when JS is enabled.
...
svn path=/plone.app.discussion/trunk/; revision=29404
2009-08-26 21:55:27 +00:00
Timo Stollenwerk
defb4b91c4
hide reply and cancel button with css when JS is disabled.
...
svn path=/plone.app.discussion/trunk/; revision=29403
2009-08-26 21:53:34 +00:00
Timo Stollenwerk
d2ceb44a0c
fixed IE errors. merge r29394 from evilbungle-safe-html branch.
...
svn path=/plone.app.discussion/trunk/; revision=29398
2009-08-26 15:05:58 +00:00
Timo Stollenwerk
9d5453b1da
Modifying permissions so reviewers can moderate/remove comments. evilbungle branch r29364.
...
svn path=/plone.app.discussion/trunk/; revision=29384
2009-08-26 08:59:50 +00:00
Timo Stollenwerk
8b9a3e63c9
replace data.has_key() with "key in data".
...
svn path=/plone.app.discussion/trunk/; revision=29342
2009-08-24 18:09:32 +00:00
Timo Stollenwerk
c83d826c46
Making captcha validator only adapt for the appropriate browser layer. This fixes the captcha error issue when p.a.d is in a deployment but not installed yet.
...
Merge from r29239 from evilbungle-safe-html branch.
svn path=/plone.app.discussion/trunk/; revision=29248
2009-08-21 21:15:13 +00:00
Timo Stollenwerk
6bda1e3b3a
collective.autoresizetextarea added to dev buildout.
...
svn path=/plone.app.discussion/buildouts/; revision=29247
2009-08-21 21:04:38 +00:00
Timo Stollenwerk
9c3bdb3a72
Stopping comments being rendered as structure;
...
Merge r29173 from evilbungle-safe-html branch.
svn path=/plone.app.discussion/trunk/; revision=29246
2009-08-21 20:52:12 +00:00
Timo Stollenwerk
8c9a8b9f93
remove limit on zcatalog query for comments.
...
svn path=/plone.app.discussion/trunk/; revision=29244
2009-08-21 19:53:04 +00:00
Timo Stollenwerk
cc89d31511
fix typo.
...
svn path=/plone.app.discussion/buildouts/; revision=29237
2009-08-21 15:20:34 +00:00
Timo Stollenwerk
2f7578debe
plone->3.3; plone.formwidget.captcha added.
...
svn path=/plone.app.discussion/buildouts/; revision=29236
2009-08-21 15:16:55 +00:00
Carsten Senger
241c17df72
move the access of reply/Creator into a nested tag. tal:defines are
...
evaluated before tal:condition so we may have no permission to access
Creator.
svn path=/plone.app.discussion/trunk/; revision=29207
2009-08-20 02:21:23 +00:00
Carsten Senger
c145378f34
Allways use an accessor method on the comment, never access the
...
attribute directly as the attribute is not acquisition wrapped
and a permission check for the required permission will fail
svn path=/plone.app.discussion/trunk/; revision=29205
2009-08-20 02:17:02 +00:00
Carsten Senger
984a1fed7d
Zope 2.12 compatibility: ViewPageTemplate's id property is read only
...
svn path=/plone.app.discussion/trunk/; revision=29203
2009-08-20 02:11:57 +00:00
Carsten Senger
06b332a801
Compatibility with Zope 2.12: don't wrap the ViewPageTemplate into an acquisition wrapper.
...
svn path=/plone.app.discussion/trunk/; revision=29201
2009-08-20 02:09:53 +00:00
Carsten Senger
e946ef7979
Add an accessor method for title. As title is part of the interface
...
IComment for which we <require> zope2.View a permission check will raise
Unauthorized cause we can not assure that the user's userfolder is in
the acqusition chain of the object (the attribute is a bare unicode object).
It works for methods. im_self is used to get the acquisition wrapped
object.
svn path=/plone.app.discussion/trunk/; revision=29199
2009-08-20 02:06:15 +00:00
Carsten Senger
4da4ab3599
import Event interfaces from where they are defined (also works in Zope 2.12)
...
svn path=/plone.app.discussion/trunk/; revision=29187
2009-08-19 22:16:06 +00:00
Timo Stollenwerk
592107718d
history update.
...
svn path=/plone.app.discussion/trunk/; revision=29136
2009-08-18 21:04:49 +00:00
Timo Stollenwerk
775fc1572a
Plone CSS classes added to buttons.
...
svn path=/plone.app.discussion/trunk/; revision=29108
2009-08-17 21:46:44 +00:00
Timo Stollenwerk
962e4dd0d3
autoresize css class added to comment-textarea.
...
svn path=/plone.app.discussion/trunk/; revision=29104
2009-08-17 20:31:37 +00:00
Timo Stollenwerk
ed4c6c411c
Simplify comment form labels as suggested by jon.
...
svn path=/plone.app.discussion/trunk/; revision=28979
2009-08-16 08:38:42 +00:00
Timo Stollenwerk
09a88ff9fb
todo update.
...
svn path=/plone.app.discussion/trunk/; revision=28947
2009-08-15 20:10:17 +00:00
Timo Stollenwerk
d889f2ed9a
documentation update.
...
svn path=/plone.app.discussion/trunk/; revision=28946
2009-08-15 20:09:27 +00:00
Timo Stollenwerk
4a78ce44e0
fix captcha import; unit tests pass without p.f.captcha installed.
...
svn path=/plone.app.discussion/trunk/; revision=28942
2009-08-15 19:44:39 +00:00
Timo Stollenwerk
50de2b4031
fix discussion control panel description.
...
svn path=/plone.app.discussion/trunk/; revision=28939
2009-08-15 17:49:50 +00:00
Timo Stollenwerk
987805c927
fix inline validation for reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28923
2009-08-15 16:36:49 +00:00
Timo Stollenwerk
dbff6b4f67
add captcha check for reply-to-comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28922
2009-08-15 16:36:35 +00:00
Timo Stollenwerk
bbf7cb5685
show captcha validation only for anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=28902
2009-08-15 11:35:54 +00:00
Timo Stollenwerk
2567483281
CaptchaValidator for captcha/recaptcha/no captcha added. This is necessary because the zcml registration of the CaptchaValidator has to work with all three options.
...
svn path=/plone.app.discussion/trunk/; revision=28894
2009-08-15 10:21:26 +00:00
Timo Stollenwerk
ead8813188
simplify (re)captcha test.
...
svn path=/plone.app.discussion/trunk/; revision=28893
2009-08-15 10:18:10 +00:00
Timo Stollenwerk
4ef604f43f
make captcha field not required. otherwise recaptcha is not working.
...
svn path=/plone.app.discussion/trunk/; revision=28892
2009-08-15 10:17:34 +00:00
Timo Stollenwerk
cdfbdb3d7d
remove debug line.
...
svn path=/plone.app.discussion/trunk/; revision=28819
2009-08-14 09:02:42 +00:00
Timo Stollenwerk
dff06b8c8c
show post-comment form when user is logged in or user is not logged in and anonymous comments are allowed.
...
svn path=/plone.app.discussion/trunk/; revision=28817
2009-08-14 09:02:00 +00:00
Timo Stollenwerk
2a1ae7dc62
do not make a captcha check when captcha is disabled; this fixes the non-captcha comment form.
...
svn path=/plone.app.discussion/trunk/; revision=28790
2009-08-13 19:21:52 +00:00
Timo Stollenwerk
ce30a1b594
remove SimpleFieldValidator import fallback, because it breaks the CaptchaValidator.
...
svn path=/plone.app.discussion/trunk/; revision=28789
2009-08-13 18:53:27 +00:00
Timo Stollenwerk
c3a0631813
add hint for enabling comment moderation workflow.
...
svn path=/plone.app.discussion/trunk/; revision=28760
2009-08-13 13:52:50 +00:00
Timo Stollenwerk
f4f0e29e96
fix errors that are thrown when plone.formwidget.captcha is not installed.
...
svn path=/plone.app.discussion/trunk/; revision=28755
2009-08-13 10:01:40 +00:00
Timo Stollenwerk
e1b068dbbc
captcha validator added.
...
svn path=/plone.app.discussion/trunk/; revision=28746
2009-08-12 20:45:47 +00:00
Timo Stollenwerk
0ba3bda065
unnecessary AttributeAnnotations removed.
...
imports for captcha/recaptcha added.
svn path=/plone.app.discussion/trunk/; revision=28745
2009-08-12 19:20:18 +00:00
Timo Stollenwerk
68e129dd76
set plone version = 3.3rc5 for dev buildout.
...
svn path=/plone.app.discussion/buildouts/; revision=28714
2009-08-11 22:34:33 +00:00
Timo Stollenwerk
7f7c4b1345
captcha registry entry and vocabulary added.
...
svn path=/plone.app.discussion/trunk/; revision=28679
2009-08-11 09:45:34 +00:00
Timo Stollenwerk
572b743d04
add credits to readme.
...
svn path=/plone.app.discussion/trunk/; revision=28678
2009-08-11 09:41:32 +00:00
Timo Stollenwerk
5500c8d42e
remove old files.
...
svn path=/plone.app.discussion/trunk/; revision=28677
2009-08-11 09:39:17 +00:00
Timo Stollenwerk
ffcd7d7a31
adapt CaptchaExtender to CommentForm only.
...
svn path=/plone.app.discussion/trunk/; revision=28642
2009-08-10 16:38:41 +00:00
Timo Stollenwerk
ef8e34adbb
Add dead-simple captcha to show the z3c-form-extender works.
...
svn path=/plone.app.discussion/trunk/; revision=28371
2009-08-05 09:01:58 +00:00
Timo Stollenwerk
8e9c75a6fc
Set fields as class attribute to make captcha formextender work again. This is kind of ugly, the fields should be enirely omitted and not only hidden.
...
svn path=/plone.app.discussion/trunk/; revision=28370
2009-08-05 09:01:14 +00:00
Timo Stollenwerk
eadbb55a87
fix commenting for anonymous users.
...
svn path=/plone.app.discussion/trunk/; revision=28363
2009-08-04 20:47:25 +00:00
Timo Stollenwerk
355f50388c
reorder comment form fields.
...
svn path=/plone.app.discussion/trunk/; revision=28362
2009-08-04 20:47:06 +00:00
Timo Stollenwerk
2e2528aa76
clean up the imports.
...
svn path=/plone.app.discussion/trunk/; revision=28360
2009-08-04 19:36:33 +00:00
Timo Stollenwerk
ae0b9486b7
remove unnecessary wrap_form.
...
svn path=/plone.app.discussion/trunk/; revision=28358
2009-08-04 19:30:12 +00:00