Katja Suess
ee6b107a31
publish only pending comment, else show status message
2020-01-08 12:22:09 +01:00
Katja Suess
296d591856
Update moderation.py
...
unused IDisableCSRFProtection removed
2019-12-01 19:53:11 +01:00
Katja Suess
1e5951101f
prevent infinite request for confirmation (plone.protect)
2019-11-29 16:23:43 +01:00
Katja Suess
8bd1992a7f
IDisableCSRFProtection on @@moderate-publish-comment removed
2019-11-29 16:23:43 +01:00
Katja Suess
22a7152e92
publish only pending comment, else show status message
2019-11-29 16:23:43 +01:00
Katja Suess
1b7d9fcb16
Additional view for approved comments
...
linked in "moderate comments" view
2019-09-07 11:31:53 +02:00
Philip Bauer
4966d8388e
add plone.resource dependency and change to plone:static
2019-06-27 19:43:27 +02:00
nzambello
4973670ea1
[a11y] Added role attribute for portalMessage
2018-12-24 13:24:56 +01:00
Filippo Campi
0336d0f7c9
[doc][fix] updated CHANGES + changed the method to wait for page to load
2018-10-25 23:34:21 +02:00
Filippo Campi
7bd62fa1cb
Changes NotifyOnDelete to CommentDeletedEvent and NotifyOnPublish to CommentPublishedEvent for respect naming of event and interface
2018-10-24 16:49:22 +02:00
Filippo Campi
65b187ea53
Added comment to try/except on import of IConfigurationChangedEvent
2018-10-24 16:46:50 +02:00
Filippo Campi
671f0cc796
Removed change from .load to .ready, I'll create another PR
2018-10-24 16:43:38 +02:00
Filippo Campi
6fed2ad760
[dev] added conditional import for some version of Products.CMFPlone
2018-09-28 16:51:52 +02:00
Filippo Campi
36f0e03805
[dev] added event for comment delete, comment publication + notify for events
2018-09-27 11:26:41 +02:00
Filippo Campi
3648c3345f
merge master in filippo_moderation_js
2018-09-25 16:31:09 +02:00
Philip Bauer
08b6db8b67
fix test in py3
2018-09-20 18:31:23 +02:00
Philip Bauer
95861b28d5
fix tests with py3
2018-09-18 15:13:38 +02:00
Jens W. Klein
76f4f50160
get rid of plone.app.controlpanel dependencies
2018-08-08 13:46:16 +02:00
Markus Hilbert
3c36af8ebc
Fixed tests when IRichText behavior is used.
2018-07-11 12:35:46 +02:00
Filippo Campi
dfc6d0620b
[fix] fix load of js in moderation.js
2018-06-27 15:31:07 +02:00
Jens W. Klein
58711579c4
isort
2018-06-15 10:22:11 +02:00
Philip Bauer
71dcbf8465
some py3 fixes
2018-03-18 17:01:27 +01:00
Philip Bauer
93a227c80d
Add Python 2 / 3 compatibility
2018-01-25 13:04:11 +01:00
Katja Süss
b08852baa0
some code-analysis reclamations fixed.
...
code-analysis OK up to: T100, S100, S101, C815, C812
2017-07-29 11:35:15 +02:00
Katja Süss
100690ccdf
html nearer to conventions
2017-07-29 11:33:53 +02:00
Katja Süss
78abff152d
Test
2017-07-28 19:12:49 +00:00
Katja Süss
fb7c68d5e5
Make moderation view changes less invasive.
2017-07-28 19:12:47 +00:00
Katja Süss
71205b552f
Replaced tabs with soft tabs
2017-07-28 19:12:40 +00:00
Katja Süss
8e344cbf2b
Show email in moderation view
2017-07-28 19:12:01 +00:00
Daniel Jowett
d2bba1d5ea
Fix some easy pep8 issues
2017-01-24 10:59:43 +00:00
Maurits van Rees
802e3ec04c
Make comment on private content not publicly available in search results.
...
This is part of PloneHotfix20161129.
Updated metadata.xml version to 1000. This leaves more room for
profile version increases in earlier releases. We apply the rolemap
step again to avoid accidentally missing it.
2017-01-14 17:58:48 +01:00
Gil Forcada
26a21a12d5
Reindex comments when they are modified
2016-09-20 13:05:24 +02:00
Maurits van Rees
358ec89c03
Apply security hotfix 20160830 for redirects.
2016-09-19 17:10:10 +02:00
Gil Forcada
d5e7afcd23
Use zope.interface decorator
...
This not only makes code more pleasent to read,
but also makes the code python 3 compatible
(while maintaining python 2 compatibility).
2016-07-08 23:17:03 +02:00
Jens W. Klein
69ded592c3
Merge pull request #104 from plone/maurits-remove-migration
...
Removed `comment-migration` view.
2016-06-13 09:48:39 +02:00
Maurits van Rees
1e9909ab6f
Split too complex _enabled_for_archetypes.
2016-06-12 06:51:41 +02:00
Maurits van Rees
d496dfdddc
Split too complex handleComment.
2016-06-12 06:51:41 +02:00
Maurits van Rees
814af8d837
Various flake8 fixes.
...
- Removed tabs.
- Fixed E731 do not assign a lambda expression, use a def.
- avoid hasattr
2016-06-12 06:51:35 +02:00
Maurits van Rees
bfeb66ee60
Removed comment-migration
view.
...
This did not work anymore on Plone 5. If you still need to migrate
from old-style comments, so from Plone 4.0 or earlier, please upgrade
to Plone 4.3 first.
2016-06-11 15:56:31 +02:00
Maurits van Rees
6952923b1e
Reset the required setting of the author_email widget each time.
...
Otherwise, the email field might get set to required when an anonymous
user visits, and then remain required when an authenticated user
visits, making it impossible for an authenticated user to fill in the
form without validation error. Or when in the control panel the field
is set as not required anymore, that change would have no effect until
the instance was restarted.
2016-06-10 01:57:04 +02:00
Maurits van Rees
e1dbaef82a
Fixed possible cross site scripting (XSS) attack on moderate comments page.
2016-06-03 00:43:21 +02:00
Gil Forcada Codinachs
eee8e3c1b6
Mark edit link for translation ( #91 )
...
Mark edit link for translation.
2016-04-07 18:36:19 +02:00
Johannes Raggam
ec7fe25b6c
Use `getSite()
` instead of portal url
...
For the discussion controlpanel, change base URLs from portal URL to what getSite returns, but don't change the controlpanels context binding.
This allows for more flexibility when configuring it to be allowed on a sub site with a local registry.
2016-03-11 14:16:22 +01:00
Johannes Raggam
4df90c2ade
remove duplicate
2016-02-10 17:16:35 +01:00
Gil Forcada
cb1bf28c16
Cleanup
...
Follow https://github.com/plone/jenkins.plone.org/blob/master/docs/source/run-qa-on-package.rst
to clean up the code.
2016-02-05 09:43:42 +01:00
Davi Lima
3f07781675
Update Site Setup link in all control panels ( fixes plone/Products.CMFPlone#1255 )
2015-11-23 09:13:00 -03:00
Gil Forcada
0713bcd8bc
Use plone i18n domain
...
plone.app.discussion is an official Plone core package,
thus their translations belong to plone.app.locales.
This commit removes the plone.app.discussion domain and changes it for
plone.
This fixes:
https://github.com/plone/plone.app.discussion/issues/66
2015-11-05 00:30:42 +01:00
esteele
98f1f3d6a4
Move portal_properties settings to configuration registry
...
commit b13db31e3c55fd5ed9320e9d0c93aea48366c883
Author: esteele <eric@esteele.net>
Date: Fri Sep 18 10:14:56 2015 +0200
Remove pdb.
commit 6b3e591583146ca661556ef50cafd02f62c79d46
Author: esteele <eric@esteele.net>
Date: Fri Sep 18 09:50:06 2015 +0200
Fix registry id
commit 9dfce9a739496b6023f93376535dccc9a9310517
Author: esteele <eric@esteele.net>
Date: Thu Sep 17 18:34:42 2015 +0200
Use registry lookup for types_use_view_action_in_listings
2015-09-20 17:31:55 +02:00
Philip Bauer
e2bd22e74b
fix comment-moderation
2015-09-19 14:58:53 +02:00
Philip Bauer
35e6ab2677
remove discussion.css
2015-09-16 14:58:42 +02:00