Commit Graph

1321 Commits

Author SHA1 Message Date
Jens W. Klein
34b758f2bd black 2022-05-01 23:14:09 +02:00
Jens W. Klein
e72d86b985 isort 2022-05-01 23:14:00 +02:00
Maurits van Rees
336642ddc3
Replaced use of plone.api.
That should not be done in Plone core.
2022-04-14 18:29:09 +02:00
Philip Bauer
b9d794489c no longer register old resources 2022-03-23 21:09:23 +01:00
MrTango
a79670d3a1 Moved JS to Mockup control panel patterns (ES6) 2022-03-23 21:09:23 +01:00
Godefroid Chapelle
8bc3d824e6 Fix test
after PortalTransforms uses lxml html method to serialize
(instead of xml method)
2022-03-15 12:12:39 +01:00
Miu Razvan
733efe3287 Changed import_step to rolemap 2022-03-01 13:09:03 +02:00
Miu Razvan
5beb673321 Add upgrade step 2022-03-01 13:07:27 +02:00
Miu Razvan
d6bfa9eebd #180 Added 'View comments' permission 2022-02-17 16:37:38 +02:00
Mikel Larreategi
62e0eb8059 add missing i18n:translate tags 2021-10-14 07:57:12 +02:00
Érico Andrei
6f3fa11f10 Implement events for Comment (ICommentModifiedEvent) and Reply(IReplyModifiedEvent) modification 2021-09-08 16:18:39 +02:00
Stefan Antonelli
c4c2bb8095 fix tests 2021-02-17 19:36:26 +01:00
Stefan Antonelli
82ca44ee68 add i18n message id 2021-02-17 16:02:26 +01:00
Stefan Antonelli
6bbd1aa91a move warning messages to code 2021-02-17 15:46:11 +01:00
agitator
8e614828e5
Merge pull request #176 from plone/issue_169_bootstrap_5
Update Markup
2021-02-16 10:31:42 +01:00
Stefan Antonelli
7212f49b3b update markup, fix js for controlpanel 2021-02-15 17:06:49 +01:00
Peter Mathis
3d53ab09cc add upgradestep and update classifiers 2021-02-15 15:34:19 +01:00
André Gonçalves
5d0d97a432
Update markup of templates to Bootstrap 5 (#173)
* Update markup of all buttons, forms and input elements to Bootstrap 4

* Add documentByLine in the card-header. Add commentBody in the card-body

* Update CHANGES.txt

* Update @@manage-comments.pt moderation interface with Bootstrap 4

* bs5 form updates

* add bootstrap icon from resolver

* update bindings for button

* update markup for bootstrap 5

* turn configlet portlets into menu

* turn configlet portlets into menu (2)

* bootstrap b1 changes

* major version bump

Co-authored-by: Peter Holzer <peter.holzer@agitator.com>
Co-authored-by: Jens W. Klein <jk@kleinundpartner.at>
Co-authored-by: Peter Mathis <peter.mathis@kombinat.at>
2021-02-13 09:56:21 +01:00
Maurits van Rees
4d36d0b342
Fix tests with Products.MailHost 4.11.
Fixes https://github.com/plone/plone.app.discussion/issues/174
2021-01-22 16:37:12 +01:00
Maurits van Rees
c9d9cfca04
Message test: we never get a Message object, but always bytes/string/unicode.
Which type we get back, depends on the Python version and the Products.MailHost version.
2020-09-23 15:35:32 +02:00
Maurits van Rees
e4bcf2f53c
Fix tests with Products.MailHost 4.10. 2020-09-23 15:26:30 +02:00
Vincent Fretin
de24c20b83 Close input tags properly in moderation.pt to avoid an error with i18ndude find-untranslated 2020-06-28 14:12:06 +02:00
Vincent Fretin
eb8b473610 use PMF instead of _ so i18ndude doesn't extract comment_ 2020-06-18 11:58:24 +02:00
Vincent Fretin
ab99c5d015 Reuse existing translation for the "Save" button in the Edit comment form. 2020-06-18 11:51:09 +02:00
Vincent Fretin
181fee785b change mail_notification_message_moderator msgid to keep old mail template for Plone 5.1 in plone.app.locales 5.1.x to stay compatible with both Plone 5.1.x and 5.2.x 2020-03-20 15:15:25 +01:00
Maurits van Rees
d39b2fcbbe
Merge pull request #166 from plone/moderation-extended
Extended Moderation of comments
2020-03-16 23:18:14 +01:00
tschorr
bf41101c86 fix test for Plone > 5; deprecate Plone < 5 2020-02-11 18:49:57 +01:00
Katja Suess
61545c6ef6 Moderation on commented page also with ajax like on moderation view 2020-01-21 12:02:09 +01:00
Katja Suess
f7ae6e49a5 unique css ids
and bug fix test: editing comment: button label "save" instead of "edit comment"
2020-01-16 15:32:46 +01:00
Katja Suess
6794d95f85 Translation: label for save button on edit form 2020-01-14 16:26:32 +01:00
Katja Suess
9b1eb6834b Upgrade step added
Upgrade applies workflow changes to existing instances
2020-01-14 15:59:05 +01:00
Katja Suess
64093660ac Style: Filter by review state: more space between options 2020-01-14 14:05:36 +01:00
Katja Suess
812b28d846 clean up 2020-01-13 11:23:58 +01:00
Katja Suess
336808bfa9 Update metadata.xml 2020-01-13 11:23:48 +01:00
Katja Suess
dde8640fc5 Update test_comments_viewlet.py 2020-01-11 11:43:35 +01:00
Katja Suess
c1ec431769 extended existing review workflow by stati 'rejected' and 'spam'
removed addional third workflow
2020-01-08 12:42:03 +01:00
Katja Suess
f777315da3 moderation view: get last transition entry faster
get it from @@contenthistorypopup instead from @@historyview
2020-01-08 12:41:06 +01:00
Katja Suess
96e0fb83c0 last transition entry as is from history 2020-01-08 12:41:06 +01:00
Katja Suess
54de9b32e1 Update test_moderation.robot 2020-01-08 12:41:06 +01:00
Katja Suess
dfc21d1d5d comment "approved" renamed to "published" 2020-01-08 12:41:06 +01:00
Katja Suess
30490412ab batch navigation: reload on filtering by review_state 2020-01-08 12:39:58 +01:00
Katja Suess
bf20752b69 bulk moderation of comments
extended for comment_multiple_state_review_workflow, refactoring and tests
2020-01-08 12:39:57 +01:00
Katja Suess
d93525ff27 Moderation view: filter on state only for comment_multiple_state_review_workflow 2020-01-08 12:37:34 +01:00
Katja Suess
7a680675be disable portlet slots 2020-01-08 12:37:34 +01:00
Katja Suess
64d50fbd00 fix docstring 2020-01-08 12:37:34 +01:00
Katja Suess
084d2893e7 Additional (optional) workflow: "Comment Multiple State Review Workflow"
Moderator is not forced to delete a comment or to let it pending:
Workflow has two more states "rejected" and "spam" to existing review workflow.
Moderation view extended showing all states. Filter by state.
2020-01-08 12:36:28 +01:00
Katja Suess
f7b8335d27 additional workflow with rejected state
moderation view and approved comments view: buttons for reject and approve
2020-01-08 12:22:09 +01:00
Katja Suess
875409daff Moderation view tabbed
two tabs for comments to moderate and comments approved
2020-01-08 12:22:09 +01:00
Katja Suess
ee6b107a31 publish only pending comment, else show status message 2020-01-08 12:22:09 +01:00
Katja Suess
7b43d80486 test_notifications moderator 2019-12-02 09:09:49 +01:00